[562] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[20853] | 3 | # Generated by GNU Autoconf 2.59.
|
---|
[562] | 4 | #
|
---|
[20853] | 5 | # Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
[562] | 6 | # This configure script is free software; the Free Software Foundation
|
---|
| 7 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[8756] | 8 | ## --------------------- ##
|
---|
| 9 | ## M4sh Initialization. ##
|
---|
| 10 | ## --------------------- ##
|
---|
[562] | 11 |
|
---|
[20853] | 12 | # Be Bourne compatible
|
---|
[8756] | 13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 14 | emulate sh
|
---|
| 15 | NULLCMD=:
|
---|
| 16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 17 | # is contrary to our usage. Disable this feature.
|
---|
| 18 | alias -g '${1+"$@"}'='"$@"'
|
---|
[20853] | 19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 20 | set -o posix
|
---|
[8756] | 21 | fi
|
---|
[20853] | 22 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[8756] | 23 |
|
---|
| 24 | # Support unset when possible.
|
---|
| 25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 26 | as_unset=unset
|
---|
| 27 | else
|
---|
| 28 | as_unset=false
|
---|
| 29 | fi
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[20853] | 33 | $as_unset ENV MAIL MAILPATH
|
---|
[8756] | 34 | PS1='$ '
|
---|
| 35 | PS2='> '
|
---|
| 36 | PS4='+ '
|
---|
| 37 |
|
---|
| 38 | # NLS nuisances.
|
---|
| 39 | for as_var in \
|
---|
| 40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 42 | LC_TELEPHONE LC_TIME
|
---|
| 43 | do
|
---|
| 44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 45 | eval $as_var=C; export $as_var
|
---|
| 46 | else
|
---|
[20853] | 47 | $as_unset $as_var
|
---|
[8756] | 48 | fi
|
---|
| 49 | done
|
---|
| 50 |
|
---|
| 51 | # Required to use basename.
|
---|
[20853] | 52 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
[8756] | 53 | as_expr=expr
|
---|
| 54 | else
|
---|
| 55 | as_expr=false
|
---|
| 56 | fi
|
---|
| 57 |
|
---|
[20853] | 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
[8756] | 59 | as_basename=basename
|
---|
| 60 | else
|
---|
| 61 | as_basename=false
|
---|
| 62 | fi
|
---|
| 63 |
|
---|
| 64 |
|
---|
| 65 | # Name of the executable.
|
---|
[20853] | 66 | as_me=`$as_basename "$0" ||
|
---|
[8756] | 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 68 | X"$0" : 'X\(//\)$' \| \
|
---|
[20853] | 69 | X"$0" : 'X\(/\)$' \| \
|
---|
| 70 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 71 | echo X/"$0" |
|
---|
[20853] | 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 74 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 75 | s/.*/./; q'`
|
---|
[8756] | 76 |
|
---|
| 77 |
|
---|
[20853] | 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
|
---|
[8756] | 85 |
|
---|
[20853] | 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
|
---|
[8756] | 97 | fi
|
---|
| 98 |
|
---|
| 99 |
|
---|
[20853] | 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
|
---|
[8756] | 116 |
|
---|
[20853] | 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 | '')
|
---|
[8756] | 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=.
|
---|
[20853] | 135 | for as_base in sh bash ksh sh5; do
|
---|
| 136 | case $as_dir in
|
---|
[8756] | 137 | /*)
|
---|
[20853] | 138 | if ("$as_dir/$as_base" -c '
|
---|
[8756] | 139 | as_lineno_1=$LINENO
|
---|
| 140 | as_lineno_2=$LINENO
|
---|
[20853] | 141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
[8756] | 142 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[20853] | 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
|
---|
[8756] | 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
|
---|
[20853] | 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.
|
---|
[8756] | 162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[20853] | 163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 164 | sed '=' <$as_myself |
|
---|
[8756] | 165 | sed '
|
---|
| 166 | N
|
---|
[20853] | 167 | s,$,-,
|
---|
| 168 | : loop
|
---|
| 169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
[8756] | 170 | t loop
|
---|
[20853] | 171 | s,-$,,
|
---|
| 172 | s,^['$as_cr_digits']*\n,,
|
---|
[8756] | 173 | ' >$as_me.lineno &&
|
---|
[20853] | 174 | chmod +x $as_me.lineno ||
|
---|
[8756] | 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
|
---|
[20853] | 180 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 181 | . ./$as_me.lineno
|
---|
[8756] | 182 | # Exit status is that of the last command.
|
---|
| 183 | exit
|
---|
| 184 | }
|
---|
| 185 |
|
---|
| 186 |
|
---|
[20853] | 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= ;;
|
---|
[8756] | 192 | esac
|
---|
| 193 |
|
---|
[20853] | 194 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
[8756] | 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
|
---|
[20853] | 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
|
---|
[8756] | 207 | as_ln_s='cp -p'
|
---|
[20853] | 208 | else
|
---|
| 209 | as_ln_s='ln -s'
|
---|
| 210 | fi
|
---|
[8756] | 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
|
---|
[20853] | 216 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[8756] | 217 |
|
---|
| 218 | if mkdir -p . 2>/dev/null; then
|
---|
| 219 | as_mkdir_p=:
|
---|
| 220 | else
|
---|
| 221 | test -d ./-p && rmdir ./-p
|
---|
| 222 | as_mkdir_p=false
|
---|
| 223 | fi
|
---|
| 224 |
|
---|
[20853] | 225 | as_executable_p="test -f"
|
---|
[8756] | 226 |
|
---|
| 227 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 229 |
|
---|
| 230 | # Sed expression to map a string onto a valid variable name.
|
---|
| 231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 232 |
|
---|
| 233 |
|
---|
[20853] | 234 | # IFS
|
---|
| 235 | # We need space, tab and new line, in precisely that order.
|
---|
| 236 | as_nl='
|
---|
| 237 | '
|
---|
| 238 | IFS=" $as_nl"
|
---|
[8756] | 239 |
|
---|
[20853] | 240 | # CDPATH.
|
---|
| 241 | $as_unset CDPATH
|
---|
[8756] | 242 |
|
---|
[20853] | 243 |
|
---|
[8756] | 244 | # Name of the host.
|
---|
| 245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
| 246 | # so uname gets run too.
|
---|
| 247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 248 |
|
---|
[20853] | 249 | exec 6>&1
|
---|
| 250 |
|
---|
[8756] | 251 | #
|
---|
| 252 | # Initializations.
|
---|
| 253 | #
|
---|
[562] | 254 | ac_default_prefix=/usr/local
|
---|
[8756] | 255 | ac_config_libobj_dir=.
|
---|
| 256 | cross_compiling=no
|
---|
| 257 | subdirs=
|
---|
| 258 | MFLAGS=
|
---|
| 259 | MAKEFLAGS=
|
---|
| 260 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
[562] | 261 |
|
---|
[20853] | 262 | # Maximum number of lines to put in a shell here document.
|
---|
| 263 | # This variable seems obsolete. It should probably be removed, and
|
---|
| 264 | # only ac_max_sed_lines should be used.
|
---|
| 265 | : ${ac_max_here_lines=38}
|
---|
| 266 |
|
---|
[8756] | 267 | # Identity of this package.
|
---|
| 268 | PACKAGE_NAME=
|
---|
| 269 | PACKAGE_TARNAME=
|
---|
| 270 | PACKAGE_VERSION=
|
---|
| 271 | PACKAGE_STRING=
|
---|
| 272 | PACKAGE_BUGREPORT=
|
---|
| 273 |
|
---|
| 274 | # Factoring default headers for most tests.
|
---|
| 275 | ac_includes_default="\
|
---|
| 276 | #include <stdio.h>
|
---|
[20853] | 277 | #if HAVE_SYS_TYPES_H
|
---|
[8756] | 278 | # include <sys/types.h>
|
---|
| 279 | #endif
|
---|
[20853] | 280 | #if HAVE_SYS_STAT_H
|
---|
[8756] | 281 | # include <sys/stat.h>
|
---|
| 282 | #endif
|
---|
[20853] | 283 | #if STDC_HEADERS
|
---|
[8756] | 284 | # include <stdlib.h>
|
---|
| 285 | # include <stddef.h>
|
---|
| 286 | #else
|
---|
[20853] | 287 | # if HAVE_STDLIB_H
|
---|
[8756] | 288 | # include <stdlib.h>
|
---|
| 289 | # endif
|
---|
| 290 | #endif
|
---|
[20853] | 291 | #if HAVE_STRING_H
|
---|
| 292 | # if !STDC_HEADERS && HAVE_MEMORY_H
|
---|
[8756] | 293 | # include <memory.h>
|
---|
| 294 | # endif
|
---|
| 295 | # include <string.h>
|
---|
| 296 | #endif
|
---|
[20853] | 297 | #if HAVE_STRINGS_H
|
---|
[8756] | 298 | # include <strings.h>
|
---|
| 299 | #endif
|
---|
[20853] | 300 | #if HAVE_INTTYPES_H
|
---|
[8756] | 301 | # include <inttypes.h>
|
---|
[20853] | 302 | #else
|
---|
| 303 | # if HAVE_STDINT_H
|
---|
| 304 | # include <stdint.h>
|
---|
| 305 | # endif
|
---|
[8756] | 306 | #endif
|
---|
[20853] | 307 | #if HAVE_UNISTD_H
|
---|
[8756] | 308 | # include <unistd.h>
|
---|
| 309 | #endif"
|
---|
| 310 |
|
---|
[20853] | 311 | ac_subdirs_all="$ac_subdirs_all common-src build-src runtime-src"
|
---|
[21366] | 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
|
---|
[8756] | 313 | ac_subst_files=''
|
---|
| 314 |
|
---|
[562] | 315 | # Initialize some variables set by options.
|
---|
[8756] | 316 | ac_init_help=
|
---|
| 317 | ac_init_version=false
|
---|
[562] | 318 | # The variables have the same names as the options, with
|
---|
| 319 | # dashes changed to underlines.
|
---|
[8756] | 320 | cache_file=/dev/null
|
---|
[562] | 321 | exec_prefix=NONE
|
---|
| 322 | no_create=
|
---|
| 323 | no_recursion=
|
---|
| 324 | prefix=NONE
|
---|
| 325 | program_prefix=NONE
|
---|
| 326 | program_suffix=NONE
|
---|
| 327 | program_transform_name=s,x,x,
|
---|
| 328 | silent=
|
---|
| 329 | site=
|
---|
| 330 | srcdir=
|
---|
| 331 | verbose=
|
---|
| 332 | x_includes=NONE
|
---|
| 333 | x_libraries=NONE
|
---|
[8756] | 334 |
|
---|
| 335 | # Installation directory options.
|
---|
| 336 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 337 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 338 | # by default will actually change.
|
---|
| 339 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[562] | 340 | bindir='${exec_prefix}/bin'
|
---|
| 341 | sbindir='${exec_prefix}/sbin'
|
---|
| 342 | libexecdir='${exec_prefix}/libexec'
|
---|
[20853] | 343 | datadir='${prefix}/share'
|
---|
[562] | 344 | sysconfdir='${prefix}/etc'
|
---|
| 345 | sharedstatedir='${prefix}/com'
|
---|
| 346 | localstatedir='${prefix}/var'
|
---|
[20853] | 347 | libdir='${exec_prefix}/lib'
|
---|
[562] | 348 | includedir='${prefix}/include'
|
---|
| 349 | oldincludedir='/usr/include'
|
---|
[20853] | 350 | infodir='${prefix}/info'
|
---|
| 351 | mandir='${prefix}/man'
|
---|
[562] | 352 |
|
---|
| 353 | ac_prev=
|
---|
| 354 | for ac_option
|
---|
| 355 | do
|
---|
| 356 | # If the previous option needs an argument, assign it.
|
---|
| 357 | if test -n "$ac_prev"; then
|
---|
[20853] | 358 | eval "$ac_prev=\$ac_option"
|
---|
[562] | 359 | ac_prev=
|
---|
| 360 | continue
|
---|
| 361 | fi
|
---|
| 362 |
|
---|
[20853] | 363 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
---|
[562] | 364 |
|
---|
| 365 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 366 |
|
---|
[20853] | 367 | case $ac_option in
|
---|
[562] | 368 |
|
---|
| 369 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 370 | ac_prev=bindir ;;
|
---|
| 371 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
[8756] | 372 | bindir=$ac_optarg ;;
|
---|
[562] | 373 |
|
---|
| 374 | -build | --build | --buil | --bui | --bu)
|
---|
[8756] | 375 | ac_prev=build_alias ;;
|
---|
[562] | 376 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
[8756] | 377 | build_alias=$ac_optarg ;;
|
---|
[562] | 378 |
|
---|
| 379 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 380 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 381 | ac_prev=cache_file ;;
|
---|
| 382 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 383 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
[8756] | 384 | cache_file=$ac_optarg ;;
|
---|
[562] | 385 |
|
---|
[8756] | 386 | --config-cache | -C)
|
---|
| 387 | cache_file=config.cache ;;
|
---|
| 388 |
|
---|
[20853] | 389 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
---|
[562] | 390 | ac_prev=datadir ;;
|
---|
[20853] | 391 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
---|
| 392 | | --da=*)
|
---|
[8756] | 393 | datadir=$ac_optarg ;;
|
---|
[562] | 394 |
|
---|
| 395 | -disable-* | --disable-*)
|
---|
[8756] | 396 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[562] | 397 | # Reject names that are not valid shell variable names.
|
---|
[20853] | 398 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
[8756] | 399 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 400 | { (exit 1); exit 1; }; }
|
---|
[20853] | 401 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 402 | eval "enable_$ac_feature=no" ;;
|
---|
[562] | 403 |
|
---|
| 404 | -enable-* | --enable-*)
|
---|
[8756] | 405 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[562] | 406 | # Reject names that are not valid shell variable names.
|
---|
[20853] | 407 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
[8756] | 408 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 409 | { (exit 1); exit 1; }; }
|
---|
[20853] | 410 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 411 | case $ac_option in
|
---|
| 412 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 413 | *) ac_optarg=yes ;;
|
---|
| 414 | esac
|
---|
| 415 | eval "enable_$ac_feature='$ac_optarg'" ;;
|
---|
[562] | 416 |
|
---|
| 417 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 418 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 419 | | --exec | --exe | --ex)
|
---|
| 420 | ac_prev=exec_prefix ;;
|
---|
| 421 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 422 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 423 | | --exec=* | --exe=* | --ex=*)
|
---|
[8756] | 424 | exec_prefix=$ac_optarg ;;
|
---|
[562] | 425 |
|
---|
| 426 | -gas | --gas | --ga | --g)
|
---|
| 427 | # Obsolete; use --with-gas.
|
---|
| 428 | with_gas=yes ;;
|
---|
| 429 |
|
---|
[8756] | 430 | -help | --help | --hel | --he | -h)
|
---|
| 431 | ac_init_help=long ;;
|
---|
| 432 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 433 | ac_init_help=recursive ;;
|
---|
| 434 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 435 | ac_init_help=short ;;
|
---|
[562] | 436 |
|
---|
| 437 | -host | --host | --hos | --ho)
|
---|
[8756] | 438 | ac_prev=host_alias ;;
|
---|
[562] | 439 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
[8756] | 440 | host_alias=$ac_optarg ;;
|
---|
[562] | 441 |
|
---|
| 442 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 443 | | --includ | --inclu | --incl | --inc)
|
---|
| 444 | ac_prev=includedir ;;
|
---|
| 445 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 446 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
[8756] | 447 | includedir=$ac_optarg ;;
|
---|
[562] | 448 |
|
---|
| 449 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 450 | ac_prev=infodir ;;
|
---|
| 451 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
[8756] | 452 | infodir=$ac_optarg ;;
|
---|
[562] | 453 |
|
---|
| 454 | -libdir | --libdir | --libdi | --libd)
|
---|
| 455 | ac_prev=libdir ;;
|
---|
| 456 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
[8756] | 457 | libdir=$ac_optarg ;;
|
---|
[562] | 458 |
|
---|
| 459 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 460 | | --libexe | --libex | --libe)
|
---|
| 461 | ac_prev=libexecdir ;;
|
---|
| 462 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 463 | | --libexe=* | --libex=* | --libe=*)
|
---|
[8756] | 464 | libexecdir=$ac_optarg ;;
|
---|
[562] | 465 |
|
---|
| 466 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[20853] | 467 | | --localstate | --localstat | --localsta | --localst \
|
---|
| 468 | | --locals | --local | --loca | --loc | --lo)
|
---|
[562] | 469 | ac_prev=localstatedir ;;
|
---|
| 470 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[20853] | 471 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
---|
| 472 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
---|
[8756] | 473 | localstatedir=$ac_optarg ;;
|
---|
[562] | 474 |
|
---|
| 475 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 476 | ac_prev=mandir ;;
|
---|
| 477 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
[8756] | 478 | mandir=$ac_optarg ;;
|
---|
[562] | 479 |
|
---|
| 480 | -nfp | --nfp | --nf)
|
---|
| 481 | # Obsolete; use --without-fp.
|
---|
| 482 | with_fp=no ;;
|
---|
| 483 |
|
---|
| 484 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
[8756] | 485 | | --no-cr | --no-c | -n)
|
---|
[562] | 486 | no_create=yes ;;
|
---|
| 487 |
|
---|
| 488 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 489 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 490 | no_recursion=yes ;;
|
---|
| 491 |
|
---|
| 492 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 493 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 494 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 495 | ac_prev=oldincludedir ;;
|
---|
| 496 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 497 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 498 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
[8756] | 499 | oldincludedir=$ac_optarg ;;
|
---|
[562] | 500 |
|
---|
| 501 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 502 | ac_prev=prefix ;;
|
---|
| 503 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
[8756] | 504 | prefix=$ac_optarg ;;
|
---|
[562] | 505 |
|
---|
| 506 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 507 | | --program-pre | --program-pr | --program-p)
|
---|
| 508 | ac_prev=program_prefix ;;
|
---|
| 509 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 510 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
[8756] | 511 | program_prefix=$ac_optarg ;;
|
---|
[562] | 512 |
|
---|
| 513 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 514 | | --program-suf | --program-su | --program-s)
|
---|
| 515 | ac_prev=program_suffix ;;
|
---|
| 516 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 517 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
[8756] | 518 | program_suffix=$ac_optarg ;;
|
---|
[562] | 519 |
|
---|
| 520 | -program-transform-name | --program-transform-name \
|
---|
| 521 | | --program-transform-nam | --program-transform-na \
|
---|
| 522 | | --program-transform-n | --program-transform- \
|
---|
| 523 | | --program-transform | --program-transfor \
|
---|
| 524 | | --program-transfo | --program-transf \
|
---|
| 525 | | --program-trans | --program-tran \
|
---|
| 526 | | --progr-tra | --program-tr | --program-t)
|
---|
| 527 | ac_prev=program_transform_name ;;
|
---|
| 528 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 529 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 530 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 531 | | --program-transform=* | --program-transfor=* \
|
---|
| 532 | | --program-transfo=* | --program-transf=* \
|
---|
| 533 | | --program-trans=* | --program-tran=* \
|
---|
| 534 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
[8756] | 535 | program_transform_name=$ac_optarg ;;
|
---|
[562] | 536 |
|
---|
| 537 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 538 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 539 | silent=yes ;;
|
---|
| 540 |
|
---|
| 541 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 542 | ac_prev=sbindir ;;
|
---|
| 543 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 544 | | --sbi=* | --sb=*)
|
---|
[8756] | 545 | sbindir=$ac_optarg ;;
|
---|
[562] | 546 |
|
---|
| 547 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 548 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 549 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 550 | | --sha | --sh)
|
---|
| 551 | ac_prev=sharedstatedir ;;
|
---|
| 552 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 553 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 554 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 555 | | --sha=* | --sh=*)
|
---|
[8756] | 556 | sharedstatedir=$ac_optarg ;;
|
---|
[562] | 557 |
|
---|
| 558 | -site | --site | --sit)
|
---|
| 559 | ac_prev=site ;;
|
---|
| 560 | -site=* | --site=* | --sit=*)
|
---|
[8756] | 561 | site=$ac_optarg ;;
|
---|
[562] | 562 |
|
---|
| 563 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 564 | ac_prev=srcdir ;;
|
---|
| 565 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
[8756] | 566 | srcdir=$ac_optarg ;;
|
---|
[562] | 567 |
|
---|
| 568 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 569 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 570 | ac_prev=sysconfdir ;;
|
---|
| 571 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 572 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
[8756] | 573 | sysconfdir=$ac_optarg ;;
|
---|
[562] | 574 |
|
---|
| 575 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
[8756] | 576 | ac_prev=target_alias ;;
|
---|
[562] | 577 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
[8756] | 578 | target_alias=$ac_optarg ;;
|
---|
[562] | 579 |
|
---|
| 580 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 581 | verbose=yes ;;
|
---|
| 582 |
|
---|
[8756] | 583 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 584 | ac_init_version=: ;;
|
---|
[562] | 585 |
|
---|
| 586 | -with-* | --with-*)
|
---|
[8756] | 587 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[562] | 588 | # Reject names that are not valid shell variable names.
|
---|
[20853] | 589 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
[8756] | 590 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 591 | { (exit 1); exit 1; }; }
|
---|
[20853] | 592 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
---|
| 593 | case $ac_option in
|
---|
| 594 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 595 | *) ac_optarg=yes ;;
|
---|
| 596 | esac
|
---|
| 597 | eval "with_$ac_package='$ac_optarg'" ;;
|
---|
[562] | 598 |
|
---|
| 599 | -without-* | --without-*)
|
---|
[8756] | 600 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[562] | 601 | # Reject names that are not valid shell variable names.
|
---|
[20853] | 602 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
[8756] | 603 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 604 | { (exit 1); exit 1; }; }
|
---|
[20853] | 605 | ac_package=`echo $ac_package | sed 's/-/_/g'`
|
---|
| 606 | eval "with_$ac_package=no" ;;
|
---|
[562] | 607 |
|
---|
| 608 | --x)
|
---|
| 609 | # Obsolete; use --with-x.
|
---|
| 610 | with_x=yes ;;
|
---|
| 611 |
|
---|
| 612 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 613 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 614 | ac_prev=x_includes ;;
|
---|
| 615 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 616 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
[8756] | 617 | x_includes=$ac_optarg ;;
|
---|
[562] | 618 |
|
---|
| 619 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 620 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 621 | ac_prev=x_libraries ;;
|
---|
| 622 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 623 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
[8756] | 624 | x_libraries=$ac_optarg ;;
|
---|
[562] | 625 |
|
---|
[8756] | 626 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 627 | Try \`$0 --help' for more information." >&2
|
---|
| 628 | { (exit 1); exit 1; }; }
|
---|
[562] | 629 | ;;
|
---|
| 630 |
|
---|
[8756] | 631 | *=*)
|
---|
| 632 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 633 | # Reject names that are not valid shell variable names.
|
---|
| 634 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
| 635 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 636 | { (exit 1); exit 1; }; }
|
---|
[20853] | 637 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
---|
| 638 | eval "$ac_envvar='$ac_optarg'"
|
---|
[8756] | 639 | export $ac_envvar ;;
|
---|
| 640 |
|
---|
[562] | 641 | *)
|
---|
[8756] | 642 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 643 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
| 644 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 645 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 646 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
[562] | 647 | ;;
|
---|
| 648 |
|
---|
| 649 | esac
|
---|
| 650 | done
|
---|
| 651 |
|
---|
| 652 | if test -n "$ac_prev"; then
|
---|
[8756] | 653 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
| 654 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 655 | { (exit 1); exit 1; }; }
|
---|
[562] | 656 | fi
|
---|
| 657 |
|
---|
[20853] | 658 | # Be sure to have absolute paths.
|
---|
| 659 | for ac_var in exec_prefix prefix
|
---|
[8756] | 660 | do
|
---|
[20853] | 661 | eval ac_val=$`echo $ac_var`
|
---|
[8756] | 662 | case $ac_val in
|
---|
[20853] | 663 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
---|
| 664 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 665 | { (exit 1); exit 1; }; };;
|
---|
[8756] | 666 | esac
|
---|
| 667 | done
|
---|
[8200] | 668 |
|
---|
[20853] | 669 | # Be sure to have absolute paths.
|
---|
| 670 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
---|
| 671 | localstatedir libdir includedir oldincludedir infodir mandir
|
---|
| 672 | do
|
---|
| 673 | eval ac_val=$`echo $ac_var`
|
---|
| 674 | case $ac_val in
|
---|
| 675 | [\\/$]* | ?:[\\/]* ) ;;
|
---|
| 676 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 677 | { (exit 1); exit 1; }; };;
|
---|
| 678 | esac
|
---|
| 679 | done
|
---|
| 680 |
|
---|
[8756] | 681 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 682 | # used to hold the argument of --host etc.
|
---|
| 683 | # FIXME: To remove some day.
|
---|
| 684 | build=$build_alias
|
---|
| 685 | host=$host_alias
|
---|
| 686 | target=$target_alias
|
---|
[562] | 687 |
|
---|
[8756] | 688 | # FIXME: To remove some day.
|
---|
| 689 | if test "x$host_alias" != x; then
|
---|
| 690 | if test "x$build_alias" = x; then
|
---|
| 691 | cross_compiling=maybe
|
---|
| 692 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 693 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
| 694 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 695 | cross_compiling=yes
|
---|
| 696 | fi
|
---|
| 697 | fi
|
---|
[562] | 698 |
|
---|
[8756] | 699 | ac_tool_prefix=
|
---|
| 700 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
[562] | 701 |
|
---|
[8756] | 702 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 703 |
|
---|
| 704 |
|
---|
[562] | 705 | # Find the source files, if location was not specified.
|
---|
| 706 | if test -z "$srcdir"; then
|
---|
| 707 | ac_srcdir_defaulted=yes
|
---|
[20853] | 708 | # Try the directory containing this script, then its parent.
|
---|
| 709 | ac_confdir=`(dirname "$0") 2>/dev/null ||
|
---|
[8756] | 710 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 711 | X"$0" : 'X\(//\)[^/]' \| \
|
---|
| 712 | X"$0" : 'X\(//\)$' \| \
|
---|
[20853] | 713 | X"$0" : 'X\(/\)' \| \
|
---|
| 714 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 715 | echo X"$0" |
|
---|
[20853] | 716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 717 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 718 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 719 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 720 | s/.*/./; q'`
|
---|
[562] | 721 | srcdir=$ac_confdir
|
---|
[20853] | 722 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
[562] | 723 | srcdir=..
|
---|
| 724 | fi
|
---|
| 725 | else
|
---|
| 726 | ac_srcdir_defaulted=no
|
---|
| 727 | fi
|
---|
[20853] | 728 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 729 | if test "$ac_srcdir_defaulted" = yes; then
|
---|
| 730 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
---|
[8756] | 731 | { (exit 1); exit 1; }; }
|
---|
[20853] | 732 | else
|
---|
| 733 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
| 734 | { (exit 1); exit 1; }; }
|
---|
| 735 | fi
|
---|
[20842] | 736 | fi
|
---|
[20853] | 737 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
---|
| 738 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
---|
[8756] | 739 | { (exit 1); exit 1; }; }
|
---|
[20853] | 740 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
---|
| 741 | ac_env_build_alias_set=${build_alias+set}
|
---|
| 742 | ac_env_build_alias_value=$build_alias
|
---|
| 743 | ac_cv_env_build_alias_set=${build_alias+set}
|
---|
| 744 | ac_cv_env_build_alias_value=$build_alias
|
---|
| 745 | ac_env_host_alias_set=${host_alias+set}
|
---|
| 746 | ac_env_host_alias_value=$host_alias
|
---|
| 747 | ac_cv_env_host_alias_set=${host_alias+set}
|
---|
| 748 | ac_cv_env_host_alias_value=$host_alias
|
---|
| 749 | ac_env_target_alias_set=${target_alias+set}
|
---|
| 750 | ac_env_target_alias_value=$target_alias
|
---|
| 751 | ac_cv_env_target_alias_set=${target_alias+set}
|
---|
| 752 | ac_cv_env_target_alias_value=$target_alias
|
---|
| 753 | ac_env_CC_set=${CC+set}
|
---|
| 754 | ac_env_CC_value=$CC
|
---|
| 755 | ac_cv_env_CC_set=${CC+set}
|
---|
| 756 | ac_cv_env_CC_value=$CC
|
---|
| 757 | ac_env_CFLAGS_set=${CFLAGS+set}
|
---|
| 758 | ac_env_CFLAGS_value=$CFLAGS
|
---|
| 759 | ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
---|
| 760 | ac_cv_env_CFLAGS_value=$CFLAGS
|
---|
| 761 | ac_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 762 | ac_env_LDFLAGS_value=$LDFLAGS
|
---|
| 763 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 764 | ac_cv_env_LDFLAGS_value=$LDFLAGS
|
---|
| 765 | ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 766 | ac_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 767 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 768 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 769 | ac_env_CXX_set=${CXX+set}
|
---|
| 770 | ac_env_CXX_value=$CXX
|
---|
| 771 | ac_cv_env_CXX_set=${CXX+set}
|
---|
| 772 | ac_cv_env_CXX_value=$CXX
|
---|
| 773 | ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 774 | ac_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 775 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 776 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 777 | ac_env_CPP_set=${CPP+set}
|
---|
| 778 | ac_env_CPP_value=$CPP
|
---|
| 779 | ac_cv_env_CPP_set=${CPP+set}
|
---|
| 780 | ac_cv_env_CPP_value=$CPP
|
---|
[562] | 781 |
|
---|
[8756] | 782 | #
|
---|
| 783 | # Report the --help message.
|
---|
| 784 | #
|
---|
| 785 | if test "$ac_init_help" = "long"; then
|
---|
| 786 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 787 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 788 | cat <<_ACEOF
|
---|
| 789 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 790 |
|
---|
| 791 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 792 |
|
---|
| 793 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 794 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 795 |
|
---|
| 796 | Defaults for the options are specified in brackets.
|
---|
| 797 |
|
---|
| 798 | Configuration:
|
---|
| 799 | -h, --help display this help and exit
|
---|
| 800 | --help=short display options specific to this package
|
---|
| 801 | --help=recursive display the short help of all the included packages
|
---|
| 802 | -V, --version display version information and exit
|
---|
| 803 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
| 804 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 805 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 806 | -n, --no-create do not create output files
|
---|
| 807 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 808 |
|
---|
[20853] | 809 | _ACEOF
|
---|
| 810 |
|
---|
| 811 | cat <<_ACEOF
|
---|
[8756] | 812 | Installation directories:
|
---|
| 813 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
| 814 | [$ac_default_prefix]
|
---|
| 815 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
| 816 | [PREFIX]
|
---|
| 817 |
|
---|
| 818 | By default, \`make install' will install all the files in
|
---|
| 819 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 820 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 821 | for instance \`--prefix=\$HOME'.
|
---|
| 822 |
|
---|
| 823 | For better control, use the options below.
|
---|
| 824 |
|
---|
| 825 | Fine tuning of the installation directories:
|
---|
| 826 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 827 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 828 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
[20853] | 829 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
---|
[8756] | 830 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 831 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 832 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 833 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 834 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 835 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
[20853] | 836 | --infodir=DIR info documentation [PREFIX/info]
|
---|
| 837 | --mandir=DIR man documentation [PREFIX/man]
|
---|
[8756] | 838 | _ACEOF
|
---|
| 839 |
|
---|
| 840 | cat <<\_ACEOF
|
---|
| 841 |
|
---|
| 842 | System types:
|
---|
| 843 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 844 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 845 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 846 | _ACEOF
|
---|
| 847 | fi
|
---|
| 848 |
|
---|
| 849 | if test -n "$ac_init_help"; then
|
---|
| 850 |
|
---|
| 851 | cat <<\_ACEOF
|
---|
| 852 |
|
---|
| 853 | Optional Features:
|
---|
| 854 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 855 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 856 | --enable-corba Enable CORBA support
|
---|
| 857 | --enable-z3950 Enable Z39.50 client support
|
---|
[15816] | 858 | --disable-yaz Disable YAZ compilation
|
---|
| 859 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
[16288] | 860 | --disable-sqlite Disable SQLite support
|
---|
[20853] | 861 | --enable-apache-httpd Enable Apache httpd support
|
---|
[21366] | 862 | --enable-jni Enable JNI compilation
|
---|
[21330] | 863 | --disable-mg Disable MG compilation
|
---|
| 864 | --disable-mgpp Disable MGPP compilation
|
---|
| 865 | --disable-lucene Disable Lucene compilation
|
---|
[8756] | 866 |
|
---|
| 867 | Optional Packages:
|
---|
| 868 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 869 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 870 | --with-micodir Use installed MICO directory
|
---|
| 871 | --with-dmalloc use dmalloc, as in
|
---|
| 872 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 873 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 874 |
|
---|
| 875 | Some influential environment variables:
|
---|
| 876 | CC C compiler command
|
---|
| 877 | CFLAGS C compiler flags
|
---|
| 878 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 879 | nonstandard directory <lib dir>
|
---|
[20853] | 880 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
---|
| 881 | headers in a nonstandard directory <include dir>
|
---|
[8756] | 882 | CXX C++ compiler command
|
---|
| 883 | CXXFLAGS C++ compiler flags
|
---|
| 884 | CPP C preprocessor
|
---|
| 885 |
|
---|
| 886 | Use these variables to override the choices made by `configure' or to help
|
---|
| 887 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 888 |
|
---|
| 889 | _ACEOF
|
---|
| 890 | fi
|
---|
| 891 |
|
---|
| 892 | if test "$ac_init_help" = "recursive"; then
|
---|
| 893 | # If there are subdirs, report their specific --help.
|
---|
[20853] | 894 | ac_popdir=`pwd`
|
---|
[8756] | 895 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[20853] | 896 | test -d $ac_dir || continue
|
---|
[8756] | 897 | ac_builddir=.
|
---|
| 898 |
|
---|
[20853] | 899 | if test "$ac_dir" != .; then
|
---|
[8756] | 900 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20853] | 901 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 902 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 903 | else
|
---|
| 904 | ac_dir_suffix= ac_top_builddir=
|
---|
| 905 | fi
|
---|
[8756] | 906 |
|
---|
| 907 | case $srcdir in
|
---|
[20853] | 908 | .) # No --srcdir option. We are building in place.
|
---|
[8756] | 909 | ac_srcdir=.
|
---|
[20853] | 910 | if test -z "$ac_top_builddir"; then
|
---|
| 911 | ac_top_srcdir=.
|
---|
| 912 | else
|
---|
| 913 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 914 | fi ;;
|
---|
| 915 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
[8756] | 916 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20853] | 917 | ac_top_srcdir=$srcdir ;;
|
---|
| 918 | *) # Relative path.
|
---|
| 919 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 920 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
[8756] | 921 | esac
|
---|
| 922 |
|
---|
[20853] | 923 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 924 | # the directories may not exist.
|
---|
| 925 | case `pwd` in
|
---|
| 926 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 927 | *)
|
---|
| 928 | case "$ac_dir" in
|
---|
| 929 | .) ac_abs_builddir=`pwd`;;
|
---|
| 930 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 931 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 932 | esac;;
|
---|
| 933 | esac
|
---|
| 934 | case $ac_abs_builddir in
|
---|
| 935 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 936 | *)
|
---|
| 937 | case ${ac_top_builddir}. in
|
---|
| 938 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 939 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 940 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 941 | esac;;
|
---|
| 942 | esac
|
---|
| 943 | case $ac_abs_builddir in
|
---|
| 944 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 945 | *)
|
---|
| 946 | case $ac_srcdir in
|
---|
| 947 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 948 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 949 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 950 | esac;;
|
---|
| 951 | esac
|
---|
| 952 | case $ac_abs_builddir in
|
---|
| 953 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 954 | *)
|
---|
| 955 | case $ac_top_srcdir in
|
---|
| 956 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 957 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 958 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 959 | esac;;
|
---|
| 960 | esac
|
---|
| 961 |
|
---|
| 962 | cd $ac_dir
|
---|
| 963 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
| 964 | if test -f $ac_srcdir/configure.gnu; then
|
---|
| 965 | echo
|
---|
| 966 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
---|
| 967 | elif test -f $ac_srcdir/configure; then
|
---|
| 968 | echo
|
---|
| 969 | $SHELL $ac_srcdir/configure --help=recursive
|
---|
| 970 | elif test -f $ac_srcdir/configure.ac ||
|
---|
| 971 | test -f $ac_srcdir/configure.in; then
|
---|
| 972 | echo
|
---|
| 973 | $ac_configure --help
|
---|
[8756] | 974 | else
|
---|
| 975 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
[20853] | 976 | fi
|
---|
| 977 | cd $ac_popdir
|
---|
[8756] | 978 | done
|
---|
| 979 | fi
|
---|
| 980 |
|
---|
[20853] | 981 | test -n "$ac_init_help" && exit 0
|
---|
[8756] | 982 | if $ac_init_version; then
|
---|
| 983 | cat <<\_ACEOF
|
---|
| 984 |
|
---|
[20853] | 985 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
[8756] | 986 | This configure script is free software; the Free Software Foundation
|
---|
| 987 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 988 | _ACEOF
|
---|
[20853] | 989 | exit 0
|
---|
[8756] | 990 | fi
|
---|
[20853] | 991 | exec 5>config.log
|
---|
| 992 | cat >&5 <<_ACEOF
|
---|
[8756] | 993 | This file contains any messages produced by compilers while
|
---|
| 994 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 995 |
|
---|
| 996 | It was created by $as_me, which was
|
---|
[20853] | 997 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
[8756] | 998 |
|
---|
| 999 | $ $0 $@
|
---|
| 1000 |
|
---|
| 1001 | _ACEOF
|
---|
| 1002 | {
|
---|
| 1003 | cat <<_ASUNAME
|
---|
| 1004 | ## --------- ##
|
---|
| 1005 | ## Platform. ##
|
---|
| 1006 | ## --------- ##
|
---|
| 1007 |
|
---|
| 1008 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1009 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1010 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1011 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1012 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1013 |
|
---|
| 1014 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1015 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1016 |
|
---|
| 1017 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1018 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1019 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[20853] | 1020 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
[8756] | 1021 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1022 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1023 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1024 |
|
---|
| 1025 | _ASUNAME
|
---|
| 1026 |
|
---|
| 1027 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1028 | for as_dir in $PATH
|
---|
| 1029 | do
|
---|
| 1030 | IFS=$as_save_IFS
|
---|
| 1031 | test -z "$as_dir" && as_dir=.
|
---|
| 1032 | echo "PATH: $as_dir"
|
---|
| 1033 | done
|
---|
| 1034 |
|
---|
| 1035 | } >&5
|
---|
| 1036 |
|
---|
| 1037 | cat >&5 <<_ACEOF
|
---|
| 1038 |
|
---|
| 1039 |
|
---|
| 1040 | ## ----------- ##
|
---|
| 1041 | ## Core tests. ##
|
---|
| 1042 | ## ----------- ##
|
---|
| 1043 |
|
---|
| 1044 | _ACEOF
|
---|
| 1045 |
|
---|
| 1046 |
|
---|
| 1047 | # Keep a trace of the command line.
|
---|
| 1048 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1049 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1050 | # Also quote any args containing shell meta-characters.
|
---|
| 1051 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1052 | ac_configure_args=
|
---|
| 1053 | ac_configure_args0=
|
---|
| 1054 | ac_configure_args1=
|
---|
[20853] | 1055 | ac_sep=
|
---|
[8756] | 1056 | ac_must_keep_next=false
|
---|
| 1057 | for ac_pass in 1 2
|
---|
| 1058 | do
|
---|
| 1059 | for ac_arg
|
---|
| 1060 | do
|
---|
| 1061 | case $ac_arg in
|
---|
| 1062 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1063 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1064 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1065 | continue ;;
|
---|
[20853] | 1066 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
[8756] | 1067 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1068 | esac
|
---|
| 1069 | case $ac_pass in
|
---|
| 1070 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
| 1071 | 2)
|
---|
| 1072 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
| 1073 | if test $ac_must_keep_next = true; then
|
---|
| 1074 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1075 | else
|
---|
| 1076 | case $ac_arg in
|
---|
| 1077 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1078 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1079 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1080 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1081 | case "$ac_configure_args0 " in
|
---|
| 1082 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1083 | esac
|
---|
| 1084 | ;;
|
---|
| 1085 | -* ) ac_must_keep_next=true ;;
|
---|
| 1086 | esac
|
---|
| 1087 | fi
|
---|
[20853] | 1088 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
| 1089 | # Get rid of the leading space.
|
---|
| 1090 | ac_sep=" "
|
---|
[8756] | 1091 | ;;
|
---|
| 1092 | esac
|
---|
| 1093 | done
|
---|
| 1094 | done
|
---|
| 1095 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1096 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
| 1097 |
|
---|
| 1098 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1099 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1100 | # would cause problems or look ugly.
|
---|
[20853] | 1101 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
---|
| 1102 | # such as our DU 5.0 friend, will then `close' the trap.
|
---|
[8756] | 1103 | trap 'exit_status=$?
|
---|
| 1104 | # Save into config.log some information that might help in debugging.
|
---|
| 1105 | {
|
---|
| 1106 | echo
|
---|
| 1107 |
|
---|
| 1108 | cat <<\_ASBOX
|
---|
| 1109 | ## ---------------- ##
|
---|
| 1110 | ## Cache variables. ##
|
---|
| 1111 | ## ---------------- ##
|
---|
| 1112 | _ASBOX
|
---|
| 1113 | echo
|
---|
| 1114 | # The following way of writing the cache mishandles newlines in values,
|
---|
[20853] | 1115 | {
|
---|
[8756] | 1116 | (set) 2>&1 |
|
---|
[20853] | 1117 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
| 1118 | *ac_space=\ *)
|
---|
[8756] | 1119 | sed -n \
|
---|
[20853] | 1120 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
| 1121 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
| 1122 | ;;
|
---|
[8756] | 1123 | *)
|
---|
[20853] | 1124 | sed -n \
|
---|
| 1125 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
[8756] | 1126 | ;;
|
---|
[20853] | 1127 | esac;
|
---|
| 1128 | }
|
---|
[8756] | 1129 | echo
|
---|
| 1130 |
|
---|
| 1131 | cat <<\_ASBOX
|
---|
| 1132 | ## ----------------- ##
|
---|
| 1133 | ## Output variables. ##
|
---|
| 1134 | ## ----------------- ##
|
---|
| 1135 | _ASBOX
|
---|
| 1136 | echo
|
---|
| 1137 | for ac_var in $ac_subst_vars
|
---|
| 1138 | do
|
---|
[20853] | 1139 | eval ac_val=$`echo $ac_var`
|
---|
| 1140 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
[8756] | 1141 | done | sort
|
---|
| 1142 | echo
|
---|
| 1143 |
|
---|
| 1144 | if test -n "$ac_subst_files"; then
|
---|
| 1145 | cat <<\_ASBOX
|
---|
[20853] | 1146 | ## ------------- ##
|
---|
| 1147 | ## Output files. ##
|
---|
| 1148 | ## ------------- ##
|
---|
[8756] | 1149 | _ASBOX
|
---|
| 1150 | echo
|
---|
| 1151 | for ac_var in $ac_subst_files
|
---|
| 1152 | do
|
---|
[20853] | 1153 | eval ac_val=$`echo $ac_var`
|
---|
| 1154 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
[8756] | 1155 | done | sort
|
---|
| 1156 | echo
|
---|
| 1157 | fi
|
---|
| 1158 |
|
---|
| 1159 | if test -s confdefs.h; then
|
---|
| 1160 | cat <<\_ASBOX
|
---|
| 1161 | ## ----------- ##
|
---|
| 1162 | ## confdefs.h. ##
|
---|
| 1163 | ## ----------- ##
|
---|
| 1164 | _ASBOX
|
---|
| 1165 | echo
|
---|
[20853] | 1166 | sed "/^$/d" confdefs.h | sort
|
---|
[8756] | 1167 | echo
|
---|
| 1168 | fi
|
---|
| 1169 | test "$ac_signal" != 0 &&
|
---|
| 1170 | echo "$as_me: caught signal $ac_signal"
|
---|
| 1171 | echo "$as_me: exit $exit_status"
|
---|
| 1172 | } >&5
|
---|
[20853] | 1173 | rm -f core *.core &&
|
---|
| 1174 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[8756] | 1175 | exit $exit_status
|
---|
[20853] | 1176 | ' 0
|
---|
[8756] | 1177 | for ac_signal in 1 2 13 15; do
|
---|
| 1178 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
| 1179 | done
|
---|
| 1180 | ac_signal=0
|
---|
| 1181 |
|
---|
| 1182 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[20853] | 1183 | rm -rf conftest* confdefs.h
|
---|
| 1184 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
| 1185 | echo >confdefs.h
|
---|
[8756] | 1186 |
|
---|
| 1187 | # Predefined preprocessor variables.
|
---|
| 1188 |
|
---|
| 1189 | cat >>confdefs.h <<_ACEOF
|
---|
| 1190 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1191 | _ACEOF
|
---|
| 1192 |
|
---|
| 1193 |
|
---|
| 1194 | cat >>confdefs.h <<_ACEOF
|
---|
| 1195 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1196 | _ACEOF
|
---|
| 1197 |
|
---|
| 1198 |
|
---|
| 1199 | cat >>confdefs.h <<_ACEOF
|
---|
| 1200 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1201 | _ACEOF
|
---|
| 1202 |
|
---|
| 1203 |
|
---|
| 1204 | cat >>confdefs.h <<_ACEOF
|
---|
| 1205 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1206 | _ACEOF
|
---|
| 1207 |
|
---|
| 1208 |
|
---|
| 1209 | cat >>confdefs.h <<_ACEOF
|
---|
| 1210 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1211 | _ACEOF
|
---|
| 1212 |
|
---|
| 1213 |
|
---|
| 1214 | # Let the site file select an alternate cache file if it wants to.
|
---|
[562] | 1215 | # Prefer explicitly selected file to automatically selected ones.
|
---|
[20853] | 1216 | if test -z "$CONFIG_SITE"; then
|
---|
| 1217 | if test "x$prefix" != xNONE; then
|
---|
| 1218 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
| 1219 | else
|
---|
| 1220 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
| 1221 | fi
|
---|
[562] | 1222 | fi
|
---|
[20853] | 1223 | for ac_site_file in $CONFIG_SITE; do
|
---|
[562] | 1224 | if test -r "$ac_site_file"; then
|
---|
[8756] | 1225 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
| 1226 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 1227 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[562] | 1228 | . "$ac_site_file"
|
---|
| 1229 | fi
|
---|
| 1230 | done
|
---|
| 1231 |
|
---|
| 1232 | if test -r "$cache_file"; then
|
---|
[8756] | 1233 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1234 | # files actually), so we avoid doing that.
|
---|
| 1235 | if test -f "$cache_file"; then
|
---|
| 1236 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
| 1237 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 1238 | case $cache_file in
|
---|
[20853] | 1239 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
| 1240 | *) . ./$cache_file;;
|
---|
[8756] | 1241 | esac
|
---|
| 1242 | fi
|
---|
[562] | 1243 | else
|
---|
[8756] | 1244 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
| 1245 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 1246 | >$cache_file
|
---|
[562] | 1247 | fi
|
---|
| 1248 |
|
---|
[8756] | 1249 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1250 | # value.
|
---|
| 1251 | ac_cache_corrupted=false
|
---|
[20853] | 1252 | for ac_var in `(set) 2>&1 |
|
---|
| 1253 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
[8756] | 1254 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1255 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[20853] | 1256 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
| 1257 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
[8756] | 1258 | case $ac_old_set,$ac_new_set in
|
---|
| 1259 | set,)
|
---|
| 1260 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 1261 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 1262 | ac_cache_corrupted=: ;;
|
---|
| 1263 | ,set)
|
---|
| 1264 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 1265 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 1266 | ac_cache_corrupted=: ;;
|
---|
| 1267 | ,);;
|
---|
| 1268 | *)
|
---|
| 1269 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 1270 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 1271 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1272 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
| 1273 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
| 1274 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
| 1275 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
| 1276 | ac_cache_corrupted=:
|
---|
| 1277 | fi;;
|
---|
| 1278 | esac
|
---|
| 1279 | # Pass precious variables to config.status.
|
---|
| 1280 | if test "$ac_new_set" = set; then
|
---|
| 1281 | case $ac_new_val in
|
---|
[20853] | 1282 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 1283 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[8756] | 1284 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1285 | esac
|
---|
| 1286 | case " $ac_configure_args " in
|
---|
| 1287 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 1288 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
| 1289 | esac
|
---|
| 1290 | fi
|
---|
| 1291 | done
|
---|
| 1292 | if $ac_cache_corrupted; then
|
---|
| 1293 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
| 1294 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 1295 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1296 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1297 | { (exit 1); exit 1; }; }
|
---|
| 1298 | fi
|
---|
| 1299 |
|
---|
[20853] | 1300 | ac_ext=c
|
---|
| 1301 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1302 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1303 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1304 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[562] | 1305 |
|
---|
| 1306 |
|
---|
| 1307 |
|
---|
[8200] | 1308 |
|
---|
| 1309 |
|
---|
[8756] | 1310 |
|
---|
| 1311 |
|
---|
| 1312 |
|
---|
| 1313 |
|
---|
| 1314 |
|
---|
| 1315 |
|
---|
| 1316 |
|
---|
| 1317 |
|
---|
| 1318 |
|
---|
| 1319 |
|
---|
| 1320 |
|
---|
| 1321 |
|
---|
| 1322 |
|
---|
| 1323 |
|
---|
[20853] | 1324 | ac_config_headers="$ac_config_headers config.h"
|
---|
[8756] | 1325 |
|
---|
[20853] | 1326 |
|
---|
[562] | 1327 | PACKAGE=gsdl
|
---|
[16572] | 1328 | VERSION=2.82-svn
|
---|
[8756] | 1329 | cat >>confdefs.h <<_ACEOF
|
---|
[562] | 1330 | #define PACKAGE "$PACKAGE"
|
---|
[8756] | 1331 | _ACEOF
|
---|
[562] | 1332 |
|
---|
[8756] | 1333 | cat >>confdefs.h <<_ACEOF
|
---|
[562] | 1334 | #define VERSION "$VERSION"
|
---|
[8756] | 1335 | _ACEOF
|
---|
[562] | 1336 |
|
---|
[8200] | 1337 |
|
---|
| 1338 |
|
---|
| 1339 |
|
---|
[18487] | 1340 |
|
---|
[567] | 1341 | USE_FASTCGI=0
|
---|
| 1342 | if test USE_FASTCGI = 1; then
|
---|
[8756] | 1343 | cat >>confdefs.h <<\_ACEOF
|
---|
[567] | 1344 | #define USE_FASTCGI 1
|
---|
[8756] | 1345 | _ACEOF
|
---|
[567] | 1346 |
|
---|
[8200] | 1347 |
|
---|
[3631] | 1348 | fi
|
---|
[567] | 1349 |
|
---|
[3631] | 1350 | if test USE_LANGACTION = 1; then
|
---|
[8756] | 1351 | cat >>confdefs.h <<\_ACEOF
|
---|
[3631] | 1352 | #define USE_LANGACTION 1
|
---|
[8756] | 1353 | _ACEOF
|
---|
[3631] | 1354 |
|
---|
[8200] | 1355 |
|
---|
[567] | 1356 | fi
|
---|
| 1357 |
|
---|
[20853] | 1358 | # Check whether --enable-corba or --disable-corba was given.
|
---|
[1860] | 1359 | if test "${enable_corba+set}" = set; then
|
---|
[20853] | 1360 | enableval="$enable_corba"
|
---|
| 1361 | USE_CORBA=1
|
---|
[1860] | 1362 | else
|
---|
[2471] | 1363 | USE_CORBA=0
|
---|
[20853] | 1364 | fi;
|
---|
[8756] | 1365 | cat >>confdefs.h <<_ACEOF
|
---|
[2297] | 1366 | #define USE_CORBA $USE_CORBA
|
---|
[8756] | 1367 | _ACEOF
|
---|
[1860] | 1368 |
|
---|
[8200] | 1369 |
|
---|
| 1370 |
|
---|
[8756] | 1371 |
|
---|
[20853] | 1372 | # Check whether --with-micodir or --without-micodir was given.
|
---|
[1860] | 1373 | if test "${with_micodir+set}" = set; then
|
---|
[20853] | 1374 | withval="$with_micodir"
|
---|
[21330] | 1375 | MICO_DIR=$withval
|
---|
[1860] | 1376 | else
|
---|
[2471] | 1377 | MICO_DIR="default"
|
---|
[20853] | 1378 | fi;
|
---|
[8756] | 1379 | cat >>confdefs.h <<_ACEOF
|
---|
[2297] | 1380 | #define MICO_DIR "$MICO_DIR"
|
---|
[8756] | 1381 | _ACEOF
|
---|
[1860] | 1382 |
|
---|
[8200] | 1383 |
|
---|
| 1384 |
|
---|
[20853] | 1385 | # Check whether --enable-z3950 or --disable-z3950 was given.
|
---|
[1938] | 1386 | if test "${enable_z3950+set}" = set; then
|
---|
[20853] | 1387 | enableval="$enable_z3950"
|
---|
| 1388 | USE_Z3950=1
|
---|
[1938] | 1389 | else
|
---|
| 1390 | USE_Z3950=0
|
---|
[20853] | 1391 | fi;
|
---|
[2297] | 1392 | if test USE_Z3950 = 1; then
|
---|
[8756] | 1393 | cat >>confdefs.h <<\_ACEOF
|
---|
[2297] | 1394 | #define USE_Z3950 $USE_Z3950
|
---|
[8756] | 1395 | _ACEOF
|
---|
[1938] | 1396 |
|
---|
[8200] | 1397 |
|
---|
[2297] | 1398 | fi
|
---|
[1938] | 1399 |
|
---|
[20853] | 1400 | # Check whether --enable-yaz or --disable-yaz was given.
|
---|
[12492] | 1401 | if test "${enable_yaz+set}" = set; then
|
---|
[20853] | 1402 | enableval="$enable_yaz"
|
---|
| 1403 | USE_YAZ=0
|
---|
[12492] | 1404 | else
|
---|
| 1405 | USE_YAZ=1
|
---|
[20853] | 1406 | fi;
|
---|
[12492] | 1407 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1408 | #define USE_YAZ $USE_YAZ
|
---|
| 1409 | _ACEOF
|
---|
[8756] | 1410 |
|
---|
[12492] | 1411 |
|
---|
| 1412 |
|
---|
[20853] | 1413 | # Check whether --enable-accentfold or --disable-accentfold was given.
|
---|
[12922] | 1414 | if test "${enable_accentfold+set}" = set; then
|
---|
[20853] | 1415 | enableval="$enable_accentfold"
|
---|
| 1416 | ENABLE_ACCENTFOLD=0
|
---|
[12922] | 1417 | else
|
---|
| 1418 | ENABLE_ACCENTFOLD=1
|
---|
[20853] | 1419 | fi;
|
---|
[12922] | 1420 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1421 | #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
|
---|
| 1422 | _ACEOF
|
---|
| 1423 |
|
---|
| 1424 |
|
---|
[15901] | 1425 |
|
---|
[20853] | 1426 | # Check whether --enable-sqlite or --disable-sqlite was given.
|
---|
[15794] | 1427 | if test "${enable_sqlite+set}" = set; then
|
---|
[20853] | 1428 | enableval="$enable_sqlite"
|
---|
| 1429 | USE_SQLITE=0
|
---|
[16288] | 1430 | else
|
---|
[15794] | 1431 | USE_SQLITE=1
|
---|
[20853] | 1432 | fi;
|
---|
[15794] | 1433 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1434 | #define USE_SQLITE $USE_SQLITE
|
---|
| 1435 | _ACEOF
|
---|
[12922] | 1436 |
|
---|
[15794] | 1437 |
|
---|
[15901] | 1438 |
|
---|
[20853] | 1439 | # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
|
---|
[18487] | 1440 | if test "${enable_apache_httpd+set}" = set; then
|
---|
[20853] | 1441 | enableval="$enable_apache_httpd"
|
---|
| 1442 | USE_APACHE_HTTPD=1
|
---|
[19263] | 1443 | else
|
---|
[20853] | 1444 | USE_APACHE_HTTPD=0
|
---|
| 1445 | fi;
|
---|
[18487] | 1446 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1447 | #define USE_APACHE_HTTPD $USE_APACHE_HTTPD
|
---|
| 1448 | _ACEOF
|
---|
| 1449 |
|
---|
| 1450 |
|
---|
| 1451 |
|
---|
[21366] | 1452 | # Check whether --enable-jni or --disable-jni was given.
|
---|
| 1453 | if test "${enable_jni+set}" = set; then
|
---|
| 1454 | enableval="$enable_jni"
|
---|
| 1455 | ENABLE_JNI=$enableval
|
---|
| 1456 | else
|
---|
| 1457 | ENABLE_JNI=no
|
---|
| 1458 | fi;
|
---|
| 1459 | if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
|
---|
| 1460 | ENABLE_JNI=1
|
---|
| 1461 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1462 | #define ENABLE_JNI
|
---|
| 1463 | _ACEOF
|
---|
[18487] | 1464 |
|
---|
[21366] | 1465 | else
|
---|
| 1466 | ENABLE_JNI=0
|
---|
| 1467 | fi
|
---|
| 1468 |
|
---|
| 1469 |
|
---|
[21330] | 1470 | # Check whether --enable-mg or --disable-mg was given.
|
---|
| 1471 | if test "${enable_mg+set}" = set; then
|
---|
| 1472 | enableval="$enable_mg"
|
---|
| 1473 | ENABLE_MG=$enableval
|
---|
| 1474 | else
|
---|
| 1475 | ENABLE_MG=yes
|
---|
| 1476 | fi;
|
---|
| 1477 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 1478 | ENABLE_MG=1
|
---|
| 1479 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1480 | #define ENABLE_MG
|
---|
| 1481 | _ACEOF
|
---|
| 1482 |
|
---|
| 1483 | else
|
---|
| 1484 | ENABLE_MG=0
|
---|
| 1485 | fi
|
---|
| 1486 |
|
---|
| 1487 |
|
---|
| 1488 |
|
---|
| 1489 | # Check whether --enable-mgpp or --disable-mgpp was given.
|
---|
| 1490 | if test "${enable_mgpp+set}" = set; then
|
---|
| 1491 | enableval="$enable_mgpp"
|
---|
| 1492 | ENABLE_MGPP=$enableval
|
---|
| 1493 | else
|
---|
| 1494 | ENABLE_MGPP=yes
|
---|
| 1495 | fi;
|
---|
| 1496 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 1497 | ENABLE_MGPP=1
|
---|
| 1498 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1499 | #define ENABLE_MGPP
|
---|
| 1500 | _ACEOF
|
---|
| 1501 |
|
---|
| 1502 | else
|
---|
| 1503 | ENABLE_MGPP=0
|
---|
| 1504 | fi
|
---|
| 1505 |
|
---|
| 1506 |
|
---|
| 1507 | # Check whether --enable-lucene or --disable-lucene was given.
|
---|
| 1508 | if test "${enable_lucene+set}" = set; then
|
---|
| 1509 | enableval="$enable_lucene"
|
---|
| 1510 | ENABLE_LUCENE=$enableval
|
---|
| 1511 | else
|
---|
| 1512 | ENABLE_LUCENE=yes
|
---|
| 1513 | fi;
|
---|
| 1514 | if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
|
---|
| 1515 | ENABLE_LUCENE=1
|
---|
| 1516 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1517 | #define ENABLE_LUCENE
|
---|
| 1518 | _ACEOF
|
---|
| 1519 |
|
---|
| 1520 | else
|
---|
| 1521 | ENABLE_LUCENE=0
|
---|
| 1522 | fi
|
---|
| 1523 |
|
---|
| 1524 |
|
---|
| 1525 |
|
---|
[14169] | 1526 | LDFLAGS=$LDFLAGS
|
---|
[15551] | 1527 |
|
---|
[1722] | 1528 | if test -z "$CFLAGS"; then
|
---|
[794] | 1529 | CFLAGS=-O2
|
---|
[1722] | 1530 | fi
|
---|
[576] | 1531 |
|
---|
| 1532 |
|
---|
[15551] | 1533 |
|
---|
[8756] | 1534 | ac_ext=c
|
---|
| 1535 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1536 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1537 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1538 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1539 | if test -n "$ac_tool_prefix"; then
|
---|
| 1540 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 1541 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[20853] | 1542 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1543 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1544 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1545 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1546 | else
|
---|
| 1547 | if test -n "$CC"; then
|
---|
| 1548 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1549 | else
|
---|
| 1550 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1551 | for as_dir in $PATH
|
---|
| 1552 | do
|
---|
| 1553 | IFS=$as_save_IFS
|
---|
| 1554 | test -z "$as_dir" && as_dir=.
|
---|
| 1555 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1556 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1557 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
| 1558 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1559 | break 2
|
---|
| 1560 | fi
|
---|
| 1561 | done
|
---|
| 1562 | done
|
---|
| 1563 |
|
---|
| 1564 | fi
|
---|
| 1565 | fi
|
---|
| 1566 | CC=$ac_cv_prog_CC
|
---|
| 1567 | if test -n "$CC"; then
|
---|
[20853] | 1568 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1569 | echo "${ECHO_T}$CC" >&6
|
---|
[8756] | 1570 | else
|
---|
[20853] | 1571 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1572 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 1573 | fi
|
---|
| 1574 |
|
---|
| 1575 | fi
|
---|
| 1576 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1577 | ac_ct_CC=$CC
|
---|
| 1578 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
[562] | 1579 | set dummy gcc; ac_word=$2
|
---|
[20853] | 1580 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1581 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1582 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1583 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1584 | else
|
---|
[8756] | 1585 | if test -n "$ac_ct_CC"; then
|
---|
| 1586 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1587 | else
|
---|
| 1588 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1589 | for as_dir in $PATH
|
---|
| 1590 | do
|
---|
| 1591 | IFS=$as_save_IFS
|
---|
| 1592 | test -z "$as_dir" && as_dir=.
|
---|
| 1593 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1594 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1595 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
| 1596 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1597 | break 2
|
---|
| 1598 | fi
|
---|
| 1599 | done
|
---|
| 1600 | done
|
---|
| 1601 |
|
---|
| 1602 | fi
|
---|
| 1603 | fi
|
---|
| 1604 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1605 | if test -n "$ac_ct_CC"; then
|
---|
[20853] | 1606 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1607 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
[8756] | 1608 | else
|
---|
[20853] | 1609 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1610 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 1611 | fi
|
---|
| 1612 |
|
---|
[20853] | 1613 | CC=$ac_ct_CC
|
---|
[8756] | 1614 | else
|
---|
| 1615 | CC="$ac_cv_prog_CC"
|
---|
| 1616 | fi
|
---|
| 1617 |
|
---|
| 1618 | if test -z "$CC"; then
|
---|
[20853] | 1619 | if test -n "$ac_tool_prefix"; then
|
---|
| 1620 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[8756] | 1621 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[20853] | 1622 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1623 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1624 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1625 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1626 | else
|
---|
[562] | 1627 | if test -n "$CC"; then
|
---|
| 1628 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1629 | else
|
---|
[8756] | 1630 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1631 | for as_dir in $PATH
|
---|
| 1632 | do
|
---|
| 1633 | IFS=$as_save_IFS
|
---|
| 1634 | test -z "$as_dir" && as_dir=.
|
---|
| 1635 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1636 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1637 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
| 1638 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1639 | break 2
|
---|
| 1640 | fi
|
---|
| 1641 | done
|
---|
| 1642 | done
|
---|
| 1643 |
|
---|
[562] | 1644 | fi
|
---|
| 1645 | fi
|
---|
[8756] | 1646 | CC=$ac_cv_prog_CC
|
---|
[562] | 1647 | if test -n "$CC"; then
|
---|
[20853] | 1648 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1649 | echo "${ECHO_T}$CC" >&6
|
---|
[562] | 1650 | else
|
---|
[20853] | 1651 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1652 | echo "${ECHO_T}no" >&6
|
---|
[562] | 1653 | fi
|
---|
| 1654 |
|
---|
[20853] | 1655 | fi
|
---|
| 1656 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1657 | ac_ct_CC=$CC
|
---|
| 1658 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1659 | set dummy cc; ac_word=$2
|
---|
| 1660 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1661 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1662 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1663 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1664 | else
|
---|
| 1665 | if test -n "$ac_ct_CC"; then
|
---|
| 1666 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1667 | else
|
---|
| 1668 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1669 | for as_dir in $PATH
|
---|
| 1670 | do
|
---|
| 1671 | IFS=$as_save_IFS
|
---|
| 1672 | test -z "$as_dir" && as_dir=.
|
---|
| 1673 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1674 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1675 | ac_cv_prog_ac_ct_CC="cc"
|
---|
| 1676 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1677 | break 2
|
---|
| 1678 | fi
|
---|
| 1679 | done
|
---|
| 1680 | done
|
---|
[20842] | 1681 |
|
---|
[8756] | 1682 | fi
|
---|
[20853] | 1683 | fi
|
---|
| 1684 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1685 | if test -n "$ac_ct_CC"; then
|
---|
| 1686 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1687 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1688 | else
|
---|
| 1689 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1690 | echo "${ECHO_T}no" >&6
|
---|
| 1691 | fi
|
---|
| 1692 |
|
---|
| 1693 | CC=$ac_ct_CC
|
---|
| 1694 | else
|
---|
| 1695 | CC="$ac_cv_prog_CC"
|
---|
| 1696 | fi
|
---|
| 1697 |
|
---|
| 1698 | fi
|
---|
[562] | 1699 | if test -z "$CC"; then
|
---|
| 1700 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1701 | set dummy cc; ac_word=$2
|
---|
[20853] | 1702 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1703 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1704 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1705 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1706 | else
|
---|
| 1707 | if test -n "$CC"; then
|
---|
| 1708 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1709 | else
|
---|
| 1710 | ac_prog_rejected=no
|
---|
[8756] | 1711 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1712 | for as_dir in $PATH
|
---|
| 1713 | do
|
---|
| 1714 | IFS=$as_save_IFS
|
---|
| 1715 | test -z "$as_dir" && as_dir=.
|
---|
| 1716 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1717 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1718 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 1719 | ac_prog_rejected=yes
|
---|
| 1720 | continue
|
---|
| 1721 | fi
|
---|
| 1722 | ac_cv_prog_CC="cc"
|
---|
| 1723 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1724 | break 2
|
---|
| 1725 | fi
|
---|
| 1726 | done
|
---|
| 1727 | done
|
---|
| 1728 |
|
---|
[562] | 1729 | if test $ac_prog_rejected = yes; then
|
---|
| 1730 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 1731 | set dummy $ac_cv_prog_CC
|
---|
| 1732 | shift
|
---|
[8756] | 1733 | if test $# != 0; then
|
---|
[562] | 1734 | # We chose a different compiler from the bogus one.
|
---|
| 1735 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 1736 | # first if we set CC to just the basename; use the full file name.
|
---|
| 1737 | shift
|
---|
[8756] | 1738 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
[562] | 1739 | fi
|
---|
| 1740 | fi
|
---|
| 1741 | fi
|
---|
| 1742 | fi
|
---|
[8756] | 1743 | CC=$ac_cv_prog_CC
|
---|
[562] | 1744 | if test -n "$CC"; then
|
---|
[20853] | 1745 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1746 | echo "${ECHO_T}$CC" >&6
|
---|
[562] | 1747 | else
|
---|
[20853] | 1748 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1749 | echo "${ECHO_T}no" >&6
|
---|
[562] | 1750 | fi
|
---|
| 1751 |
|
---|
[8756] | 1752 | fi
|
---|
| 1753 | if test -z "$CC"; then
|
---|
| 1754 | if test -n "$ac_tool_prefix"; then
|
---|
[20853] | 1755 | for ac_prog in cl
|
---|
[8756] | 1756 | do
|
---|
| 1757 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 1758 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[20853] | 1759 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1760 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1761 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1762 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1763 | else
|
---|
| 1764 | if test -n "$CC"; then
|
---|
| 1765 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1766 | else
|
---|
[8756] | 1767 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1768 | for as_dir in $PATH
|
---|
| 1769 | do
|
---|
| 1770 | IFS=$as_save_IFS
|
---|
| 1771 | test -z "$as_dir" && as_dir=.
|
---|
| 1772 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1773 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1774 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
| 1775 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1776 | break 2
|
---|
| 1777 | fi
|
---|
| 1778 | done
|
---|
| 1779 | done
|
---|
| 1780 |
|
---|
[562] | 1781 | fi
|
---|
| 1782 | fi
|
---|
[8756] | 1783 | CC=$ac_cv_prog_CC
|
---|
[562] | 1784 | if test -n "$CC"; then
|
---|
[20853] | 1785 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1786 | echo "${ECHO_T}$CC" >&6
|
---|
[562] | 1787 | else
|
---|
[20853] | 1788 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1789 | echo "${ECHO_T}no" >&6
|
---|
[562] | 1790 | fi
|
---|
[8756] | 1791 |
|
---|
| 1792 | test -n "$CC" && break
|
---|
| 1793 | done
|
---|
| 1794 | fi
|
---|
| 1795 | if test -z "$CC"; then
|
---|
| 1796 | ac_ct_CC=$CC
|
---|
[20853] | 1797 | for ac_prog in cl
|
---|
[8756] | 1798 | do
|
---|
| 1799 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 1800 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 1801 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1802 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1803 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1804 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1805 | else
|
---|
| 1806 | if test -n "$ac_ct_CC"; then
|
---|
| 1807 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1808 | else
|
---|
| 1809 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1810 | for as_dir in $PATH
|
---|
| 1811 | do
|
---|
| 1812 | IFS=$as_save_IFS
|
---|
| 1813 | test -z "$as_dir" && as_dir=.
|
---|
| 1814 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1815 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1816 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
| 1817 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1818 | break 2
|
---|
[8200] | 1819 | fi
|
---|
[8756] | 1820 | done
|
---|
| 1821 | done
|
---|
| 1822 |
|
---|
[562] | 1823 | fi
|
---|
[8756] | 1824 | fi
|
---|
| 1825 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1826 | if test -n "$ac_ct_CC"; then
|
---|
[20853] | 1827 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1828 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
[8756] | 1829 | else
|
---|
[20853] | 1830 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1831 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 1832 | fi
|
---|
[562] | 1833 |
|
---|
[8756] | 1834 | test -n "$ac_ct_CC" && break
|
---|
| 1835 | done
|
---|
[562] | 1836 |
|
---|
[20853] | 1837 | CC=$ac_ct_CC
|
---|
[8756] | 1838 | fi
|
---|
[562] | 1839 |
|
---|
[8756] | 1840 | fi
|
---|
[562] | 1841 |
|
---|
| 1842 |
|
---|
[8756] | 1843 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
| 1844 | See \`config.log' for more details." >&5
|
---|
| 1845 | echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
| 1846 | See \`config.log' for more details." >&2;}
|
---|
| 1847 | { (exit 1); exit 1; }; }
|
---|
| 1848 |
|
---|
| 1849 | # Provide some information about the compiler.
|
---|
[20853] | 1850 | echo "$as_me:$LINENO:" \
|
---|
| 1851 | "checking for C compiler version" >&5
|
---|
[8756] | 1852 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[20853] | 1853 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 1854 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
[8756] | 1855 | ac_status=$?
|
---|
| 1856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1857 | (exit $ac_status); }
|
---|
[20853] | 1858 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 1859 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
[8756] | 1860 | ac_status=$?
|
---|
| 1861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1862 | (exit $ac_status); }
|
---|
[20853] | 1863 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 1864 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
[8756] | 1865 | ac_status=$?
|
---|
| 1866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1867 | (exit $ac_status); }
|
---|
| 1868 |
|
---|
| 1869 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1870 | /* confdefs.h. */
|
---|
| 1871 | _ACEOF
|
---|
| 1872 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1873 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1874 | /* end confdefs.h. */
|
---|
| 1875 |
|
---|
| 1876 | int
|
---|
| 1877 | main ()
|
---|
| 1878 | {
|
---|
| 1879 |
|
---|
| 1880 | ;
|
---|
| 1881 | return 0;
|
---|
| 1882 | }
|
---|
| 1883 | _ACEOF
|
---|
| 1884 | ac_clean_files_save=$ac_clean_files
|
---|
| 1885 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
| 1886 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 1887 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 1888 | # of exeext.
|
---|
[20853] | 1889 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
---|
| 1890 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
---|
[8756] | 1891 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[20853] | 1892 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
---|
| 1893 | (eval $ac_link_default) 2>&5
|
---|
[8756] | 1894 | ac_status=$?
|
---|
| 1895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1896 | (exit $ac_status); }; then
|
---|
[20853] | 1897 | # Find the output, starting from the most likely. This scheme is
|
---|
| 1898 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
---|
| 1899 | # resort.
|
---|
| 1900 |
|
---|
| 1901 | # Be careful to initialize this variable, since it used to be cached.
|
---|
| 1902 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
---|
| 1903 | ac_cv_exeext=
|
---|
| 1904 | # b.out is created by i960 compilers.
|
---|
| 1905 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
---|
[8756] | 1906 | do
|
---|
| 1907 | test -f "$ac_file" || continue
|
---|
| 1908 | case $ac_file in
|
---|
[20853] | 1909 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
---|
[8756] | 1910 | ;;
|
---|
[20853] | 1911 | conftest.$ac_ext )
|
---|
| 1912 | # This is the source file.
|
---|
| 1913 | ;;
|
---|
[8756] | 1914 | [ab].out )
|
---|
| 1915 | # We found the default executable, but exeext='' is most
|
---|
| 1916 | # certainly right.
|
---|
| 1917 | break;;
|
---|
| 1918 | *.* )
|
---|
[20853] | 1919 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 1920 | # FIXME: I believe we export ac_cv_exeext for Libtool,
|
---|
| 1921 | # but it would be cool to find out if it's true. Does anybody
|
---|
| 1922 | # maintain Libtool? --akim.
|
---|
| 1923 | export ac_cv_exeext
|
---|
[8756] | 1924 | break;;
|
---|
| 1925 | * )
|
---|
| 1926 | break;;
|
---|
| 1927 | esac
|
---|
| 1928 | done
|
---|
| 1929 | else
|
---|
| 1930 | echo "$as_me: failed program was:" >&5
|
---|
| 1931 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1932 |
|
---|
| 1933 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
---|
| 1934 | See \`config.log' for more details." >&5
|
---|
| 1935 | echo "$as_me: error: C compiler cannot create executables
|
---|
| 1936 | See \`config.log' for more details." >&2;}
|
---|
| 1937 | { (exit 77); exit 77; }; }
|
---|
| 1938 | fi
|
---|
| 1939 |
|
---|
| 1940 | ac_exeext=$ac_cv_exeext
|
---|
[20853] | 1941 | echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 1942 | echo "${ECHO_T}$ac_file" >&6
|
---|
[8756] | 1943 |
|
---|
[20853] | 1944 | # Check the compiler produces executables we can run. If not, either
|
---|
[8756] | 1945 | # the compiler is broken, or we cross compile.
|
---|
[20853] | 1946 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
---|
| 1947 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
---|
[8756] | 1948 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 1949 | # If not cross compiling, check that we can run a simple program.
|
---|
| 1950 | if test "$cross_compiling" != yes; then
|
---|
| 1951 | if { ac_try='./$ac_file'
|
---|
[20853] | 1952 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 1953 | (eval $ac_try) 2>&5
|
---|
[8756] | 1954 | ac_status=$?
|
---|
| 1955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1956 | (exit $ac_status); }; }; then
|
---|
| 1957 | cross_compiling=no
|
---|
[562] | 1958 | else
|
---|
[8756] | 1959 | if test "$cross_compiling" = maybe; then
|
---|
| 1960 | cross_compiling=yes
|
---|
| 1961 | else
|
---|
| 1962 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
---|
| 1963 | If you meant to cross compile, use \`--host'.
|
---|
| 1964 | See \`config.log' for more details." >&5
|
---|
| 1965 | echo "$as_me: error: cannot run C compiled programs.
|
---|
| 1966 | If you meant to cross compile, use \`--host'.
|
---|
| 1967 | See \`config.log' for more details." >&2;}
|
---|
| 1968 | { (exit 1); exit 1; }; }
|
---|
| 1969 | fi
|
---|
[562] | 1970 | fi
|
---|
| 1971 | fi
|
---|
[20853] | 1972 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 1973 | echo "${ECHO_T}yes" >&6
|
---|
[562] | 1974 |
|
---|
[8756] | 1975 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
| 1976 | ac_clean_files=$ac_clean_files_save
|
---|
[20853] | 1977 | # Check the compiler produces executables we can run. If not, either
|
---|
[8756] | 1978 | # the compiler is broken, or we cross compile.
|
---|
[20853] | 1979 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 1980 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
---|
| 1981 | echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 1982 | echo "${ECHO_T}$cross_compiling" >&6
|
---|
[8756] | 1983 |
|
---|
[20853] | 1984 | echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
| 1985 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
---|
| 1986 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 1987 | (eval $ac_link) 2>&5
|
---|
[8756] | 1988 | ac_status=$?
|
---|
| 1989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1990 | (exit $ac_status); }; then
|
---|
| 1991 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 1992 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 1993 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 1994 | # `rm'.
|
---|
| 1995 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 1996 | test -f "$ac_file" || continue
|
---|
| 1997 | case $ac_file in
|
---|
[20853] | 1998 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
---|
[8756] | 1999 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
[20853] | 2000 | export ac_cv_exeext
|
---|
[8756] | 2001 | break;;
|
---|
| 2002 | * ) break;;
|
---|
| 2003 | esac
|
---|
| 2004 | done
|
---|
| 2005 | else
|
---|
| 2006 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2007 | See \`config.log' for more details." >&5
|
---|
| 2008 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2009 | See \`config.log' for more details." >&2;}
|
---|
| 2010 | { (exit 1); exit 1; }; }
|
---|
[562] | 2011 | fi
|
---|
| 2012 |
|
---|
[8756] | 2013 | rm -f conftest$ac_cv_exeext
|
---|
[20853] | 2014 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
| 2015 | echo "${ECHO_T}$ac_cv_exeext" >&6
|
---|
[8756] | 2016 |
|
---|
| 2017 | rm -f conftest.$ac_ext
|
---|
| 2018 | EXEEXT=$ac_cv_exeext
|
---|
| 2019 | ac_exeext=$EXEEXT
|
---|
[20853] | 2020 | echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
| 2021 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
---|
[8756] | 2022 | if test "${ac_cv_objext+set}" = set; then
|
---|
| 2023 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 2024 | else
|
---|
[8756] | 2025 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2026 | /* confdefs.h. */
|
---|
| 2027 | _ACEOF
|
---|
| 2028 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2029 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2030 | /* end confdefs.h. */
|
---|
| 2031 |
|
---|
| 2032 | int
|
---|
| 2033 | main ()
|
---|
| 2034 | {
|
---|
| 2035 |
|
---|
| 2036 | ;
|
---|
| 2037 | return 0;
|
---|
| 2038 | }
|
---|
| 2039 | _ACEOF
|
---|
| 2040 | rm -f conftest.o conftest.obj
|
---|
[20853] | 2041 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2042 | (eval $ac_compile) 2>&5
|
---|
[8756] | 2043 | ac_status=$?
|
---|
| 2044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2045 | (exit $ac_status); }; then
|
---|
[20853] | 2046 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
---|
[8756] | 2047 | case $ac_file in
|
---|
[20853] | 2048 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
---|
[8756] | 2049 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 2050 | break;;
|
---|
| 2051 | esac
|
---|
| 2052 | done
|
---|
[562] | 2053 | else
|
---|
[8756] | 2054 | echo "$as_me: failed program was:" >&5
|
---|
| 2055 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2056 |
|
---|
| 2057 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
| 2058 | See \`config.log' for more details." >&5
|
---|
| 2059 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
| 2060 | See \`config.log' for more details." >&2;}
|
---|
| 2061 | { (exit 1); exit 1; }; }
|
---|
[562] | 2062 | fi
|
---|
[8756] | 2063 |
|
---|
| 2064 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
[562] | 2065 | fi
|
---|
[20853] | 2066 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
| 2067 | echo "${ECHO_T}$ac_cv_objext" >&6
|
---|
[8756] | 2068 | OBJEXT=$ac_cv_objext
|
---|
| 2069 | ac_objext=$OBJEXT
|
---|
[20853] | 2070 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
| 2071 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
---|
[8756] | 2072 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
| 2073 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2074 | else
|
---|
| 2075 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2076 | /* confdefs.h. */
|
---|
| 2077 | _ACEOF
|
---|
| 2078 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2079 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2080 | /* end confdefs.h. */
|
---|
[562] | 2081 |
|
---|
[8756] | 2082 | int
|
---|
| 2083 | main ()
|
---|
| 2084 | {
|
---|
| 2085 | #ifndef __GNUC__
|
---|
| 2086 | choke me
|
---|
| 2087 | #endif
|
---|
[562] | 2088 |
|
---|
[8756] | 2089 | ;
|
---|
| 2090 | return 0;
|
---|
| 2091 | }
|
---|
| 2092 | _ACEOF
|
---|
| 2093 | rm -f conftest.$ac_objext
|
---|
[20853] | 2094 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2095 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2096 | ac_status=$?
|
---|
| 2097 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2098 | rm -f conftest.er1
|
---|
| 2099 | cat conftest.err >&5
|
---|
| 2100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2101 | (exit $ac_status); } &&
|
---|
| 2102 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2103 | || test ! -s conftest.err'
|
---|
| 2104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2105 | (eval $ac_try) 2>&5
|
---|
| 2106 | ac_status=$?
|
---|
| 2107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2108 | (exit $ac_status); }; } &&
|
---|
| 2109 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2110 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2111 | (eval $ac_try) 2>&5
|
---|
| 2112 | ac_status=$?
|
---|
| 2113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2114 | (exit $ac_status); }; }; then
|
---|
[8756] | 2115 | ac_compiler_gnu=yes
|
---|
[562] | 2116 | else
|
---|
[8756] | 2117 | echo "$as_me: failed program was:" >&5
|
---|
| 2118 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2119 |
|
---|
[20853] | 2120 | ac_compiler_gnu=no
|
---|
[562] | 2121 | fi
|
---|
[20853] | 2122 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2123 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
[562] | 2124 |
|
---|
[8756] | 2125 | fi
|
---|
[20853] | 2126 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 2127 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
---|
[8756] | 2128 | GCC=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2129 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 2130 | ac_save_CFLAGS=$CFLAGS
|
---|
[20853] | 2131 | CFLAGS="-g"
|
---|
| 2132 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
| 2133 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
---|
[8756] | 2134 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
| 2135 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 2136 | else
|
---|
[20853] | 2137 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2138 | /* confdefs.h. */
|
---|
| 2139 | _ACEOF
|
---|
| 2140 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2141 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2142 | /* end confdefs.h. */
|
---|
| 2143 |
|
---|
| 2144 | int
|
---|
| 2145 | main ()
|
---|
| 2146 | {
|
---|
| 2147 |
|
---|
| 2148 | ;
|
---|
| 2149 | return 0;
|
---|
| 2150 | }
|
---|
| 2151 | _ACEOF
|
---|
| 2152 | rm -f conftest.$ac_objext
|
---|
[20853] | 2153 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2154 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2155 | ac_status=$?
|
---|
| 2156 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2157 | rm -f conftest.er1
|
---|
| 2158 | cat conftest.err >&5
|
---|
| 2159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2160 | (exit $ac_status); } &&
|
---|
| 2161 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2162 | || test ! -s conftest.err'
|
---|
| 2163 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2164 | (eval $ac_try) 2>&5
|
---|
[8756] | 2165 | ac_status=$?
|
---|
| 2166 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2167 | (exit $ac_status); }; } &&
|
---|
| 2168 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2169 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2170 | (eval $ac_try) 2>&5
|
---|
[8756] | 2171 | ac_status=$?
|
---|
| 2172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2173 | (exit $ac_status); }; }; then
|
---|
[562] | 2174 | ac_cv_prog_cc_g=yes
|
---|
| 2175 | else
|
---|
[8756] | 2176 | echo "$as_me: failed program was:" >&5
|
---|
| 2177 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 2178 |
|
---|
[20853] | 2179 | ac_cv_prog_cc_g=no
|
---|
[562] | 2180 | fi
|
---|
[20853] | 2181 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2182 | fi
|
---|
[20853] | 2183 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
| 2184 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
---|
[562] | 2185 | if test "$ac_test_CFLAGS" = set; then
|
---|
[8756] | 2186 | CFLAGS=$ac_save_CFLAGS
|
---|
[562] | 2187 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 2188 | if test "$GCC" = yes; then
|
---|
| 2189 | CFLAGS="-g -O2"
|
---|
| 2190 | else
|
---|
| 2191 | CFLAGS="-g"
|
---|
| 2192 | fi
|
---|
| 2193 | else
|
---|
| 2194 | if test "$GCC" = yes; then
|
---|
| 2195 | CFLAGS="-O2"
|
---|
| 2196 | else
|
---|
| 2197 | CFLAGS=
|
---|
| 2198 | fi
|
---|
| 2199 | fi
|
---|
[20853] | 2200 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
---|
| 2201 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
---|
| 2202 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
[8756] | 2203 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2204 | else
|
---|
[20853] | 2205 | ac_cv_prog_cc_stdc=no
|
---|
[8756] | 2206 | ac_save_CC=$CC
|
---|
| 2207 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2208 | /* confdefs.h. */
|
---|
| 2209 | _ACEOF
|
---|
| 2210 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2211 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2212 | /* end confdefs.h. */
|
---|
| 2213 | #include <stdarg.h>
|
---|
| 2214 | #include <stdio.h>
|
---|
| 2215 | #include <sys/types.h>
|
---|
| 2216 | #include <sys/stat.h>
|
---|
| 2217 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 2218 | struct buf { int x; };
|
---|
| 2219 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 2220 | static char *e (p, i)
|
---|
| 2221 | char **p;
|
---|
| 2222 | int i;
|
---|
| 2223 | {
|
---|
| 2224 | return p[i];
|
---|
| 2225 | }
|
---|
| 2226 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2227 | {
|
---|
| 2228 | char *s;
|
---|
| 2229 | va_list v;
|
---|
| 2230 | va_start (v,p);
|
---|
| 2231 | s = g (p, va_arg (v,int));
|
---|
| 2232 | va_end (v);
|
---|
| 2233 | return s;
|
---|
| 2234 | }
|
---|
[8200] | 2235 |
|
---|
[8756] | 2236 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 2237 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 2238 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[20853] | 2239 | as 'x'. The following induces an error, until -std1 is added to get
|
---|
[8756] | 2240 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 2241 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[20853] | 2242 | that's true only with -std1. */
|
---|
[8756] | 2243 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 2244 |
|
---|
| 2245 | int test (int i, double x);
|
---|
| 2246 | struct s1 {int (*f) (int a);};
|
---|
| 2247 | struct s2 {int (*f) (double a);};
|
---|
| 2248 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 2249 | int argc;
|
---|
| 2250 | char **argv;
|
---|
| 2251 | int
|
---|
| 2252 | main ()
|
---|
| 2253 | {
|
---|
| 2254 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 2255 | ;
|
---|
| 2256 | return 0;
|
---|
| 2257 | }
|
---|
| 2258 | _ACEOF
|
---|
[20853] | 2259 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 2260 | # breaks some systems' header files.
|
---|
| 2261 | # AIX -qlanglvl=ansi
|
---|
| 2262 | # Ultrix and OSF/1 -std1
|
---|
| 2263 | # HP-UX 10.20 and later -Ae
|
---|
| 2264 | # HP-UX older versions -Aa -D_HPUX_SOURCE
|
---|
| 2265 | # SVR4 -Xc -D__EXTENSIONS__
|
---|
| 2266 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[562] | 2267 | do
|
---|
[8756] | 2268 | CC="$ac_save_CC $ac_arg"
|
---|
| 2269 | rm -f conftest.$ac_objext
|
---|
[20853] | 2270 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2271 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2272 | ac_status=$?
|
---|
| 2273 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2274 | rm -f conftest.er1
|
---|
| 2275 | cat conftest.err >&5
|
---|
| 2276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2277 | (exit $ac_status); } &&
|
---|
| 2278 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2279 | || test ! -s conftest.err'
|
---|
| 2280 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2281 | (eval $ac_try) 2>&5
|
---|
| 2282 | ac_status=$?
|
---|
| 2283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2284 | (exit $ac_status); }; } &&
|
---|
| 2285 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2287 | (eval $ac_try) 2>&5
|
---|
| 2288 | ac_status=$?
|
---|
| 2289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2290 | (exit $ac_status); }; }; then
|
---|
| 2291 | ac_cv_prog_cc_stdc=$ac_arg
|
---|
| 2292 | break
|
---|
[562] | 2293 | else
|
---|
[8756] | 2294 | echo "$as_me: failed program was:" >&5
|
---|
| 2295 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2296 |
|
---|
[562] | 2297 | fi
|
---|
[20853] | 2298 | rm -f conftest.err conftest.$ac_objext
|
---|
[8756] | 2299 | done
|
---|
[20853] | 2300 | rm -f conftest.$ac_ext conftest.$ac_objext
|
---|
[8756] | 2301 | CC=$ac_save_CC
|
---|
| 2302 |
|
---|
[562] | 2303 | fi
|
---|
[20853] | 2304 |
|
---|
| 2305 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 2306 | x|xno)
|
---|
| 2307 | echo "$as_me:$LINENO: result: none needed" >&5
|
---|
| 2308 | echo "${ECHO_T}none needed" >&6 ;;
|
---|
[8756] | 2309 | *)
|
---|
[20853] | 2310 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 2311 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
---|
| 2312 | CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
[8756] | 2313 | esac
|
---|
| 2314 |
|
---|
[20853] | 2315 | # Some people use a C++ compiler to compile C. Since we use `exit',
|
---|
| 2316 | # in C++ we need to declare it. In case someone uses the same compiler
|
---|
| 2317 | # for both compiling C and C++ we need to have the C++ compiler decide
|
---|
| 2318 | # the declaration of exit, since it's the most demanding environment.
|
---|
| 2319 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2320 | #ifndef __cplusplus
|
---|
| 2321 | choke me
|
---|
| 2322 | #endif
|
---|
| 2323 | _ACEOF
|
---|
| 2324 | rm -f conftest.$ac_objext
|
---|
| 2325 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2326 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2327 | ac_status=$?
|
---|
| 2328 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2329 | rm -f conftest.er1
|
---|
| 2330 | cat conftest.err >&5
|
---|
| 2331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2332 | (exit $ac_status); } &&
|
---|
| 2333 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2334 | || test ! -s conftest.err'
|
---|
| 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); }; } &&
|
---|
| 2340 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2341 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2342 | (eval $ac_try) 2>&5
|
---|
| 2343 | ac_status=$?
|
---|
| 2344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2345 | (exit $ac_status); }; }; then
|
---|
| 2346 | for ac_declaration in \
|
---|
| 2347 | '' \
|
---|
| 2348 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2349 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2350 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2351 | 'extern "C" void exit (int);' \
|
---|
| 2352 | 'void exit (int);'
|
---|
| 2353 | do
|
---|
| 2354 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2355 | /* confdefs.h. */
|
---|
| 2356 | _ACEOF
|
---|
| 2357 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2358 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2359 | /* end confdefs.h. */
|
---|
| 2360 | $ac_declaration
|
---|
| 2361 | #include <stdlib.h>
|
---|
| 2362 | int
|
---|
| 2363 | main ()
|
---|
| 2364 | {
|
---|
| 2365 | exit (42);
|
---|
| 2366 | ;
|
---|
| 2367 | return 0;
|
---|
| 2368 | }
|
---|
| 2369 | _ACEOF
|
---|
| 2370 | rm -f conftest.$ac_objext
|
---|
| 2371 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2372 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2373 | ac_status=$?
|
---|
| 2374 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2375 | rm -f conftest.er1
|
---|
| 2376 | cat conftest.err >&5
|
---|
| 2377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2378 | (exit $ac_status); } &&
|
---|
| 2379 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2380 | || test ! -s conftest.err'
|
---|
| 2381 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2382 | (eval $ac_try) 2>&5
|
---|
| 2383 | ac_status=$?
|
---|
| 2384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2385 | (exit $ac_status); }; } &&
|
---|
| 2386 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2388 | (eval $ac_try) 2>&5
|
---|
| 2389 | ac_status=$?
|
---|
| 2390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2391 | (exit $ac_status); }; }; then
|
---|
| 2392 | :
|
---|
| 2393 | else
|
---|
| 2394 | echo "$as_me: failed program was:" >&5
|
---|
| 2395 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8756] | 2396 |
|
---|
[20853] | 2397 | continue
|
---|
| 2398 | fi
|
---|
| 2399 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2400 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2401 | /* confdefs.h. */
|
---|
| 2402 | _ACEOF
|
---|
| 2403 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2404 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2405 | /* end confdefs.h. */
|
---|
| 2406 | $ac_declaration
|
---|
| 2407 | int
|
---|
| 2408 | main ()
|
---|
| 2409 | {
|
---|
| 2410 | exit (42);
|
---|
| 2411 | ;
|
---|
| 2412 | return 0;
|
---|
| 2413 | }
|
---|
| 2414 | _ACEOF
|
---|
| 2415 | rm -f conftest.$ac_objext
|
---|
| 2416 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2417 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2418 | ac_status=$?
|
---|
| 2419 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2420 | rm -f conftest.er1
|
---|
| 2421 | cat conftest.err >&5
|
---|
| 2422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2423 | (exit $ac_status); } &&
|
---|
| 2424 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2425 | || test ! -s conftest.err'
|
---|
| 2426 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2427 | (eval $ac_try) 2>&5
|
---|
| 2428 | ac_status=$?
|
---|
| 2429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2430 | (exit $ac_status); }; } &&
|
---|
| 2431 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2432 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2433 | (eval $ac_try) 2>&5
|
---|
| 2434 | ac_status=$?
|
---|
| 2435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2436 | (exit $ac_status); }; }; then
|
---|
| 2437 | break
|
---|
| 2438 | else
|
---|
| 2439 | echo "$as_me: failed program was:" >&5
|
---|
| 2440 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2441 |
|
---|
| 2442 | fi
|
---|
| 2443 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2444 | done
|
---|
| 2445 | rm -f conftest*
|
---|
| 2446 | if test -n "$ac_declaration"; then
|
---|
| 2447 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2448 | echo $ac_declaration >>confdefs.h
|
---|
| 2449 | echo '#endif' >>confdefs.h
|
---|
| 2450 | fi
|
---|
| 2451 |
|
---|
| 2452 | else
|
---|
| 2453 | echo "$as_me: failed program was:" >&5
|
---|
| 2454 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2455 |
|
---|
| 2456 | fi
|
---|
| 2457 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2458 | ac_ext=c
|
---|
| 2459 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2460 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2461 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2462 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[8200] | 2463 |
|
---|
[20853] | 2464 | ac_ext=cc
|
---|
[8200] | 2465 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
[8756] | 2466 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2467 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2468 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[20853] | 2469 | if test -n "$ac_tool_prefix"; then
|
---|
| 2470 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
[8756] | 2471 | do
|
---|
| 2472 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2473 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[20853] | 2474 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2475 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2476 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
| 2477 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2478 | else
|
---|
| 2479 | if test -n "$CXX"; then
|
---|
| 2480 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2481 | else
|
---|
| 2482 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2483 | for as_dir in $PATH
|
---|
| 2484 | do
|
---|
| 2485 | IFS=$as_save_IFS
|
---|
| 2486 | test -z "$as_dir" && as_dir=.
|
---|
| 2487 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2488 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2489 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 2490 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2491 | break 2
|
---|
| 2492 | fi
|
---|
| 2493 | done
|
---|
| 2494 | done
|
---|
[8200] | 2495 |
|
---|
[8756] | 2496 | fi
|
---|
| 2497 | fi
|
---|
| 2498 | CXX=$ac_cv_prog_CXX
|
---|
| 2499 | if test -n "$CXX"; then
|
---|
[20853] | 2500 | echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
| 2501 | echo "${ECHO_T}$CXX" >&6
|
---|
[8756] | 2502 | else
|
---|
[20853] | 2503 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2504 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 2505 | fi
|
---|
[8200] | 2506 |
|
---|
[8756] | 2507 | test -n "$CXX" && break
|
---|
| 2508 | done
|
---|
| 2509 | fi
|
---|
| 2510 | if test -z "$CXX"; then
|
---|
| 2511 | ac_ct_CXX=$CXX
|
---|
[20853] | 2512 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
[8756] | 2513 | do
|
---|
| 2514 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2515 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 2516 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2517 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2518 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
| 2519 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2520 | else
|
---|
| 2521 | if test -n "$ac_ct_CXX"; then
|
---|
| 2522 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 2523 | else
|
---|
| 2524 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2525 | for as_dir in $PATH
|
---|
| 2526 | do
|
---|
| 2527 | IFS=$as_save_IFS
|
---|
| 2528 | test -z "$as_dir" && as_dir=.
|
---|
| 2529 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2530 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2531 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 2532 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2533 | break 2
|
---|
| 2534 | fi
|
---|
| 2535 | done
|
---|
| 2536 | done
|
---|
[8200] | 2537 |
|
---|
[8756] | 2538 | fi
|
---|
| 2539 | fi
|
---|
| 2540 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 2541 | if test -n "$ac_ct_CXX"; then
|
---|
[20853] | 2542 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
| 2543 | echo "${ECHO_T}$ac_ct_CXX" >&6
|
---|
[3631] | 2544 | else
|
---|
[20853] | 2545 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2546 | echo "${ECHO_T}no" >&6
|
---|
[3631] | 2547 | fi
|
---|
[562] | 2548 |
|
---|
[8756] | 2549 | test -n "$ac_ct_CXX" && break
|
---|
| 2550 | done
|
---|
[20853] | 2551 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
---|
[8756] | 2552 |
|
---|
[20853] | 2553 | CXX=$ac_ct_CXX
|
---|
[3631] | 2554 | fi
|
---|
[562] | 2555 |
|
---|
[20853] | 2556 |
|
---|
[8756] | 2557 | # Provide some information about the compiler.
|
---|
[20853] | 2558 | echo "$as_me:$LINENO:" \
|
---|
| 2559 | "checking for C++ compiler version" >&5
|
---|
[8756] | 2560 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[20853] | 2561 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 2562 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
[8756] | 2563 | ac_status=$?
|
---|
| 2564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2565 | (exit $ac_status); }
|
---|
[20853] | 2566 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 2567 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
[8756] | 2568 | ac_status=$?
|
---|
| 2569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2570 | (exit $ac_status); }
|
---|
[20853] | 2571 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 2572 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
[8756] | 2573 | ac_status=$?
|
---|
| 2574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2575 | (exit $ac_status); }
|
---|
| 2576 |
|
---|
[20853] | 2577 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 2578 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
---|
[8756] | 2579 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
| 2580 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[3631] | 2581 | else
|
---|
[8756] | 2582 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2583 | /* confdefs.h. */
|
---|
| 2584 | _ACEOF
|
---|
| 2585 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2586 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2587 | /* end confdefs.h. */
|
---|
| 2588 |
|
---|
| 2589 | int
|
---|
| 2590 | main ()
|
---|
| 2591 | {
|
---|
| 2592 | #ifndef __GNUC__
|
---|
| 2593 | choke me
|
---|
[3631] | 2594 | #endif
|
---|
[8756] | 2595 |
|
---|
| 2596 | ;
|
---|
| 2597 | return 0;
|
---|
| 2598 | }
|
---|
| 2599 | _ACEOF
|
---|
| 2600 | rm -f conftest.$ac_objext
|
---|
[20853] | 2601 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2602 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2603 | ac_status=$?
|
---|
| 2604 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2605 | rm -f conftest.er1
|
---|
| 2606 | cat conftest.err >&5
|
---|
| 2607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2608 | (exit $ac_status); } &&
|
---|
| 2609 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2610 | || test ! -s conftest.err'
|
---|
| 2611 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2612 | (eval $ac_try) 2>&5
|
---|
| 2613 | ac_status=$?
|
---|
| 2614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2615 | (exit $ac_status); }; } &&
|
---|
| 2616 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2618 | (eval $ac_try) 2>&5
|
---|
| 2619 | ac_status=$?
|
---|
| 2620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2621 | (exit $ac_status); }; }; then
|
---|
[8756] | 2622 | ac_compiler_gnu=yes
|
---|
[8200] | 2623 | else
|
---|
[8756] | 2624 | echo "$as_me: failed program was:" >&5
|
---|
| 2625 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2626 |
|
---|
[20853] | 2627 | ac_compiler_gnu=no
|
---|
[8200] | 2628 | fi
|
---|
[20853] | 2629 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2630 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 2631 |
|
---|
[8200] | 2632 | fi
|
---|
[20853] | 2633 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 2634 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
---|
[8756] | 2635 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2636 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 2637 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[20853] | 2638 | CXXFLAGS="-g"
|
---|
| 2639 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
| 2640 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
---|
[8756] | 2641 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
| 2642 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2643 | else
|
---|
[20853] | 2644 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2645 | /* confdefs.h. */
|
---|
| 2646 | _ACEOF
|
---|
| 2647 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2648 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2649 | /* end confdefs.h. */
|
---|
[3631] | 2650 |
|
---|
[8756] | 2651 | int
|
---|
| 2652 | main ()
|
---|
| 2653 | {
|
---|
[8200] | 2654 |
|
---|
[8756] | 2655 | ;
|
---|
| 2656 | return 0;
|
---|
| 2657 | }
|
---|
| 2658 | _ACEOF
|
---|
| 2659 | rm -f conftest.$ac_objext
|
---|
[20853] | 2660 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2661 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2662 | ac_status=$?
|
---|
| 2663 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2664 | rm -f conftest.er1
|
---|
| 2665 | cat conftest.err >&5
|
---|
| 2666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2667 | (exit $ac_status); } &&
|
---|
| 2668 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2669 | || test ! -s conftest.err'
|
---|
| 2670 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2671 | (eval $ac_try) 2>&5
|
---|
| 2672 | ac_status=$?
|
---|
| 2673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2674 | (exit $ac_status); }; } &&
|
---|
| 2675 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2676 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2677 | (eval $ac_try) 2>&5
|
---|
| 2678 | ac_status=$?
|
---|
| 2679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2680 | (exit $ac_status); }; }; then
|
---|
[562] | 2681 | ac_cv_prog_cxx_g=yes
|
---|
| 2682 | else
|
---|
[8756] | 2683 | echo "$as_me: failed program was:" >&5
|
---|
| 2684 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 2685 |
|
---|
[20853] | 2686 | ac_cv_prog_cxx_g=no
|
---|
| 2687 | fi
|
---|
| 2688 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2689 | fi
|
---|
| 2690 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 2691 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
---|
| 2692 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 2693 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 2694 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 2695 | if test "$GXX" = yes; then
|
---|
| 2696 | CXXFLAGS="-g -O2"
|
---|
| 2697 | else
|
---|
| 2698 | CXXFLAGS="-g"
|
---|
| 2699 | fi
|
---|
| 2700 | else
|
---|
| 2701 | if test "$GXX" = yes; then
|
---|
| 2702 | CXXFLAGS="-O2"
|
---|
| 2703 | else
|
---|
| 2704 | CXXFLAGS=
|
---|
| 2705 | fi
|
---|
| 2706 | fi
|
---|
| 2707 | for ac_declaration in \
|
---|
| 2708 | '' \
|
---|
| 2709 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2710 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2711 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2712 | 'extern "C" void exit (int);' \
|
---|
| 2713 | 'void exit (int);'
|
---|
| 2714 | do
|
---|
| 2715 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2716 | /* confdefs.h. */
|
---|
| 2717 | _ACEOF
|
---|
| 2718 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2719 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2720 | /* end confdefs.h. */
|
---|
[20853] | 2721 | $ac_declaration
|
---|
| 2722 | #include <stdlib.h>
|
---|
[8756] | 2723 | int
|
---|
| 2724 | main ()
|
---|
| 2725 | {
|
---|
[20853] | 2726 | exit (42);
|
---|
[8756] | 2727 | ;
|
---|
| 2728 | return 0;
|
---|
| 2729 | }
|
---|
| 2730 | _ACEOF
|
---|
| 2731 | rm -f conftest.$ac_objext
|
---|
[20853] | 2732 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2733 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2734 | ac_status=$?
|
---|
| 2735 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2736 | rm -f conftest.er1
|
---|
| 2737 | cat conftest.err >&5
|
---|
| 2738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2739 | (exit $ac_status); } &&
|
---|
| 2740 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2741 | || test ! -s conftest.err'
|
---|
| 2742 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2743 | (eval $ac_try) 2>&5
|
---|
| 2744 | ac_status=$?
|
---|
| 2745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2746 | (exit $ac_status); }; } &&
|
---|
| 2747 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2749 | (eval $ac_try) 2>&5
|
---|
| 2750 | ac_status=$?
|
---|
| 2751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2752 | (exit $ac_status); }; }; then
|
---|
[8756] | 2753 | :
|
---|
| 2754 | else
|
---|
| 2755 | echo "$as_me: failed program was:" >&5
|
---|
| 2756 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[3063] | 2757 |
|
---|
[20853] | 2758 | continue
|
---|
| 2759 | fi
|
---|
| 2760 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2761 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2762 | /* confdefs.h. */
|
---|
| 2763 | _ACEOF
|
---|
| 2764 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2765 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2766 | /* end confdefs.h. */
|
---|
[20853] | 2767 | $ac_declaration
|
---|
[8756] | 2768 | int
|
---|
| 2769 | main ()
|
---|
| 2770 | {
|
---|
[20853] | 2771 | exit (42);
|
---|
[8756] | 2772 | ;
|
---|
| 2773 | return 0;
|
---|
| 2774 | }
|
---|
| 2775 | _ACEOF
|
---|
| 2776 | rm -f conftest.$ac_objext
|
---|
[20853] | 2777 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2778 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2779 | ac_status=$?
|
---|
| 2780 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2781 | rm -f conftest.er1
|
---|
| 2782 | cat conftest.err >&5
|
---|
| 2783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2784 | (exit $ac_status); } &&
|
---|
| 2785 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2786 | || test ! -s conftest.err'
|
---|
| 2787 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2788 | (eval $ac_try) 2>&5
|
---|
| 2789 | ac_status=$?
|
---|
| 2790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2791 | (exit $ac_status); }; } &&
|
---|
| 2792 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2794 | (eval $ac_try) 2>&5
|
---|
| 2795 | ac_status=$?
|
---|
| 2796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2797 | (exit $ac_status); }; }; then
|
---|
| 2798 | break
|
---|
[8756] | 2799 | else
|
---|
| 2800 | echo "$as_me: failed program was:" >&5
|
---|
| 2801 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2802 |
|
---|
| 2803 | fi
|
---|
[20853] | 2804 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2805 | done
|
---|
| 2806 | rm -f conftest*
|
---|
| 2807 | if test -n "$ac_declaration"; then
|
---|
| 2808 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2809 | echo $ac_declaration >>confdefs.h
|
---|
| 2810 | echo '#endif' >>confdefs.h
|
---|
[8756] | 2811 | fi
|
---|
| 2812 |
|
---|
| 2813 | ac_ext=c
|
---|
| 2814 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2815 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2816 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2817 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2818 |
|
---|
| 2819 | for ac_prog in gawk mawk nawk awk
|
---|
[3063] | 2820 | do
|
---|
[8756] | 2821 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
[687] | 2822 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 2823 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2824 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2825 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
| 2826 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 2827 | else
|
---|
| 2828 | if test -n "$AWK"; then
|
---|
| 2829 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 2830 | else
|
---|
[8756] | 2831 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2832 | for as_dir in $PATH
|
---|
| 2833 | do
|
---|
| 2834 | IFS=$as_save_IFS
|
---|
| 2835 | test -z "$as_dir" && as_dir=.
|
---|
| 2836 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2837 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2838 | ac_cv_prog_AWK="$ac_prog"
|
---|
| 2839 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2840 | break 2
|
---|
| 2841 | fi
|
---|
| 2842 | done
|
---|
| 2843 | done
|
---|
| 2844 |
|
---|
[687] | 2845 | fi
|
---|
| 2846 | fi
|
---|
[8756] | 2847 | AWK=$ac_cv_prog_AWK
|
---|
[687] | 2848 | if test -n "$AWK"; then
|
---|
[20853] | 2849 | echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
| 2850 | echo "${ECHO_T}$AWK" >&6
|
---|
[687] | 2851 | else
|
---|
[20853] | 2852 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2853 | echo "${ECHO_T}no" >&6
|
---|
[687] | 2854 | fi
|
---|
| 2855 |
|
---|
[8756] | 2856 | test -n "$AWK" && break
|
---|
[687] | 2857 | done
|
---|
| 2858 |
|
---|
| 2859 | for ac_prog in 'bison -y' byacc
|
---|
| 2860 | do
|
---|
[8756] | 2861 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
[687] | 2862 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 2863 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2864 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2865 | if test "${ac_cv_prog_YACC+set}" = set; then
|
---|
| 2866 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 2867 | else
|
---|
| 2868 | if test -n "$YACC"; then
|
---|
| 2869 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 2870 | else
|
---|
[8756] | 2871 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2872 | for as_dir in $PATH
|
---|
| 2873 | do
|
---|
| 2874 | IFS=$as_save_IFS
|
---|
| 2875 | test -z "$as_dir" && as_dir=.
|
---|
| 2876 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2877 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2878 | ac_cv_prog_YACC="$ac_prog"
|
---|
| 2879 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2880 | break 2
|
---|
| 2881 | fi
|
---|
| 2882 | done
|
---|
| 2883 | done
|
---|
| 2884 |
|
---|
[687] | 2885 | fi
|
---|
| 2886 | fi
|
---|
[8756] | 2887 | YACC=$ac_cv_prog_YACC
|
---|
[687] | 2888 | if test -n "$YACC"; then
|
---|
[20853] | 2889 | echo "$as_me:$LINENO: result: $YACC" >&5
|
---|
| 2890 | echo "${ECHO_T}$YACC" >&6
|
---|
[687] | 2891 | else
|
---|
[20853] | 2892 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2893 | echo "${ECHO_T}no" >&6
|
---|
[687] | 2894 | fi
|
---|
| 2895 |
|
---|
[8756] | 2896 | test -n "$YACC" && break
|
---|
[687] | 2897 | done
|
---|
| 2898 | test -n "$YACC" || YACC="yacc"
|
---|
| 2899 |
|
---|
[703] | 2900 | ac_aux_dir=
|
---|
[20853] | 2901 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
---|
| 2902 | if test -f $ac_dir/install-sh; then
|
---|
[703] | 2903 | ac_aux_dir=$ac_dir
|
---|
| 2904 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 2905 | break
|
---|
[20853] | 2906 | elif test -f $ac_dir/install.sh; then
|
---|
[703] | 2907 | ac_aux_dir=$ac_dir
|
---|
| 2908 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 2909 | break
|
---|
[20853] | 2910 | elif test -f $ac_dir/shtool; then
|
---|
[8756] | 2911 | ac_aux_dir=$ac_dir
|
---|
| 2912 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 2913 | break
|
---|
[703] | 2914 | fi
|
---|
| 2915 | done
|
---|
| 2916 | if test -z "$ac_aux_dir"; then
|
---|
[20853] | 2917 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
---|
| 2918 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
---|
[8756] | 2919 | { (exit 1); exit 1; }; }
|
---|
[703] | 2920 | fi
|
---|
[20853] | 2921 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
---|
| 2922 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
---|
| 2923 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
---|
[703] | 2924 |
|
---|
[8756] | 2925 | # Make sure we can run config.sub.
|
---|
[20853] | 2926 | $ac_config_sub sun4 >/dev/null 2>&1 ||
|
---|
| 2927 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
---|
| 2928 | echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
---|
[8756] | 2929 | { (exit 1); exit 1; }; }
|
---|
[2279] | 2930 |
|
---|
[20853] | 2931 | echo "$as_me:$LINENO: checking build system type" >&5
|
---|
| 2932 | echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
---|
[8756] | 2933 | if test "${ac_cv_build+set}" = set; then
|
---|
| 2934 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2935 | else
|
---|
[20853] | 2936 | ac_cv_build_alias=$build_alias
|
---|
| 2937 | test -z "$ac_cv_build_alias" &&
|
---|
| 2938 | ac_cv_build_alias=`$ac_config_guess`
|
---|
| 2939 | test -z "$ac_cv_build_alias" &&
|
---|
[8756] | 2940 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
| 2941 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
| 2942 | { (exit 1); exit 1; }; }
|
---|
[20853] | 2943 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
---|
| 2944 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
---|
| 2945 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
---|
[8756] | 2946 | { (exit 1); exit 1; }; }
|
---|
[2279] | 2947 |
|
---|
| 2948 | fi
|
---|
[20853] | 2949 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
| 2950 | echo "${ECHO_T}$ac_cv_build" >&6
|
---|
[8756] | 2951 | build=$ac_cv_build
|
---|
[20853] | 2952 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 2953 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 2954 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
[2279] | 2955 |
|
---|
| 2956 |
|
---|
[20853] | 2957 | echo "$as_me:$LINENO: checking host system type" >&5
|
---|
| 2958 | echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
---|
[8756] | 2959 | if test "${ac_cv_host+set}" = set; then
|
---|
| 2960 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2961 | else
|
---|
[20853] | 2962 | ac_cv_host_alias=$host_alias
|
---|
| 2963 | test -z "$ac_cv_host_alias" &&
|
---|
| 2964 | ac_cv_host_alias=$ac_cv_build_alias
|
---|
| 2965 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
---|
| 2966 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
---|
| 2967 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
---|
[8756] | 2968 | { (exit 1); exit 1; }; }
|
---|
[2279] | 2969 |
|
---|
[8756] | 2970 | fi
|
---|
[20853] | 2971 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
| 2972 | echo "${ECHO_T}$ac_cv_host" >&6
|
---|
[8756] | 2973 | host=$ac_cv_host
|
---|
[20853] | 2974 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 2975 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 2976 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
[8200] | 2977 |
|
---|
| 2978 |
|
---|
[20853] | 2979 | echo "$as_me:$LINENO: checking target system type" >&5
|
---|
| 2980 | echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
---|
[8756] | 2981 | if test "${ac_cv_target+set}" = set; then
|
---|
| 2982 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2983 | else
|
---|
[20853] | 2984 | ac_cv_target_alias=$target_alias
|
---|
| 2985 | test "x$ac_cv_target_alias" = "x" &&
|
---|
| 2986 | ac_cv_target_alias=$ac_cv_host_alias
|
---|
| 2987 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
---|
| 2988 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
---|
| 2989 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
---|
[8756] | 2990 | { (exit 1); exit 1; }; }
|
---|
[8200] | 2991 |
|
---|
[8756] | 2992 | fi
|
---|
[20853] | 2993 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
---|
| 2994 | echo "${ECHO_T}$ac_cv_target" >&6
|
---|
[8756] | 2995 | target=$ac_cv_target
|
---|
[20853] | 2996 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 2997 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 2998 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
[8200] | 2999 |
|
---|
| 3000 |
|
---|
[8756] | 3001 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 3002 | # will get canonicalized.
|
---|
| 3003 | test -n "$target_alias" &&
|
---|
[2279] | 3004 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 3005 | NONENONEs,x,x, &&
|
---|
| 3006 | program_prefix=${target_alias}-
|
---|
[703] | 3007 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3008 | # so one script is as good as another. But avoid the broken or
|
---|
| 3009 | # incompatible versions:
|
---|
| 3010 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3011 | # SunOS /usr/etc/install
|
---|
| 3012 | # IRIX /sbin/install
|
---|
| 3013 | # AIX /bin/install
|
---|
[8756] | 3014 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
[703] | 3015 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3016 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3017 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
[8756] | 3018 | # OS/2's system install, which has a completely different semantic
|
---|
[703] | 3019 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[20853] | 3020 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 3021 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
[703] | 3022 | if test -z "$INSTALL"; then
|
---|
[8756] | 3023 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3024 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[703] | 3025 | else
|
---|
[8756] | 3026 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3027 | for as_dir in $PATH
|
---|
| 3028 | do
|
---|
| 3029 | IFS=$as_save_IFS
|
---|
| 3030 | test -z "$as_dir" && as_dir=.
|
---|
| 3031 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3032 | case $as_dir/ in
|
---|
| 3033 | ./ | .// | /cC/* | \
|
---|
| 3034 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 3035 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
| 3036 | /usr/ucb/* ) ;;
|
---|
| 3037 | *)
|
---|
| 3038 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3039 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3040 | # by default.
|
---|
| 3041 | for ac_prog in ginstall scoinst install; do
|
---|
| 3042 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 3043 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
[703] | 3044 | if test $ac_prog = install &&
|
---|
[8756] | 3045 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
[703] | 3046 | # AIX install. It has an incompatible calling convention.
|
---|
| 3047 | :
|
---|
[8756] | 3048 | elif test $ac_prog = install &&
|
---|
| 3049 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3050 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3051 | :
|
---|
[703] | 3052 | else
|
---|
[8756] | 3053 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3054 | break 3
|
---|
[703] | 3055 | fi
|
---|
| 3056 | fi
|
---|
| 3057 | done
|
---|
[8756] | 3058 | done
|
---|
| 3059 | ;;
|
---|
| 3060 | esac
|
---|
| 3061 | done
|
---|
[703] | 3062 |
|
---|
[8756] | 3063 |
|
---|
[703] | 3064 | fi
|
---|
| 3065 | if test "${ac_cv_path_install+set}" = set; then
|
---|
[8756] | 3066 | INSTALL=$ac_cv_path_install
|
---|
[703] | 3067 | else
|
---|
[20853] | 3068 | # As a last resort, use the slow shell script. We don't cache a
|
---|
| 3069 | # path for INSTALL within a source directory, because that will
|
---|
[703] | 3070 | # break other packages using the cache if that directory is
|
---|
[20853] | 3071 | # removed, or if the path is relative.
|
---|
[8756] | 3072 | INSTALL=$ac_install_sh
|
---|
[703] | 3073 | fi
|
---|
| 3074 | fi
|
---|
[20853] | 3075 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 3076 | echo "${ECHO_T}$INSTALL" >&6
|
---|
[703] | 3077 |
|
---|
| 3078 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3079 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3080 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3081 |
|
---|
[8756] | 3082 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
[703] | 3083 |
|
---|
| 3084 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3085 |
|
---|
[20853] | 3086 | echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
---|
| 3087 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
---|
[8756] | 3088 | LN_S=$as_ln_s
|
---|
| 3089 | if test "$LN_S" = "ln -s"; then
|
---|
[20853] | 3090 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3091 | echo "${ECHO_T}yes" >&6
|
---|
[562] | 3092 | else
|
---|
[20853] | 3093 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
---|
| 3094 | echo "${ECHO_T}no, using $LN_S" >&6
|
---|
[562] | 3095 | fi
|
---|
| 3096 |
|
---|
[20853] | 3097 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 3098 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
---|
| 3099 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
---|
| 3100 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
---|
[8756] | 3101 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 3102 | else
|
---|
[8756] | 3103 | cat >conftest.make <<\_ACEOF
|
---|
[562] | 3104 | all:
|
---|
[20853] | 3105 | @echo 'ac_maketemp="$(MAKE)"'
|
---|
[8756] | 3106 | _ACEOF
|
---|
[562] | 3107 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
[20853] | 3108 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
---|
| 3109 | if test -n "$ac_maketemp"; then
|
---|
| 3110 | eval ac_cv_prog_make_${ac_make}_set=yes
|
---|
| 3111 | else
|
---|
| 3112 | eval ac_cv_prog_make_${ac_make}_set=no
|
---|
| 3113 | fi
|
---|
[8756] | 3114 | rm -f conftest.make
|
---|
[562] | 3115 | fi
|
---|
[20853] | 3116 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
---|
| 3117 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3118 | echo "${ECHO_T}yes" >&6
|
---|
[562] | 3119 | SET_MAKE=
|
---|
| 3120 | else
|
---|
[20853] | 3121 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3122 | echo "${ECHO_T}no" >&6
|
---|
[562] | 3123 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 3124 | fi
|
---|
| 3125 |
|
---|
[8756] | 3126 | if test -n "$ac_tool_prefix"; then
|
---|
| 3127 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3128 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[20853] | 3129 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3130 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 3131 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
| 3132 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 3133 | else
|
---|
| 3134 | if test -n "$RANLIB"; then
|
---|
| 3135 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3136 | else
|
---|
[8756] | 3137 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3138 | for as_dir in $PATH
|
---|
| 3139 | do
|
---|
| 3140 | IFS=$as_save_IFS
|
---|
| 3141 | test -z "$as_dir" && as_dir=.
|
---|
| 3142 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 3143 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 3144 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
| 3145 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3146 | break 2
|
---|
| 3147 | fi
|
---|
| 3148 | done
|
---|
| 3149 | done
|
---|
| 3150 |
|
---|
[562] | 3151 | fi
|
---|
| 3152 | fi
|
---|
[8756] | 3153 | RANLIB=$ac_cv_prog_RANLIB
|
---|
[562] | 3154 | if test -n "$RANLIB"; then
|
---|
[20853] | 3155 | echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
| 3156 | echo "${ECHO_T}$RANLIB" >&6
|
---|
[562] | 3157 | else
|
---|
[20853] | 3158 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3159 | echo "${ECHO_T}no" >&6
|
---|
[562] | 3160 | fi
|
---|
| 3161 |
|
---|
[8756] | 3162 | fi
|
---|
| 3163 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 3164 | ac_ct_RANLIB=$RANLIB
|
---|
| 3165 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 3166 | set dummy ranlib; ac_word=$2
|
---|
[20853] | 3167 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3168 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 3169 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
| 3170 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3171 | else
|
---|
| 3172 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3173 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 3174 | else
|
---|
| 3175 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3176 | for as_dir in $PATH
|
---|
| 3177 | do
|
---|
| 3178 | IFS=$as_save_IFS
|
---|
| 3179 | test -z "$as_dir" && as_dir=.
|
---|
| 3180 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 3181 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 3182 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
| 3183 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3184 | break 2
|
---|
| 3185 | fi
|
---|
| 3186 | done
|
---|
| 3187 | done
|
---|
[562] | 3188 |
|
---|
[20853] | 3189 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
---|
[8756] | 3190 | fi
|
---|
| 3191 | fi
|
---|
| 3192 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 3193 | if test -n "$ac_ct_RANLIB"; then
|
---|
[20853] | 3194 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
| 3195 | echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
---|
[8756] | 3196 | else
|
---|
[20853] | 3197 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3198 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 3199 | fi
|
---|
| 3200 |
|
---|
[20853] | 3201 | RANLIB=$ac_ct_RANLIB
|
---|
[8756] | 3202 | else
|
---|
| 3203 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 3204 | fi
|
---|
| 3205 |
|
---|
| 3206 |
|
---|
[20853] | 3207 | echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
|
---|
| 3208 | echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
|
---|
[15551] | 3209 | arch_64bit=no
|
---|
| 3210 | case "$host_cpu" in
|
---|
| 3211 | x86_64) arch_64bit=yes ;;
|
---|
| 3212 | esac
|
---|
| 3213 |
|
---|
| 3214 | if test "$arch_64bit" = yes; then
|
---|
[20853] | 3215 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3216 | echo "${ECHO_T}yes" >&6
|
---|
[15551] | 3217 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3218 | COMPAT32BITFLAGS="-m32"
|
---|
| 3219 | fi
|
---|
| 3220 | else
|
---|
[20853] | 3221 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3222 | echo "${ECHO_T}no" >&6
|
---|
[15551] | 3223 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3224 | COMPAT32BITFLAGS=
|
---|
| 3225 | fi
|
---|
| 3226 | fi
|
---|
| 3227 | export COMPAT32BITFLAGS
|
---|
| 3228 |
|
---|
| 3229 |
|
---|
| 3230 |
|
---|
[2173] | 3231 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 3232 | if test $USE_CORBA = 1; then
|
---|
| 3233 |
|
---|
[2213] | 3234 | if test $MICO_DIR = "default"; then
|
---|
[2173] | 3235 | #do something
|
---|
| 3236 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 3237 | else
|
---|
| 3238 | #build the micotest program
|
---|
| 3239 | MICO_INC= ""
|
---|
| 3240 | if test $MICO_DIR != yes; then
|
---|
| 3241 | MICO_INC="-I $MICO_DIR"
|
---|
| 3242 | fi
|
---|
| 3243 | fi
|
---|
| 3244 |
|
---|
| 3245 | #get MICO_VER value
|
---|
| 3246 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 3247 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
[2214] | 3248 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
[2173] | 3249 | sh -c "rm micotest"
|
---|
| 3250 | sh -c "rm micotest.o"
|
---|
| 3251 |
|
---|
| 3252 | #do test of MICO_VER
|
---|
| 3253 | if test MICO_VER != 0; then
|
---|
[8756] | 3254 | cat >>confdefs.h <<\_ACEOF
|
---|
[2173] | 3255 | #define MICO_VER 1
|
---|
[8756] | 3256 | _ACEOF
|
---|
[2173] | 3257 |
|
---|
[8200] | 3258 |
|
---|
[2173] | 3259 | fi
|
---|
| 3260 | #end USE_CORBA test
|
---|
| 3261 | fi
|
---|
| 3262 |
|
---|
[8756] | 3263 |
|
---|
| 3264 | ac_ext=c
|
---|
| 3265 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3266 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3267 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3268 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[20853] | 3269 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
---|
| 3270 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
---|
[687] | 3271 | # On Suns, sometimes $CPP names a directory.
|
---|
| 3272 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 3273 | CPP=
|
---|
| 3274 | fi
|
---|
| 3275 | if test -z "$CPP"; then
|
---|
[8756] | 3276 | if test "${ac_cv_prog_CPP+set}" = set; then
|
---|
| 3277 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 3278 | else
|
---|
[8756] | 3279 | # Double quotes because CPP needs to be expanded
|
---|
| 3280 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 3281 | do
|
---|
| 3282 | ac_preproc_ok=false
|
---|
| 3283 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3284 | do
|
---|
| 3285 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3286 | # with a fresh cross-compiler works.
|
---|
| 3287 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3288 | # <limits.h> exists even on freestanding compilers.
|
---|
[687] | 3289 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
[8756] | 3290 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3291 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3292 | /* confdefs.h. */
|
---|
| 3293 | _ACEOF
|
---|
| 3294 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3295 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3296 | /* end confdefs.h. */
|
---|
| 3297 | #ifdef __STDC__
|
---|
| 3298 | # include <limits.h>
|
---|
| 3299 | #else
|
---|
| 3300 | # include <assert.h>
|
---|
| 3301 | #endif
|
---|
| 3302 | Syntax error
|
---|
| 3303 | _ACEOF
|
---|
[20853] | 3304 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3305 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3306 | ac_status=$?
|
---|
| 3307 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3308 | rm -f conftest.er1
|
---|
| 3309 | cat conftest.err >&5
|
---|
| 3310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3311 | (exit $ac_status); } >/dev/null; then
|
---|
| 3312 | if test -s conftest.err; then
|
---|
| 3313 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3314 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3315 | else
|
---|
| 3316 | ac_cpp_err=
|
---|
| 3317 | fi
|
---|
| 3318 | else
|
---|
| 3319 | ac_cpp_err=yes
|
---|
| 3320 | fi
|
---|
| 3321 | if test -z "$ac_cpp_err"; then
|
---|
[8200] | 3322 | :
|
---|
[687] | 3323 | else
|
---|
[8756] | 3324 | echo "$as_me: failed program was:" >&5
|
---|
| 3325 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3326 |
|
---|
| 3327 | # Broken: fails on valid input.
|
---|
| 3328 | continue
|
---|
| 3329 | fi
|
---|
| 3330 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3331 |
|
---|
[20853] | 3332 | # OK, works on sane cases. Now check whether non-existent headers
|
---|
[8756] | 3333 | # can be detected and how.
|
---|
| 3334 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3335 | /* confdefs.h. */
|
---|
| 3336 | _ACEOF
|
---|
| 3337 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3338 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3339 | /* end confdefs.h. */
|
---|
| 3340 | #include <ac_nonexistent.h>
|
---|
| 3341 | _ACEOF
|
---|
[20853] | 3342 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3343 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3344 | ac_status=$?
|
---|
| 3345 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3346 | rm -f conftest.er1
|
---|
| 3347 | cat conftest.err >&5
|
---|
| 3348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3349 | (exit $ac_status); } >/dev/null; then
|
---|
| 3350 | if test -s conftest.err; then
|
---|
| 3351 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3352 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3353 | else
|
---|
| 3354 | ac_cpp_err=
|
---|
| 3355 | fi
|
---|
| 3356 | else
|
---|
| 3357 | ac_cpp_err=yes
|
---|
| 3358 | fi
|
---|
| 3359 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 3360 | # Broken: success on invalid input.
|
---|
| 3361 | continue
|
---|
| 3362 | else
|
---|
| 3363 | echo "$as_me: failed program was:" >&5
|
---|
| 3364 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3365 |
|
---|
| 3366 | # Passes both tests.
|
---|
| 3367 | ac_preproc_ok=:
|
---|
| 3368 | break
|
---|
| 3369 | fi
|
---|
| 3370 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3371 |
|
---|
| 3372 | done
|
---|
| 3373 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3374 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3375 | if $ac_preproc_ok; then
|
---|
| 3376 | break
|
---|
| 3377 | fi
|
---|
| 3378 |
|
---|
| 3379 | done
|
---|
| 3380 | ac_cv_prog_CPP=$CPP
|
---|
| 3381 |
|
---|
| 3382 | fi
|
---|
| 3383 | CPP=$ac_cv_prog_CPP
|
---|
| 3384 | else
|
---|
| 3385 | ac_cv_prog_CPP=$CPP
|
---|
| 3386 | fi
|
---|
[20853] | 3387 | echo "$as_me:$LINENO: result: $CPP" >&5
|
---|
| 3388 | echo "${ECHO_T}$CPP" >&6
|
---|
[8756] | 3389 | ac_preproc_ok=false
|
---|
| 3390 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3391 | do
|
---|
| 3392 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3393 | # with a fresh cross-compiler works.
|
---|
| 3394 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3395 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3396 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3397 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3398 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3399 | /* confdefs.h. */
|
---|
| 3400 | _ACEOF
|
---|
| 3401 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3402 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3403 | /* end confdefs.h. */
|
---|
| 3404 | #ifdef __STDC__
|
---|
| 3405 | # include <limits.h>
|
---|
| 3406 | #else
|
---|
| 3407 | # include <assert.h>
|
---|
| 3408 | #endif
|
---|
| 3409 | Syntax error
|
---|
| 3410 | _ACEOF
|
---|
[20853] | 3411 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3412 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3413 | ac_status=$?
|
---|
| 3414 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3415 | rm -f conftest.er1
|
---|
| 3416 | cat conftest.err >&5
|
---|
| 3417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3418 | (exit $ac_status); } >/dev/null; then
|
---|
| 3419 | if test -s conftest.err; then
|
---|
| 3420 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3421 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3422 | else
|
---|
| 3423 | ac_cpp_err=
|
---|
| 3424 | fi
|
---|
| 3425 | else
|
---|
| 3426 | ac_cpp_err=yes
|
---|
| 3427 | fi
|
---|
| 3428 | if test -z "$ac_cpp_err"; then
|
---|
[687] | 3429 | :
|
---|
| 3430 | else
|
---|
[8756] | 3431 | echo "$as_me: failed program was:" >&5
|
---|
| 3432 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3433 |
|
---|
| 3434 | # Broken: fails on valid input.
|
---|
| 3435 | continue
|
---|
[687] | 3436 | fi
|
---|
[8756] | 3437 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3438 |
|
---|
[20853] | 3439 | # OK, works on sane cases. Now check whether non-existent headers
|
---|
[8756] | 3440 | # can be detected and how.
|
---|
| 3441 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3442 | /* confdefs.h. */
|
---|
| 3443 | _ACEOF
|
---|
| 3444 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3445 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3446 | /* end confdefs.h. */
|
---|
| 3447 | #include <ac_nonexistent.h>
|
---|
| 3448 | _ACEOF
|
---|
[20853] | 3449 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3450 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3451 | ac_status=$?
|
---|
| 3452 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3453 | rm -f conftest.er1
|
---|
| 3454 | cat conftest.err >&5
|
---|
| 3455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3456 | (exit $ac_status); } >/dev/null; then
|
---|
| 3457 | if test -s conftest.err; then
|
---|
| 3458 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3459 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3460 | else
|
---|
| 3461 | ac_cpp_err=
|
---|
| 3462 | fi
|
---|
| 3463 | else
|
---|
| 3464 | ac_cpp_err=yes
|
---|
| 3465 | fi
|
---|
| 3466 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 3467 | # Broken: success on invalid input.
|
---|
| 3468 | continue
|
---|
| 3469 | else
|
---|
| 3470 | echo "$as_me: failed program was:" >&5
|
---|
| 3471 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3472 |
|
---|
| 3473 | # Passes both tests.
|
---|
| 3474 | ac_preproc_ok=:
|
---|
| 3475 | break
|
---|
[687] | 3476 | fi
|
---|
[8756] | 3477 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3478 |
|
---|
| 3479 | done
|
---|
| 3480 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3481 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3482 | if $ac_preproc_ok; then
|
---|
| 3483 | :
|
---|
| 3484 | else
|
---|
| 3485 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3486 | See \`config.log' for more details." >&5
|
---|
| 3487 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3488 | See \`config.log' for more details." >&2;}
|
---|
| 3489 | { (exit 1); exit 1; }; }
|
---|
[8200] | 3490 | fi
|
---|
[8756] | 3491 |
|
---|
| 3492 | ac_ext=c
|
---|
| 3493 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3494 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3495 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3496 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3497 |
|
---|
| 3498 |
|
---|
[20853] | 3499 | echo "$as_me:$LINENO: checking for egrep" >&5
|
---|
| 3500 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
---|
| 3501 | if test "${ac_cv_prog_egrep+set}" = set; then
|
---|
[8756] | 3502 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 3503 | else
|
---|
[20853] | 3504 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
---|
| 3505 | then ac_cv_prog_egrep='grep -E'
|
---|
| 3506 | else ac_cv_prog_egrep='egrep'
|
---|
[8756] | 3507 | fi
|
---|
[687] | 3508 | fi
|
---|
[20853] | 3509 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
---|
| 3510 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
---|
| 3511 | EGREP=$ac_cv_prog_egrep
|
---|
[687] | 3512 |
|
---|
[8756] | 3513 |
|
---|
| 3514 |
|
---|
[20853] | 3515 | echo "$as_me:$LINENO: checking for AIX" >&5
|
---|
| 3516 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6
|
---|
[8756] | 3517 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3518 | /* confdefs.h. */
|
---|
| 3519 | _ACEOF
|
---|
| 3520 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3521 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3522 | /* end confdefs.h. */
|
---|
[687] | 3523 | #ifdef _AIX
|
---|
| 3524 | yes
|
---|
| 3525 | #endif
|
---|
| 3526 |
|
---|
[8756] | 3527 | _ACEOF
|
---|
[687] | 3528 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 3529 | $EGREP "yes" >/dev/null 2>&1; then
|
---|
[20853] | 3530 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3531 | echo "${ECHO_T}yes" >&6
|
---|
[8756] | 3532 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 3533 | #define _ALL_SOURCE 1
|
---|
[8756] | 3534 | _ACEOF
|
---|
[687] | 3535 |
|
---|
| 3536 | else
|
---|
[20853] | 3537 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3538 | echo "${ECHO_T}no" >&6
|
---|
[687] | 3539 | fi
|
---|
| 3540 | rm -f conftest*
|
---|
| 3541 |
|
---|
[8200] | 3542 |
|
---|
[20853] | 3543 | echo "$as_me:$LINENO: checking for library containing strerror" >&5
|
---|
| 3544 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
|
---|
[8756] | 3545 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 3546 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3547 | else
|
---|
| 3548 | ac_func_search_save_LIBS=$LIBS
|
---|
[20853] | 3549 | ac_cv_search_strerror=no
|
---|
[8756] | 3550 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3551 | /* confdefs.h. */
|
---|
| 3552 | _ACEOF
|
---|
| 3553 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3554 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3555 | /* end confdefs.h. */
|
---|
[687] | 3556 |
|
---|
[20853] | 3557 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 3558 | #ifdef __cplusplus
|
---|
| 3559 | extern "C"
|
---|
| 3560 | #endif
|
---|
[20853] | 3561 | /* We use char because int might match the return type of a gcc2
|
---|
| 3562 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 3563 | char strerror ();
|
---|
| 3564 | int
|
---|
| 3565 | main ()
|
---|
| 3566 | {
|
---|
[20853] | 3567 | strerror ();
|
---|
[8756] | 3568 | ;
|
---|
| 3569 | return 0;
|
---|
| 3570 | }
|
---|
| 3571 | _ACEOF
|
---|
[20853] | 3572 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3573 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3574 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 3575 | ac_status=$?
|
---|
| 3576 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3577 | rm -f conftest.er1
|
---|
| 3578 | cat conftest.err >&5
|
---|
| 3579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3580 | (exit $ac_status); } &&
|
---|
| 3581 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3582 | || test ! -s conftest.err'
|
---|
| 3583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3584 | (eval $ac_try) 2>&5
|
---|
| 3585 | ac_status=$?
|
---|
| 3586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3587 | (exit $ac_status); }; } &&
|
---|
| 3588 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3589 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3590 | (eval $ac_try) 2>&5
|
---|
| 3591 | ac_status=$?
|
---|
| 3592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3593 | (exit $ac_status); }; }; then
|
---|
| 3594 | ac_cv_search_strerror="none required"
|
---|
[687] | 3595 | else
|
---|
[8756] | 3596 | echo "$as_me: failed program was:" >&5
|
---|
| 3597 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3598 |
|
---|
[687] | 3599 | fi
|
---|
[20853] | 3600 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 3601 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 3602 | if test "$ac_cv_search_strerror" = no; then
|
---|
| 3603 | for ac_lib in cposix; do
|
---|
| 3604 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 3605 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3606 | /* confdefs.h. */
|
---|
| 3607 | _ACEOF
|
---|
| 3608 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3609 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3610 | /* end confdefs.h. */
|
---|
[687] | 3611 |
|
---|
[20853] | 3612 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 3613 | #ifdef __cplusplus
|
---|
| 3614 | extern "C"
|
---|
| 3615 | #endif
|
---|
| 3616 | /* We use char because int might match the return type of a gcc2
|
---|
| 3617 | builtin and then its argument prototype would still apply. */
|
---|
| 3618 | char strerror ();
|
---|
| 3619 | int
|
---|
| 3620 | main ()
|
---|
| 3621 | {
|
---|
| 3622 | strerror ();
|
---|
| 3623 | ;
|
---|
| 3624 | return 0;
|
---|
| 3625 | }
|
---|
| 3626 | _ACEOF
|
---|
| 3627 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3628 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3629 | (eval $ac_link) 2>conftest.er1
|
---|
| 3630 | ac_status=$?
|
---|
| 3631 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3632 | rm -f conftest.er1
|
---|
| 3633 | cat conftest.err >&5
|
---|
| 3634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3635 | (exit $ac_status); } &&
|
---|
| 3636 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3637 | || test ! -s conftest.err'
|
---|
| 3638 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3639 | (eval $ac_try) 2>&5
|
---|
| 3640 | ac_status=$?
|
---|
| 3641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3642 | (exit $ac_status); }; } &&
|
---|
| 3643 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3644 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3645 | (eval $ac_try) 2>&5
|
---|
| 3646 | ac_status=$?
|
---|
| 3647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3648 | (exit $ac_status); }; }; then
|
---|
| 3649 | ac_cv_search_strerror="-l$ac_lib"
|
---|
| 3650 | break
|
---|
[687] | 3651 | else
|
---|
[20853] | 3652 | echo "$as_me: failed program was:" >&5
|
---|
| 3653 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3654 |
|
---|
[8756] | 3655 | fi
|
---|
[20853] | 3656 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 3657 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 3658 | done
|
---|
| 3659 | fi
|
---|
[8756] | 3660 | LIBS=$ac_func_search_save_LIBS
|
---|
| 3661 | fi
|
---|
[20853] | 3662 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
|
---|
| 3663 | echo "${ECHO_T}$ac_cv_search_strerror" >&6
|
---|
| 3664 | if test "$ac_cv_search_strerror" != no; then
|
---|
| 3665 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
|
---|
[8756] | 3666 |
|
---|
| 3667 | fi
|
---|
| 3668 |
|
---|
[20853] | 3669 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 3670 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
---|
[8756] | 3671 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 3672 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 3673 | else
|
---|
[8756] | 3674 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3675 | /* confdefs.h. */
|
---|
| 3676 | _ACEOF
|
---|
| 3677 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3678 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3679 | /* end confdefs.h. */
|
---|
| 3680 | #include <stdlib.h>
|
---|
| 3681 | #include <stdarg.h>
|
---|
| 3682 | #include <string.h>
|
---|
| 3683 | #include <float.h>
|
---|
| 3684 |
|
---|
| 3685 | int
|
---|
| 3686 | main ()
|
---|
| 3687 | {
|
---|
| 3688 |
|
---|
| 3689 | ;
|
---|
| 3690 | return 0;
|
---|
| 3691 | }
|
---|
| 3692 | _ACEOF
|
---|
| 3693 | rm -f conftest.$ac_objext
|
---|
[20853] | 3694 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3695 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 3696 | ac_status=$?
|
---|
| 3697 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3698 | rm -f conftest.er1
|
---|
| 3699 | cat conftest.err >&5
|
---|
| 3700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3701 | (exit $ac_status); } &&
|
---|
| 3702 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3703 | || test ! -s conftest.err'
|
---|
| 3704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3705 | (eval $ac_try) 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
|
---|
[8756] | 3715 | ac_cv_header_stdc=yes
|
---|
| 3716 | else
|
---|
| 3717 | echo "$as_me: failed program was:" >&5
|
---|
| 3718 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3719 |
|
---|
[20853] | 3720 | ac_cv_header_stdc=no
|
---|
[687] | 3721 | fi
|
---|
[20853] | 3722 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3723 |
|
---|
| 3724 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3725 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 3726 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3727 | /* confdefs.h. */
|
---|
| 3728 | _ACEOF
|
---|
| 3729 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3730 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3731 | /* end confdefs.h. */
|
---|
| 3732 | #include <string.h>
|
---|
| 3733 |
|
---|
| 3734 | _ACEOF
|
---|
| 3735 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3736 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 3737 | :
|
---|
| 3738 | else
|
---|
| 3739 | ac_cv_header_stdc=no
|
---|
| 3740 | fi
|
---|
[8200] | 3741 | rm -f conftest*
|
---|
[8756] | 3742 |
|
---|
[687] | 3743 | fi
|
---|
[8756] | 3744 |
|
---|
| 3745 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3746 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 3747 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3748 | /* confdefs.h. */
|
---|
| 3749 | _ACEOF
|
---|
| 3750 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3751 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3752 | /* end confdefs.h. */
|
---|
| 3753 | #include <stdlib.h>
|
---|
| 3754 |
|
---|
| 3755 | _ACEOF
|
---|
| 3756 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3757 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 3758 | :
|
---|
| 3759 | else
|
---|
| 3760 | ac_cv_header_stdc=no
|
---|
| 3761 | fi
|
---|
| 3762 | rm -f conftest*
|
---|
| 3763 |
|
---|
| 3764 | fi
|
---|
| 3765 |
|
---|
| 3766 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3767 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 3768 | if test "$cross_compiling" = yes; then
|
---|
| 3769 | :
|
---|
| 3770 | else
|
---|
| 3771 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3772 | /* confdefs.h. */
|
---|
| 3773 | _ACEOF
|
---|
| 3774 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3775 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3776 | /* end confdefs.h. */
|
---|
| 3777 | #include <ctype.h>
|
---|
| 3778 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 3779 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 3780 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 3781 | #else
|
---|
| 3782 | # define ISLOWER(c) \
|
---|
| 3783 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 3784 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 3785 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 3786 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 3787 | #endif
|
---|
| 3788 |
|
---|
| 3789 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 3790 | int
|
---|
| 3791 | main ()
|
---|
| 3792 | {
|
---|
| 3793 | int i;
|
---|
| 3794 | for (i = 0; i < 256; i++)
|
---|
| 3795 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 3796 | || toupper (i) != TOUPPER (i))
|
---|
[20853] | 3797 | exit(2);
|
---|
| 3798 | exit (0);
|
---|
[8756] | 3799 | }
|
---|
| 3800 | _ACEOF
|
---|
| 3801 | rm -f conftest$ac_exeext
|
---|
[20853] | 3802 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3803 | (eval $ac_link) 2>&5
|
---|
[8756] | 3804 | ac_status=$?
|
---|
| 3805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3806 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 3807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3808 | (eval $ac_try) 2>&5
|
---|
[8756] | 3809 | ac_status=$?
|
---|
| 3810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3811 | (exit $ac_status); }; }; then
|
---|
| 3812 | :
|
---|
| 3813 | else
|
---|
| 3814 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 3815 | echo "$as_me: failed program was:" >&5
|
---|
| 3816 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3817 |
|
---|
| 3818 | ( exit $ac_status )
|
---|
| 3819 | ac_cv_header_stdc=no
|
---|
| 3820 | fi
|
---|
[20853] | 3821 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3822 | fi
|
---|
| 3823 | fi
|
---|
| 3824 | fi
|
---|
[20853] | 3825 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 3826 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
---|
[8756] | 3827 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3828 |
|
---|
| 3829 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3830 | #define STDC_HEADERS 1
|
---|
| 3831 | _ACEOF
|
---|
| 3832 |
|
---|
| 3833 | fi
|
---|
| 3834 |
|
---|
| 3835 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 3836 |
|
---|
| 3837 |
|
---|
| 3838 |
|
---|
| 3839 |
|
---|
| 3840 |
|
---|
| 3841 |
|
---|
| 3842 |
|
---|
| 3843 |
|
---|
| 3844 |
|
---|
| 3845 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 3846 | inttypes.h stdint.h unistd.h
|
---|
| 3847 | do
|
---|
| 3848 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[20853] | 3849 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 3850 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 3851 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 3852 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3853 | else
|
---|
| 3854 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3855 | /* confdefs.h. */
|
---|
| 3856 | _ACEOF
|
---|
| 3857 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3858 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3859 | /* end confdefs.h. */
|
---|
| 3860 | $ac_includes_default
|
---|
| 3861 |
|
---|
| 3862 | #include <$ac_header>
|
---|
| 3863 | _ACEOF
|
---|
| 3864 | rm -f conftest.$ac_objext
|
---|
[20853] | 3865 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3866 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 3867 | ac_status=$?
|
---|
| 3868 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3869 | rm -f conftest.er1
|
---|
| 3870 | cat conftest.err >&5
|
---|
| 3871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3872 | (exit $ac_status); } &&
|
---|
| 3873 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3874 | || test ! -s conftest.err'
|
---|
| 3875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3876 | (eval $ac_try) 2>&5
|
---|
| 3877 | ac_status=$?
|
---|
| 3878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3879 | (exit $ac_status); }; } &&
|
---|
| 3880 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3881 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3882 | (eval $ac_try) 2>&5
|
---|
| 3883 | ac_status=$?
|
---|
| 3884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3885 | (exit $ac_status); }; }; then
|
---|
[8756] | 3886 | eval "$as_ac_Header=yes"
|
---|
| 3887 | else
|
---|
| 3888 | echo "$as_me: failed program was:" >&5
|
---|
| 3889 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3890 |
|
---|
[20853] | 3891 | eval "$as_ac_Header=no"
|
---|
[8756] | 3892 | fi
|
---|
[20853] | 3893 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3894 | fi
|
---|
[20853] | 3895 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 3896 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[8756] | 3897 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 3898 | cat >>confdefs.h <<_ACEOF
|
---|
| 3899 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 3900 | _ACEOF
|
---|
| 3901 |
|
---|
| 3902 | fi
|
---|
| 3903 |
|
---|
| 3904 | done
|
---|
| 3905 |
|
---|
| 3906 |
|
---|
| 3907 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
[20853] | 3908 | echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 3909 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
---|
[8756] | 3910 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 3911 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3912 | fi
|
---|
[20853] | 3913 | echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 3914 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
---|
[8756] | 3915 | else
|
---|
| 3916 | # Is the header compilable?
|
---|
[20853] | 3917 | echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 3918 | echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
|
---|
[8756] | 3919 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3920 | /* confdefs.h. */
|
---|
| 3921 | _ACEOF
|
---|
| 3922 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3923 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3924 | /* end confdefs.h. */
|
---|
| 3925 | $ac_includes_default
|
---|
| 3926 | #include <minix/config.h>
|
---|
| 3927 | _ACEOF
|
---|
| 3928 | rm -f conftest.$ac_objext
|
---|
[20853] | 3929 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3930 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 3931 | ac_status=$?
|
---|
| 3932 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3933 | rm -f conftest.er1
|
---|
| 3934 | cat conftest.err >&5
|
---|
| 3935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3936 | (exit $ac_status); } &&
|
---|
| 3937 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3938 | || test ! -s conftest.err'
|
---|
| 3939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3940 | (eval $ac_try) 2>&5
|
---|
| 3941 | ac_status=$?
|
---|
| 3942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3943 | (exit $ac_status); }; } &&
|
---|
| 3944 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3946 | (eval $ac_try) 2>&5
|
---|
| 3947 | ac_status=$?
|
---|
| 3948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3949 | (exit $ac_status); }; }; then
|
---|
[8756] | 3950 | ac_header_compiler=yes
|
---|
| 3951 | else
|
---|
| 3952 | echo "$as_me: failed program was:" >&5
|
---|
| 3953 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3954 |
|
---|
[20853] | 3955 | ac_header_compiler=no
|
---|
[8756] | 3956 | fi
|
---|
[20853] | 3957 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3958 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 3959 | echo "${ECHO_T}$ac_header_compiler" >&6
|
---|
[8756] | 3960 |
|
---|
| 3961 | # Is the header present?
|
---|
[20853] | 3962 | echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 3963 | echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
|
---|
[8756] | 3964 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3965 | /* confdefs.h. */
|
---|
| 3966 | _ACEOF
|
---|
| 3967 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3968 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3969 | /* end confdefs.h. */
|
---|
| 3970 | #include <minix/config.h>
|
---|
| 3971 | _ACEOF
|
---|
[20853] | 3972 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3973 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3974 | ac_status=$?
|
---|
| 3975 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3976 | rm -f conftest.er1
|
---|
| 3977 | cat conftest.err >&5
|
---|
| 3978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3979 | (exit $ac_status); } >/dev/null; then
|
---|
| 3980 | if test -s conftest.err; then
|
---|
| 3981 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3982 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3983 | else
|
---|
| 3984 | ac_cpp_err=
|
---|
| 3985 | fi
|
---|
| 3986 | else
|
---|
| 3987 | ac_cpp_err=yes
|
---|
| 3988 | fi
|
---|
| 3989 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 3990 | ac_header_preproc=yes
|
---|
| 3991 | else
|
---|
| 3992 | echo "$as_me: failed program was:" >&5
|
---|
| 3993 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3994 |
|
---|
| 3995 | ac_header_preproc=no
|
---|
| 3996 | fi
|
---|
| 3997 | rm -f conftest.err conftest.$ac_ext
|
---|
[20853] | 3998 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 3999 | echo "${ECHO_T}$ac_header_preproc" >&6
|
---|
[8756] | 4000 |
|
---|
| 4001 | # So? What about this header?
|
---|
| 4002 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 4003 | yes:no: )
|
---|
| 4004 | { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 4005 | echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 4006 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
---|
| 4007 | echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
---|
| 4008 | ac_header_preproc=yes
|
---|
| 4009 | ;;
|
---|
| 4010 | no:yes:* )
|
---|
| 4011 | { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 4012 | echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 4013 | { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 4014 | echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 4015 | { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
---|
| 4016 | echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
---|
| 4017 | { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 4018 | echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 4019 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 4020 | echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 4021 | { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
---|
| 4022 | echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
---|
[20853] | 4023 | (
|
---|
| 4024 | cat <<\_ASBOX
|
---|
| 4025 | ## ------------------------------------------ ##
|
---|
| 4026 | ## Report this to the AC_PACKAGE_NAME lists. ##
|
---|
| 4027 | ## ------------------------------------------ ##
|
---|
| 4028 | _ASBOX
|
---|
| 4029 | ) |
|
---|
| 4030 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
[8756] | 4031 | ;;
|
---|
| 4032 | esac
|
---|
[20853] | 4033 | echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4034 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
---|
[8756] | 4035 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 4036 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4037 | else
|
---|
| 4038 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 4039 | fi
|
---|
[20853] | 4040 | echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4041 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
---|
[8756] | 4042 |
|
---|
| 4043 | fi
|
---|
| 4044 | if test $ac_cv_header_minix_config_h = yes; then
|
---|
[687] | 4045 | MINIX=yes
|
---|
| 4046 | else
|
---|
[8756] | 4047 | MINIX=
|
---|
[687] | 4048 | fi
|
---|
| 4049 |
|
---|
[8756] | 4050 |
|
---|
[687] | 4051 | if test "$MINIX" = yes; then
|
---|
[8756] | 4052 |
|
---|
| 4053 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4054 | #define _POSIX_SOURCE 1
|
---|
[8756] | 4055 | _ACEOF
|
---|
[687] | 4056 |
|
---|
[8756] | 4057 |
|
---|
| 4058 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4059 | #define _POSIX_1_SOURCE 2
|
---|
[8756] | 4060 | _ACEOF
|
---|
[687] | 4061 |
|
---|
[8756] | 4062 |
|
---|
| 4063 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4064 | #define _MINIX 1
|
---|
[8756] | 4065 | _ACEOF
|
---|
[687] | 4066 |
|
---|
| 4067 | fi
|
---|
| 4068 |
|
---|
[20853] | 4069 | echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 4070 | echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
|
---|
[8756] | 4071 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
| 4072 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[700] | 4073 | else
|
---|
| 4074 | ac_cv_prog_cc_stdc=no
|
---|
| 4075 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 4076 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 4077 | # breaks some systems' header files.
|
---|
| 4078 | # AIX -qlanglvl=ansi
|
---|
| 4079 | # Ultrix and OSF/1 -std1
|
---|
| 4080 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 4081 | # SVR4 -Xc
|
---|
| 4082 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 4083 | do
|
---|
| 4084 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[8756] | 4085 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4086 | /* confdefs.h. */
|
---|
| 4087 | _ACEOF
|
---|
| 4088 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4089 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4090 | /* end confdefs.h. */
|
---|
[700] | 4091 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 4092 | choke me
|
---|
[8756] | 4093 | #endif
|
---|
[700] | 4094 |
|
---|
[8756] | 4095 | int
|
---|
| 4096 | main ()
|
---|
| 4097 | {
|
---|
[700] | 4098 | int test (int i, double x);
|
---|
| 4099 | struct s1 {int (*f) (int a);};
|
---|
| 4100 | struct s2 {int (*f) (double a);};
|
---|
[8756] | 4101 | ;
|
---|
| 4102 | return 0;
|
---|
| 4103 | }
|
---|
| 4104 | _ACEOF
|
---|
| 4105 | rm -f conftest.$ac_objext
|
---|
[20853] | 4106 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4107 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4108 | ac_status=$?
|
---|
| 4109 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4110 | rm -f conftest.er1
|
---|
| 4111 | cat conftest.err >&5
|
---|
| 4112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4113 | (exit $ac_status); } &&
|
---|
| 4114 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4115 | || test ! -s conftest.err'
|
---|
| 4116 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4117 | (eval $ac_try) 2>&5
|
---|
| 4118 | ac_status=$?
|
---|
| 4119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4120 | (exit $ac_status); }; } &&
|
---|
| 4121 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4123 | (eval $ac_try) 2>&5
|
---|
| 4124 | ac_status=$?
|
---|
| 4125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4126 | (exit $ac_status); }; }; then
|
---|
[700] | 4127 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 4128 | else
|
---|
[8756] | 4129 | echo "$as_me: failed program was:" >&5
|
---|
| 4130 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4131 |
|
---|
[700] | 4132 | fi
|
---|
[20853] | 4133 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[700] | 4134 | done
|
---|
| 4135 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 4136 |
|
---|
| 4137 | fi
|
---|
| 4138 |
|
---|
[20853] | 4139 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 4140 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
---|
[700] | 4141 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 4142 | x|xno) ;;
|
---|
| 4143 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 4144 | esac
|
---|
| 4145 |
|
---|
[8200] | 4146 |
|
---|
[20853] | 4147 | echo "$as_me:$LINENO: checking for function prototypes" >&5
|
---|
| 4148 | echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
|
---|
[700] | 4149 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[20853] | 4150 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 4151 | echo "${ECHO_T}yes" >&6
|
---|
[8756] | 4152 | cat >>confdefs.h <<\_ACEOF
|
---|
[700] | 4153 | #define PROTOTYPES 1
|
---|
[8756] | 4154 | _ACEOF
|
---|
[700] | 4155 |
|
---|
| 4156 | U= ANSI2KNR=
|
---|
| 4157 | else
|
---|
[20853] | 4158 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 4159 | echo "${ECHO_T}no" >&6
|
---|
[700] | 4160 | U=_ ANSI2KNR=ansi2knr
|
---|
| 4161 | fi
|
---|
| 4162 |
|
---|
[20853] | 4163 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
---|
| 4164 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
---|
[8756] | 4165 | if test "${ac_cv_c_const+set}" = set; then
|
---|
| 4166 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4167 | else
|
---|
[8756] | 4168 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4169 | /* confdefs.h. */
|
---|
| 4170 | _ACEOF
|
---|
| 4171 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4172 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4173 | /* end confdefs.h. */
|
---|
[8200] | 4174 |
|
---|
[8756] | 4175 | int
|
---|
| 4176 | main ()
|
---|
| 4177 | {
|
---|
| 4178 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 4179 | #ifndef __cplusplus
|
---|
| 4180 | /* Ultrix mips cc rejects this. */
|
---|
| 4181 | typedef int charset[2];
|
---|
[20853] | 4182 | const charset x;
|
---|
[8756] | 4183 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[20853] | 4184 | char const *const *ccp;
|
---|
| 4185 | char **p;
|
---|
[8756] | 4186 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 4187 | struct point {int x, y;};
|
---|
| 4188 | static struct point const zero = {0,0};
|
---|
| 4189 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 4190 | It does not let you subtract one const X* pointer from another in
|
---|
| 4191 | an arm of an if-expression whose if-part is not a constant
|
---|
| 4192 | expression */
|
---|
| 4193 | const char *g = "string";
|
---|
[20853] | 4194 | ccp = &g + (g ? g-g : 0);
|
---|
[8756] | 4195 | /* HPUX 7.0 cc rejects these. */
|
---|
[20853] | 4196 | ++ccp;
|
---|
| 4197 | p = (char**) ccp;
|
---|
| 4198 | ccp = (char const *const *) p;
|
---|
[8756] | 4199 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 4200 | char *t;
|
---|
| 4201 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
[8200] | 4202 |
|
---|
[8756] | 4203 | *t++ = 0;
|
---|
| 4204 | }
|
---|
| 4205 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 4206 | int x[] = {25, 17};
|
---|
| 4207 | const int *foo = &x[0];
|
---|
| 4208 | ++foo;
|
---|
| 4209 | }
|
---|
| 4210 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 4211 | typedef const int *iptr;
|
---|
| 4212 | iptr p = 0;
|
---|
| 4213 | ++p;
|
---|
| 4214 | }
|
---|
| 4215 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 4216 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 4217 | struct s { int j; const int *ap[3]; };
|
---|
| 4218 | struct s *b; b->j = 5;
|
---|
| 4219 | }
|
---|
| 4220 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 4221 | const int foo = 10;
|
---|
| 4222 | }
|
---|
| 4223 | #endif
|
---|
[8200] | 4224 |
|
---|
[8756] | 4225 | ;
|
---|
| 4226 | return 0;
|
---|
[3631] | 4227 | }
|
---|
[8756] | 4228 | _ACEOF
|
---|
| 4229 | rm -f conftest.$ac_objext
|
---|
[20853] | 4230 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4231 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4232 | ac_status=$?
|
---|
| 4233 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4234 | rm -f conftest.er1
|
---|
| 4235 | cat conftest.err >&5
|
---|
| 4236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4237 | (exit $ac_status); } &&
|
---|
| 4238 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4239 | || test ! -s conftest.err'
|
---|
| 4240 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4241 | (eval $ac_try) 2>&5
|
---|
| 4242 | ac_status=$?
|
---|
| 4243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4244 | (exit $ac_status); }; } &&
|
---|
| 4245 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4247 | (eval $ac_try) 2>&5
|
---|
| 4248 | ac_status=$?
|
---|
| 4249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4250 | (exit $ac_status); }; }; then
|
---|
[687] | 4251 | ac_cv_c_const=yes
|
---|
| 4252 | else
|
---|
[8756] | 4253 | echo "$as_me: failed program was:" >&5
|
---|
| 4254 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4255 |
|
---|
[20853] | 4256 | ac_cv_c_const=no
|
---|
[687] | 4257 | fi
|
---|
[20853] | 4258 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4259 | fi
|
---|
[20853] | 4260 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
---|
| 4261 | echo "${ECHO_T}$ac_cv_c_const" >&6
|
---|
[3631] | 4262 | if test $ac_cv_c_const = no; then
|
---|
[687] | 4263 |
|
---|
[8756] | 4264 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4265 | #define const
|
---|
| 4266 | _ACEOF
|
---|
| 4267 |
|
---|
[687] | 4268 | fi
|
---|
| 4269 |
|
---|
[20853] | 4270 | echo "$as_me:$LINENO: checking for off_t" >&5
|
---|
| 4271 | echo $ECHO_N "checking for off_t... $ECHO_C" >&6
|
---|
[8756] | 4272 | if test "${ac_cv_type_off_t+set}" = set; then
|
---|
| 4273 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4274 | else
|
---|
[8756] | 4275 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4276 | /* confdefs.h. */
|
---|
| 4277 | _ACEOF
|
---|
| 4278 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4279 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4280 | /* end confdefs.h. */
|
---|
| 4281 | $ac_includes_default
|
---|
| 4282 | int
|
---|
| 4283 | main ()
|
---|
| 4284 | {
|
---|
[20853] | 4285 | if ((off_t *) 0)
|
---|
[8756] | 4286 | return 0;
|
---|
[20853] | 4287 | if (sizeof (off_t))
|
---|
[8756] | 4288 | return 0;
|
---|
| 4289 | ;
|
---|
| 4290 | return 0;
|
---|
| 4291 | }
|
---|
| 4292 | _ACEOF
|
---|
| 4293 | rm -f conftest.$ac_objext
|
---|
[20853] | 4294 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4295 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4296 | ac_status=$?
|
---|
| 4297 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4298 | rm -f conftest.er1
|
---|
| 4299 | cat conftest.err >&5
|
---|
| 4300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4301 | (exit $ac_status); } &&
|
---|
| 4302 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4303 | || test ! -s conftest.err'
|
---|
| 4304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4305 | (eval $ac_try) 2>&5
|
---|
| 4306 | ac_status=$?
|
---|
| 4307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4308 | (exit $ac_status); }; } &&
|
---|
| 4309 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4311 | (eval $ac_try) 2>&5
|
---|
| 4312 | ac_status=$?
|
---|
| 4313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4314 | (exit $ac_status); }; }; then
|
---|
[8756] | 4315 | ac_cv_type_off_t=yes
|
---|
[687] | 4316 | else
|
---|
[8756] | 4317 | echo "$as_me: failed program was:" >&5
|
---|
| 4318 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[687] | 4319 |
|
---|
[20853] | 4320 | ac_cv_type_off_t=no
|
---|
[687] | 4321 | fi
|
---|
[20853] | 4322 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4323 | fi
|
---|
[20853] | 4324 | echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
---|
| 4325 | echo "${ECHO_T}$ac_cv_type_off_t" >&6
|
---|
[8756] | 4326 | if test $ac_cv_type_off_t = yes; then
|
---|
[687] | 4327 | :
|
---|
| 4328 | else
|
---|
| 4329 |
|
---|
[8756] | 4330 | cat >>confdefs.h <<_ACEOF
|
---|
[20853] | 4331 | #define off_t long
|
---|
[8756] | 4332 | _ACEOF
|
---|
[687] | 4333 |
|
---|
| 4334 | fi
|
---|
[8200] | 4335 |
|
---|
[20853] | 4336 | echo "$as_me:$LINENO: checking for size_t" >&5
|
---|
| 4337 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6
|
---|
[8756] | 4338 | if test "${ac_cv_type_size_t+set}" = set; then
|
---|
| 4339 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4340 | else
|
---|
[8756] | 4341 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4342 | /* confdefs.h. */
|
---|
| 4343 | _ACEOF
|
---|
| 4344 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4345 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4346 | /* end confdefs.h. */
|
---|
| 4347 | $ac_includes_default
|
---|
| 4348 | int
|
---|
| 4349 | main ()
|
---|
| 4350 | {
|
---|
[20853] | 4351 | if ((size_t *) 0)
|
---|
[8756] | 4352 | return 0;
|
---|
[20853] | 4353 | if (sizeof (size_t))
|
---|
[8756] | 4354 | return 0;
|
---|
| 4355 | ;
|
---|
| 4356 | return 0;
|
---|
| 4357 | }
|
---|
| 4358 | _ACEOF
|
---|
| 4359 | rm -f conftest.$ac_objext
|
---|
[20853] | 4360 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4361 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4362 | ac_status=$?
|
---|
| 4363 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4364 | rm -f conftest.er1
|
---|
| 4365 | cat conftest.err >&5
|
---|
| 4366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4367 | (exit $ac_status); } &&
|
---|
| 4368 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4369 | || test ! -s conftest.err'
|
---|
| 4370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4371 | (eval $ac_try) 2>&5
|
---|
| 4372 | ac_status=$?
|
---|
| 4373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4374 | (exit $ac_status); }; } &&
|
---|
| 4375 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4377 | (eval $ac_try) 2>&5
|
---|
| 4378 | ac_status=$?
|
---|
| 4379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4380 | (exit $ac_status); }; }; then
|
---|
[8756] | 4381 | ac_cv_type_size_t=yes
|
---|
[687] | 4382 | else
|
---|
[8756] | 4383 | echo "$as_me: failed program was:" >&5
|
---|
| 4384 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4385 |
|
---|
[20853] | 4386 | ac_cv_type_size_t=no
|
---|
[3631] | 4387 | fi
|
---|
[20853] | 4388 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4389 | fi
|
---|
[20853] | 4390 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
---|
| 4391 | echo "${ECHO_T}$ac_cv_type_size_t" >&6
|
---|
[8756] | 4392 | if test $ac_cv_type_size_t = yes; then
|
---|
| 4393 | :
|
---|
[687] | 4394 | else
|
---|
[8200] | 4395 |
|
---|
[8756] | 4396 | cat >>confdefs.h <<_ACEOF
|
---|
[20853] | 4397 | #define size_t unsigned
|
---|
[8756] | 4398 | _ACEOF
|
---|
[687] | 4399 |
|
---|
| 4400 | fi
|
---|
| 4401 |
|
---|
[20853] | 4402 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 4403 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
|
---|
[8756] | 4404 | if test "${ac_cv_header_time+set}" = set; then
|
---|
| 4405 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4406 | else
|
---|
[8756] | 4407 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4408 | /* confdefs.h. */
|
---|
| 4409 | _ACEOF
|
---|
| 4410 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4411 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4412 | /* end confdefs.h. */
|
---|
[687] | 4413 | #include <sys/types.h>
|
---|
| 4414 | #include <sys/time.h>
|
---|
| 4415 | #include <time.h>
|
---|
[8756] | 4416 |
|
---|
| 4417 | int
|
---|
| 4418 | main ()
|
---|
| 4419 | {
|
---|
| 4420 | if ((struct tm *) 0)
|
---|
| 4421 | return 0;
|
---|
| 4422 | ;
|
---|
| 4423 | return 0;
|
---|
| 4424 | }
|
---|
| 4425 | _ACEOF
|
---|
| 4426 | rm -f conftest.$ac_objext
|
---|
[20853] | 4427 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4428 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4429 | ac_status=$?
|
---|
| 4430 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4431 | rm -f conftest.er1
|
---|
| 4432 | cat conftest.err >&5
|
---|
| 4433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4434 | (exit $ac_status); } &&
|
---|
| 4435 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4436 | || test ! -s conftest.err'
|
---|
| 4437 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4438 | (eval $ac_try) 2>&5
|
---|
| 4439 | ac_status=$?
|
---|
| 4440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4441 | (exit $ac_status); }; } &&
|
---|
| 4442 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4444 | (eval $ac_try) 2>&5
|
---|
| 4445 | ac_status=$?
|
---|
| 4446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4447 | (exit $ac_status); }; }; then
|
---|
[687] | 4448 | ac_cv_header_time=yes
|
---|
| 4449 | else
|
---|
[8756] | 4450 | echo "$as_me: failed program was:" >&5
|
---|
| 4451 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4452 |
|
---|
[20853] | 4453 | ac_cv_header_time=no
|
---|
[687] | 4454 | fi
|
---|
[20853] | 4455 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4456 | fi
|
---|
[20853] | 4457 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
---|
| 4458 | echo "${ECHO_T}$ac_cv_header_time" >&6
|
---|
[8756] | 4459 | if test $ac_cv_header_time = yes; then
|
---|
[8200] | 4460 |
|
---|
[8756] | 4461 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4462 | #define TIME_WITH_SYS_TIME 1
|
---|
[8756] | 4463 | _ACEOF
|
---|
[687] | 4464 |
|
---|
| 4465 | fi
|
---|
| 4466 |
|
---|
[20853] | 4467 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 4468 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
|
---|
[8756] | 4469 | if test "${ac_cv_struct_tm+set}" = set; then
|
---|
| 4470 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4471 | else
|
---|
[8756] | 4472 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4473 | /* confdefs.h. */
|
---|
| 4474 | _ACEOF
|
---|
| 4475 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4476 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4477 | /* end confdefs.h. */
|
---|
[687] | 4478 | #include <sys/types.h>
|
---|
| 4479 | #include <time.h>
|
---|
[8756] | 4480 |
|
---|
| 4481 | int
|
---|
| 4482 | main ()
|
---|
| 4483 | {
|
---|
[20853] | 4484 | struct tm *tp; tp->tm_sec;
|
---|
[8756] | 4485 | ;
|
---|
| 4486 | return 0;
|
---|
| 4487 | }
|
---|
| 4488 | _ACEOF
|
---|
| 4489 | rm -f conftest.$ac_objext
|
---|
[20853] | 4490 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4491 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4492 | ac_status=$?
|
---|
| 4493 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4494 | rm -f conftest.er1
|
---|
| 4495 | cat conftest.err >&5
|
---|
| 4496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4497 | (exit $ac_status); } &&
|
---|
| 4498 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4499 | || test ! -s conftest.err'
|
---|
| 4500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4501 | (eval $ac_try) 2>&5
|
---|
| 4502 | ac_status=$?
|
---|
| 4503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4504 | (exit $ac_status); }; } &&
|
---|
| 4505 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4507 | (eval $ac_try) 2>&5
|
---|
| 4508 | ac_status=$?
|
---|
| 4509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4510 | (exit $ac_status); }; }; then
|
---|
[687] | 4511 | ac_cv_struct_tm=time.h
|
---|
| 4512 | else
|
---|
[8756] | 4513 | echo "$as_me: failed program was:" >&5
|
---|
| 4514 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4515 |
|
---|
[20853] | 4516 | ac_cv_struct_tm=sys/time.h
|
---|
[687] | 4517 | fi
|
---|
[20853] | 4518 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4519 | fi
|
---|
[20853] | 4520 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
---|
| 4521 | echo "${ECHO_T}$ac_cv_struct_tm" >&6
|
---|
[8756] | 4522 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
[8200] | 4523 |
|
---|
[8756] | 4524 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4525 | #define TM_IN_SYS_TIME 1
|
---|
[8756] | 4526 | _ACEOF
|
---|
[687] | 4527 |
|
---|
| 4528 | fi
|
---|
| 4529 |
|
---|
[8200] | 4530 |
|
---|
[687] | 4531 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[8756] | 4532 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4533 | /* confdefs.h. */
|
---|
| 4534 | _ACEOF
|
---|
| 4535 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4536 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4537 | /* end confdefs.h. */
|
---|
[687] | 4538 | #include <stdio.h>
|
---|
| 4539 |
|
---|
[8756] | 4540 | int
|
---|
| 4541 | main ()
|
---|
| 4542 | {
|
---|
| 4543 | FILE *rubbish = popen("yes", "r");
|
---|
| 4544 | ;
|
---|
| 4545 | return 0;
|
---|
| 4546 | }
|
---|
| 4547 | _ACEOF
|
---|
| 4548 | rm -f conftest.$ac_objext
|
---|
[20853] | 4549 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4550 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4551 | ac_status=$?
|
---|
| 4552 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4553 | rm -f conftest.er1
|
---|
| 4554 | cat conftest.err >&5
|
---|
| 4555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4556 | (exit $ac_status); } &&
|
---|
| 4557 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4558 | || test ! -s conftest.err'
|
---|
| 4559 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4560 | (eval $ac_try) 2>&5
|
---|
| 4561 | ac_status=$?
|
---|
| 4562 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4563 | (exit $ac_status); }; } &&
|
---|
| 4564 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4566 | (eval $ac_try) 2>&5
|
---|
| 4567 | ac_status=$?
|
---|
| 4568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4569 | (exit $ac_status); }; }; then
|
---|
[687] | 4570 | :
|
---|
| 4571 | else
|
---|
[8756] | 4572 | echo "$as_me: failed program was:" >&5
|
---|
| 4573 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4574 |
|
---|
[20853] | 4575 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[687] | 4576 | fi
|
---|
[20853] | 4577 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4578 | fi
|
---|
| 4579 |
|
---|
[8200] | 4580 |
|
---|
[8756] | 4581 |
|
---|
[20853] | 4582 | echo "$as_me:$LINENO: checking for main in -lg" >&5
|
---|
| 4583 | echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
|
---|
[8756] | 4584 | if test "${ac_cv_lib_g_main+set}" = set; then
|
---|
| 4585 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4586 | else
|
---|
[8756] | 4587 | ac_check_lib_save_LIBS=$LIBS
|
---|
[562] | 4588 | LIBS="-lg $LIBS"
|
---|
[8756] | 4589 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4590 | /* confdefs.h. */
|
---|
| 4591 | _ACEOF
|
---|
| 4592 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4593 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4594 | /* end confdefs.h. */
|
---|
[562] | 4595 |
|
---|
[8756] | 4596 |
|
---|
| 4597 | int
|
---|
| 4598 | main ()
|
---|
| 4599 | {
|
---|
[20853] | 4600 | main ();
|
---|
[8756] | 4601 | ;
|
---|
| 4602 | return 0;
|
---|
| 4603 | }
|
---|
| 4604 | _ACEOF
|
---|
| 4605 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 4606 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4607 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4608 | ac_status=$?
|
---|
| 4609 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4610 | rm -f conftest.er1
|
---|
| 4611 | cat conftest.err >&5
|
---|
| 4612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4613 | (exit $ac_status); } &&
|
---|
| 4614 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4615 | || test ! -s conftest.err'
|
---|
| 4616 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4617 | (eval $ac_try) 2>&5
|
---|
| 4618 | ac_status=$?
|
---|
| 4619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4620 | (exit $ac_status); }; } &&
|
---|
| 4621 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4623 | (eval $ac_try) 2>&5
|
---|
| 4624 | ac_status=$?
|
---|
| 4625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4626 | (exit $ac_status); }; }; then
|
---|
[8756] | 4627 | ac_cv_lib_g_main=yes
|
---|
[562] | 4628 | else
|
---|
[8756] | 4629 | echo "$as_me: failed program was:" >&5
|
---|
| 4630 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4631 |
|
---|
[20853] | 4632 | ac_cv_lib_g_main=no
|
---|
[562] | 4633 | fi
|
---|
[20853] | 4634 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 4635 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4636 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4637 | fi
|
---|
[20853] | 4638 | echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
|
---|
| 4639 | echo "${ECHO_T}$ac_cv_lib_g_main" >&6
|
---|
[8756] | 4640 | if test $ac_cv_lib_g_main = yes; then
|
---|
| 4641 | cat >>confdefs.h <<_ACEOF
|
---|
| 4642 | #define HAVE_LIBG 1
|
---|
| 4643 | _ACEOF
|
---|
[562] | 4644 |
|
---|
| 4645 | LIBS="-lg $LIBS"
|
---|
| 4646 |
|
---|
| 4647 | fi
|
---|
[8756] | 4648 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
[562] | 4649 |
|
---|
| 4650 |
|
---|
[20853] | 4651 | echo "$as_me:$LINENO: checking for main in -lm" >&5
|
---|
| 4652 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
|
---|
[8756] | 4653 | if test "${ac_cv_lib_m_main+set}" = set; then
|
---|
| 4654 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4655 | else
|
---|
[8756] | 4656 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4657 | LIBS="-lm $LIBS"
|
---|
| 4658 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4659 | /* confdefs.h. */
|
---|
| 4660 | _ACEOF
|
---|
| 4661 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4662 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4663 | /* end confdefs.h. */
|
---|
[8200] | 4664 |
|
---|
[562] | 4665 |
|
---|
[8756] | 4666 | int
|
---|
| 4667 | main ()
|
---|
| 4668 | {
|
---|
[20853] | 4669 | main ();
|
---|
[8756] | 4670 | ;
|
---|
| 4671 | return 0;
|
---|
| 4672 | }
|
---|
| 4673 | _ACEOF
|
---|
| 4674 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 4675 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4676 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4677 | ac_status=$?
|
---|
| 4678 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4679 | rm -f conftest.er1
|
---|
| 4680 | cat conftest.err >&5
|
---|
| 4681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4682 | (exit $ac_status); } &&
|
---|
| 4683 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4684 | || test ! -s conftest.err'
|
---|
| 4685 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4686 | (eval $ac_try) 2>&5
|
---|
| 4687 | ac_status=$?
|
---|
| 4688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4689 | (exit $ac_status); }; } &&
|
---|
| 4690 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4692 | (eval $ac_try) 2>&5
|
---|
| 4693 | ac_status=$?
|
---|
| 4694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4695 | (exit $ac_status); }; }; then
|
---|
[8756] | 4696 | ac_cv_lib_m_main=yes
|
---|
[8200] | 4697 | else
|
---|
[8756] | 4698 | echo "$as_me: failed program was:" >&5
|
---|
| 4699 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[562] | 4700 |
|
---|
[20853] | 4701 | ac_cv_lib_m_main=no
|
---|
[562] | 4702 | fi
|
---|
[20853] | 4703 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 4704 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4705 | LIBS=$ac_check_lib_save_LIBS
|
---|
[562] | 4706 | fi
|
---|
[20853] | 4707 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
---|
| 4708 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6
|
---|
[8756] | 4709 | if test $ac_cv_lib_m_main = yes; then
|
---|
| 4710 | cat >>confdefs.h <<_ACEOF
|
---|
| 4711 | #define HAVE_LIBM 1
|
---|
| 4712 | _ACEOF
|
---|
[562] | 4713 |
|
---|
| 4714 | LIBS="-lm $LIBS"
|
---|
| 4715 |
|
---|
| 4716 | fi
|
---|
[8756] | 4717 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
[562] | 4718 |
|
---|
[8756] | 4719 |
|
---|
[20853] | 4720 | echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
---|
| 4721 | echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
---|
[8756] | 4722 | if test "${ac_cv_lib_crypt_main+set}" = set; then
|
---|
| 4723 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4724 | else
|
---|
[8756] | 4725 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4726 | LIBS="-lcrypt $LIBS"
|
---|
| 4727 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4728 | /* confdefs.h. */
|
---|
| 4729 | _ACEOF
|
---|
| 4730 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4731 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4732 | /* end confdefs.h. */
|
---|
[562] | 4733 |
|
---|
[8756] | 4734 |
|
---|
| 4735 | int
|
---|
| 4736 | main ()
|
---|
| 4737 | {
|
---|
[20853] | 4738 | main ();
|
---|
[8756] | 4739 | ;
|
---|
| 4740 | return 0;
|
---|
| 4741 | }
|
---|
| 4742 | _ACEOF
|
---|
| 4743 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 4744 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4745 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4746 | ac_status=$?
|
---|
| 4747 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4748 | rm -f conftest.er1
|
---|
| 4749 | cat conftest.err >&5
|
---|
| 4750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4751 | (exit $ac_status); } &&
|
---|
| 4752 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4753 | || test ! -s conftest.err'
|
---|
| 4754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4755 | (eval $ac_try) 2>&5
|
---|
| 4756 | ac_status=$?
|
---|
| 4757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4758 | (exit $ac_status); }; } &&
|
---|
| 4759 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4760 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4761 | (eval $ac_try) 2>&5
|
---|
| 4762 | ac_status=$?
|
---|
| 4763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4764 | (exit $ac_status); }; }; then
|
---|
[8756] | 4765 | ac_cv_lib_crypt_main=yes
|
---|
[562] | 4766 | else
|
---|
[8756] | 4767 | echo "$as_me: failed program was:" >&5
|
---|
| 4768 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4769 |
|
---|
[20853] | 4770 | ac_cv_lib_crypt_main=no
|
---|
[562] | 4771 | fi
|
---|
[20853] | 4772 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 4773 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4774 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4775 | fi
|
---|
[20853] | 4776 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 4777 | echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
|
---|
[8756] | 4778 | if test $ac_cv_lib_crypt_main = yes; then
|
---|
| 4779 | cat >>confdefs.h <<_ACEOF
|
---|
| 4780 | #define HAVE_LIBCRYPT 1
|
---|
| 4781 | _ACEOF
|
---|
[562] | 4782 |
|
---|
[8756] | 4783 | LIBS="-lcrypt $LIBS"
|
---|
[562] | 4784 |
|
---|
| 4785 | fi
|
---|
[8756] | 4786 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
[562] | 4787 |
|
---|
[20842] | 4788 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 4789 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 4790 | #fi
|
---|
[562] | 4791 |
|
---|
[8200] | 4792 |
|
---|
[986] | 4793 |
|
---|
| 4794 |
|
---|
| 4795 |
|
---|
[8200] | 4796 |
|
---|
[687] | 4797 | ac_header_dirent=no
|
---|
[8756] | 4798 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
| 4799 | as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[20853] | 4800 | echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
---|
| 4801 | echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
|
---|
| 4802 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 4803 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4804 | else
|
---|
[8756] | 4805 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4806 | /* confdefs.h. */
|
---|
| 4807 | _ACEOF
|
---|
| 4808 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4809 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4810 | /* end confdefs.h. */
|
---|
[687] | 4811 | #include <sys/types.h>
|
---|
| 4812 | #include <$ac_hdr>
|
---|
[8756] | 4813 |
|
---|
| 4814 | int
|
---|
| 4815 | main ()
|
---|
| 4816 | {
|
---|
| 4817 | if ((DIR *) 0)
|
---|
| 4818 | return 0;
|
---|
| 4819 | ;
|
---|
| 4820 | return 0;
|
---|
| 4821 | }
|
---|
| 4822 | _ACEOF
|
---|
| 4823 | rm -f conftest.$ac_objext
|
---|
[20853] | 4824 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4825 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4826 | ac_status=$?
|
---|
| 4827 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4828 | rm -f conftest.er1
|
---|
| 4829 | cat conftest.err >&5
|
---|
| 4830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4831 | (exit $ac_status); } &&
|
---|
| 4832 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4833 | || test ! -s conftest.err'
|
---|
| 4834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4835 | (eval $ac_try) 2>&5
|
---|
| 4836 | ac_status=$?
|
---|
| 4837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4838 | (exit $ac_status); }; } &&
|
---|
| 4839 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4840 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4841 | (eval $ac_try) 2>&5
|
---|
| 4842 | ac_status=$?
|
---|
| 4843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4844 | (exit $ac_status); }; }; then
|
---|
[8756] | 4845 | eval "$as_ac_Header=yes"
|
---|
[562] | 4846 | else
|
---|
[8756] | 4847 | echo "$as_me: failed program was:" >&5
|
---|
| 4848 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4849 |
|
---|
[20853] | 4850 | eval "$as_ac_Header=no"
|
---|
[687] | 4851 | fi
|
---|
[20853] | 4852 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4853 | fi
|
---|
[20853] | 4854 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 4855 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[8756] | 4856 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 4857 | cat >>confdefs.h <<_ACEOF
|
---|
| 4858 | #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
| 4859 | _ACEOF
|
---|
| 4860 |
|
---|
| 4861 | ac_header_dirent=$ac_hdr; break
|
---|
[687] | 4862 | fi
|
---|
[8756] | 4863 |
|
---|
[687] | 4864 | done
|
---|
| 4865 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 4866 | if test $ac_header_dirent = dirent.h; then
|
---|
[20853] | 4867 | echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 4868 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
---|
[8756] | 4869 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 4870 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4871 | else
|
---|
[8756] | 4872 | ac_func_search_save_LIBS=$LIBS
|
---|
[20853] | 4873 | ac_cv_search_opendir=no
|
---|
[8756] | 4874 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4875 | /* confdefs.h. */
|
---|
| 4876 | _ACEOF
|
---|
| 4877 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4878 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4879 | /* end confdefs.h. */
|
---|
| 4880 |
|
---|
[20853] | 4881 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 4882 | #ifdef __cplusplus
|
---|
| 4883 | extern "C"
|
---|
| 4884 | #endif
|
---|
[20853] | 4885 | /* We use char because int might match the return type of a gcc2
|
---|
| 4886 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 4887 | char opendir ();
|
---|
| 4888 | int
|
---|
| 4889 | main ()
|
---|
| 4890 | {
|
---|
[20853] | 4891 | opendir ();
|
---|
[8756] | 4892 | ;
|
---|
| 4893 | return 0;
|
---|
| 4894 | }
|
---|
| 4895 | _ACEOF
|
---|
[20853] | 4896 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4897 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4898 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4899 | ac_status=$?
|
---|
| 4900 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4901 | rm -f conftest.er1
|
---|
| 4902 | cat conftest.err >&5
|
---|
| 4903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4904 | (exit $ac_status); } &&
|
---|
| 4905 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4906 | || test ! -s conftest.err'
|
---|
| 4907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4908 | (eval $ac_try) 2>&5
|
---|
| 4909 | ac_status=$?
|
---|
| 4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4911 | (exit $ac_status); }; } &&
|
---|
| 4912 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4913 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4914 | (eval $ac_try) 2>&5
|
---|
| 4915 | ac_status=$?
|
---|
| 4916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4917 | (exit $ac_status); }; }; then
|
---|
| 4918 | ac_cv_search_opendir="none required"
|
---|
[8756] | 4919 | else
|
---|
| 4920 | echo "$as_me: failed program was:" >&5
|
---|
| 4921 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4922 |
|
---|
[687] | 4923 | fi
|
---|
[20853] | 4924 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 4925 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4926 | if test "$ac_cv_search_opendir" = no; then
|
---|
| 4927 | for ac_lib in dir; do
|
---|
| 4928 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4929 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4930 | /* confdefs.h. */
|
---|
| 4931 | _ACEOF
|
---|
| 4932 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4933 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4934 | /* end confdefs.h. */
|
---|
[8200] | 4935 |
|
---|
[20853] | 4936 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4937 | #ifdef __cplusplus
|
---|
| 4938 | extern "C"
|
---|
| 4939 | #endif
|
---|
| 4940 | /* We use char because int might match the return type of a gcc2
|
---|
| 4941 | builtin and then its argument prototype would still apply. */
|
---|
| 4942 | char opendir ();
|
---|
| 4943 | int
|
---|
| 4944 | main ()
|
---|
| 4945 | {
|
---|
| 4946 | opendir ();
|
---|
| 4947 | ;
|
---|
| 4948 | return 0;
|
---|
| 4949 | }
|
---|
| 4950 | _ACEOF
|
---|
| 4951 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4952 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4953 | (eval $ac_link) 2>conftest.er1
|
---|
| 4954 | ac_status=$?
|
---|
| 4955 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4956 | rm -f conftest.er1
|
---|
| 4957 | cat conftest.err >&5
|
---|
| 4958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4959 | (exit $ac_status); } &&
|
---|
| 4960 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4961 | || test ! -s conftest.err'
|
---|
| 4962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4963 | (eval $ac_try) 2>&5
|
---|
| 4964 | ac_status=$?
|
---|
| 4965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4966 | (exit $ac_status); }; } &&
|
---|
| 4967 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4969 | (eval $ac_try) 2>&5
|
---|
| 4970 | ac_status=$?
|
---|
| 4971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4972 | (exit $ac_status); }; }; then
|
---|
| 4973 | ac_cv_search_opendir="-l$ac_lib"
|
---|
| 4974 | break
|
---|
[8200] | 4975 | else
|
---|
[20853] | 4976 | echo "$as_me: failed program was:" >&5
|
---|
| 4977 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4978 |
|
---|
[687] | 4979 | fi
|
---|
[20853] | 4980 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 4981 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4982 | done
|
---|
| 4983 | fi
|
---|
[8756] | 4984 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4985 | fi
|
---|
[20853] | 4986 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 4987 | echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
---|
| 4988 | if test "$ac_cv_search_opendir" != no; then
|
---|
| 4989 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
---|
[687] | 4990 |
|
---|
[8756] | 4991 | fi
|
---|
| 4992 |
|
---|
[687] | 4993 | else
|
---|
[20853] | 4994 | echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 4995 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
---|
[8756] | 4996 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 4997 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4998 | else
|
---|
[8756] | 4999 | ac_func_search_save_LIBS=$LIBS
|
---|
[20853] | 5000 | ac_cv_search_opendir=no
|
---|
[8756] | 5001 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5002 | /* confdefs.h. */
|
---|
| 5003 | _ACEOF
|
---|
| 5004 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5005 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5006 | /* end confdefs.h. */
|
---|
| 5007 |
|
---|
[20853] | 5008 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 5009 | #ifdef __cplusplus
|
---|
| 5010 | extern "C"
|
---|
| 5011 | #endif
|
---|
[20853] | 5012 | /* We use char because int might match the return type of a gcc2
|
---|
| 5013 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 5014 | char opendir ();
|
---|
| 5015 | int
|
---|
| 5016 | main ()
|
---|
| 5017 | {
|
---|
[20853] | 5018 | opendir ();
|
---|
[8756] | 5019 | ;
|
---|
| 5020 | return 0;
|
---|
| 5021 | }
|
---|
| 5022 | _ACEOF
|
---|
[20853] | 5023 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5024 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5025 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5026 | ac_status=$?
|
---|
| 5027 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5028 | rm -f conftest.er1
|
---|
| 5029 | cat conftest.err >&5
|
---|
| 5030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5031 | (exit $ac_status); } &&
|
---|
| 5032 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5033 | || test ! -s conftest.err'
|
---|
| 5034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5035 | (eval $ac_try) 2>&5
|
---|
| 5036 | ac_status=$?
|
---|
| 5037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5038 | (exit $ac_status); }; } &&
|
---|
| 5039 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5041 | (eval $ac_try) 2>&5
|
---|
| 5042 | ac_status=$?
|
---|
| 5043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5044 | (exit $ac_status); }; }; then
|
---|
| 5045 | ac_cv_search_opendir="none required"
|
---|
[8756] | 5046 | else
|
---|
| 5047 | echo "$as_me: failed program was:" >&5
|
---|
| 5048 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 5049 |
|
---|
[562] | 5050 | fi
|
---|
[20853] | 5051 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 5052 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5053 | if test "$ac_cv_search_opendir" = no; then
|
---|
| 5054 | for ac_lib in x; do
|
---|
| 5055 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5056 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5057 | /* confdefs.h. */
|
---|
| 5058 | _ACEOF
|
---|
| 5059 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5060 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5061 | /* end confdefs.h. */
|
---|
[8200] | 5062 |
|
---|
[20853] | 5063 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 5064 | #ifdef __cplusplus
|
---|
| 5065 | extern "C"
|
---|
| 5066 | #endif
|
---|
| 5067 | /* We use char because int might match the return type of a gcc2
|
---|
| 5068 | builtin and then its argument prototype would still apply. */
|
---|
| 5069 | char opendir ();
|
---|
| 5070 | int
|
---|
| 5071 | main ()
|
---|
| 5072 | {
|
---|
| 5073 | opendir ();
|
---|
| 5074 | ;
|
---|
| 5075 | return 0;
|
---|
| 5076 | }
|
---|
| 5077 | _ACEOF
|
---|
| 5078 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5079 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5080 | (eval $ac_link) 2>conftest.er1
|
---|
| 5081 | ac_status=$?
|
---|
| 5082 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5083 | rm -f conftest.er1
|
---|
| 5084 | cat conftest.err >&5
|
---|
| 5085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5086 | (exit $ac_status); } &&
|
---|
| 5087 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5088 | || test ! -s conftest.err'
|
---|
| 5089 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5090 | (eval $ac_try) 2>&5
|
---|
| 5091 | ac_status=$?
|
---|
| 5092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5093 | (exit $ac_status); }; } &&
|
---|
| 5094 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5096 | (eval $ac_try) 2>&5
|
---|
| 5097 | ac_status=$?
|
---|
| 5098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5099 | (exit $ac_status); }; }; then
|
---|
| 5100 | ac_cv_search_opendir="-l$ac_lib"
|
---|
| 5101 | break
|
---|
[8200] | 5102 | else
|
---|
[20853] | 5103 | echo "$as_me: failed program was:" >&5
|
---|
| 5104 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5105 |
|
---|
[562] | 5106 | fi
|
---|
[20853] | 5107 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 5108 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5109 | done
|
---|
| 5110 | fi
|
---|
[8756] | 5111 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5112 | fi
|
---|
[20853] | 5113 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 5114 | echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
---|
| 5115 | if test "$ac_cv_search_opendir" != no; then
|
---|
| 5116 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
---|
[562] | 5117 |
|
---|
[687] | 5118 | fi
|
---|
| 5119 |
|
---|
[8756] | 5120 | fi
|
---|
| 5121 |
|
---|
[20853] | 5122 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 5123 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
---|
[8756] | 5124 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 5125 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5126 | else
|
---|
[8756] | 5127 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5128 | /* confdefs.h. */
|
---|
| 5129 | _ACEOF
|
---|
| 5130 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5131 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5132 | /* end confdefs.h. */
|
---|
[562] | 5133 | #include <stdlib.h>
|
---|
| 5134 | #include <stdarg.h>
|
---|
| 5135 | #include <string.h>
|
---|
| 5136 | #include <float.h>
|
---|
[8756] | 5137 |
|
---|
| 5138 | int
|
---|
| 5139 | main ()
|
---|
| 5140 | {
|
---|
| 5141 |
|
---|
| 5142 | ;
|
---|
| 5143 | return 0;
|
---|
| 5144 | }
|
---|
| 5145 | _ACEOF
|
---|
| 5146 | rm -f conftest.$ac_objext
|
---|
[20853] | 5147 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5148 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 5149 | ac_status=$?
|
---|
| 5150 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5151 | rm -f conftest.er1
|
---|
| 5152 | cat conftest.err >&5
|
---|
| 5153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5154 | (exit $ac_status); } &&
|
---|
| 5155 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5156 | || test ! -s conftest.err'
|
---|
| 5157 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5158 | (eval $ac_try) 2>&5
|
---|
| 5159 | ac_status=$?
|
---|
| 5160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5161 | (exit $ac_status); }; } &&
|
---|
| 5162 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5163 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5164 | (eval $ac_try) 2>&5
|
---|
| 5165 | ac_status=$?
|
---|
| 5166 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5167 | (exit $ac_status); }; }; then
|
---|
[562] | 5168 | ac_cv_header_stdc=yes
|
---|
| 5169 | else
|
---|
[8756] | 5170 | echo "$as_me: failed program was:" >&5
|
---|
| 5171 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5172 |
|
---|
[20853] | 5173 | ac_cv_header_stdc=no
|
---|
[562] | 5174 | fi
|
---|
[20853] | 5175 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5176 |
|
---|
| 5177 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5178 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[8756] | 5179 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5180 | /* confdefs.h. */
|
---|
| 5181 | _ACEOF
|
---|
| 5182 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5183 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5184 | /* end confdefs.h. */
|
---|
[562] | 5185 | #include <string.h>
|
---|
[8756] | 5186 |
|
---|
| 5187 | _ACEOF
|
---|
[562] | 5188 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5189 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
[562] | 5190 | :
|
---|
| 5191 | else
|
---|
| 5192 | ac_cv_header_stdc=no
|
---|
| 5193 | fi
|
---|
| 5194 | rm -f conftest*
|
---|
| 5195 |
|
---|
| 5196 | fi
|
---|
| 5197 |
|
---|
| 5198 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5199 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[8756] | 5200 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5201 | /* confdefs.h. */
|
---|
| 5202 | _ACEOF
|
---|
| 5203 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5204 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5205 | /* end confdefs.h. */
|
---|
[562] | 5206 | #include <stdlib.h>
|
---|
[8756] | 5207 |
|
---|
| 5208 | _ACEOF
|
---|
[562] | 5209 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5210 | $EGREP "free" >/dev/null 2>&1; then
|
---|
[562] | 5211 | :
|
---|
| 5212 | else
|
---|
| 5213 | ac_cv_header_stdc=no
|
---|
| 5214 | fi
|
---|
| 5215 | rm -f conftest*
|
---|
| 5216 |
|
---|
| 5217 | fi
|
---|
| 5218 |
|
---|
| 5219 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5220 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[8756] | 5221 | if test "$cross_compiling" = yes; then
|
---|
[562] | 5222 | :
|
---|
| 5223 | else
|
---|
[8756] | 5224 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5225 | /* confdefs.h. */
|
---|
| 5226 | _ACEOF
|
---|
| 5227 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5228 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5229 | /* end confdefs.h. */
|
---|
[562] | 5230 | #include <ctype.h>
|
---|
[8756] | 5231 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5232 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5233 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5234 | #else
|
---|
| 5235 | # define ISLOWER(c) \
|
---|
| 5236 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5237 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5238 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5239 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5240 | #endif
|
---|
| 5241 |
|
---|
[8200] | 5242 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
[8756] | 5243 | int
|
---|
| 5244 | main ()
|
---|
| 5245 | {
|
---|
| 5246 | int i;
|
---|
| 5247 | for (i = 0; i < 256; i++)
|
---|
| 5248 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5249 | || toupper (i) != TOUPPER (i))
|
---|
[20853] | 5250 | exit(2);
|
---|
| 5251 | exit (0);
|
---|
[8756] | 5252 | }
|
---|
| 5253 | _ACEOF
|
---|
| 5254 | rm -f conftest$ac_exeext
|
---|
[20853] | 5255 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5256 | (eval $ac_link) 2>&5
|
---|
[8756] | 5257 | ac_status=$?
|
---|
| 5258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5259 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 5260 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5261 | (eval $ac_try) 2>&5
|
---|
[8756] | 5262 | ac_status=$?
|
---|
| 5263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5264 | (exit $ac_status); }; }; then
|
---|
[562] | 5265 | :
|
---|
| 5266 | else
|
---|
[8756] | 5267 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5268 | echo "$as_me: failed program was:" >&5
|
---|
| 5269 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5270 |
|
---|
| 5271 | ( exit $ac_status )
|
---|
| 5272 | ac_cv_header_stdc=no
|
---|
[562] | 5273 | fi
|
---|
[20853] | 5274 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5275 | fi
|
---|
| 5276 | fi
|
---|
| 5277 | fi
|
---|
[20853] | 5278 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 5279 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
---|
[8756] | 5280 | if test $ac_cv_header_stdc = yes; then
|
---|
[8200] | 5281 |
|
---|
[8756] | 5282 | cat >>confdefs.h <<\_ACEOF
|
---|
[562] | 5283 | #define STDC_HEADERS 1
|
---|
[8756] | 5284 | _ACEOF
|
---|
[562] | 5285 |
|
---|
| 5286 | fi
|
---|
| 5287 |
|
---|
[8756] | 5288 |
|
---|
| 5289 |
|
---|
| 5290 |
|
---|
| 5291 |
|
---|
| 5292 |
|
---|
| 5293 |
|
---|
| 5294 |
|
---|
| 5295 |
|
---|
[10181] | 5296 |
|
---|
| 5297 | for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
|
---|
[562] | 5298 | do
|
---|
[8756] | 5299 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[20853] | 5300 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 5301 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5302 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 5303 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 5304 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5305 | fi
|
---|
[20853] | 5306 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 5307 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[562] | 5308 | else
|
---|
[8756] | 5309 | # Is the header compilable?
|
---|
[20853] | 5310 | echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
---|
| 5311 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
---|
[8756] | 5312 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5313 | /* confdefs.h. */
|
---|
| 5314 | _ACEOF
|
---|
| 5315 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5316 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5317 | /* end confdefs.h. */
|
---|
| 5318 | $ac_includes_default
|
---|
| 5319 | #include <$ac_header>
|
---|
| 5320 | _ACEOF
|
---|
| 5321 | rm -f conftest.$ac_objext
|
---|
[20853] | 5322 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5323 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 5324 | ac_status=$?
|
---|
| 5325 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5326 | rm -f conftest.er1
|
---|
| 5327 | cat conftest.err >&5
|
---|
| 5328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5329 | (exit $ac_status); } &&
|
---|
| 5330 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5331 | || test ! -s conftest.err'
|
---|
| 5332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5333 | (eval $ac_try) 2>&5
|
---|
| 5334 | ac_status=$?
|
---|
| 5335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5336 | (exit $ac_status); }; } &&
|
---|
| 5337 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5339 | (eval $ac_try) 2>&5
|
---|
| 5340 | ac_status=$?
|
---|
| 5341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5342 | (exit $ac_status); }; }; then
|
---|
[8756] | 5343 | ac_header_compiler=yes
|
---|
[562] | 5344 | else
|
---|
[8756] | 5345 | echo "$as_me: failed program was:" >&5
|
---|
| 5346 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5347 |
|
---|
[20853] | 5348 | ac_header_compiler=no
|
---|
[562] | 5349 | fi
|
---|
[20853] | 5350 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5351 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 5352 | echo "${ECHO_T}$ac_header_compiler" >&6
|
---|
[8756] | 5353 |
|
---|
| 5354 | # Is the header present?
|
---|
[20853] | 5355 | echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
---|
| 5356 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
---|
[8756] | 5357 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5358 | /* confdefs.h. */
|
---|
| 5359 | _ACEOF
|
---|
| 5360 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5361 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5362 | /* end confdefs.h. */
|
---|
| 5363 | #include <$ac_header>
|
---|
| 5364 | _ACEOF
|
---|
[20853] | 5365 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 5366 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 5367 | ac_status=$?
|
---|
| 5368 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5369 | rm -f conftest.er1
|
---|
| 5370 | cat conftest.err >&5
|
---|
| 5371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5372 | (exit $ac_status); } >/dev/null; then
|
---|
| 5373 | if test -s conftest.err; then
|
---|
| 5374 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 5375 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 5376 | else
|
---|
| 5377 | ac_cpp_err=
|
---|
| 5378 | fi
|
---|
| 5379 | else
|
---|
| 5380 | ac_cpp_err=yes
|
---|
| 5381 | fi
|
---|
| 5382 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 5383 | ac_header_preproc=yes
|
---|
[8200] | 5384 | else
|
---|
[8756] | 5385 | echo "$as_me: failed program was:" >&5
|
---|
| 5386 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5387 |
|
---|
| 5388 | ac_header_preproc=no
|
---|
[562] | 5389 | fi
|
---|
[8756] | 5390 | rm -f conftest.err conftest.$ac_ext
|
---|
[20853] | 5391 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 5392 | echo "${ECHO_T}$ac_header_preproc" >&6
|
---|
[8756] | 5393 |
|
---|
| 5394 | # So? What about this header?
|
---|
| 5395 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 5396 | yes:no: )
|
---|
| 5397 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 5398 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 5399 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
---|
| 5400 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
---|
| 5401 | ac_header_preproc=yes
|
---|
| 5402 | ;;
|
---|
| 5403 | no:yes:* )
|
---|
| 5404 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
---|
| 5405 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
---|
| 5406 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
---|
| 5407 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
---|
| 5408 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
---|
| 5409 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
---|
| 5410 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 5411 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 5412 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 5413 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 5414 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
---|
| 5415 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
---|
[20853] | 5416 | (
|
---|
| 5417 | cat <<\_ASBOX
|
---|
| 5418 | ## ------------------------------------------ ##
|
---|
| 5419 | ## Report this to the AC_PACKAGE_NAME lists. ##
|
---|
| 5420 | ## ------------------------------------------ ##
|
---|
| 5421 | _ASBOX
|
---|
| 5422 | ) |
|
---|
| 5423 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
[8756] | 5424 | ;;
|
---|
| 5425 | esac
|
---|
[20853] | 5426 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5427 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 5428 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 5429 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5430 | else
|
---|
| 5431 | eval "$as_ac_Header=\$ac_header_preproc"
|
---|
| 5432 | fi
|
---|
[20853] | 5433 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 5434 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[8756] | 5435 |
|
---|
| 5436 | fi
|
---|
| 5437 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 5438 | cat >>confdefs.h <<_ACEOF
|
---|
| 5439 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 5440 | _ACEOF
|
---|
| 5441 |
|
---|
| 5442 | fi
|
---|
| 5443 |
|
---|
[562] | 5444 | done
|
---|
| 5445 |
|
---|
[8756] | 5446 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5447 | /* confdefs.h. */
|
---|
| 5448 | _ACEOF
|
---|
| 5449 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5450 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5451 | /* end confdefs.h. */
|
---|
[687] | 5452 | #include <stdio.h>
|
---|
[8756] | 5453 |
|
---|
| 5454 | _ACEOF
|
---|
[687] | 5455 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5456 | $EGREP "fread" >/dev/null 2>&1; then
|
---|
| 5457 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5458 | #define HAVE_FREAD_DECL 1
|
---|
[8756] | 5459 | _ACEOF
|
---|
[562] | 5460 |
|
---|
[687] | 5461 | fi
|
---|
| 5462 | rm -f conftest*
|
---|
| 5463 |
|
---|
[8756] | 5464 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5465 | /* confdefs.h. */
|
---|
| 5466 | _ACEOF
|
---|
| 5467 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5468 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5469 | /* end confdefs.h. */
|
---|
[687] | 5470 | #include <stdio.h>
|
---|
[8756] | 5471 |
|
---|
| 5472 | _ACEOF
|
---|
[687] | 5473 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5474 | $EGREP "fgetc" >/dev/null 2>&1; then
|
---|
| 5475 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5476 | #define HAVE_FGETC_DECL 1
|
---|
[8756] | 5477 | _ACEOF
|
---|
[687] | 5478 |
|
---|
| 5479 | fi
|
---|
| 5480 | rm -f conftest*
|
---|
| 5481 |
|
---|
[8756] | 5482 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5483 | /* confdefs.h. */
|
---|
| 5484 | _ACEOF
|
---|
| 5485 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5486 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5487 | /* end confdefs.h. */
|
---|
[687] | 5488 | #include <sys/procfs.h>
|
---|
[8756] | 5489 |
|
---|
| 5490 | _ACEOF
|
---|
[687] | 5491 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5492 | $EGREP "pr_brksize" >/dev/null 2>&1; then
|
---|
| 5493 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5494 | #define HAVE_PR_BRKSIZE 1
|
---|
[8756] | 5495 | _ACEOF
|
---|
[687] | 5496 |
|
---|
| 5497 | fi
|
---|
| 5498 | rm -f conftest*
|
---|
| 5499 |
|
---|
[8200] | 5500 |
|
---|
[687] | 5501 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5502 | # for constant arguments. Useless!
|
---|
[20853] | 5503 | echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
---|
| 5504 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
|
---|
[8756] | 5505 | if test "${ac_cv_working_alloca_h+set}" = set; then
|
---|
| 5506 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5507 | else
|
---|
[8756] | 5508 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5509 | /* confdefs.h. */
|
---|
| 5510 | _ACEOF
|
---|
| 5511 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5512 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5513 | /* end confdefs.h. */
|
---|
[687] | 5514 | #include <alloca.h>
|
---|
[8756] | 5515 | int
|
---|
| 5516 | main ()
|
---|
| 5517 | {
|
---|
| 5518 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
| 5519 | ;
|
---|
| 5520 | return 0;
|
---|
| 5521 | }
|
---|
| 5522 | _ACEOF
|
---|
| 5523 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5524 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5525 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5526 | ac_status=$?
|
---|
| 5527 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5528 | rm -f conftest.er1
|
---|
| 5529 | cat conftest.err >&5
|
---|
| 5530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5531 | (exit $ac_status); } &&
|
---|
| 5532 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5533 | || test ! -s conftest.err'
|
---|
| 5534 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5535 | (eval $ac_try) 2>&5
|
---|
| 5536 | ac_status=$?
|
---|
| 5537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5538 | (exit $ac_status); }; } &&
|
---|
| 5539 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5541 | (eval $ac_try) 2>&5
|
---|
| 5542 | ac_status=$?
|
---|
| 5543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5544 | (exit $ac_status); }; }; then
|
---|
[8756] | 5545 | ac_cv_working_alloca_h=yes
|
---|
[562] | 5546 | else
|
---|
[8756] | 5547 | echo "$as_me: failed program was:" >&5
|
---|
| 5548 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5549 |
|
---|
[20853] | 5550 | ac_cv_working_alloca_h=no
|
---|
[562] | 5551 | fi
|
---|
[20853] | 5552 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5553 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5554 | fi
|
---|
[20853] | 5555 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5556 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
|
---|
[8756] | 5557 | if test $ac_cv_working_alloca_h = yes; then
|
---|
[562] | 5558 |
|
---|
[8756] | 5559 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5560 | #define HAVE_ALLOCA_H 1
|
---|
[8756] | 5561 | _ACEOF
|
---|
[562] | 5562 |
|
---|
| 5563 | fi
|
---|
| 5564 |
|
---|
[20853] | 5565 | echo "$as_me:$LINENO: checking for alloca" >&5
|
---|
| 5566 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6
|
---|
[8756] | 5567 | if test "${ac_cv_func_alloca_works+set}" = set; then
|
---|
| 5568 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5569 | else
|
---|
[8756] | 5570 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5571 | /* confdefs.h. */
|
---|
| 5572 | _ACEOF
|
---|
| 5573 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5574 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5575 | /* end confdefs.h. */
|
---|
[687] | 5576 | #ifdef __GNUC__
|
---|
| 5577 | # define alloca __builtin_alloca
|
---|
| 5578 | #else
|
---|
| 5579 | # ifdef _MSC_VER
|
---|
| 5580 | # include <malloc.h>
|
---|
| 5581 | # define alloca _alloca
|
---|
| 5582 | # else
|
---|
[20853] | 5583 | # if HAVE_ALLOCA_H
|
---|
[687] | 5584 | # include <alloca.h>
|
---|
| 5585 | # else
|
---|
| 5586 | # ifdef _AIX
|
---|
| 5587 | #pragma alloca
|
---|
| 5588 | # else
|
---|
| 5589 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5590 | char *alloca ();
|
---|
| 5591 | # endif
|
---|
| 5592 | # endif
|
---|
| 5593 | # endif
|
---|
| 5594 | # endif
|
---|
| 5595 | #endif
|
---|
| 5596 |
|
---|
[8756] | 5597 | int
|
---|
| 5598 | main ()
|
---|
| 5599 | {
|
---|
| 5600 | char *p = (char *) alloca (1);
|
---|
| 5601 | ;
|
---|
| 5602 | return 0;
|
---|
| 5603 | }
|
---|
| 5604 | _ACEOF
|
---|
| 5605 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5606 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5607 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5608 | ac_status=$?
|
---|
| 5609 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5610 | rm -f conftest.er1
|
---|
| 5611 | cat conftest.err >&5
|
---|
| 5612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5613 | (exit $ac_status); } &&
|
---|
| 5614 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5615 | || test ! -s conftest.err'
|
---|
| 5616 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5617 | (eval $ac_try) 2>&5
|
---|
| 5618 | ac_status=$?
|
---|
| 5619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5620 | (exit $ac_status); }; } &&
|
---|
| 5621 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5623 | (eval $ac_try) 2>&5
|
---|
| 5624 | ac_status=$?
|
---|
| 5625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5626 | (exit $ac_status); }; }; then
|
---|
[687] | 5627 | ac_cv_func_alloca_works=yes
|
---|
[562] | 5628 | else
|
---|
[8756] | 5629 | echo "$as_me: failed program was:" >&5
|
---|
| 5630 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5631 |
|
---|
[20853] | 5632 | ac_cv_func_alloca_works=no
|
---|
[562] | 5633 | fi
|
---|
[20853] | 5634 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5635 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5636 | fi
|
---|
[20853] | 5637 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5638 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
|
---|
[562] | 5639 |
|
---|
[687] | 5640 | if test $ac_cv_func_alloca_works = yes; then
|
---|
[8756] | 5641 |
|
---|
| 5642 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5643 | #define HAVE_ALLOCA 1
|
---|
[8756] | 5644 | _ACEOF
|
---|
[562] | 5645 |
|
---|
[8756] | 5646 | else
|
---|
| 5647 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5648 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5649 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5650 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
[8200] | 5651 |
|
---|
[20853] | 5652 | ALLOCA=alloca.$ac_objext
|
---|
[8756] | 5653 |
|
---|
| 5654 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5655 | #define C_ALLOCA 1
|
---|
[8756] | 5656 | _ACEOF
|
---|
[562] | 5657 |
|
---|
[8200] | 5658 |
|
---|
[20853] | 5659 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5660 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
|
---|
[8756] | 5661 | if test "${ac_cv_os_cray+set}" = set; then
|
---|
| 5662 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5663 | else
|
---|
[8756] | 5664 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5665 | /* confdefs.h. */
|
---|
| 5666 | _ACEOF
|
---|
| 5667 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5668 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5669 | /* end confdefs.h. */
|
---|
[20853] | 5670 | #if defined(CRAY) && ! defined(CRAY2)
|
---|
[687] | 5671 | webecray
|
---|
| 5672 | #else
|
---|
| 5673 | wenotbecray
|
---|
| 5674 | #endif
|
---|
[562] | 5675 |
|
---|
[8756] | 5676 | _ACEOF
|
---|
[687] | 5677 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5678 | $EGREP "webecray" >/dev/null 2>&1; then
|
---|
[687] | 5679 | ac_cv_os_cray=yes
|
---|
| 5680 | else
|
---|
| 5681 | ac_cv_os_cray=no
|
---|
| 5682 | fi
|
---|
| 5683 | rm -f conftest*
|
---|
[562] | 5684 |
|
---|
[687] | 5685 | fi
|
---|
[20853] | 5686 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
---|
| 5687 | echo "${ECHO_T}$ac_cv_os_cray" >&6
|
---|
[687] | 5688 | if test $ac_cv_os_cray = yes; then
|
---|
[8756] | 5689 | for ac_func in _getb67 GETB67 getb67; do
|
---|
| 5690 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 5691 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5692 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5693 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 5694 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5695 | else
|
---|
[8756] | 5696 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5697 | /* confdefs.h. */
|
---|
| 5698 | _ACEOF
|
---|
| 5699 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5700 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5701 | /* end confdefs.h. */
|
---|
| 5702 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 5703 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 5704 | #define $ac_func innocuous_$ac_func
|
---|
| 5705 |
|
---|
[687] | 5706 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 5707 | which can conflict with char $ac_func (); below.
|
---|
| 5708 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5709 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5710 |
|
---|
| 5711 | #ifdef __STDC__
|
---|
| 5712 | # include <limits.h>
|
---|
| 5713 | #else
|
---|
| 5714 | # include <assert.h>
|
---|
| 5715 | #endif
|
---|
| 5716 |
|
---|
| 5717 | #undef $ac_func
|
---|
| 5718 |
|
---|
[20853] | 5719 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 5720 | #ifdef __cplusplus
|
---|
| 5721 | extern "C"
|
---|
[20853] | 5722 | {
|
---|
[8756] | 5723 | #endif
|
---|
[20853] | 5724 | /* We use char because int might match the return type of a gcc2
|
---|
| 5725 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 5726 | char $ac_func ();
|
---|
[687] | 5727 | /* The GNU C library defines this for functions which it implements
|
---|
| 5728 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5729 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 5730 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 5731 | choke me
|
---|
[20853] | 5732 | #else
|
---|
| 5733 | char (*f) () = $ac_func;
|
---|
[687] | 5734 | #endif
|
---|
[20853] | 5735 | #ifdef __cplusplus
|
---|
| 5736 | }
|
---|
| 5737 | #endif
|
---|
[687] | 5738 |
|
---|
[8756] | 5739 | int
|
---|
| 5740 | main ()
|
---|
| 5741 | {
|
---|
[20853] | 5742 | return f != $ac_func;
|
---|
[8756] | 5743 | ;
|
---|
| 5744 | return 0;
|
---|
| 5745 | }
|
---|
| 5746 | _ACEOF
|
---|
| 5747 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5748 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5749 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5750 | ac_status=$?
|
---|
| 5751 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5752 | rm -f conftest.er1
|
---|
| 5753 | cat conftest.err >&5
|
---|
| 5754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5755 | (exit $ac_status); } &&
|
---|
| 5756 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5757 | || test ! -s conftest.err'
|
---|
| 5758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5759 | (eval $ac_try) 2>&5
|
---|
| 5760 | ac_status=$?
|
---|
| 5761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5762 | (exit $ac_status); }; } &&
|
---|
| 5763 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5765 | (eval $ac_try) 2>&5
|
---|
| 5766 | ac_status=$?
|
---|
| 5767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5768 | (exit $ac_status); }; }; then
|
---|
[8756] | 5769 | eval "$as_ac_var=yes"
|
---|
[562] | 5770 | else
|
---|
[8756] | 5771 | echo "$as_me: failed program was:" >&5
|
---|
| 5772 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5773 |
|
---|
[20853] | 5774 | eval "$as_ac_var=no"
|
---|
[562] | 5775 | fi
|
---|
[20853] | 5776 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5777 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 5778 | fi
|
---|
[20853] | 5779 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5780 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 5781 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[562] | 5782 |
|
---|
[8756] | 5783 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5784 | #define CRAY_STACKSEG_END $ac_func
|
---|
[8756] | 5785 | _ACEOF
|
---|
[562] | 5786 |
|
---|
[8756] | 5787 | break
|
---|
[687] | 5788 | fi
|
---|
[562] | 5789 |
|
---|
[8756] | 5790 | done
|
---|
[687] | 5791 | fi
|
---|
| 5792 |
|
---|
[20853] | 5793 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
---|
| 5794 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
|
---|
[8756] | 5795 | if test "${ac_cv_c_stack_direction+set}" = set; then
|
---|
| 5796 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5797 | else
|
---|
| 5798 | if test "$cross_compiling" = yes; then
|
---|
| 5799 | ac_cv_c_stack_direction=0
|
---|
| 5800 | else
|
---|
[8756] | 5801 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5802 | /* confdefs.h. */
|
---|
| 5803 | _ACEOF
|
---|
| 5804 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5805 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5806 | /* end confdefs.h. */
|
---|
| 5807 | int
|
---|
[687] | 5808 | find_stack_direction ()
|
---|
| 5809 | {
|
---|
| 5810 | static char *addr = 0;
|
---|
| 5811 | auto char dummy;
|
---|
| 5812 | if (addr == 0)
|
---|
| 5813 | {
|
---|
| 5814 | addr = &dummy;
|
---|
| 5815 | return find_stack_direction ();
|
---|
| 5816 | }
|
---|
| 5817 | else
|
---|
| 5818 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5819 | }
|
---|
[8756] | 5820 |
|
---|
| 5821 | int
|
---|
[687] | 5822 | main ()
|
---|
| 5823 | {
|
---|
[20853] | 5824 | exit (find_stack_direction () < 0);
|
---|
[687] | 5825 | }
|
---|
[8756] | 5826 | _ACEOF
|
---|
| 5827 | rm -f conftest$ac_exeext
|
---|
[20853] | 5828 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5829 | (eval $ac_link) 2>&5
|
---|
[8756] | 5830 | ac_status=$?
|
---|
| 5831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5832 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 5833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5834 | (eval $ac_try) 2>&5
|
---|
[8756] | 5835 | ac_status=$?
|
---|
| 5836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5837 | (exit $ac_status); }; }; then
|
---|
[687] | 5838 | ac_cv_c_stack_direction=1
|
---|
[562] | 5839 | else
|
---|
[8756] | 5840 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5841 | echo "$as_me: failed program was:" >&5
|
---|
| 5842 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5843 |
|
---|
| 5844 | ( exit $ac_status )
|
---|
| 5845 | ac_cv_c_stack_direction=-1
|
---|
[562] | 5846 | fi
|
---|
[20853] | 5847 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 5848 | fi
|
---|
| 5849 | fi
|
---|
[20853] | 5850 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
---|
| 5851 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
|
---|
[687] | 5852 |
|
---|
[8756] | 5853 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5854 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
[8756] | 5855 | _ACEOF
|
---|
[687] | 5856 |
|
---|
[8756] | 5857 |
|
---|
[687] | 5858 | fi
|
---|
| 5859 |
|
---|
[8756] | 5860 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[20853] | 5861 | echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
---|
| 5862 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
|
---|
[8756] | 5863 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
---|
| 5864 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5865 | else
|
---|
| 5866 | ac_pattern="Autoconf.*'x'"
|
---|
[8756] | 5867 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5868 | /* confdefs.h. */
|
---|
| 5869 | _ACEOF
|
---|
| 5870 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5871 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5872 | /* end confdefs.h. */
|
---|
[687] | 5873 | #include <sgtty.h>
|
---|
| 5874 | Autoconf TIOCGETP
|
---|
[8756] | 5875 | _ACEOF
|
---|
[687] | 5876 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5877 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
[687] | 5878 | ac_cv_prog_gcc_traditional=yes
|
---|
| 5879 | else
|
---|
| 5880 | ac_cv_prog_gcc_traditional=no
|
---|
| 5881 | fi
|
---|
[562] | 5882 | rm -f conftest*
|
---|
[687] | 5883 |
|
---|
[8200] | 5884 |
|
---|
[687] | 5885 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[8756] | 5886 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5887 | /* confdefs.h. */
|
---|
| 5888 | _ACEOF
|
---|
| 5889 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5890 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5891 | /* end confdefs.h. */
|
---|
[687] | 5892 | #include <termio.h>
|
---|
| 5893 | Autoconf TCGETA
|
---|
[8756] | 5894 | _ACEOF
|
---|
[687] | 5895 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5896 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
[687] | 5897 | ac_cv_prog_gcc_traditional=yes
|
---|
[562] | 5898 | fi
|
---|
[687] | 5899 | rm -f conftest*
|
---|
[562] | 5900 |
|
---|
[687] | 5901 | fi
|
---|
| 5902 | fi
|
---|
[20853] | 5903 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 5904 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
|
---|
[687] | 5905 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 5906 | CC="$CC -traditional"
|
---|
| 5907 | fi
|
---|
| 5908 | fi
|
---|
| 5909 |
|
---|
[20853] | 5910 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
---|
| 5911 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
|
---|
[8756] | 5912 | if test "${ac_cv_type_signal+set}" = set; then
|
---|
| 5913 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5914 | else
|
---|
[8756] | 5915 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5916 | /* confdefs.h. */
|
---|
| 5917 | _ACEOF
|
---|
| 5918 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5919 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5920 | /* end confdefs.h. */
|
---|
[687] | 5921 | #include <sys/types.h>
|
---|
| 5922 | #include <signal.h>
|
---|
[20853] | 5923 | #ifdef signal
|
---|
| 5924 | # undef signal
|
---|
| 5925 | #endif
|
---|
| 5926 | #ifdef __cplusplus
|
---|
| 5927 | extern "C" void (*signal (int, void (*)(int)))(int);
|
---|
| 5928 | #else
|
---|
| 5929 | void (*signal ()) ();
|
---|
| 5930 | #endif
|
---|
[562] | 5931 |
|
---|
[8756] | 5932 | int
|
---|
| 5933 | main ()
|
---|
| 5934 | {
|
---|
[20853] | 5935 | int i;
|
---|
[8756] | 5936 | ;
|
---|
| 5937 | return 0;
|
---|
| 5938 | }
|
---|
| 5939 | _ACEOF
|
---|
| 5940 | rm -f conftest.$ac_objext
|
---|
[20853] | 5941 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5942 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 5943 | ac_status=$?
|
---|
| 5944 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5945 | rm -f conftest.er1
|
---|
| 5946 | cat conftest.err >&5
|
---|
| 5947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5948 | (exit $ac_status); } &&
|
---|
| 5949 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5950 | || test ! -s conftest.err'
|
---|
| 5951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5952 | (eval $ac_try) 2>&5
|
---|
| 5953 | ac_status=$?
|
---|
| 5954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5955 | (exit $ac_status); }; } &&
|
---|
| 5956 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5958 | (eval $ac_try) 2>&5
|
---|
| 5959 | ac_status=$?
|
---|
| 5960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5961 | (exit $ac_status); }; }; then
|
---|
| 5962 | ac_cv_type_signal=void
|
---|
[562] | 5963 | else
|
---|
[8756] | 5964 | echo "$as_me: failed program was:" >&5
|
---|
| 5965 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5966 |
|
---|
[20853] | 5967 | ac_cv_type_signal=int
|
---|
[562] | 5968 | fi
|
---|
[20853] | 5969 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5970 | fi
|
---|
[20853] | 5971 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
---|
| 5972 | echo "${ECHO_T}$ac_cv_type_signal" >&6
|
---|
[562] | 5973 |
|
---|
[8756] | 5974 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5975 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
[8756] | 5976 | _ACEOF
|
---|
[562] | 5977 |
|
---|
[8200] | 5978 |
|
---|
[8756] | 5979 |
|
---|
| 5980 | for ac_func in vprintf
|
---|
| 5981 | do
|
---|
| 5982 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 5983 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5984 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5985 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 5986 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5987 | else
|
---|
[8756] | 5988 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5989 | /* confdefs.h. */
|
---|
| 5990 | _ACEOF
|
---|
| 5991 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5992 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5993 | /* end confdefs.h. */
|
---|
| 5994 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 5995 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 5996 | #define $ac_func innocuous_$ac_func
|
---|
| 5997 |
|
---|
[562] | 5998 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 5999 | which can conflict with char $ac_func (); below.
|
---|
| 6000 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6001 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6002 |
|
---|
| 6003 | #ifdef __STDC__
|
---|
| 6004 | # include <limits.h>
|
---|
| 6005 | #else
|
---|
| 6006 | # include <assert.h>
|
---|
| 6007 | #endif
|
---|
| 6008 |
|
---|
| 6009 | #undef $ac_func
|
---|
| 6010 |
|
---|
[20853] | 6011 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6012 | #ifdef __cplusplus
|
---|
| 6013 | extern "C"
|
---|
[20853] | 6014 | {
|
---|
[8756] | 6015 | #endif
|
---|
[20853] | 6016 | /* We use char because int might match the return type of a gcc2
|
---|
| 6017 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6018 | char $ac_func ();
|
---|
[562] | 6019 | /* The GNU C library defines this for functions which it implements
|
---|
| 6020 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6021 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6022 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[562] | 6023 | choke me
|
---|
[20853] | 6024 | #else
|
---|
| 6025 | char (*f) () = $ac_func;
|
---|
[562] | 6026 | #endif
|
---|
[20853] | 6027 | #ifdef __cplusplus
|
---|
| 6028 | }
|
---|
| 6029 | #endif
|
---|
[562] | 6030 |
|
---|
[8756] | 6031 | int
|
---|
| 6032 | main ()
|
---|
| 6033 | {
|
---|
[20853] | 6034 | return f != $ac_func;
|
---|
[8756] | 6035 | ;
|
---|
| 6036 | return 0;
|
---|
| 6037 | }
|
---|
| 6038 | _ACEOF
|
---|
| 6039 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6040 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6041 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6042 | ac_status=$?
|
---|
| 6043 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6044 | rm -f conftest.er1
|
---|
| 6045 | cat conftest.err >&5
|
---|
| 6046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6047 | (exit $ac_status); } &&
|
---|
| 6048 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6049 | || test ! -s conftest.err'
|
---|
| 6050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6051 | (eval $ac_try) 2>&5
|
---|
| 6052 | ac_status=$?
|
---|
| 6053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6054 | (exit $ac_status); }; } &&
|
---|
| 6055 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6056 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6057 | (eval $ac_try) 2>&5
|
---|
| 6058 | ac_status=$?
|
---|
| 6059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6060 | (exit $ac_status); }; }; then
|
---|
[8756] | 6061 | eval "$as_ac_var=yes"
|
---|
[562] | 6062 | else
|
---|
[8756] | 6063 | echo "$as_me: failed program was:" >&5
|
---|
| 6064 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6065 |
|
---|
[20853] | 6066 | eval "$as_ac_var=no"
|
---|
[562] | 6067 | fi
|
---|
[20853] | 6068 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6069 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 6070 | fi
|
---|
[20853] | 6071 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6072 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6073 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6074 | cat >>confdefs.h <<_ACEOF
|
---|
| 6075 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6076 | _ACEOF
|
---|
[8200] | 6077 |
|
---|
[20853] | 6078 | echo "$as_me:$LINENO: checking for _doprnt" >&5
|
---|
| 6079 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
|
---|
[8756] | 6080 | if test "${ac_cv_func__doprnt+set}" = set; then
|
---|
| 6081 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 6082 | else
|
---|
[8756] | 6083 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6084 | /* confdefs.h. */
|
---|
| 6085 | _ACEOF
|
---|
| 6086 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6087 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6088 | /* end confdefs.h. */
|
---|
| 6089 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
---|
| 6090 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6091 | #define _doprnt innocuous__doprnt
|
---|
[8200] | 6092 |
|
---|
[562] | 6093 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6094 | which can conflict with char _doprnt (); below.
|
---|
| 6095 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6096 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6097 |
|
---|
| 6098 | #ifdef __STDC__
|
---|
| 6099 | # include <limits.h>
|
---|
| 6100 | #else
|
---|
| 6101 | # include <assert.h>
|
---|
| 6102 | #endif
|
---|
| 6103 |
|
---|
| 6104 | #undef _doprnt
|
---|
| 6105 |
|
---|
[20853] | 6106 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6107 | #ifdef __cplusplus
|
---|
| 6108 | extern "C"
|
---|
[20853] | 6109 | {
|
---|
[8756] | 6110 | #endif
|
---|
[20853] | 6111 | /* We use char because int might match the return type of a gcc2
|
---|
| 6112 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6113 | char _doprnt ();
|
---|
[562] | 6114 | /* The GNU C library defines this for functions which it implements
|
---|
| 6115 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6116 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6117 | #if defined (__stub__doprnt) || defined (__stub____doprnt)
|
---|
[562] | 6118 | choke me
|
---|
[20853] | 6119 | #else
|
---|
| 6120 | char (*f) () = _doprnt;
|
---|
[562] | 6121 | #endif
|
---|
[20853] | 6122 | #ifdef __cplusplus
|
---|
| 6123 | }
|
---|
| 6124 | #endif
|
---|
[562] | 6125 |
|
---|
[8756] | 6126 | int
|
---|
| 6127 | main ()
|
---|
| 6128 | {
|
---|
[20853] | 6129 | return f != _doprnt;
|
---|
[8756] | 6130 | ;
|
---|
| 6131 | return 0;
|
---|
| 6132 | }
|
---|
| 6133 | _ACEOF
|
---|
| 6134 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6135 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6136 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6137 | ac_status=$?
|
---|
| 6138 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6139 | rm -f conftest.er1
|
---|
| 6140 | cat conftest.err >&5
|
---|
| 6141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6142 | (exit $ac_status); } &&
|
---|
| 6143 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6144 | || test ! -s conftest.err'
|
---|
| 6145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6146 | (eval $ac_try) 2>&5
|
---|
| 6147 | ac_status=$?
|
---|
| 6148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6149 | (exit $ac_status); }; } &&
|
---|
| 6150 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6152 | (eval $ac_try) 2>&5
|
---|
| 6153 | ac_status=$?
|
---|
| 6154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6155 | (exit $ac_status); }; }; then
|
---|
[8756] | 6156 | ac_cv_func__doprnt=yes
|
---|
[562] | 6157 | else
|
---|
[8756] | 6158 | echo "$as_me: failed program was:" >&5
|
---|
| 6159 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6160 |
|
---|
[20853] | 6161 | ac_cv_func__doprnt=no
|
---|
[562] | 6162 | fi
|
---|
[20853] | 6163 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6164 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 6165 | fi
|
---|
[20853] | 6166 | echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
---|
| 6167 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6
|
---|
[8756] | 6168 | if test $ac_cv_func__doprnt = yes; then
|
---|
[562] | 6169 |
|
---|
[8756] | 6170 | cat >>confdefs.h <<\_ACEOF
|
---|
[562] | 6171 | #define HAVE_DOPRNT 1
|
---|
[8756] | 6172 | _ACEOF
|
---|
[562] | 6173 |
|
---|
| 6174 | fi
|
---|
| 6175 |
|
---|
| 6176 | fi
|
---|
[8756] | 6177 | done
|
---|
[562] | 6178 |
|
---|
[8756] | 6179 |
|
---|
| 6180 |
|
---|
| 6181 |
|
---|
| 6182 |
|
---|
| 6183 |
|
---|
| 6184 |
|
---|
| 6185 |
|
---|
| 6186 |
|
---|
| 6187 |
|
---|
| 6188 |
|
---|
| 6189 |
|
---|
[788] | 6190 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[687] | 6191 | do
|
---|
[8756] | 6192 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 6193 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6194 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 6195 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 6196 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 6197 | else
|
---|
[8756] | 6198 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6199 | /* confdefs.h. */
|
---|
| 6200 | _ACEOF
|
---|
| 6201 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6202 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6203 | /* end confdefs.h. */
|
---|
| 6204 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6205 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6206 | #define $ac_func innocuous_$ac_func
|
---|
| 6207 |
|
---|
[687] | 6208 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6209 | which can conflict with char $ac_func (); below.
|
---|
| 6210 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6211 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6212 |
|
---|
| 6213 | #ifdef __STDC__
|
---|
| 6214 | # include <limits.h>
|
---|
| 6215 | #else
|
---|
| 6216 | # include <assert.h>
|
---|
| 6217 | #endif
|
---|
| 6218 |
|
---|
| 6219 | #undef $ac_func
|
---|
| 6220 |
|
---|
[20853] | 6221 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6222 | #ifdef __cplusplus
|
---|
| 6223 | extern "C"
|
---|
[20853] | 6224 | {
|
---|
[8756] | 6225 | #endif
|
---|
[20853] | 6226 | /* We use char because int might match the return type of a gcc2
|
---|
| 6227 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6228 | char $ac_func ();
|
---|
[687] | 6229 | /* The GNU C library defines this for functions which it implements
|
---|
| 6230 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6231 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6232 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 6233 | choke me
|
---|
[20853] | 6234 | #else
|
---|
| 6235 | char (*f) () = $ac_func;
|
---|
[687] | 6236 | #endif
|
---|
[20853] | 6237 | #ifdef __cplusplus
|
---|
| 6238 | }
|
---|
| 6239 | #endif
|
---|
[687] | 6240 |
|
---|
[8756] | 6241 | int
|
---|
| 6242 | main ()
|
---|
| 6243 | {
|
---|
[20853] | 6244 | return f != $ac_func;
|
---|
[8756] | 6245 | ;
|
---|
| 6246 | return 0;
|
---|
| 6247 | }
|
---|
| 6248 | _ACEOF
|
---|
| 6249 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6250 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6251 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6252 | ac_status=$?
|
---|
| 6253 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6254 | rm -f conftest.er1
|
---|
| 6255 | cat conftest.err >&5
|
---|
| 6256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6257 | (exit $ac_status); } &&
|
---|
| 6258 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6259 | || test ! -s conftest.err'
|
---|
| 6260 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6261 | (eval $ac_try) 2>&5
|
---|
| 6262 | ac_status=$?
|
---|
| 6263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6264 | (exit $ac_status); }; } &&
|
---|
| 6265 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6267 | (eval $ac_try) 2>&5
|
---|
| 6268 | ac_status=$?
|
---|
| 6269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6270 | (exit $ac_status); }; }; then
|
---|
[8756] | 6271 | eval "$as_ac_var=yes"
|
---|
[687] | 6272 | else
|
---|
[8756] | 6273 | echo "$as_me: failed program was:" >&5
|
---|
| 6274 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6275 |
|
---|
[20853] | 6276 | eval "$as_ac_var=no"
|
---|
[687] | 6277 | fi
|
---|
[20853] | 6278 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6279 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 6280 | fi
|
---|
[20853] | 6281 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6282 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6283 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6284 | cat >>confdefs.h <<_ACEOF
|
---|
| 6285 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6286 | _ACEOF
|
---|
[8200] | 6287 |
|
---|
[687] | 6288 | fi
|
---|
| 6289 | done
|
---|
| 6290 |
|
---|
[8756] | 6291 |
|
---|
| 6292 |
|
---|
| 6293 |
|
---|
[687] | 6294 | for ac_func in ftruncate strstr strcasecmp
|
---|
| 6295 | do
|
---|
[8756] | 6296 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 6297 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6298 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 6299 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 6300 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 6301 | else
|
---|
[8756] | 6302 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6303 | /* confdefs.h. */
|
---|
| 6304 | _ACEOF
|
---|
| 6305 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6306 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6307 | /* end confdefs.h. */
|
---|
| 6308 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6309 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6310 | #define $ac_func innocuous_$ac_func
|
---|
| 6311 |
|
---|
[687] | 6312 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6313 | which can conflict with char $ac_func (); below.
|
---|
| 6314 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6315 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6316 |
|
---|
| 6317 | #ifdef __STDC__
|
---|
| 6318 | # include <limits.h>
|
---|
| 6319 | #else
|
---|
| 6320 | # include <assert.h>
|
---|
| 6321 | #endif
|
---|
| 6322 |
|
---|
| 6323 | #undef $ac_func
|
---|
| 6324 |
|
---|
[20853] | 6325 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6326 | #ifdef __cplusplus
|
---|
| 6327 | extern "C"
|
---|
[20853] | 6328 | {
|
---|
[8756] | 6329 | #endif
|
---|
[20853] | 6330 | /* We use char because int might match the return type of a gcc2
|
---|
| 6331 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6332 | char $ac_func ();
|
---|
[687] | 6333 | /* The GNU C library defines this for functions which it implements
|
---|
| 6334 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6335 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6336 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 6337 | choke me
|
---|
[20853] | 6338 | #else
|
---|
| 6339 | char (*f) () = $ac_func;
|
---|
[687] | 6340 | #endif
|
---|
[20853] | 6341 | #ifdef __cplusplus
|
---|
| 6342 | }
|
---|
| 6343 | #endif
|
---|
[687] | 6344 |
|
---|
[8756] | 6345 | int
|
---|
| 6346 | main ()
|
---|
| 6347 | {
|
---|
[20853] | 6348 | return f != $ac_func;
|
---|
[8756] | 6349 | ;
|
---|
| 6350 | return 0;
|
---|
| 6351 | }
|
---|
| 6352 | _ACEOF
|
---|
| 6353 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6354 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6355 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6356 | ac_status=$?
|
---|
| 6357 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6358 | rm -f conftest.er1
|
---|
| 6359 | cat conftest.err >&5
|
---|
| 6360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6361 | (exit $ac_status); } &&
|
---|
| 6362 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6363 | || test ! -s conftest.err'
|
---|
| 6364 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6365 | (eval $ac_try) 2>&5
|
---|
| 6366 | ac_status=$?
|
---|
| 6367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6368 | (exit $ac_status); }; } &&
|
---|
| 6369 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6371 | (eval $ac_try) 2>&5
|
---|
| 6372 | ac_status=$?
|
---|
| 6373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6374 | (exit $ac_status); }; }; then
|
---|
[8756] | 6375 | eval "$as_ac_var=yes"
|
---|
[687] | 6376 | else
|
---|
[8756] | 6377 | echo "$as_me: failed program was:" >&5
|
---|
| 6378 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6379 |
|
---|
[20853] | 6380 | eval "$as_ac_var=no"
|
---|
[687] | 6381 | fi
|
---|
[20853] | 6382 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6383 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 6384 | fi
|
---|
[20853] | 6385 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6386 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6387 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6388 | cat >>confdefs.h <<_ACEOF
|
---|
| 6389 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6390 | _ACEOF
|
---|
[8200] | 6391 |
|
---|
[687] | 6392 | else
|
---|
[20853] | 6393 | case $LIBOBJS in
|
---|
| 6394 | "$ac_func.$ac_objext" | \
|
---|
| 6395 | *" $ac_func.$ac_objext" | \
|
---|
| 6396 | "$ac_func.$ac_objext "* | \
|
---|
[8756] | 6397 | *" $ac_func.$ac_objext "* ) ;;
|
---|
[20853] | 6398 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
|
---|
[8756] | 6399 | esac
|
---|
| 6400 |
|
---|
[687] | 6401 | fi
|
---|
| 6402 | done
|
---|
| 6403 |
|
---|
[8200] | 6404 |
|
---|
| 6405 |
|
---|
[20853] | 6406 | echo "$as_me:$LINENO: checking for textdomain" >&5
|
---|
| 6407 | echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
|
---|
[8756] | 6408 | if test "${ac_cv_func_textdomain+set}" = set; then
|
---|
| 6409 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[3705] | 6410 | else
|
---|
[8756] | 6411 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6412 | /* confdefs.h. */
|
---|
| 6413 | _ACEOF
|
---|
| 6414 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6415 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6416 | /* end confdefs.h. */
|
---|
| 6417 | /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
|
---|
| 6418 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6419 | #define textdomain innocuous_textdomain
|
---|
| 6420 |
|
---|
[3705] | 6421 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6422 | which can conflict with char textdomain (); below.
|
---|
| 6423 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6424 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6425 |
|
---|
| 6426 | #ifdef __STDC__
|
---|
| 6427 | # include <limits.h>
|
---|
| 6428 | #else
|
---|
| 6429 | # include <assert.h>
|
---|
| 6430 | #endif
|
---|
| 6431 |
|
---|
| 6432 | #undef textdomain
|
---|
| 6433 |
|
---|
[20853] | 6434 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6435 | #ifdef __cplusplus
|
---|
| 6436 | extern "C"
|
---|
[20853] | 6437 | {
|
---|
[8756] | 6438 | #endif
|
---|
[20853] | 6439 | /* We use char because int might match the return type of a gcc2
|
---|
| 6440 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6441 | char textdomain ();
|
---|
[3705] | 6442 | /* The GNU C library defines this for functions which it implements
|
---|
| 6443 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6444 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6445 | #if defined (__stub_textdomain) || defined (__stub___textdomain)
|
---|
[3705] | 6446 | choke me
|
---|
[20853] | 6447 | #else
|
---|
| 6448 | char (*f) () = textdomain;
|
---|
[3705] | 6449 | #endif
|
---|
[20853] | 6450 | #ifdef __cplusplus
|
---|
| 6451 | }
|
---|
| 6452 | #endif
|
---|
[3705] | 6453 |
|
---|
[8756] | 6454 | int
|
---|
| 6455 | main ()
|
---|
| 6456 | {
|
---|
[20853] | 6457 | return f != textdomain;
|
---|
[8756] | 6458 | ;
|
---|
| 6459 | return 0;
|
---|
| 6460 | }
|
---|
| 6461 | _ACEOF
|
---|
| 6462 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6463 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6464 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6465 | ac_status=$?
|
---|
| 6466 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6467 | rm -f conftest.er1
|
---|
| 6468 | cat conftest.err >&5
|
---|
| 6469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6470 | (exit $ac_status); } &&
|
---|
| 6471 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6472 | || test ! -s conftest.err'
|
---|
| 6473 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6474 | (eval $ac_try) 2>&5
|
---|
| 6475 | ac_status=$?
|
---|
| 6476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6477 | (exit $ac_status); }; } &&
|
---|
| 6478 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6480 | (eval $ac_try) 2>&5
|
---|
| 6481 | ac_status=$?
|
---|
| 6482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6483 | (exit $ac_status); }; }; then
|
---|
[8756] | 6484 | ac_cv_func_textdomain=yes
|
---|
[3705] | 6485 | else
|
---|
[8756] | 6486 | echo "$as_me: failed program was:" >&5
|
---|
| 6487 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6488 |
|
---|
[20853] | 6489 | ac_cv_func_textdomain=no
|
---|
[3705] | 6490 | fi
|
---|
[20853] | 6491 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6492 | conftest$ac_exeext conftest.$ac_ext
|
---|
[3705] | 6493 | fi
|
---|
[20853] | 6494 | echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
|
---|
| 6495 | echo "${ECHO_T}$ac_cv_func_textdomain" >&6
|
---|
[8756] | 6496 | if test $ac_cv_func_textdomain = yes; then
|
---|
| 6497 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6498 | #define ENABLE_NLS 1
|
---|
| 6499 | _ACEOF
|
---|
[8200] | 6500 |
|
---|
[3705] | 6501 | fi
|
---|
| 6502 |
|
---|
[8200] | 6503 |
|
---|
[687] | 6504 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6505 | # ---------------------------------------------------------------------------
|
---|
[20853] | 6506 | echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
|
---|
| 6507 | echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
|
---|
[687] | 6508 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[20853] | 6509 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6510 | echo "${ECHO_T}yes" >&6
|
---|
| 6511 | case $LIBOBJS in
|
---|
| 6512 | "gmalloc.$ac_objext" | \
|
---|
| 6513 | *" gmalloc.$ac_objext" | \
|
---|
| 6514 | "gmalloc.$ac_objext "* | \
|
---|
[8756] | 6515 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[20853] | 6516 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
|
---|
[8756] | 6517 | esac
|
---|
| 6518 |
|
---|
| 6519 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 6520 | #define HAVE_VALLOC 1
|
---|
[8756] | 6521 | _ACEOF
|
---|
[687] | 6522 |
|
---|
| 6523 | else
|
---|
[20853] | 6524 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6525 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 6526 |
|
---|
| 6527 | for ac_func in valloc
|
---|
[687] | 6528 | do
|
---|
[8756] | 6529 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 6530 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6531 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 6532 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 6533 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 6534 | else
|
---|
[8756] | 6535 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6536 | /* confdefs.h. */
|
---|
| 6537 | _ACEOF
|
---|
| 6538 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6539 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6540 | /* end confdefs.h. */
|
---|
| 6541 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6542 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6543 | #define $ac_func innocuous_$ac_func
|
---|
| 6544 |
|
---|
[687] | 6545 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6546 | which can conflict with char $ac_func (); below.
|
---|
| 6547 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6548 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6549 |
|
---|
| 6550 | #ifdef __STDC__
|
---|
| 6551 | # include <limits.h>
|
---|
| 6552 | #else
|
---|
| 6553 | # include <assert.h>
|
---|
| 6554 | #endif
|
---|
| 6555 |
|
---|
| 6556 | #undef $ac_func
|
---|
| 6557 |
|
---|
[20853] | 6558 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6559 | #ifdef __cplusplus
|
---|
| 6560 | extern "C"
|
---|
[20853] | 6561 | {
|
---|
[8756] | 6562 | #endif
|
---|
[20853] | 6563 | /* We use char because int might match the return type of a gcc2
|
---|
| 6564 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6565 | char $ac_func ();
|
---|
[687] | 6566 | /* The GNU C library defines this for functions which it implements
|
---|
| 6567 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6568 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6569 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 6570 | choke me
|
---|
[20853] | 6571 | #else
|
---|
| 6572 | char (*f) () = $ac_func;
|
---|
[687] | 6573 | #endif
|
---|
[20853] | 6574 | #ifdef __cplusplus
|
---|
| 6575 | }
|
---|
| 6576 | #endif
|
---|
[687] | 6577 |
|
---|
[8756] | 6578 | int
|
---|
| 6579 | main ()
|
---|
| 6580 | {
|
---|
[20853] | 6581 | return f != $ac_func;
|
---|
[8756] | 6582 | ;
|
---|
| 6583 | return 0;
|
---|
| 6584 | }
|
---|
| 6585 | _ACEOF
|
---|
| 6586 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6587 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6588 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6589 | ac_status=$?
|
---|
| 6590 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6591 | rm -f conftest.er1
|
---|
| 6592 | cat conftest.err >&5
|
---|
| 6593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6594 | (exit $ac_status); } &&
|
---|
| 6595 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6596 | || test ! -s conftest.err'
|
---|
| 6597 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6598 | (eval $ac_try) 2>&5
|
---|
| 6599 | ac_status=$?
|
---|
| 6600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6601 | (exit $ac_status); }; } &&
|
---|
| 6602 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6603 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6604 | (eval $ac_try) 2>&5
|
---|
| 6605 | ac_status=$?
|
---|
| 6606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6607 | (exit $ac_status); }; }; then
|
---|
[8756] | 6608 | eval "$as_ac_var=yes"
|
---|
[687] | 6609 | else
|
---|
[8756] | 6610 | echo "$as_me: failed program was:" >&5
|
---|
| 6611 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6612 |
|
---|
[20853] | 6613 | eval "$as_ac_var=no"
|
---|
[687] | 6614 | fi
|
---|
[20853] | 6615 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6616 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 6617 | fi
|
---|
[20853] | 6618 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6619 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6620 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6621 | cat >>confdefs.h <<_ACEOF
|
---|
| 6622 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6623 | _ACEOF
|
---|
[8200] | 6624 |
|
---|
[687] | 6625 | fi
|
---|
| 6626 | done
|
---|
| 6627 |
|
---|
| 6628 | fi
|
---|
| 6629 |
|
---|
[8200] | 6630 | # we cannot generate static libraries under Darwin
|
---|
[20853] | 6631 | echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
|
---|
| 6632 | echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
|
---|
[8200] | 6633 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[20853] | 6634 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6635 | echo "${ECHO_T}yes" >&6
|
---|
[8200] | 6636 | STATIC=""
|
---|
| 6637 | else
|
---|
[20853] | 6638 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6639 | echo "${ECHO_T}no" >&6
|
---|
[8200] | 6640 | STATIC="-static "
|
---|
| 6641 | fi
|
---|
[3631] | 6642 |
|
---|
[8200] | 6643 |
|
---|
[20853] | 6644 | echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
---|
| 6645 | echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
|
---|
[8756] | 6646 |
|
---|
[20853] | 6647 | # Check whether --with-dmalloc or --without-dmalloc was given.
|
---|
[700] | 6648 | if test "${with_dmalloc+set}" = set; then
|
---|
[20853] | 6649 | withval="$with_dmalloc"
|
---|
| 6650 | if test "$withval" = yes; then
|
---|
| 6651 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6652 | echo "${ECHO_T}yes" >&6
|
---|
[8756] | 6653 | cat >>confdefs.h <<\_ACEOF
|
---|
[700] | 6654 | #define WITH_DMALLOC 1
|
---|
[8756] | 6655 | _ACEOF
|
---|
[687] | 6656 |
|
---|
[700] | 6657 | LIBS="$LIBS -ldmalloc"
|
---|
| 6658 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6659 | else
|
---|
[20853] | 6660 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6661 | echo "${ECHO_T}no" >&6
|
---|
[700] | 6662 | fi
|
---|
| 6663 | else
|
---|
[20853] | 6664 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6665 | echo "${ECHO_T}no" >&6
|
---|
| 6666 | fi;
|
---|
[700] | 6667 |
|
---|
[20853] | 6668 | echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
|
---|
| 6669 | echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
|
---|
[700] | 6670 |
|
---|
[20853] | 6671 | # Check whether --with-regex or --without-regex was given.
|
---|
[700] | 6672 | if test "${with_regex+set}" = set; then
|
---|
[20853] | 6673 | withval="$with_regex"
|
---|
| 6674 | if test "$withval" = yes; then
|
---|
[700] | 6675 | ac_with_regex=1
|
---|
[20853] | 6676 | echo "$as_me:$LINENO: result: regex" >&5
|
---|
| 6677 | echo "${ECHO_T}regex" >&6
|
---|
[8756] | 6678 | cat >>confdefs.h <<\_ACEOF
|
---|
[700] | 6679 | #define WITH_REGEX 1
|
---|
[8756] | 6680 | _ACEOF
|
---|
[700] | 6681 |
|
---|
[20853] | 6682 | case $LIBOBJS in
|
---|
| 6683 | "regex.$ac_objext" | \
|
---|
| 6684 | *" regex.$ac_objext" | \
|
---|
| 6685 | "regex.$ac_objext "* | \
|
---|
[8756] | 6686 | *" regex.$ac_objext "* ) ;;
|
---|
[20853] | 6687 | *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
|
---|
[8756] | 6688 | esac
|
---|
| 6689 |
|
---|
[700] | 6690 | fi
|
---|
[20853] | 6691 | fi;
|
---|
[700] | 6692 | if test -z "$ac_with_regex"; then
|
---|
[20853] | 6693 | echo "$as_me:$LINENO: result: rx" >&5
|
---|
| 6694 | echo "${ECHO_T}rx" >&6
|
---|
| 6695 | echo "$as_me:$LINENO: checking for re_rx_search" >&5
|
---|
| 6696 | echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
|
---|
[8756] | 6697 | if test "${ac_cv_func_re_rx_search+set}" = set; then
|
---|
| 6698 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[700] | 6699 | else
|
---|
[8756] | 6700 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6701 | /* confdefs.h. */
|
---|
| 6702 | _ACEOF
|
---|
| 6703 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6704 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6705 | /* end confdefs.h. */
|
---|
| 6706 | /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
|
---|
| 6707 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6708 | #define re_rx_search innocuous_re_rx_search
|
---|
| 6709 |
|
---|
[700] | 6710 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6711 | which can conflict with char re_rx_search (); below.
|
---|
| 6712 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6713 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6714 |
|
---|
| 6715 | #ifdef __STDC__
|
---|
| 6716 | # include <limits.h>
|
---|
| 6717 | #else
|
---|
| 6718 | # include <assert.h>
|
---|
| 6719 | #endif
|
---|
| 6720 |
|
---|
| 6721 | #undef re_rx_search
|
---|
| 6722 |
|
---|
[20853] | 6723 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6724 | #ifdef __cplusplus
|
---|
| 6725 | extern "C"
|
---|
[20853] | 6726 | {
|
---|
[8756] | 6727 | #endif
|
---|
[20853] | 6728 | /* We use char because int might match the return type of a gcc2
|
---|
| 6729 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6730 | char re_rx_search ();
|
---|
[700] | 6731 | /* The GNU C library defines this for functions which it implements
|
---|
| 6732 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6733 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6734 | #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
|
---|
[700] | 6735 | choke me
|
---|
[20853] | 6736 | #else
|
---|
| 6737 | char (*f) () = re_rx_search;
|
---|
[700] | 6738 | #endif
|
---|
[20853] | 6739 | #ifdef __cplusplus
|
---|
| 6740 | }
|
---|
| 6741 | #endif
|
---|
[700] | 6742 |
|
---|
[8756] | 6743 | int
|
---|
| 6744 | main ()
|
---|
| 6745 | {
|
---|
[20853] | 6746 | return f != re_rx_search;
|
---|
[8756] | 6747 | ;
|
---|
| 6748 | return 0;
|
---|
| 6749 | }
|
---|
| 6750 | _ACEOF
|
---|
| 6751 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6752 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6753 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6754 | ac_status=$?
|
---|
| 6755 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6756 | rm -f conftest.er1
|
---|
| 6757 | cat conftest.err >&5
|
---|
| 6758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6759 | (exit $ac_status); } &&
|
---|
| 6760 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6761 | || test ! -s conftest.err'
|
---|
| 6762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6763 | (eval $ac_try) 2>&5
|
---|
| 6764 | ac_status=$?
|
---|
| 6765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6766 | (exit $ac_status); }; } &&
|
---|
| 6767 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6769 | (eval $ac_try) 2>&5
|
---|
| 6770 | ac_status=$?
|
---|
| 6771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6772 | (exit $ac_status); }; }; then
|
---|
[8756] | 6773 | ac_cv_func_re_rx_search=yes
|
---|
[700] | 6774 | else
|
---|
[8756] | 6775 | echo "$as_me: failed program was:" >&5
|
---|
| 6776 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6777 |
|
---|
[20853] | 6778 | ac_cv_func_re_rx_search=no
|
---|
[700] | 6779 | fi
|
---|
[20853] | 6780 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6781 | conftest$ac_exeext conftest.$ac_ext
|
---|
[700] | 6782 | fi
|
---|
[20853] | 6783 | echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
|
---|
| 6784 | echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
|
---|
[8756] | 6785 | if test $ac_cv_func_re_rx_search = yes; then
|
---|
[700] | 6786 | :
|
---|
| 6787 | else
|
---|
[20853] | 6788 | case $LIBOBJS in
|
---|
| 6789 | "rx.$ac_objext" | \
|
---|
| 6790 | *" rx.$ac_objext" | \
|
---|
| 6791 | "rx.$ac_objext "* | \
|
---|
[8756] | 6792 | *" rx.$ac_objext "* ) ;;
|
---|
[20853] | 6793 | *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
|
---|
[8756] | 6794 | esac
|
---|
| 6795 |
|
---|
[700] | 6796 | fi
|
---|
| 6797 |
|
---|
| 6798 | fi
|
---|
| 6799 |
|
---|
[8200] | 6800 |
|
---|
[687] | 6801 | # ---------------------------------------------------------------------------
|
---|
| 6802 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[20853] | 6803 | case $LIBOBJS in
|
---|
| 6804 | "xmalloc.$ac_objext" | \
|
---|
| 6805 | *" xmalloc.$ac_objext" | \
|
---|
| 6806 | "xmalloc.$ac_objext "* | \
|
---|
[8756] | 6807 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[20853] | 6808 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
|
---|
[8756] | 6809 | esac
|
---|
| 6810 |
|
---|
[20853] | 6811 | case $LIBOBJS in
|
---|
| 6812 | "error.$ac_objext" | \
|
---|
| 6813 | *" error.$ac_objext" | \
|
---|
| 6814 | "error.$ac_objext "* | \
|
---|
[8756] | 6815 | *" error.$ac_objext "* ) ;;
|
---|
[20853] | 6816 | *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
|
---|
[8756] | 6817 | esac
|
---|
| 6818 |
|
---|
[687] | 6819 | fi
|
---|
| 6820 |
|
---|
[8200] | 6821 |
|
---|
[687] | 6822 | # ---------------------------------------------------------------------------
|
---|
| 6823 |
|
---|
[20853] | 6824 | ac_ext=cc
|
---|
[687] | 6825 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
[8756] | 6826 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6827 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6828 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[687] | 6829 |
|
---|
[8200] | 6830 |
|
---|
[20853] | 6831 | echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
|
---|
| 6832 | echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
|
---|
[687] | 6833 | success="no"
|
---|
| 6834 | pl_path="$PATH"
|
---|
| 6835 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 6836 | for pl_dir in $pl_path; do
|
---|
| 6837 | test -z "$pl_dir" && pl_dir=.
|
---|
| 6838 | if test -x $pl_dir/perl; then
|
---|
| 6839 | success="yes"
|
---|
| 6840 | break
|
---|
| 6841 | fi
|
---|
| 6842 | done
|
---|
| 6843 | IFS="$pl_save_ifs"
|
---|
| 6844 |
|
---|
| 6845 | if test $success = "yes"; then
|
---|
| 6846 | try=`perl configtest.pl` || try="0"
|
---|
| 6847 | try=`expr $try \> 5.000`
|
---|
| 6848 | if test $try = "1"; then
|
---|
[20853] | 6849 | echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 6850 | echo "${ECHO_T}\"yes\"" >&6
|
---|
[687] | 6851 | else
|
---|
| 6852 | success="no"
|
---|
| 6853 | fi
|
---|
| 6854 | fi
|
---|
| 6855 |
|
---|
| 6856 | if test $success = "no"; then
|
---|
[20853] | 6857 | echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 6858 | echo "${ECHO_T}\"no\"" >&6
|
---|
[8756] | 6859 | { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
|
---|
| 6860 | echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
|
---|
| 6861 | { (exit 1); exit 1; }; }
|
---|
[687] | 6862 | fi
|
---|
| 6863 |
|
---|
| 6864 | success=no
|
---|
[20853] | 6865 | echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
|
---|
| 6866 | echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
|
---|
[687] | 6867 |
|
---|
[18214] | 6868 |
|
---|
[8756] | 6869 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6870 | /* confdefs.h. */
|
---|
| 6871 | _ACEOF
|
---|
| 6872 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6873 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6874 | /* end confdefs.h. */
|
---|
[687] | 6875 | #include <vector>
|
---|
| 6876 |
|
---|
[8756] | 6877 | int
|
---|
| 6878 | main ()
|
---|
| 6879 | {
|
---|
[687] | 6880 |
|
---|
[8756] | 6881 | ;
|
---|
| 6882 | return 0;
|
---|
| 6883 | }
|
---|
| 6884 | _ACEOF
|
---|
| 6885 | rm -f conftest.$ac_objext
|
---|
[20853] | 6886 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 6887 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 6888 | ac_status=$?
|
---|
| 6889 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6890 | rm -f conftest.er1
|
---|
| 6891 | cat conftest.err >&5
|
---|
| 6892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6893 | (exit $ac_status); } &&
|
---|
| 6894 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 6895 | || test ! -s conftest.err'
|
---|
| 6896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6897 | (eval $ac_try) 2>&5
|
---|
| 6898 | ac_status=$?
|
---|
| 6899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6900 | (exit $ac_status); }; } &&
|
---|
| 6901 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 6902 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6903 | (eval $ac_try) 2>&5
|
---|
| 6904 | ac_status=$?
|
---|
| 6905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6906 | (exit $ac_status); }; }; then
|
---|
[687] | 6907 | success=yes
|
---|
| 6908 | else
|
---|
[8756] | 6909 | echo "$as_me: failed program was:" >&5
|
---|
| 6910 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6911 |
|
---|
[687] | 6912 | fi
|
---|
[20853] | 6913 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 6914 |
|
---|
| 6915 | if test $success = "no"; then
|
---|
[8756] | 6916 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6917 | /* confdefs.h. */
|
---|
| 6918 | _ACEOF
|
---|
| 6919 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6920 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6921 | /* end confdefs.h. */
|
---|
[687] | 6922 | #include <vector.h>
|
---|
| 6923 |
|
---|
[8756] | 6924 | int
|
---|
| 6925 | main ()
|
---|
| 6926 | {
|
---|
[687] | 6927 |
|
---|
[8756] | 6928 | ;
|
---|
| 6929 | return 0;
|
---|
| 6930 | }
|
---|
| 6931 | _ACEOF
|
---|
| 6932 | rm -f conftest.$ac_objext
|
---|
[20853] | 6933 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 6934 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 6935 | ac_status=$?
|
---|
| 6936 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6937 | rm -f conftest.er1
|
---|
| 6938 | cat conftest.err >&5
|
---|
| 6939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6940 | (exit $ac_status); } &&
|
---|
| 6941 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 6942 | || test ! -s conftest.err'
|
---|
| 6943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6944 | (eval $ac_try) 2>&5
|
---|
| 6945 | ac_status=$?
|
---|
| 6946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6947 | (exit $ac_status); }; } &&
|
---|
| 6948 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 6949 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6950 | (eval $ac_try) 2>&5
|
---|
| 6951 | ac_status=$?
|
---|
| 6952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6953 | (exit $ac_status); }; }; then
|
---|
[687] | 6954 | success="yes"
|
---|
| 6955 | else
|
---|
[8756] | 6956 | echo "$as_me: failed program was:" >&5
|
---|
| 6957 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6958 |
|
---|
[687] | 6959 | fi
|
---|
[20853] | 6960 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 6961 | fi
|
---|
| 6962 |
|
---|
| 6963 | if test $success = "no"; then
|
---|
[8756] | 6964 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6965 | /* confdefs.h. */
|
---|
| 6966 | _ACEOF
|
---|
| 6967 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6968 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6969 | /* end confdefs.h. */
|
---|
[687] | 6970 | #include <ospace\\std\\vector>
|
---|
| 6971 |
|
---|
[8756] | 6972 | int
|
---|
| 6973 | main ()
|
---|
| 6974 | {
|
---|
[687] | 6975 |
|
---|
[8756] | 6976 | ;
|
---|
| 6977 | return 0;
|
---|
| 6978 | }
|
---|
| 6979 | _ACEOF
|
---|
| 6980 | rm -f conftest.$ac_objext
|
---|
[20853] | 6981 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 6982 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 6983 | ac_status=$?
|
---|
| 6984 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6985 | rm -f conftest.er1
|
---|
| 6986 | cat conftest.err >&5
|
---|
| 6987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6988 | (exit $ac_status); } &&
|
---|
| 6989 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 6990 | || test ! -s conftest.err'
|
---|
| 6991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6992 | (eval $ac_try) 2>&5
|
---|
| 6993 | ac_status=$?
|
---|
| 6994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6995 | (exit $ac_status); }; } &&
|
---|
| 6996 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 6997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6998 | (eval $ac_try) 2>&5
|
---|
| 6999 | ac_status=$?
|
---|
| 7000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7001 | (exit $ac_status); }; }; then
|
---|
[687] | 7002 | success="yes"
|
---|
| 7003 | else
|
---|
[8756] | 7004 | echo "$as_me: failed program was:" >&5
|
---|
| 7005 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7006 |
|
---|
[687] | 7007 | fi
|
---|
[20853] | 7008 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 7009 | fi
|
---|
| 7010 |
|
---|
| 7011 | if test $success = yes; then
|
---|
[20853] | 7012 | echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 7013 | echo "${ECHO_T}\"no\"" >&6
|
---|
[687] | 7014 | else
|
---|
[20853] | 7015 | echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 7016 | echo "${ECHO_T}\"yes\"" >&6
|
---|
[8756] | 7017 | { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
|
---|
| 7018 | echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
|
---|
| 7019 | { (exit 1); exit 1; }; }
|
---|
[687] | 7020 | fi
|
---|
| 7021 |
|
---|
[2950] | 7022 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
[2951] | 7023 | # check for running bash under cygwin
|
---|
| 7024 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 7025 | then
|
---|
| 7026 | gsdlos=windows
|
---|
| 7027 | fi
|
---|
[687] | 7028 |
|
---|
[8200] | 7029 |
|
---|
[10856] | 7030 | # check for endianness
|
---|
[20853] | 7031 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
---|
| 7032 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
|
---|
[10856] | 7033 | if test "${ac_cv_c_bigendian+set}" = set; then
|
---|
| 7034 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 7035 | else
|
---|
| 7036 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 7037 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7038 | /* confdefs.h. */
|
---|
| 7039 | _ACEOF
|
---|
| 7040 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7041 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7042 | /* end confdefs.h. */
|
---|
| 7043 | #include <sys/types.h>
|
---|
| 7044 | #include <sys/param.h>
|
---|
| 7045 |
|
---|
| 7046 | int
|
---|
| 7047 | main ()
|
---|
| 7048 | {
|
---|
[20853] | 7049 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
---|
[10856] | 7050 | bogus endian macros
|
---|
| 7051 | #endif
|
---|
| 7052 |
|
---|
| 7053 | ;
|
---|
| 7054 | return 0;
|
---|
| 7055 | }
|
---|
| 7056 | _ACEOF
|
---|
| 7057 | rm -f conftest.$ac_objext
|
---|
[20853] | 7058 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 7059 | (eval $ac_compile) 2>conftest.er1
|
---|
[10856] | 7060 | ac_status=$?
|
---|
| 7061 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7062 | rm -f conftest.er1
|
---|
| 7063 | cat conftest.err >&5
|
---|
| 7064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 7065 | (exit $ac_status); } &&
|
---|
| 7066 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 7067 | || test ! -s conftest.err'
|
---|
| 7068 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7069 | (eval $ac_try) 2>&5
|
---|
| 7070 | ac_status=$?
|
---|
| 7071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7072 | (exit $ac_status); }; } &&
|
---|
| 7073 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 7074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7075 | (eval $ac_try) 2>&5
|
---|
| 7076 | ac_status=$?
|
---|
| 7077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7078 | (exit $ac_status); }; }; then
|
---|
[10856] | 7079 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
| 7080 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7081 | /* confdefs.h. */
|
---|
| 7082 | _ACEOF
|
---|
| 7083 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7084 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7085 | /* end confdefs.h. */
|
---|
| 7086 | #include <sys/types.h>
|
---|
| 7087 | #include <sys/param.h>
|
---|
| 7088 |
|
---|
| 7089 | int
|
---|
| 7090 | main ()
|
---|
| 7091 | {
|
---|
| 7092 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
| 7093 | not big endian
|
---|
| 7094 | #endif
|
---|
| 7095 |
|
---|
| 7096 | ;
|
---|
| 7097 | return 0;
|
---|
| 7098 | }
|
---|
| 7099 | _ACEOF
|
---|
| 7100 | rm -f conftest.$ac_objext
|
---|
[20853] | 7101 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 7102 | (eval $ac_compile) 2>conftest.er1
|
---|
[10856] | 7103 | ac_status=$?
|
---|
| 7104 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7105 | rm -f conftest.er1
|
---|
| 7106 | cat conftest.err >&5
|
---|
| 7107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 7108 | (exit $ac_status); } &&
|
---|
| 7109 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 7110 | || test ! -s conftest.err'
|
---|
| 7111 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7112 | (eval $ac_try) 2>&5
|
---|
| 7113 | ac_status=$?
|
---|
| 7114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7115 | (exit $ac_status); }; } &&
|
---|
| 7116 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 7117 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7118 | (eval $ac_try) 2>&5
|
---|
| 7119 | ac_status=$?
|
---|
| 7120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7121 | (exit $ac_status); }; }; then
|
---|
[10856] | 7122 | ac_cv_c_bigendian=yes
|
---|
| 7123 | else
|
---|
| 7124 | echo "$as_me: failed program was:" >&5
|
---|
| 7125 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7126 |
|
---|
[20853] | 7127 | ac_cv_c_bigendian=no
|
---|
[10856] | 7128 | fi
|
---|
[20853] | 7129 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7130 | else
|
---|
| 7131 | echo "$as_me: failed program was:" >&5
|
---|
| 7132 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7133 |
|
---|
[20853] | 7134 | # It does not; compile a test program.
|
---|
[10856] | 7135 | if test "$cross_compiling" = yes; then
|
---|
| 7136 | # try to guess the endianness by grepping values into an object file
|
---|
| 7137 | ac_cv_c_bigendian=unknown
|
---|
| 7138 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7139 | /* confdefs.h. */
|
---|
| 7140 | _ACEOF
|
---|
| 7141 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7142 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7143 | /* end confdefs.h. */
|
---|
[20853] | 7144 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 7145 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
[10856] | 7146 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
---|
[20853] | 7147 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 7148 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
[10856] | 7149 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
---|
| 7150 | int
|
---|
| 7151 | main ()
|
---|
| 7152 | {
|
---|
| 7153 | _ascii (); _ebcdic ();
|
---|
| 7154 | ;
|
---|
| 7155 | return 0;
|
---|
| 7156 | }
|
---|
| 7157 | _ACEOF
|
---|
| 7158 | rm -f conftest.$ac_objext
|
---|
[20853] | 7159 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 7160 | (eval $ac_compile) 2>conftest.er1
|
---|
[10856] | 7161 | ac_status=$?
|
---|
| 7162 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7163 | rm -f conftest.er1
|
---|
| 7164 | cat conftest.err >&5
|
---|
| 7165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 7166 | (exit $ac_status); } &&
|
---|
| 7167 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 7168 | || test ! -s conftest.err'
|
---|
| 7169 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7170 | (eval $ac_try) 2>&5
|
---|
| 7171 | ac_status=$?
|
---|
| 7172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7173 | (exit $ac_status); }; } &&
|
---|
| 7174 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 7175 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7176 | (eval $ac_try) 2>&5
|
---|
| 7177 | ac_status=$?
|
---|
| 7178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7179 | (exit $ac_status); }; }; then
|
---|
[10856] | 7180 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
---|
| 7181 | ac_cv_c_bigendian=yes
|
---|
| 7182 | fi
|
---|
| 7183 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 7184 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 7185 | ac_cv_c_bigendian=no
|
---|
| 7186 | else
|
---|
| 7187 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 7188 | ac_cv_c_bigendian=unknown
|
---|
| 7189 | fi
|
---|
| 7190 | fi
|
---|
| 7191 | else
|
---|
| 7192 | echo "$as_me: failed program was:" >&5
|
---|
| 7193 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7194 |
|
---|
| 7195 | fi
|
---|
[20853] | 7196 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7197 | else
|
---|
| 7198 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7199 | /* confdefs.h. */
|
---|
| 7200 | _ACEOF
|
---|
| 7201 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7202 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7203 | /* end confdefs.h. */
|
---|
| 7204 | int
|
---|
| 7205 | main ()
|
---|
| 7206 | {
|
---|
| 7207 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 7208 | union
|
---|
| 7209 | {
|
---|
[20853] | 7210 | long l;
|
---|
| 7211 | char c[sizeof (long)];
|
---|
[10856] | 7212 | } u;
|
---|
| 7213 | u.l = 1;
|
---|
[20853] | 7214 | exit (u.c[sizeof (long) - 1] == 1);
|
---|
[10856] | 7215 | }
|
---|
| 7216 | _ACEOF
|
---|
| 7217 | rm -f conftest$ac_exeext
|
---|
[20853] | 7218 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 7219 | (eval $ac_link) 2>&5
|
---|
[10856] | 7220 | ac_status=$?
|
---|
| 7221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7222 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 7223 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7224 | (eval $ac_try) 2>&5
|
---|
[10856] | 7225 | ac_status=$?
|
---|
| 7226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7227 | (exit $ac_status); }; }; then
|
---|
| 7228 | ac_cv_c_bigendian=no
|
---|
| 7229 | else
|
---|
| 7230 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 7231 | echo "$as_me: failed program was:" >&5
|
---|
| 7232 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7233 |
|
---|
| 7234 | ( exit $ac_status )
|
---|
| 7235 | ac_cv_c_bigendian=yes
|
---|
| 7236 | fi
|
---|
[20853] | 7237 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7238 | fi
|
---|
| 7239 | fi
|
---|
[20853] | 7240 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7241 | fi
|
---|
[20853] | 7242 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
---|
| 7243 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6
|
---|
[10856] | 7244 | case $ac_cv_c_bigendian in
|
---|
| 7245 | yes)
|
---|
| 7246 |
|
---|
| 7247 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7248 | #define WORDS_BIGENDIAN 1
|
---|
| 7249 | _ACEOF
|
---|
| 7250 | ;;
|
---|
| 7251 | no)
|
---|
| 7252 | ;;
|
---|
| 7253 | *)
|
---|
| 7254 | { { echo "$as_me:$LINENO: error: unknown endianness
|
---|
| 7255 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
---|
| 7256 | echo "$as_me: error: unknown endianness
|
---|
| 7257 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
---|
| 7258 | { (exit 1); exit 1; }; } ;;
|
---|
| 7259 | esac
|
---|
| 7260 |
|
---|
[687] | 7261 | # ---------------------------------------------------------------------------
|
---|
| 7262 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[20853] | 7263 | case $LIBOBJS in
|
---|
| 7264 | "xmalloc.o.$ac_objext" | \
|
---|
| 7265 | *" xmalloc.o.$ac_objext" | \
|
---|
| 7266 | "xmalloc.o.$ac_objext "* | \
|
---|
[8756] | 7267 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[20853] | 7268 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
|
---|
[8756] | 7269 | esac
|
---|
| 7270 |
|
---|
[20853] | 7271 | case $LIBOBJS in
|
---|
| 7272 | "error.$ac_objext" | \
|
---|
| 7273 | *" error.$ac_objext" | \
|
---|
| 7274 | "error.$ac_objext "* | \
|
---|
[8756] | 7275 | *" error.$ac_objext "* ) ;;
|
---|
[20853] | 7276 | *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
|
---|
[8756] | 7277 | esac
|
---|
| 7278 |
|
---|
[687] | 7279 | fi
|
---|
| 7280 |
|
---|
[3063] | 7281 | # ---------------------------------------------------------------------------
|
---|
[687] | 7282 |
|
---|
[3063] | 7283 | moduleDirs=""
|
---|
| 7284 | MODULEDIRS=""
|
---|
[16619] | 7285 | if test -d modules ; then
|
---|
[15300] | 7286 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 7287 | if test -d "$x"; then
|
---|
| 7288 | d="$x/Makefile.in"
|
---|
| 7289 | if test -e "$d"; then
|
---|
| 7290 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 7291 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 7292 | fi
|
---|
[3063] | 7293 | fi
|
---|
[15300] | 7294 | done
|
---|
| 7295 | echo "Making $moduleDirs in modules directory"
|
---|
[3063] | 7296 |
|
---|
[15300] | 7297 | fi
|
---|
[8200] | 7298 |
|
---|
[15300] | 7299 |
|
---|
[687] | 7300 | # ---------------------------------------------------------------------------
|
---|
[1675] | 7301 |
|
---|
[13777] | 7302 | # indexers needs a bindir option to get the binaries into the right place
|
---|
| 7303 | gsdlprefix=`pwd`
|
---|
[19264] | 7304 | ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos"
|
---|
[20853] | 7305 |
|
---|
| 7306 |
|
---|
[16572] | 7307 | subdirs="$subdirs common-src build-src runtime-src"
|
---|
[8756] | 7308 |
|
---|
[13777] | 7309 |
|
---|
[3063] | 7310 | # the list of folders in the src folder
|
---|
[16572] | 7311 | srclist="common-src/Makefile \
|
---|
| 7312 | build-src/Makefile \
|
---|
| 7313 | runtime-src/Makefile"
|
---|
[3063] | 7314 |
|
---|
[20853] | 7315 | ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
|
---|
[8756] | 7316 | cat >confcache <<\_ACEOF
|
---|
[562] | 7317 | # This file is a shell script that caches the results of configure
|
---|
| 7318 | # tests run on this system so they can be shared between configure
|
---|
[8756] | 7319 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 7320 | # It is not useful on other systems. If it contains results you don't
|
---|
| 7321 | # want to keep, you may remove or edit it.
|
---|
[562] | 7322 | #
|
---|
[8756] | 7323 | # config.status only pays attention to the cache file if you give it
|
---|
| 7324 | # the --recheck option to rerun configure.
|
---|
[562] | 7325 | #
|
---|
[8756] | 7326 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 7327 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 7328 | # following values.
|
---|
| 7329 |
|
---|
| 7330 | _ACEOF
|
---|
| 7331 |
|
---|
[562] | 7332 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 7333 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[20853] | 7334 | # So, don't put newlines in cache variables' values.
|
---|
[562] | 7335 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 7336 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[20853] | 7337 | {
|
---|
[8756] | 7338 | (set) 2>&1 |
|
---|
[20853] | 7339 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
| 7340 | *ac_space=\ *)
|
---|
[8756] | 7341 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 7342 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 7343 | sed -n \
|
---|
| 7344 | "s/'/'\\\\''/g;
|
---|
| 7345 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[20853] | 7346 | ;;
|
---|
[8756] | 7347 | *)
|
---|
| 7348 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[20853] | 7349 | sed -n \
|
---|
| 7350 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
[8756] | 7351 | ;;
|
---|
[20853] | 7352 | esac;
|
---|
| 7353 | } |
|
---|
[8756] | 7354 | sed '
|
---|
| 7355 | t clear
|
---|
[20853] | 7356 | : clear
|
---|
[8756] | 7357 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 7358 | t end
|
---|
[20853] | 7359 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 7360 | : end' >>confcache
|
---|
| 7361 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
---|
| 7362 | if test -w $cache_file; then
|
---|
| 7363 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
[8756] | 7364 | cat confcache >$cache_file
|
---|
[562] | 7365 | else
|
---|
[20853] | 7366 | echo "not updating unwritable cache $cache_file"
|
---|
[562] | 7367 | fi
|
---|
| 7368 | fi
|
---|
| 7369 | rm -f confcache
|
---|
| 7370 |
|
---|
| 7371 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 7372 | # Let make expand exec_prefix.
|
---|
| 7373 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 7374 |
|
---|
[20853] | 7375 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 7376 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 7377 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7378 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7379 | if test "x$srcdir" = x.; then
|
---|
| 7380 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 7381 | s/:*\$(srcdir):*/:/;
|
---|
| 7382 | s/:*\${srcdir}:*/:/;
|
---|
| 7383 | s/:*@srcdir@:*/:/;
|
---|
| 7384 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
| 7385 | s/:*$//;
|
---|
| 7386 | s/^[^=]*=[ ]*$//;
|
---|
| 7387 | }'
|
---|
| 7388 | fi
|
---|
| 7389 |
|
---|
[687] | 7390 | DEFS=-DHAVE_CONFIG_H
|
---|
[562] | 7391 |
|
---|
[8756] | 7392 | ac_libobjs=
|
---|
| 7393 | ac_ltlibobjs=
|
---|
| 7394 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 7395 | # 1. Remove the extension, and $U if already installed.
|
---|
[20853] | 7396 | ac_i=`echo "$ac_i" |
|
---|
| 7397 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
---|
| 7398 | # 2. Add them.
|
---|
| 7399 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
---|
| 7400 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
---|
[8756] | 7401 | done
|
---|
| 7402 | LIBOBJS=$ac_libobjs
|
---|
| 7403 |
|
---|
| 7404 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 7405 |
|
---|
| 7406 |
|
---|
| 7407 |
|
---|
[562] | 7408 | : ${CONFIG_STATUS=./config.status}
|
---|
[8756] | 7409 | ac_clean_files_save=$ac_clean_files
|
---|
| 7410 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 7411 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
| 7412 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 7413 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
| 7414 | #! $SHELL
|
---|
| 7415 | # Generated by $as_me.
|
---|
[562] | 7416 | # Run this file to recreate the current configuration.
|
---|
| 7417 | # Compiler output produced by configure, useful for debugging
|
---|
[8756] | 7418 | # configure, is in config.log if it exists.
|
---|
[562] | 7419 |
|
---|
[8756] | 7420 | debug=false
|
---|
| 7421 | ac_cs_recheck=false
|
---|
| 7422 | ac_cs_silent=false
|
---|
| 7423 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 7424 | _ACEOF
|
---|
| 7425 |
|
---|
| 7426 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7427 | ## --------------------- ##
|
---|
| 7428 | ## M4sh Initialization. ##
|
---|
| 7429 | ## --------------------- ##
|
---|
| 7430 |
|
---|
[20853] | 7431 | # Be Bourne compatible
|
---|
[8756] | 7432 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 7433 | emulate sh
|
---|
| 7434 | NULLCMD=:
|
---|
| 7435 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 7436 | # is contrary to our usage. Disable this feature.
|
---|
| 7437 | alias -g '${1+"$@"}'='"$@"'
|
---|
[20853] | 7438 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 7439 | set -o posix
|
---|
[8756] | 7440 | fi
|
---|
[20853] | 7441 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[8756] | 7442 |
|
---|
| 7443 | # Support unset when possible.
|
---|
| 7444 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 7445 | as_unset=unset
|
---|
| 7446 | else
|
---|
| 7447 | as_unset=false
|
---|
| 7448 | fi
|
---|
| 7449 |
|
---|
| 7450 |
|
---|
| 7451 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[20853] | 7452 | $as_unset ENV MAIL MAILPATH
|
---|
[8756] | 7453 | PS1='$ '
|
---|
| 7454 | PS2='> '
|
---|
| 7455 | PS4='+ '
|
---|
| 7456 |
|
---|
| 7457 | # NLS nuisances.
|
---|
| 7458 | for as_var in \
|
---|
| 7459 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 7460 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 7461 | LC_TELEPHONE LC_TIME
|
---|
[562] | 7462 | do
|
---|
[8756] | 7463 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 7464 | eval $as_var=C; export $as_var
|
---|
| 7465 | else
|
---|
[20853] | 7466 | $as_unset $as_var
|
---|
[8756] | 7467 | fi
|
---|
[562] | 7468 | done
|
---|
| 7469 |
|
---|
[8756] | 7470 | # Required to use basename.
|
---|
[20853] | 7471 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
[8756] | 7472 | as_expr=expr
|
---|
| 7473 | else
|
---|
| 7474 | as_expr=false
|
---|
| 7475 | fi
|
---|
[562] | 7476 |
|
---|
[20853] | 7477 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
[8756] | 7478 | as_basename=basename
|
---|
| 7479 | else
|
---|
| 7480 | as_basename=false
|
---|
| 7481 | fi
|
---|
[562] | 7482 |
|
---|
| 7483 |
|
---|
[8756] | 7484 | # Name of the executable.
|
---|
[20853] | 7485 | as_me=`$as_basename "$0" ||
|
---|
[8756] | 7486 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7487 | X"$0" : 'X\(//\)$' \| \
|
---|
[20853] | 7488 | X"$0" : 'X\(/\)$' \| \
|
---|
| 7489 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 7490 | echo X/"$0" |
|
---|
[20853] | 7491 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 7492 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 7493 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 7494 | s/.*/./; q'`
|
---|
[3631] | 7495 |
|
---|
| 7496 |
|
---|
[20853] | 7497 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
| 7498 | # Avoid depending upon Character Ranges.
|
---|
| 7499 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7500 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7501 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7502 | as_cr_digits='0123456789'
|
---|
| 7503 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[8756] | 7504 |
|
---|
[20853] | 7505 | # The user is always right.
|
---|
| 7506 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 7507 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 7508 | echo "exit 0" >>conf$$.sh
|
---|
| 7509 | chmod +x conf$$.sh
|
---|
| 7510 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 7511 | PATH_SEPARATOR=';'
|
---|
| 7512 | else
|
---|
| 7513 | PATH_SEPARATOR=:
|
---|
| 7514 | fi
|
---|
| 7515 | rm -f conf$$.sh
|
---|
| 7516 | fi
|
---|
[8756] | 7517 |
|
---|
[20853] | 7518 |
|
---|
[8756] | 7519 | as_lineno_1=$LINENO
|
---|
| 7520 | as_lineno_2=$LINENO
|
---|
[20853] | 7521 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
[8756] | 7522 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[20853] | 7523 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
| 7524 | # Find who we are. Look in the path if we contain no path at all
|
---|
| 7525 | # relative or not.
|
---|
| 7526 | case $0 in
|
---|
| 7527 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 7528 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 7529 | for as_dir in $PATH
|
---|
| 7530 | do
|
---|
| 7531 | IFS=$as_save_IFS
|
---|
| 7532 | test -z "$as_dir" && as_dir=.
|
---|
| 7533 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 7534 | done
|
---|
[8756] | 7535 |
|
---|
[20853] | 7536 | ;;
|
---|
| 7537 | esac
|
---|
| 7538 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 7539 | # in which case we are not to be found in the path.
|
---|
| 7540 | if test "x$as_myself" = x; then
|
---|
| 7541 | as_myself=$0
|
---|
| 7542 | fi
|
---|
| 7543 | if test ! -f "$as_myself"; then
|
---|
| 7544 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
| 7545 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
| 7546 | { (exit 1); exit 1; }; }
|
---|
| 7547 | fi
|
---|
| 7548 | case $CONFIG_SHELL in
|
---|
| 7549 | '')
|
---|
| 7550 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 7551 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 7552 | do
|
---|
| 7553 | IFS=$as_save_IFS
|
---|
| 7554 | test -z "$as_dir" && as_dir=.
|
---|
| 7555 | for as_base in sh bash ksh sh5; do
|
---|
| 7556 | case $as_dir in
|
---|
| 7557 | /*)
|
---|
| 7558 | if ("$as_dir/$as_base" -c '
|
---|
| 7559 | as_lineno_1=$LINENO
|
---|
| 7560 | as_lineno_2=$LINENO
|
---|
| 7561 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 7562 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 7563 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
| 7564 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
| 7565 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
| 7566 | CONFIG_SHELL=$as_dir/$as_base
|
---|
| 7567 | export CONFIG_SHELL
|
---|
| 7568 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
| 7569 | fi;;
|
---|
| 7570 | esac
|
---|
| 7571 | done
|
---|
| 7572 | done
|
---|
| 7573 | ;;
|
---|
| 7574 | esac
|
---|
| 7575 |
|
---|
[8756] | 7576 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 7577 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
[20853] | 7578 | # line-number line before each line; the second 'sed' does the real
|
---|
| 7579 | # work. The second script uses 'N' to pair each line-number line
|
---|
| 7580 | # with the numbered line, and appends trailing '-' during
|
---|
| 7581 | # substitution so that $LINENO is not a special case at line end.
|
---|
[8756] | 7582 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[20853] | 7583 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 7584 | sed '=' <$as_myself |
|
---|
[8756] | 7585 | sed '
|
---|
| 7586 | N
|
---|
[20853] | 7587 | s,$,-,
|
---|
| 7588 | : loop
|
---|
| 7589 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
[8756] | 7590 | t loop
|
---|
[20853] | 7591 | s,-$,,
|
---|
| 7592 | s,^['$as_cr_digits']*\n,,
|
---|
[8756] | 7593 | ' >$as_me.lineno &&
|
---|
[20853] | 7594 | chmod +x $as_me.lineno ||
|
---|
| 7595 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
| 7596 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
[8756] | 7597 | { (exit 1); exit 1; }; }
|
---|
| 7598 |
|
---|
| 7599 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 7600 | # (the dirname of $[0] is not the place where we might find the
|
---|
[20853] | 7601 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 7602 | . ./$as_me.lineno
|
---|
[8756] | 7603 | # Exit status is that of the last command.
|
---|
| 7604 | exit
|
---|
| 7605 | }
|
---|
| 7606 |
|
---|
| 7607 |
|
---|
[20853] | 7608 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 7609 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 7610 | ' ECHO_T=' ' ;;
|
---|
| 7611 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 7612 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
[8756] | 7613 | esac
|
---|
| 7614 |
|
---|
[20853] | 7615 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
[8756] | 7616 | as_expr=expr
|
---|
| 7617 | else
|
---|
| 7618 | as_expr=false
|
---|
| 7619 | fi
|
---|
| 7620 |
|
---|
| 7621 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 7622 | echo >conf$$.file
|
---|
| 7623 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
[20853] | 7624 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 7625 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 7626 | if test -f conf$$.exe; then
|
---|
| 7627 | # Don't use ln at all; we don't have any links
|
---|
[8756] | 7628 | as_ln_s='cp -p'
|
---|
[20853] | 7629 | else
|
---|
| 7630 | as_ln_s='ln -s'
|
---|
| 7631 | fi
|
---|
[8756] | 7632 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7633 | as_ln_s=ln
|
---|
| 7634 | else
|
---|
| 7635 | as_ln_s='cp -p'
|
---|
| 7636 | fi
|
---|
[20853] | 7637 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[8756] | 7638 |
|
---|
| 7639 | if mkdir -p . 2>/dev/null; then
|
---|
| 7640 | as_mkdir_p=:
|
---|
| 7641 | else
|
---|
| 7642 | test -d ./-p && rmdir ./-p
|
---|
| 7643 | as_mkdir_p=false
|
---|
| 7644 | fi
|
---|
| 7645 |
|
---|
[20853] | 7646 | as_executable_p="test -f"
|
---|
[8756] | 7647 |
|
---|
| 7648 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7649 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7650 |
|
---|
| 7651 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7652 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7653 |
|
---|
| 7654 |
|
---|
[20853] | 7655 | # IFS
|
---|
| 7656 | # We need space, tab and new line, in precisely that order.
|
---|
| 7657 | as_nl='
|
---|
| 7658 | '
|
---|
| 7659 | IFS=" $as_nl"
|
---|
| 7660 |
|
---|
| 7661 | # CDPATH.
|
---|
| 7662 | $as_unset CDPATH
|
---|
| 7663 |
|
---|
[8756] | 7664 | exec 6>&1
|
---|
| 7665 |
|
---|
[20853] | 7666 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
[8756] | 7667 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[20853] | 7668 | # values after options handling. Logging --version etc. is OK.
|
---|
| 7669 | exec 5>>config.log
|
---|
| 7670 | {
|
---|
| 7671 | echo
|
---|
| 7672 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7673 | ## Running $as_me. ##
|
---|
| 7674 | _ASBOX
|
---|
| 7675 | } >&5
|
---|
| 7676 | cat >&5 <<_CSEOF
|
---|
| 7677 |
|
---|
[8756] | 7678 | This file was extended by $as_me, which was
|
---|
[20853] | 7679 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
[8756] | 7680 |
|
---|
| 7681 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7682 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7683 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7684 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7685 | $ $0 $@
|
---|
| 7686 |
|
---|
[20853] | 7687 | _CSEOF
|
---|
| 7688 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
| 7689 | echo >&5
|
---|
[8756] | 7690 | _ACEOF
|
---|
| 7691 |
|
---|
| 7692 | # Files that config.status was made for.
|
---|
[20853] | 7693 | if test -n "$ac_config_files"; then
|
---|
| 7694 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
| 7695 | fi
|
---|
[8756] | 7696 |
|
---|
[20853] | 7697 | if test -n "$ac_config_headers"; then
|
---|
| 7698 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
| 7699 | fi
|
---|
[8756] | 7700 |
|
---|
[20853] | 7701 | if test -n "$ac_config_links"; then
|
---|
| 7702 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
| 7703 | fi
|
---|
| 7704 |
|
---|
| 7705 | if test -n "$ac_config_commands"; then
|
---|
| 7706 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
| 7707 | fi
|
---|
| 7708 |
|
---|
[8756] | 7709 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20853] | 7710 |
|
---|
[8756] | 7711 | ac_cs_usage="\
|
---|
| 7712 | \`$as_me' instantiates files from templates according to the
|
---|
| 7713 | current configuration.
|
---|
| 7714 |
|
---|
| 7715 | Usage: $0 [OPTIONS] [FILE]...
|
---|
| 7716 |
|
---|
| 7717 | -h, --help print this help, then exit
|
---|
[20853] | 7718 | -V, --version print version number, then exit
|
---|
[8756] | 7719 | -q, --quiet do not print progress messages
|
---|
| 7720 | -d, --debug don't remove temporary files
|
---|
| 7721 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 7722 | --file=FILE[:TEMPLATE]
|
---|
| 7723 | instantiate the configuration file FILE
|
---|
| 7724 | --header=FILE[:TEMPLATE]
|
---|
| 7725 | instantiate the configuration header FILE
|
---|
| 7726 |
|
---|
| 7727 | Configuration files:
|
---|
| 7728 | $config_files
|
---|
| 7729 |
|
---|
| 7730 | Configuration headers:
|
---|
| 7731 | $config_headers
|
---|
| 7732 |
|
---|
| 7733 | Report bugs to <[email protected]>."
|
---|
[20853] | 7734 | _ACEOF
|
---|
[20842] | 7735 |
|
---|
[8756] | 7736 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 7737 | ac_cs_version="\\
|
---|
| 7738 | config.status
|
---|
[20853] | 7739 | configured by $0, generated by GNU Autoconf 2.59,
|
---|
| 7740 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
[8756] | 7741 |
|
---|
[20853] | 7742 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
[8756] | 7743 | This config.status script is free software; the Free Software Foundation
|
---|
| 7744 | gives unlimited permission to copy, distribute and modify it."
|
---|
[20853] | 7745 | srcdir=$srcdir
|
---|
| 7746 | INSTALL="$INSTALL"
|
---|
[8756] | 7747 | _ACEOF
|
---|
| 7748 |
|
---|
| 7749 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7750 | # If no file are specified by the user, then we need to provide default
|
---|
| 7751 | # value. By we need to know if files were specified by the user.
|
---|
| 7752 | ac_need_defaults=:
|
---|
| 7753 | while test $# != 0
|
---|
| 7754 | do
|
---|
| 7755 | case $1 in
|
---|
| 7756 | --*=*)
|
---|
[20853] | 7757 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
| 7758 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
[8756] | 7759 | ac_shift=:
|
---|
| 7760 | ;;
|
---|
[20853] | 7761 | -*)
|
---|
[8756] | 7762 | ac_option=$1
|
---|
| 7763 | ac_optarg=$2
|
---|
| 7764 | ac_shift=shift
|
---|
| 7765 | ;;
|
---|
[20853] | 7766 | *) # This is not an option, so the user has probably given explicit
|
---|
| 7767 | # arguments.
|
---|
| 7768 | ac_option=$1
|
---|
| 7769 | ac_need_defaults=false;;
|
---|
[8756] | 7770 | esac
|
---|
| 7771 |
|
---|
| 7772 | case $ac_option in
|
---|
| 7773 | # Handling of the options.
|
---|
[20853] | 7774 | _ACEOF
|
---|
| 7775 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[8756] | 7776 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7777 | ac_cs_recheck=: ;;
|
---|
[20853] | 7778 | --version | --vers* | -V )
|
---|
| 7779 | echo "$ac_cs_version"; exit 0 ;;
|
---|
| 7780 | --he | --h)
|
---|
| 7781 | # Conflict between --help and --header
|
---|
| 7782 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
| 7783 | Try \`$0 --help' for more information." >&5
|
---|
| 7784 | echo "$as_me: error: ambiguous option: $1
|
---|
| 7785 | Try \`$0 --help' for more information." >&2;}
|
---|
| 7786 | { (exit 1); exit 1; }; };;
|
---|
| 7787 | --help | --hel | -h )
|
---|
| 7788 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
| 7789 | --debug | --d* | -d )
|
---|
[8756] | 7790 | debug=: ;;
|
---|
| 7791 | --file | --fil | --fi | --f )
|
---|
| 7792 | $ac_shift
|
---|
| 7793 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
| 7794 | ac_need_defaults=false;;
|
---|
| 7795 | --header | --heade | --head | --hea )
|
---|
| 7796 | $ac_shift
|
---|
| 7797 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
| 7798 | ac_need_defaults=false;;
|
---|
| 7799 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7800 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7801 | ac_cs_silent=: ;;
|
---|
| 7802 |
|
---|
| 7803 | # This is an error.
|
---|
[20853] | 7804 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
| 7805 | Try \`$0 --help' for more information." >&5
|
---|
| 7806 | echo "$as_me: error: unrecognized option: $1
|
---|
| 7807 | Try \`$0 --help' for more information." >&2;}
|
---|
[8756] | 7808 | { (exit 1); exit 1; }; } ;;
|
---|
| 7809 |
|
---|
[20853] | 7810 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
[8756] | 7811 |
|
---|
| 7812 | esac
|
---|
| 7813 | shift
|
---|
[8200] | 7814 | done
|
---|
[8756] | 7815 |
|
---|
| 7816 | ac_configure_extra_args=
|
---|
| 7817 |
|
---|
| 7818 | if $ac_cs_silent; then
|
---|
| 7819 | exec 6>/dev/null
|
---|
| 7820 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
[8200] | 7821 | fi
|
---|
[562] | 7822 |
|
---|
[8756] | 7823 | _ACEOF
|
---|
| 7824 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 7825 | if \$ac_cs_recheck; then
|
---|
[20853] | 7826 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
| 7827 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
[8756] | 7828 | fi
|
---|
[8200] | 7829 |
|
---|
[8756] | 7830 | _ACEOF
|
---|
| 7831 |
|
---|
| 7832 |
|
---|
[20853] | 7833 |
|
---|
| 7834 |
|
---|
| 7835 |
|
---|
[20842] | 7836 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[8756] | 7837 | for ac_config_target in $ac_config_targets
|
---|
| 7838 | do
|
---|
[20853] | 7839 | case "$ac_config_target" in
|
---|
| 7840 | # Handling of arguments.
|
---|
| 7841 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7842 | "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7843 | "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7844 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
[8756] | 7845 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 7846 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 7847 | { (exit 1); exit 1; }; };;
|
---|
[562] | 7848 | esac
|
---|
[8756] | 7849 | done
|
---|
[562] | 7850 |
|
---|
[8756] | 7851 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7852 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7853 | # We use the long form for the default assignment because of an extremely
|
---|
| 7854 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7855 | if $ac_need_defaults; then
|
---|
| 7856 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7857 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7858 | fi
|
---|
[8200] | 7859 |
|
---|
[8756] | 7860 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[20853] | 7861 | # simply because there is no reason to put it here, and in addition,
|
---|
[8756] | 7862 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[20853] | 7863 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
[8756] | 7864 | $debug ||
|
---|
| 7865 | {
|
---|
[20853] | 7866 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
[8756] | 7867 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
| 7868 | }
|
---|
[20853] | 7869 |
|
---|
[8756] | 7870 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7871 |
|
---|
| 7872 | {
|
---|
[20853] | 7873 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
[8756] | 7874 | test -n "$tmp" && test -d "$tmp"
|
---|
| 7875 | } ||
|
---|
| 7876 | {
|
---|
[20853] | 7877 | tmp=./confstat$$-$RANDOM
|
---|
| 7878 | (umask 077 && mkdir $tmp)
|
---|
[8756] | 7879 | } ||
|
---|
| 7880 | {
|
---|
| 7881 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
| 7882 | { (exit 1); exit 1; }
|
---|
| 7883 | }
|
---|
| 7884 |
|
---|
[20853] | 7885 | _ACEOF
|
---|
| 7886 |
|
---|
| 7887 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 7888 |
|
---|
[8756] | 7889 | #
|
---|
[20853] | 7890 | # CONFIG_FILES section.
|
---|
[8756] | 7891 | #
|
---|
| 7892 |
|
---|
| 7893 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 7894 | # This happens for instance when ./config.status config.h
|
---|
[20853] | 7895 | if test -n "\$CONFIG_FILES"; then
|
---|
| 7896 | # Protect against being on the right side of a sed subst in config.status.
|
---|
| 7897 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
| 7898 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
| 7899 | s,@SHELL@,$SHELL,;t t
|
---|
| 7900 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
| 7901 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
| 7902 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
| 7903 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
| 7904 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
| 7905 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
| 7906 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
| 7907 | s,@prefix@,$prefix,;t t
|
---|
| 7908 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
| 7909 | s,@bindir@,$bindir,;t t
|
---|
| 7910 | s,@sbindir@,$sbindir,;t t
|
---|
| 7911 | s,@libexecdir@,$libexecdir,;t t
|
---|
| 7912 | s,@datadir@,$datadir,;t t
|
---|
| 7913 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
| 7914 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
| 7915 | s,@localstatedir@,$localstatedir,;t t
|
---|
| 7916 | s,@libdir@,$libdir,;t t
|
---|
| 7917 | s,@includedir@,$includedir,;t t
|
---|
| 7918 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
| 7919 | s,@infodir@,$infodir,;t t
|
---|
| 7920 | s,@mandir@,$mandir,;t t
|
---|
| 7921 | s,@build_alias@,$build_alias,;t t
|
---|
| 7922 | s,@host_alias@,$host_alias,;t t
|
---|
| 7923 | s,@target_alias@,$target_alias,;t t
|
---|
| 7924 | s,@DEFS@,$DEFS,;t t
|
---|
| 7925 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
| 7926 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
| 7927 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
| 7928 | s,@LIBS@,$LIBS,;t t
|
---|
| 7929 | s,@PACKAGE@,$PACKAGE,;t t
|
---|
| 7930 | s,@VERSION@,$VERSION,;t t
|
---|
| 7931 | s,@USE_FASTCGI@,$USE_FASTCGI,;t t
|
---|
| 7932 | s,@USE_LANGACTION@,$USE_LANGACTION,;t t
|
---|
| 7933 | s,@USE_CORBA@,$USE_CORBA,;t t
|
---|
| 7934 | s,@MICO_DIR@,$MICO_DIR,;t t
|
---|
| 7935 | s,@USE_Z3950@,$USE_Z3950,;t t
|
---|
| 7936 | s,@USE_YAZ@,$USE_YAZ,;t t
|
---|
| 7937 | s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
|
---|
| 7938 | s,@USE_SQLITE@,$USE_SQLITE,;t t
|
---|
| 7939 | s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
|
---|
[21366] | 7940 | s,@ENABLE_JNI@,$ENABLE_JNI,;t t
|
---|
[21330] | 7941 | s,@ENABLE_MG@,$ENABLE_MG,;t t
|
---|
| 7942 | s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
|
---|
| 7943 | s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
|
---|
[20853] | 7944 | s,@LDFLAGS@,$LDFLAGS,;t t
|
---|
| 7945 | s,@CFLAGS@,$CFLAGS,;t t
|
---|
| 7946 | s,@CC@,$CC,;t t
|
---|
| 7947 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
---|
| 7948 | s,@ac_ct_CC@,$ac_ct_CC,;t t
|
---|
| 7949 | s,@EXEEXT@,$EXEEXT,;t t
|
---|
| 7950 | s,@OBJEXT@,$OBJEXT,;t t
|
---|
| 7951 | s,@CXX@,$CXX,;t t
|
---|
| 7952 | s,@CXXFLAGS@,$CXXFLAGS,;t t
|
---|
| 7953 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
---|
| 7954 | s,@AWK@,$AWK,;t t
|
---|
| 7955 | s,@YACC@,$YACC,;t t
|
---|
| 7956 | s,@build@,$build,;t t
|
---|
| 7957 | s,@build_cpu@,$build_cpu,;t t
|
---|
| 7958 | s,@build_vendor@,$build_vendor,;t t
|
---|
| 7959 | s,@build_os@,$build_os,;t t
|
---|
| 7960 | s,@host@,$host,;t t
|
---|
| 7961 | s,@host_cpu@,$host_cpu,;t t
|
---|
| 7962 | s,@host_vendor@,$host_vendor,;t t
|
---|
| 7963 | s,@host_os@,$host_os,;t t
|
---|
| 7964 | s,@target@,$target,;t t
|
---|
| 7965 | s,@target_cpu@,$target_cpu,;t t
|
---|
| 7966 | s,@target_vendor@,$target_vendor,;t t
|
---|
| 7967 | s,@target_os@,$target_os,;t t
|
---|
| 7968 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
---|
| 7969 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
---|
| 7970 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
---|
| 7971 | s,@LN_S@,$LN_S,;t t
|
---|
| 7972 | s,@SET_MAKE@,$SET_MAKE,;t t
|
---|
| 7973 | s,@RANLIB@,$RANLIB,;t t
|
---|
| 7974 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
---|
| 7975 | s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
|
---|
| 7976 | s,@MICO_VER@,$MICO_VER,;t t
|
---|
| 7977 | s,@CPP@,$CPP,;t t
|
---|
| 7978 | s,@EGREP@,$EGREP,;t t
|
---|
| 7979 | s,@U@,$U,;t t
|
---|
| 7980 | s,@ANSI2KNR@,$ANSI2KNR,;t t
|
---|
| 7981 | s,@ALLOCA@,$ALLOCA,;t t
|
---|
| 7982 | s,@LIBOBJS@,$LIBOBJS,;t t
|
---|
| 7983 | s,@STATIC@,$STATIC,;t t
|
---|
| 7984 | s,@gsdlos@,$gsdlos,;t t
|
---|
| 7985 | s,@MODULEDIRS@,$MODULEDIRS,;t t
|
---|
| 7986 | s,@subdirs@,$subdirs,;t t
|
---|
| 7987 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
---|
| 7988 | CEOF
|
---|
[8756] | 7989 |
|
---|
| 7990 | _ACEOF
|
---|
| 7991 |
|
---|
[20853] | 7992 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7993 | # Split the substitutions into bite-sized pieces for seds with
|
---|
| 7994 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
| 7995 | ac_max_sed_lines=48
|
---|
| 7996 | ac_sed_frag=1 # Number of current file.
|
---|
| 7997 | ac_beg=1 # First line for current file.
|
---|
| 7998 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
| 7999 | ac_more_lines=:
|
---|
| 8000 | ac_sed_cmds=
|
---|
| 8001 | while $ac_more_lines; do
|
---|
| 8002 | if test $ac_beg -gt 1; then
|
---|
| 8003 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 8004 | else
|
---|
| 8005 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 8006 | fi
|
---|
| 8007 | if test ! -s $tmp/subs.frag; then
|
---|
| 8008 | ac_more_lines=false
|
---|
| 8009 | else
|
---|
| 8010 | # The purpose of the label and of the branching condition is to
|
---|
| 8011 | # speed up the sed processing (if there are no `@' at all, there
|
---|
| 8012 | # is no need to browse any of the substitutions).
|
---|
| 8013 | # These are the two extra sed commands mentioned above.
|
---|
| 8014 | (echo ':t
|
---|
| 8015 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
| 8016 | if test -z "$ac_sed_cmds"; then
|
---|
| 8017 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 8018 | else
|
---|
| 8019 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 8020 | fi
|
---|
| 8021 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
| 8022 | ac_beg=$ac_end
|
---|
| 8023 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
| 8024 | fi
|
---|
| 8025 | done
|
---|
| 8026 | if test -z "$ac_sed_cmds"; then
|
---|
| 8027 | ac_sed_cmds=cat
|
---|
[562] | 8028 | fi
|
---|
[20853] | 8029 | fi # test -n "$CONFIG_FILES"
|
---|
[562] | 8030 |
|
---|
[8756] | 8031 | _ACEOF
|
---|
| 8032 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20853] | 8033 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
| 8034 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 8035 | case $ac_file in
|
---|
| 8036 | - | *:- | *:-:* ) # input from stdin
|
---|
| 8037 | cat >$tmp/stdin
|
---|
| 8038 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 8039 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 8040 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 8041 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 8042 | * ) ac_file_in=$ac_file.in ;;
|
---|
[562] | 8043 | esac
|
---|
| 8044 |
|
---|
[20853] | 8045 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
| 8046 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
[8756] | 8047 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8048 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 8049 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[20853] | 8050 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 8051 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 8052 | echo X"$ac_file" |
|
---|
[20853] | 8053 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8054 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8055 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8056 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8057 | s/.*/./; q'`
|
---|
| 8058 | { if $as_mkdir_p; then
|
---|
| 8059 | mkdir -p "$ac_dir"
|
---|
| 8060 | else
|
---|
| 8061 | as_dir="$ac_dir"
|
---|
[8756] | 8062 | as_dirs=
|
---|
[20853] | 8063 | while test ! -d "$as_dir"; do
|
---|
| 8064 | as_dirs="$as_dir $as_dirs"
|
---|
| 8065 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
[8756] | 8066 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8067 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8068 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[20853] | 8069 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 8070 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 8071 | echo X"$as_dir" |
|
---|
[20853] | 8072 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8073 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8074 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8075 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8076 | s/.*/./; q'`
|
---|
[8756] | 8077 | done
|
---|
[20853] | 8078 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 8079 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 8080 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
[8756] | 8081 | { (exit 1); exit 1; }; }; }
|
---|
[20853] | 8082 |
|
---|
[8756] | 8083 | ac_builddir=.
|
---|
| 8084 |
|
---|
[20853] | 8085 | if test "$ac_dir" != .; then
|
---|
[8756] | 8086 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20853] | 8087 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 8088 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 8089 | else
|
---|
| 8090 | ac_dir_suffix= ac_top_builddir=
|
---|
| 8091 | fi
|
---|
[8756] | 8092 |
|
---|
| 8093 | case $srcdir in
|
---|
[20853] | 8094 | .) # No --srcdir option. We are building in place.
|
---|
[8756] | 8095 | ac_srcdir=.
|
---|
[20853] | 8096 | if test -z "$ac_top_builddir"; then
|
---|
| 8097 | ac_top_srcdir=.
|
---|
| 8098 | else
|
---|
| 8099 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 8100 | fi ;;
|
---|
| 8101 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
[8756] | 8102 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20853] | 8103 | ac_top_srcdir=$srcdir ;;
|
---|
| 8104 | *) # Relative path.
|
---|
| 8105 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 8106 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
[8756] | 8107 | esac
|
---|
| 8108 |
|
---|
[20853] | 8109 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 8110 | # the directories may not exist.
|
---|
| 8111 | case `pwd` in
|
---|
| 8112 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 8113 | *)
|
---|
| 8114 | case "$ac_dir" in
|
---|
| 8115 | .) ac_abs_builddir=`pwd`;;
|
---|
| 8116 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 8117 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 8118 | esac;;
|
---|
| 8119 | esac
|
---|
| 8120 | case $ac_abs_builddir in
|
---|
| 8121 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8122 | *)
|
---|
| 8123 | case ${ac_top_builddir}. in
|
---|
| 8124 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 8125 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8126 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 8127 | esac;;
|
---|
| 8128 | esac
|
---|
| 8129 | case $ac_abs_builddir in
|
---|
| 8130 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8131 | *)
|
---|
| 8132 | case $ac_srcdir in
|
---|
| 8133 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 8134 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8135 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 8136 | esac;;
|
---|
| 8137 | esac
|
---|
| 8138 | case $ac_abs_builddir in
|
---|
| 8139 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8140 | *)
|
---|
| 8141 | case $ac_top_srcdir in
|
---|
| 8142 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 8143 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8144 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 8145 | esac;;
|
---|
| 8146 | esac
|
---|
[8756] | 8147 |
|
---|
| 8148 |
|
---|
| 8149 | case $INSTALL in
|
---|
| 8150 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[20853] | 8151 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
---|
[8200] | 8152 | esac
|
---|
[562] | 8153 |
|
---|
[20853] | 8154 | if test x"$ac_file" != x-; then
|
---|
| 8155 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 8156 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 8157 | rm -f "$ac_file"
|
---|
| 8158 | fi
|
---|
| 8159 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 8160 | # use $as_me), people would be surprised to read:
|
---|
| 8161 | # /* config.h. Generated by config.status. */
|
---|
| 8162 | if test x"$ac_file" = x-; then
|
---|
| 8163 | configure_input=
|
---|
| 8164 | else
|
---|
| 8165 | configure_input="$ac_file. "
|
---|
| 8166 | fi
|
---|
| 8167 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
| 8168 | sed 's,.*/,,'` by configure."
|
---|
[562] | 8169 |
|
---|
[20853] | 8170 | # First look for the input files in the build tree, otherwise in the
|
---|
| 8171 | # src tree.
|
---|
| 8172 | ac_file_inputs=`IFS=:
|
---|
| 8173 | for f in $ac_file_in; do
|
---|
| 8174 | case $f in
|
---|
| 8175 | -) echo $tmp/stdin ;;
|
---|
| 8176 | [\\/$]*)
|
---|
| 8177 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 8178 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8179 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8180 | { (exit 1); exit 1; }; }
|
---|
| 8181 | echo "$f";;
|
---|
| 8182 | *) # Relative
|
---|
| 8183 | if test -f "$f"; then
|
---|
| 8184 | # Build tree
|
---|
| 8185 | echo "$f"
|
---|
| 8186 | elif test -f "$srcdir/$f"; then
|
---|
| 8187 | # Source tree
|
---|
| 8188 | echo "$srcdir/$f"
|
---|
| 8189 | else
|
---|
| 8190 | # /dev/null tree
|
---|
| 8191 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8192 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8193 | { (exit 1); exit 1; }; }
|
---|
| 8194 | fi;;
|
---|
| 8195 | esac
|
---|
| 8196 | done` || { (exit 1); exit 1; }
|
---|
[8756] | 8197 | _ACEOF
|
---|
| 8198 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8199 | sed "$ac_vpsub
|
---|
| 8200 | $extrasub
|
---|
| 8201 | _ACEOF
|
---|
| 8202 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8203 | :t
|
---|
| 8204 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[20853] | 8205 | s,@configure_input@,$configure_input,;t t
|
---|
| 8206 | s,@srcdir@,$ac_srcdir,;t t
|
---|
| 8207 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
| 8208 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
| 8209 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
| 8210 | s,@builddir@,$ac_builddir,;t t
|
---|
| 8211 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
| 8212 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
| 8213 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
| 8214 | s,@INSTALL@,$ac_INSTALL,;t t
|
---|
| 8215 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
| 8216 | rm -f $tmp/stdin
|
---|
| 8217 | if test x"$ac_file" != x-; then
|
---|
| 8218 | mv $tmp/out $ac_file
|
---|
| 8219 | else
|
---|
| 8220 | cat $tmp/out
|
---|
| 8221 | rm -f $tmp/out
|
---|
| 8222 | fi
|
---|
[8756] | 8223 |
|
---|
[20853] | 8224 | done
|
---|
| 8225 | _ACEOF
|
---|
| 8226 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[8756] | 8227 |
|
---|
[20853] | 8228 | #
|
---|
| 8229 | # CONFIG_HEADER section.
|
---|
| 8230 | #
|
---|
| 8231 |
|
---|
| 8232 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
| 8233 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
| 8234 | #
|
---|
| 8235 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
| 8236 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
| 8237 | ac_dB='[ ].*$,\1#\2'
|
---|
| 8238 | ac_dC=' '
|
---|
| 8239 | ac_dD=',;t'
|
---|
| 8240 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
| 8241 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
| 8242 | ac_uB='$,\1#\2define\3'
|
---|
| 8243 | ac_uC=' '
|
---|
| 8244 | ac_uD=',;t'
|
---|
| 8245 |
|
---|
| 8246 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
| 8247 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
[8756] | 8248 | case $ac_file in
|
---|
[20853] | 8249 | - | *:- | *:-:* ) # input from stdin
|
---|
| 8250 | cat >$tmp/stdin
|
---|
| 8251 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 8252 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 8253 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 8254 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 8255 | * ) ac_file_in=$ac_file.in ;;
|
---|
[687] | 8256 | esac
|
---|
[20853] | 8257 |
|
---|
| 8258 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 8259 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 8260 |
|
---|
| 8261 | # First look for the input files in the build tree, otherwise in the
|
---|
| 8262 | # src tree.
|
---|
| 8263 | ac_file_inputs=`IFS=:
|
---|
| 8264 | for f in $ac_file_in; do
|
---|
| 8265 | case $f in
|
---|
| 8266 | -) echo $tmp/stdin ;;
|
---|
| 8267 | [\\/$]*)
|
---|
| 8268 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 8269 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8270 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8271 | { (exit 1); exit 1; }; }
|
---|
| 8272 | # Do quote $f, to prevent DOS paths from being IFS'd.
|
---|
| 8273 | echo "$f";;
|
---|
| 8274 | *) # Relative
|
---|
| 8275 | if test -f "$f"; then
|
---|
| 8276 | # Build tree
|
---|
| 8277 | echo "$f"
|
---|
| 8278 | elif test -f "$srcdir/$f"; then
|
---|
| 8279 | # Source tree
|
---|
| 8280 | echo "$srcdir/$f"
|
---|
| 8281 | else
|
---|
| 8282 | # /dev/null tree
|
---|
| 8283 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8284 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8285 | { (exit 1); exit 1; }; }
|
---|
| 8286 | fi;;
|
---|
| 8287 | esac
|
---|
| 8288 | done` || { (exit 1); exit 1; }
|
---|
| 8289 | # Remove the trailing spaces.
|
---|
| 8290 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
| 8291 |
|
---|
[20842] | 8292 | _ACEOF
|
---|
[562] | 8293 |
|
---|
[20853] | 8294 | # Transform confdefs.h into two sed scripts, `conftest.defines' and
|
---|
| 8295 | # `conftest.undefs', that substitutes the proper values into
|
---|
| 8296 | # config.h.in to produce config.h. The first handles `#define'
|
---|
| 8297 | # templates, and the second `#undef' templates.
|
---|
| 8298 | # And first: Protect against being on the right side of a sed subst in
|
---|
| 8299 | # config.status. Protect against being in an unquoted here document
|
---|
| 8300 | # in config.status.
|
---|
| 8301 | rm -f conftest.defines conftest.undefs
|
---|
| 8302 | # Using a here document instead of a string reduces the quoting nightmare.
|
---|
| 8303 | # Putting comments in sed scripts is not portable.
|
---|
| 8304 | #
|
---|
| 8305 | # `end' is used to avoid that the second main sed command (meant for
|
---|
| 8306 | # 0-ary CPP macros) applies to n-ary macro definitions.
|
---|
| 8307 | # See the Autoconf documentation for `clear'.
|
---|
| 8308 | cat >confdef2sed.sed <<\_ACEOF
|
---|
| 8309 | s/[\\&,]/\\&/g
|
---|
| 8310 | s,[\\$`],\\&,g
|
---|
| 8311 | t clear
|
---|
| 8312 | : clear
|
---|
| 8313 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
---|
| 8314 | t end
|
---|
| 8315 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
---|
| 8316 | : end
|
---|
| 8317 | _ACEOF
|
---|
| 8318 | # If some macros were called several times there might be several times
|
---|
| 8319 | # the same #defines, which is useless. Nevertheless, we may not want to
|
---|
| 8320 | # sort them, since we want the *last* AC-DEFINE to be honored.
|
---|
| 8321 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
---|
| 8322 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
---|
| 8323 | rm -f confdef2sed.sed
|
---|
[687] | 8324 |
|
---|
[20853] | 8325 | # This sed command replaces #undef with comments. This is necessary, for
|
---|
[687] | 8326 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 8327 | # on some systems where configure will not decide to define it.
|
---|
[20853] | 8328 | cat >>conftest.undefs <<\_ACEOF
|
---|
| 8329 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
| 8330 | _ACEOF
|
---|
[687] | 8331 |
|
---|
[20853] | 8332 | # Break up conftest.defines because some shells have a limit on the size
|
---|
| 8333 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 8334 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
---|
| 8335 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
---|
| 8336 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
---|
| 8337 | echo ' :' >>$CONFIG_STATUS
|
---|
| 8338 | rm -f conftest.tail
|
---|
| 8339 | while grep . conftest.defines >/dev/null
|
---|
[8756] | 8340 | do
|
---|
[20853] | 8341 | # Write a limited-size here document to $tmp/defines.sed.
|
---|
| 8342 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 8343 | # Speed up: don't consider the non `#define' lines.
|
---|
| 8344 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
---|
| 8345 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 8346 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 8347 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 8348 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
[8756] | 8349 | echo 'CEOF
|
---|
[20853] | 8350 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
| 8351 | rm -f $tmp/in
|
---|
| 8352 | mv $tmp/out $tmp/in
|
---|
| 8353 | ' >>$CONFIG_STATUS
|
---|
| 8354 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
---|
[8756] | 8355 | rm -f conftest.defines
|
---|
| 8356 | mv conftest.tail conftest.defines
|
---|
| 8357 | done
|
---|
[20853] | 8358 | rm -f conftest.defines
|
---|
| 8359 | echo ' fi # grep' >>$CONFIG_STATUS
|
---|
| 8360 | echo >>$CONFIG_STATUS
|
---|
[687] | 8361 |
|
---|
[20853] | 8362 | # Break up conftest.undefs because some shells have a limit on the size
|
---|
| 8363 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 8364 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
---|
| 8365 | rm -f conftest.tail
|
---|
| 8366 | while grep . conftest.undefs >/dev/null
|
---|
| 8367 | do
|
---|
| 8368 | # Write a limited-size here document to $tmp/undefs.sed.
|
---|
| 8369 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 8370 | # Speed up: don't consider the non `#undef'
|
---|
| 8371 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
---|
| 8372 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 8373 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 8374 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 8375 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
---|
| 8376 | echo 'CEOF
|
---|
| 8377 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
| 8378 | rm -f $tmp/in
|
---|
| 8379 | mv $tmp/out $tmp/in
|
---|
| 8380 | ' >>$CONFIG_STATUS
|
---|
| 8381 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
---|
| 8382 | rm -f conftest.undefs
|
---|
| 8383 | mv conftest.tail conftest.undefs
|
---|
| 8384 | done
|
---|
| 8385 | rm -f conftest.undefs
|
---|
| 8386 |
|
---|
[8756] | 8387 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20853] | 8388 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 8389 | # use $as_me), people would be surprised to read:
|
---|
| 8390 | # /* config.h. Generated by config.status. */
|
---|
| 8391 | if test x"$ac_file" = x-; then
|
---|
| 8392 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
| 8393 | else
|
---|
| 8394 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
| 8395 | fi
|
---|
| 8396 | cat $tmp/in >>$tmp/config.h
|
---|
| 8397 | rm -f $tmp/in
|
---|
[8756] | 8398 | if test x"$ac_file" != x-; then
|
---|
[20853] | 8399 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
[8756] | 8400 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
| 8401 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
| 8402 | else
|
---|
[20853] | 8403 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
| 8404 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8405 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 8406 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 8407 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 8408 | . : '\(.\)' 2>/dev/null ||
|
---|
| 8409 | echo X"$ac_file" |
|
---|
| 8410 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8411 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8412 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8413 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8414 | s/.*/./; q'`
|
---|
| 8415 | { if $as_mkdir_p; then
|
---|
| 8416 | mkdir -p "$ac_dir"
|
---|
| 8417 | else
|
---|
| 8418 | as_dir="$ac_dir"
|
---|
| 8419 | as_dirs=
|
---|
| 8420 | while test ! -d "$as_dir"; do
|
---|
| 8421 | as_dirs="$as_dir $as_dirs"
|
---|
| 8422 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 8423 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8424 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8425 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 8426 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 8427 | . : '\(.\)' 2>/dev/null ||
|
---|
| 8428 | echo X"$as_dir" |
|
---|
| 8429 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8430 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8431 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8432 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8433 | s/.*/./; q'`
|
---|
| 8434 | done
|
---|
| 8435 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 8436 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 8437 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 8438 | { (exit 1); exit 1; }; }; }
|
---|
| 8439 |
|
---|
[8756] | 8440 | rm -f $ac_file
|
---|
[20853] | 8441 | mv $tmp/config.h $ac_file
|
---|
[687] | 8442 | fi
|
---|
[8756] | 8443 | else
|
---|
[20853] | 8444 | cat $tmp/config.h
|
---|
| 8445 | rm -f $tmp/config.h
|
---|
[687] | 8446 | fi
|
---|
[20853] | 8447 | done
|
---|
| 8448 | _ACEOF
|
---|
[8200] | 8449 |
|
---|
[20853] | 8450 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[687] | 8451 |
|
---|
[8756] | 8452 | { (exit 0); exit 0; }
|
---|
| 8453 | _ACEOF
|
---|
[562] | 8454 | chmod +x $CONFIG_STATUS
|
---|
[8756] | 8455 | ac_clean_files=$ac_clean_files_save
|
---|
[562] | 8456 |
|
---|
[8756] | 8457 |
|
---|
| 8458 | # configure is writing to config.log, and then calls config.status.
|
---|
| 8459 | # config.status does its own redirection, appending to config.log.
|
---|
| 8460 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 8461 | # by configure, so config.status won't be able to write to it; its
|
---|
| 8462 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 8463 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 8464 | # appended to by config.status. When coming back to configure, we
|
---|
| 8465 | # need to make the FD available again.
|
---|
| 8466 | if test "$no_create" != yes; then
|
---|
| 8467 | ac_cs_success=:
|
---|
| 8468 | ac_config_status_args=
|
---|
| 8469 | test "$silent" = yes &&
|
---|
| 8470 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 8471 | exec 5>/dev/null
|
---|
| 8472 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 8473 | exec 5>>config.log
|
---|
| 8474 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 8475 | # would make configure fail if this is the last instruction.
|
---|
| 8476 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 8477 | fi
|
---|
| 8478 |
|
---|
| 8479 | #
|
---|
| 8480 | # CONFIG_SUBDIRS section.
|
---|
| 8481 | #
|
---|
[1675] | 8482 | if test "$no_recursion" != yes; then
|
---|
[562] | 8483 |
|
---|
[1675] | 8484 | # Remove --cache-file and --srcdir arguments so they do not pile up.
|
---|
| 8485 | ac_sub_configure_args=
|
---|
| 8486 | ac_prev=
|
---|
[20853] | 8487 | for ac_arg in $ac_configure_args; do
|
---|
[1675] | 8488 | if test -n "$ac_prev"; then
|
---|
| 8489 | ac_prev=
|
---|
| 8490 | continue
|
---|
| 8491 | fi
|
---|
[8756] | 8492 | case $ac_arg in
|
---|
[1675] | 8493 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 8494 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 8495 | ac_prev=cache_file ;;
|
---|
| 8496 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
[8756] | 8497 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 8498 | | --c=*)
|
---|
[1675] | 8499 | ;;
|
---|
[8756] | 8500 | --config-cache | -C)
|
---|
| 8501 | ;;
|
---|
[1675] | 8502 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 8503 | ac_prev=srcdir ;;
|
---|
| 8504 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 8505 | ;;
|
---|
[8756] | 8506 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 8507 | ac_prev=prefix ;;
|
---|
| 8508 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 8509 | ;;
|
---|
[20853] | 8510 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
---|
[1675] | 8511 | esac
|
---|
| 8512 | done
|
---|
[562] | 8513 |
|
---|
[8756] | 8514 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 8515 | # in subdir configurations.
|
---|
[20853] | 8516 | ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
|
---|
[1570] | 8517 |
|
---|
[8756] | 8518 | ac_popdir=`pwd`
|
---|
| 8519 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8520 |
|
---|
[1675] | 8521 | # Do not complain, so a configure script can configure whichever
|
---|
| 8522 | # parts of a large source tree are present.
|
---|
[20853] | 8523 | test -d $srcdir/$ac_dir || continue
|
---|
[1675] | 8524 |
|
---|
[20853] | 8525 | { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
|
---|
| 8526 | echo "$as_me: configuring in $ac_dir" >&6;}
|
---|
| 8527 | { if $as_mkdir_p; then
|
---|
| 8528 | mkdir -p "$ac_dir"
|
---|
| 8529 | else
|
---|
| 8530 | as_dir="$ac_dir"
|
---|
[8756] | 8531 | as_dirs=
|
---|
[20853] | 8532 | while test ! -d "$as_dir"; do
|
---|
| 8533 | as_dirs="$as_dir $as_dirs"
|
---|
| 8534 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
[8756] | 8535 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8536 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8537 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[20853] | 8538 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 8539 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 8540 | echo X"$as_dir" |
|
---|
[20853] | 8541 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8542 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8543 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8544 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8545 | s/.*/./; q'`
|
---|
[8756] | 8546 | done
|
---|
[20853] | 8547 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 8548 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 8549 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
[8756] | 8550 | { (exit 1); exit 1; }; }; }
|
---|
[20853] | 8551 |
|
---|
[8756] | 8552 | ac_builddir=.
|
---|
[1675] | 8553 |
|
---|
[20853] | 8554 | if test "$ac_dir" != .; then
|
---|
[8756] | 8555 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20853] | 8556 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 8557 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 8558 | else
|
---|
| 8559 | ac_dir_suffix= ac_top_builddir=
|
---|
| 8560 | fi
|
---|
[1675] | 8561 |
|
---|
[8756] | 8562 | case $srcdir in
|
---|
[20853] | 8563 | .) # No --srcdir option. We are building in place.
|
---|
[8756] | 8564 | ac_srcdir=.
|
---|
[20853] | 8565 | if test -z "$ac_top_builddir"; then
|
---|
| 8566 | ac_top_srcdir=.
|
---|
| 8567 | else
|
---|
| 8568 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 8569 | fi ;;
|
---|
| 8570 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
[8756] | 8571 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20853] | 8572 | ac_top_srcdir=$srcdir ;;
|
---|
| 8573 | *) # Relative path.
|
---|
| 8574 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 8575 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
[8756] | 8576 | esac
|
---|
[1675] | 8577 |
|
---|
[20853] | 8578 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 8579 | # the directories may not exist.
|
---|
| 8580 | case `pwd` in
|
---|
| 8581 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 8582 | *)
|
---|
| 8583 | case "$ac_dir" in
|
---|
| 8584 | .) ac_abs_builddir=`pwd`;;
|
---|
| 8585 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 8586 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 8587 | esac;;
|
---|
| 8588 | esac
|
---|
| 8589 | case $ac_abs_builddir in
|
---|
| 8590 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8591 | *)
|
---|
| 8592 | case ${ac_top_builddir}. in
|
---|
| 8593 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 8594 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8595 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 8596 | esac;;
|
---|
| 8597 | esac
|
---|
| 8598 | case $ac_abs_builddir in
|
---|
| 8599 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8600 | *)
|
---|
| 8601 | case $ac_srcdir in
|
---|
| 8602 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 8603 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8604 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 8605 | esac;;
|
---|
| 8606 | esac
|
---|
| 8607 | case $ac_abs_builddir in
|
---|
| 8608 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8609 | *)
|
---|
| 8610 | case $ac_top_srcdir in
|
---|
| 8611 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 8612 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8613 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 8614 | esac;;
|
---|
| 8615 | esac
|
---|
[1675] | 8616 |
|
---|
[8756] | 8617 |
|
---|
[20853] | 8618 | cd $ac_dir
|
---|
| 8619 |
|
---|
[1675] | 8620 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[20853] | 8621 | if test -f $ac_srcdir/configure.gnu; then
|
---|
| 8622 | ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
|
---|
| 8623 | elif test -f $ac_srcdir/configure; then
|
---|
| 8624 | ac_sub_configure="$SHELL '$ac_srcdir/configure'"
|
---|
| 8625 | elif test -f $ac_srcdir/configure.in; then
|
---|
| 8626 | ac_sub_configure=$ac_configure
|
---|
[1675] | 8627 | else
|
---|
[8756] | 8628 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 8629 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[1675] | 8630 | ac_sub_configure=
|
---|
| 8631 | fi
|
---|
| 8632 |
|
---|
| 8633 | # The recursion is here.
|
---|
| 8634 | if test -n "$ac_sub_configure"; then
|
---|
| 8635 | # Make the cache file name correct relative to the subdirectory.
|
---|
[8756] | 8636 | case $cache_file in
|
---|
| 8637 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[20853] | 8638 | *) # Relative path.
|
---|
| 8639 | ac_sub_cache_file=$ac_top_builddir$cache_file ;;
|
---|
[1675] | 8640 | esac
|
---|
| 8641 |
|
---|
[20853] | 8642 | { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
| 8643 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[1675] | 8644 | # The eval makes quoting arguments work.
|
---|
[20853] | 8645 | eval $ac_sub_configure $ac_sub_configure_args \
|
---|
| 8646 | --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
|
---|
[8756] | 8647 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
---|
| 8648 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
---|
| 8649 | { (exit 1); exit 1; }; }
|
---|
[1675] | 8650 | fi
|
---|
| 8651 |
|
---|
[20853] | 8652 | cd $ac_popdir
|
---|
[1675] | 8653 | done
|
---|
| 8654 | fi
|
---|
| 8655 |
|
---|
[8200] | 8656 |
|
---|
| 8657 |
|
---|