[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"
|
---|
| 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 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
|
---|
[8756] | 862 |
|
---|
| 863 | Optional Packages:
|
---|
| 864 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 865 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 866 | --with-micodir Use installed MICO directory
|
---|
| 867 | --with-dmalloc use dmalloc, as in
|
---|
| 868 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 869 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 870 |
|
---|
| 871 | Some influential environment variables:
|
---|
| 872 | CC C compiler command
|
---|
| 873 | CFLAGS C compiler flags
|
---|
| 874 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 875 | nonstandard directory <lib dir>
|
---|
[20853] | 876 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
---|
| 877 | headers in a nonstandard directory <include dir>
|
---|
[8756] | 878 | CXX C++ compiler command
|
---|
| 879 | CXXFLAGS C++ compiler flags
|
---|
| 880 | CPP C preprocessor
|
---|
| 881 |
|
---|
| 882 | Use these variables to override the choices made by `configure' or to help
|
---|
| 883 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 884 |
|
---|
| 885 | _ACEOF
|
---|
| 886 | fi
|
---|
| 887 |
|
---|
| 888 | if test "$ac_init_help" = "recursive"; then
|
---|
| 889 | # If there are subdirs, report their specific --help.
|
---|
[20853] | 890 | ac_popdir=`pwd`
|
---|
[8756] | 891 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[20853] | 892 | test -d $ac_dir || continue
|
---|
[8756] | 893 | ac_builddir=.
|
---|
| 894 |
|
---|
[20853] | 895 | if test "$ac_dir" != .; then
|
---|
[8756] | 896 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20853] | 897 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 898 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 899 | else
|
---|
| 900 | ac_dir_suffix= ac_top_builddir=
|
---|
| 901 | fi
|
---|
[8756] | 902 |
|
---|
| 903 | case $srcdir in
|
---|
[20853] | 904 | .) # No --srcdir option. We are building in place.
|
---|
[8756] | 905 | ac_srcdir=.
|
---|
[20853] | 906 | if test -z "$ac_top_builddir"; then
|
---|
| 907 | ac_top_srcdir=.
|
---|
| 908 | else
|
---|
| 909 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 910 | fi ;;
|
---|
| 911 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
[8756] | 912 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20853] | 913 | ac_top_srcdir=$srcdir ;;
|
---|
| 914 | *) # Relative path.
|
---|
| 915 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 916 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
[8756] | 917 | esac
|
---|
| 918 |
|
---|
[20853] | 919 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 920 | # the directories may not exist.
|
---|
| 921 | case `pwd` in
|
---|
| 922 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 923 | *)
|
---|
| 924 | case "$ac_dir" in
|
---|
| 925 | .) ac_abs_builddir=`pwd`;;
|
---|
| 926 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 927 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 928 | esac;;
|
---|
| 929 | esac
|
---|
| 930 | case $ac_abs_builddir in
|
---|
| 931 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 932 | *)
|
---|
| 933 | case ${ac_top_builddir}. in
|
---|
| 934 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 935 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 936 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 937 | esac;;
|
---|
| 938 | esac
|
---|
| 939 | case $ac_abs_builddir in
|
---|
| 940 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 941 | *)
|
---|
| 942 | case $ac_srcdir in
|
---|
| 943 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 944 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 945 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 946 | esac;;
|
---|
| 947 | esac
|
---|
| 948 | case $ac_abs_builddir in
|
---|
| 949 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 950 | *)
|
---|
| 951 | case $ac_top_srcdir in
|
---|
| 952 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 953 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 954 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 955 | esac;;
|
---|
| 956 | esac
|
---|
| 957 |
|
---|
| 958 | cd $ac_dir
|
---|
| 959 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
| 960 | if test -f $ac_srcdir/configure.gnu; then
|
---|
| 961 | echo
|
---|
| 962 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
---|
| 963 | elif test -f $ac_srcdir/configure; then
|
---|
| 964 | echo
|
---|
| 965 | $SHELL $ac_srcdir/configure --help=recursive
|
---|
| 966 | elif test -f $ac_srcdir/configure.ac ||
|
---|
| 967 | test -f $ac_srcdir/configure.in; then
|
---|
| 968 | echo
|
---|
| 969 | $ac_configure --help
|
---|
[8756] | 970 | else
|
---|
| 971 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
[20853] | 972 | fi
|
---|
| 973 | cd $ac_popdir
|
---|
[8756] | 974 | done
|
---|
| 975 | fi
|
---|
| 976 |
|
---|
[20853] | 977 | test -n "$ac_init_help" && exit 0
|
---|
[8756] | 978 | if $ac_init_version; then
|
---|
| 979 | cat <<\_ACEOF
|
---|
| 980 |
|
---|
[20853] | 981 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
[8756] | 982 | This configure script is free software; the Free Software Foundation
|
---|
| 983 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 984 | _ACEOF
|
---|
[20853] | 985 | exit 0
|
---|
[8756] | 986 | fi
|
---|
[20853] | 987 | exec 5>config.log
|
---|
| 988 | cat >&5 <<_ACEOF
|
---|
[8756] | 989 | This file contains any messages produced by compilers while
|
---|
| 990 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 991 |
|
---|
| 992 | It was created by $as_me, which was
|
---|
[20853] | 993 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
[8756] | 994 |
|
---|
| 995 | $ $0 $@
|
---|
| 996 |
|
---|
| 997 | _ACEOF
|
---|
| 998 | {
|
---|
| 999 | cat <<_ASUNAME
|
---|
| 1000 | ## --------- ##
|
---|
| 1001 | ## Platform. ##
|
---|
| 1002 | ## --------- ##
|
---|
| 1003 |
|
---|
| 1004 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1005 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1006 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1007 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1008 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1009 |
|
---|
| 1010 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1011 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1012 |
|
---|
| 1013 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1014 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1015 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[20853] | 1016 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
[8756] | 1017 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1018 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1019 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1020 |
|
---|
| 1021 | _ASUNAME
|
---|
| 1022 |
|
---|
| 1023 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1024 | for as_dir in $PATH
|
---|
| 1025 | do
|
---|
| 1026 | IFS=$as_save_IFS
|
---|
| 1027 | test -z "$as_dir" && as_dir=.
|
---|
| 1028 | echo "PATH: $as_dir"
|
---|
| 1029 | done
|
---|
| 1030 |
|
---|
| 1031 | } >&5
|
---|
| 1032 |
|
---|
| 1033 | cat >&5 <<_ACEOF
|
---|
| 1034 |
|
---|
| 1035 |
|
---|
| 1036 | ## ----------- ##
|
---|
| 1037 | ## Core tests. ##
|
---|
| 1038 | ## ----------- ##
|
---|
| 1039 |
|
---|
| 1040 | _ACEOF
|
---|
| 1041 |
|
---|
| 1042 |
|
---|
| 1043 | # Keep a trace of the command line.
|
---|
| 1044 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1045 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1046 | # Also quote any args containing shell meta-characters.
|
---|
| 1047 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1048 | ac_configure_args=
|
---|
| 1049 | ac_configure_args0=
|
---|
| 1050 | ac_configure_args1=
|
---|
[20853] | 1051 | ac_sep=
|
---|
[8756] | 1052 | ac_must_keep_next=false
|
---|
| 1053 | for ac_pass in 1 2
|
---|
| 1054 | do
|
---|
| 1055 | for ac_arg
|
---|
| 1056 | do
|
---|
| 1057 | case $ac_arg in
|
---|
| 1058 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1059 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1060 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1061 | continue ;;
|
---|
[20853] | 1062 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
[8756] | 1063 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1064 | esac
|
---|
| 1065 | case $ac_pass in
|
---|
| 1066 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
| 1067 | 2)
|
---|
| 1068 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
| 1069 | if test $ac_must_keep_next = true; then
|
---|
| 1070 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1071 | else
|
---|
| 1072 | case $ac_arg in
|
---|
| 1073 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1074 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1075 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1076 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1077 | case "$ac_configure_args0 " in
|
---|
| 1078 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1079 | esac
|
---|
| 1080 | ;;
|
---|
| 1081 | -* ) ac_must_keep_next=true ;;
|
---|
| 1082 | esac
|
---|
| 1083 | fi
|
---|
[20853] | 1084 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
| 1085 | # Get rid of the leading space.
|
---|
| 1086 | ac_sep=" "
|
---|
[8756] | 1087 | ;;
|
---|
| 1088 | esac
|
---|
| 1089 | done
|
---|
| 1090 | done
|
---|
| 1091 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1092 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
| 1093 |
|
---|
| 1094 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1095 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1096 | # would cause problems or look ugly.
|
---|
[20853] | 1097 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
---|
| 1098 | # such as our DU 5.0 friend, will then `close' the trap.
|
---|
[8756] | 1099 | trap 'exit_status=$?
|
---|
| 1100 | # Save into config.log some information that might help in debugging.
|
---|
| 1101 | {
|
---|
| 1102 | echo
|
---|
| 1103 |
|
---|
| 1104 | cat <<\_ASBOX
|
---|
| 1105 | ## ---------------- ##
|
---|
| 1106 | ## Cache variables. ##
|
---|
| 1107 | ## ---------------- ##
|
---|
| 1108 | _ASBOX
|
---|
| 1109 | echo
|
---|
| 1110 | # The following way of writing the cache mishandles newlines in values,
|
---|
[20853] | 1111 | {
|
---|
[8756] | 1112 | (set) 2>&1 |
|
---|
[20853] | 1113 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
| 1114 | *ac_space=\ *)
|
---|
[8756] | 1115 | sed -n \
|
---|
[20853] | 1116 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
| 1117 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
| 1118 | ;;
|
---|
[8756] | 1119 | *)
|
---|
[20853] | 1120 | sed -n \
|
---|
| 1121 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
[8756] | 1122 | ;;
|
---|
[20853] | 1123 | esac;
|
---|
| 1124 | }
|
---|
[8756] | 1125 | echo
|
---|
| 1126 |
|
---|
| 1127 | cat <<\_ASBOX
|
---|
| 1128 | ## ----------------- ##
|
---|
| 1129 | ## Output variables. ##
|
---|
| 1130 | ## ----------------- ##
|
---|
| 1131 | _ASBOX
|
---|
| 1132 | echo
|
---|
| 1133 | for ac_var in $ac_subst_vars
|
---|
| 1134 | do
|
---|
[20853] | 1135 | eval ac_val=$`echo $ac_var`
|
---|
| 1136 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
[8756] | 1137 | done | sort
|
---|
| 1138 | echo
|
---|
| 1139 |
|
---|
| 1140 | if test -n "$ac_subst_files"; then
|
---|
| 1141 | cat <<\_ASBOX
|
---|
[20853] | 1142 | ## ------------- ##
|
---|
| 1143 | ## Output files. ##
|
---|
| 1144 | ## ------------- ##
|
---|
[8756] | 1145 | _ASBOX
|
---|
| 1146 | echo
|
---|
| 1147 | for ac_var in $ac_subst_files
|
---|
| 1148 | do
|
---|
[20853] | 1149 | eval ac_val=$`echo $ac_var`
|
---|
| 1150 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
[8756] | 1151 | done | sort
|
---|
| 1152 | echo
|
---|
| 1153 | fi
|
---|
| 1154 |
|
---|
| 1155 | if test -s confdefs.h; then
|
---|
| 1156 | cat <<\_ASBOX
|
---|
| 1157 | ## ----------- ##
|
---|
| 1158 | ## confdefs.h. ##
|
---|
| 1159 | ## ----------- ##
|
---|
| 1160 | _ASBOX
|
---|
| 1161 | echo
|
---|
[20853] | 1162 | sed "/^$/d" confdefs.h | sort
|
---|
[8756] | 1163 | echo
|
---|
| 1164 | fi
|
---|
| 1165 | test "$ac_signal" != 0 &&
|
---|
| 1166 | echo "$as_me: caught signal $ac_signal"
|
---|
| 1167 | echo "$as_me: exit $exit_status"
|
---|
| 1168 | } >&5
|
---|
[20853] | 1169 | rm -f core *.core &&
|
---|
| 1170 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[8756] | 1171 | exit $exit_status
|
---|
[20853] | 1172 | ' 0
|
---|
[8756] | 1173 | for ac_signal in 1 2 13 15; do
|
---|
| 1174 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
| 1175 | done
|
---|
| 1176 | ac_signal=0
|
---|
| 1177 |
|
---|
| 1178 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[20853] | 1179 | rm -rf conftest* confdefs.h
|
---|
| 1180 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
| 1181 | echo >confdefs.h
|
---|
[8756] | 1182 |
|
---|
| 1183 | # Predefined preprocessor variables.
|
---|
| 1184 |
|
---|
| 1185 | cat >>confdefs.h <<_ACEOF
|
---|
| 1186 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1187 | _ACEOF
|
---|
| 1188 |
|
---|
| 1189 |
|
---|
| 1190 | cat >>confdefs.h <<_ACEOF
|
---|
| 1191 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1192 | _ACEOF
|
---|
| 1193 |
|
---|
| 1194 |
|
---|
| 1195 | cat >>confdefs.h <<_ACEOF
|
---|
| 1196 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1197 | _ACEOF
|
---|
| 1198 |
|
---|
| 1199 |
|
---|
| 1200 | cat >>confdefs.h <<_ACEOF
|
---|
| 1201 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1202 | _ACEOF
|
---|
| 1203 |
|
---|
| 1204 |
|
---|
| 1205 | cat >>confdefs.h <<_ACEOF
|
---|
| 1206 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1207 | _ACEOF
|
---|
| 1208 |
|
---|
| 1209 |
|
---|
| 1210 | # Let the site file select an alternate cache file if it wants to.
|
---|
[562] | 1211 | # Prefer explicitly selected file to automatically selected ones.
|
---|
[20853] | 1212 | if test -z "$CONFIG_SITE"; then
|
---|
| 1213 | if test "x$prefix" != xNONE; then
|
---|
| 1214 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
| 1215 | else
|
---|
| 1216 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
| 1217 | fi
|
---|
[562] | 1218 | fi
|
---|
[20853] | 1219 | for ac_site_file in $CONFIG_SITE; do
|
---|
[562] | 1220 | if test -r "$ac_site_file"; then
|
---|
[8756] | 1221 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
| 1222 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 1223 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[562] | 1224 | . "$ac_site_file"
|
---|
| 1225 | fi
|
---|
| 1226 | done
|
---|
| 1227 |
|
---|
| 1228 | if test -r "$cache_file"; then
|
---|
[8756] | 1229 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1230 | # files actually), so we avoid doing that.
|
---|
| 1231 | if test -f "$cache_file"; then
|
---|
| 1232 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
| 1233 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 1234 | case $cache_file in
|
---|
[20853] | 1235 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
| 1236 | *) . ./$cache_file;;
|
---|
[8756] | 1237 | esac
|
---|
| 1238 | fi
|
---|
[562] | 1239 | else
|
---|
[8756] | 1240 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
| 1241 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 1242 | >$cache_file
|
---|
[562] | 1243 | fi
|
---|
| 1244 |
|
---|
[8756] | 1245 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1246 | # value.
|
---|
| 1247 | ac_cache_corrupted=false
|
---|
[20853] | 1248 | for ac_var in `(set) 2>&1 |
|
---|
| 1249 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
[8756] | 1250 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1251 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[20853] | 1252 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
| 1253 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
[8756] | 1254 | case $ac_old_set,$ac_new_set in
|
---|
| 1255 | set,)
|
---|
| 1256 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 1257 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 1258 | ac_cache_corrupted=: ;;
|
---|
| 1259 | ,set)
|
---|
| 1260 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 1261 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 1262 | ac_cache_corrupted=: ;;
|
---|
| 1263 | ,);;
|
---|
| 1264 | *)
|
---|
| 1265 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 1266 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 1267 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1268 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
| 1269 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
| 1270 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
| 1271 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
| 1272 | ac_cache_corrupted=:
|
---|
| 1273 | fi;;
|
---|
| 1274 | esac
|
---|
| 1275 | # Pass precious variables to config.status.
|
---|
| 1276 | if test "$ac_new_set" = set; then
|
---|
| 1277 | case $ac_new_val in
|
---|
[20853] | 1278 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 1279 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[8756] | 1280 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1281 | esac
|
---|
| 1282 | case " $ac_configure_args " in
|
---|
| 1283 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 1284 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
| 1285 | esac
|
---|
| 1286 | fi
|
---|
| 1287 | done
|
---|
| 1288 | if $ac_cache_corrupted; then
|
---|
| 1289 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
| 1290 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 1291 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1292 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1293 | { (exit 1); exit 1; }; }
|
---|
| 1294 | fi
|
---|
| 1295 |
|
---|
[20853] | 1296 | ac_ext=c
|
---|
| 1297 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1298 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1299 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1300 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[562] | 1301 |
|
---|
| 1302 |
|
---|
| 1303 |
|
---|
[8200] | 1304 |
|
---|
| 1305 |
|
---|
[8756] | 1306 |
|
---|
| 1307 |
|
---|
| 1308 |
|
---|
| 1309 |
|
---|
| 1310 |
|
---|
| 1311 |
|
---|
| 1312 |
|
---|
| 1313 |
|
---|
| 1314 |
|
---|
| 1315 |
|
---|
| 1316 |
|
---|
| 1317 |
|
---|
| 1318 |
|
---|
| 1319 |
|
---|
[20853] | 1320 | ac_config_headers="$ac_config_headers config.h"
|
---|
[8756] | 1321 |
|
---|
[20853] | 1322 |
|
---|
[562] | 1323 | PACKAGE=gsdl
|
---|
[16572] | 1324 | VERSION=2.82-svn
|
---|
[8756] | 1325 | cat >>confdefs.h <<_ACEOF
|
---|
[562] | 1326 | #define PACKAGE "$PACKAGE"
|
---|
[8756] | 1327 | _ACEOF
|
---|
[562] | 1328 |
|
---|
[8756] | 1329 | cat >>confdefs.h <<_ACEOF
|
---|
[562] | 1330 | #define VERSION "$VERSION"
|
---|
[8756] | 1331 | _ACEOF
|
---|
[562] | 1332 |
|
---|
[8200] | 1333 |
|
---|
| 1334 |
|
---|
| 1335 |
|
---|
[18487] | 1336 |
|
---|
[567] | 1337 | USE_FASTCGI=0
|
---|
| 1338 | if test USE_FASTCGI = 1; then
|
---|
[8756] | 1339 | cat >>confdefs.h <<\_ACEOF
|
---|
[567] | 1340 | #define USE_FASTCGI 1
|
---|
[8756] | 1341 | _ACEOF
|
---|
[567] | 1342 |
|
---|
[8200] | 1343 |
|
---|
[3631] | 1344 | fi
|
---|
[567] | 1345 |
|
---|
[3631] | 1346 | if test USE_LANGACTION = 1; then
|
---|
[8756] | 1347 | cat >>confdefs.h <<\_ACEOF
|
---|
[3631] | 1348 | #define USE_LANGACTION 1
|
---|
[8756] | 1349 | _ACEOF
|
---|
[3631] | 1350 |
|
---|
[8200] | 1351 |
|
---|
[567] | 1352 | fi
|
---|
| 1353 |
|
---|
[20853] | 1354 | # Check whether --enable-corba or --disable-corba was given.
|
---|
[1860] | 1355 | if test "${enable_corba+set}" = set; then
|
---|
[20853] | 1356 | enableval="$enable_corba"
|
---|
| 1357 | USE_CORBA=1
|
---|
[1860] | 1358 | else
|
---|
[2471] | 1359 | USE_CORBA=0
|
---|
[20853] | 1360 | fi;
|
---|
[8756] | 1361 | cat >>confdefs.h <<_ACEOF
|
---|
[2297] | 1362 | #define USE_CORBA $USE_CORBA
|
---|
[8756] | 1363 | _ACEOF
|
---|
[1860] | 1364 |
|
---|
[8200] | 1365 |
|
---|
| 1366 |
|
---|
[8756] | 1367 |
|
---|
[20853] | 1368 | # Check whether --with-micodir or --without-micodir was given.
|
---|
[1860] | 1369 | if test "${with_micodir+set}" = set; then
|
---|
[20853] | 1370 | withval="$with_micodir"
|
---|
| 1371 | MICO_DIR=$enableval
|
---|
[1860] | 1372 | else
|
---|
[2471] | 1373 | MICO_DIR="default"
|
---|
[20853] | 1374 | fi;
|
---|
[8756] | 1375 | cat >>confdefs.h <<_ACEOF
|
---|
[2297] | 1376 | #define MICO_DIR "$MICO_DIR"
|
---|
[8756] | 1377 | _ACEOF
|
---|
[1860] | 1378 |
|
---|
[8200] | 1379 |
|
---|
| 1380 |
|
---|
[20853] | 1381 | # Check whether --enable-z3950 or --disable-z3950 was given.
|
---|
[1938] | 1382 | if test "${enable_z3950+set}" = set; then
|
---|
[20853] | 1383 | enableval="$enable_z3950"
|
---|
| 1384 | USE_Z3950=1
|
---|
[1938] | 1385 | else
|
---|
| 1386 | USE_Z3950=0
|
---|
[20853] | 1387 | fi;
|
---|
[2297] | 1388 | if test USE_Z3950 = 1; then
|
---|
[8756] | 1389 | cat >>confdefs.h <<\_ACEOF
|
---|
[2297] | 1390 | #define USE_Z3950 $USE_Z3950
|
---|
[8756] | 1391 | _ACEOF
|
---|
[1938] | 1392 |
|
---|
[8200] | 1393 |
|
---|
[2297] | 1394 | fi
|
---|
[1938] | 1395 |
|
---|
[20853] | 1396 | # Check whether --enable-yaz or --disable-yaz was given.
|
---|
[12492] | 1397 | if test "${enable_yaz+set}" = set; then
|
---|
[20853] | 1398 | enableval="$enable_yaz"
|
---|
| 1399 | USE_YAZ=0
|
---|
[12492] | 1400 | else
|
---|
| 1401 | USE_YAZ=1
|
---|
[20853] | 1402 | fi;
|
---|
[12492] | 1403 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1404 | #define USE_YAZ $USE_YAZ
|
---|
| 1405 | _ACEOF
|
---|
[8756] | 1406 |
|
---|
[12492] | 1407 |
|
---|
| 1408 |
|
---|
[20853] | 1409 | # Check whether --enable-accentfold or --disable-accentfold was given.
|
---|
[12922] | 1410 | if test "${enable_accentfold+set}" = set; then
|
---|
[20853] | 1411 | enableval="$enable_accentfold"
|
---|
| 1412 | ENABLE_ACCENTFOLD=0
|
---|
[12922] | 1413 | else
|
---|
| 1414 | ENABLE_ACCENTFOLD=1
|
---|
[20853] | 1415 | fi;
|
---|
[12922] | 1416 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1417 | #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
|
---|
| 1418 | _ACEOF
|
---|
| 1419 |
|
---|
| 1420 |
|
---|
[15901] | 1421 |
|
---|
[20853] | 1422 | # Check whether --enable-sqlite or --disable-sqlite was given.
|
---|
[15794] | 1423 | if test "${enable_sqlite+set}" = set; then
|
---|
[20853] | 1424 | enableval="$enable_sqlite"
|
---|
| 1425 | USE_SQLITE=0
|
---|
[16288] | 1426 | else
|
---|
[15794] | 1427 | USE_SQLITE=1
|
---|
[20853] | 1428 | fi;
|
---|
[15794] | 1429 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1430 | #define USE_SQLITE $USE_SQLITE
|
---|
| 1431 | _ACEOF
|
---|
[12922] | 1432 |
|
---|
[15794] | 1433 |
|
---|
[15901] | 1434 |
|
---|
[20853] | 1435 | # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
|
---|
[18487] | 1436 | if test "${enable_apache_httpd+set}" = set; then
|
---|
[20853] | 1437 | enableval="$enable_apache_httpd"
|
---|
| 1438 | USE_APACHE_HTTPD=1
|
---|
[19263] | 1439 | else
|
---|
[20853] | 1440 | USE_APACHE_HTTPD=0
|
---|
| 1441 | fi;
|
---|
[18487] | 1442 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1443 | #define USE_APACHE_HTTPD $USE_APACHE_HTTPD
|
---|
| 1444 | _ACEOF
|
---|
| 1445 |
|
---|
| 1446 |
|
---|
| 1447 |
|
---|
| 1448 |
|
---|
[14169] | 1449 | LDFLAGS=$LDFLAGS
|
---|
[15551] | 1450 |
|
---|
[1722] | 1451 | if test -z "$CFLAGS"; then
|
---|
[794] | 1452 | CFLAGS=-O2
|
---|
[1722] | 1453 | fi
|
---|
[576] | 1454 |
|
---|
| 1455 |
|
---|
[15551] | 1456 |
|
---|
[8756] | 1457 | ac_ext=c
|
---|
| 1458 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1459 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1460 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1461 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1462 | if test -n "$ac_tool_prefix"; then
|
---|
| 1463 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 1464 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[20853] | 1465 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1466 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1467 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1468 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1469 | else
|
---|
| 1470 | if test -n "$CC"; then
|
---|
| 1471 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1472 | else
|
---|
| 1473 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1474 | for as_dir in $PATH
|
---|
| 1475 | do
|
---|
| 1476 | IFS=$as_save_IFS
|
---|
| 1477 | test -z "$as_dir" && as_dir=.
|
---|
| 1478 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1479 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1480 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
| 1481 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1482 | break 2
|
---|
| 1483 | fi
|
---|
| 1484 | done
|
---|
| 1485 | done
|
---|
| 1486 |
|
---|
| 1487 | fi
|
---|
| 1488 | fi
|
---|
| 1489 | CC=$ac_cv_prog_CC
|
---|
| 1490 | if test -n "$CC"; then
|
---|
[20853] | 1491 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1492 | echo "${ECHO_T}$CC" >&6
|
---|
[8756] | 1493 | else
|
---|
[20853] | 1494 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1495 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 1496 | fi
|
---|
| 1497 |
|
---|
| 1498 | fi
|
---|
| 1499 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1500 | ac_ct_CC=$CC
|
---|
| 1501 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
[562] | 1502 | set dummy gcc; ac_word=$2
|
---|
[20853] | 1503 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1504 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1505 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1506 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1507 | else
|
---|
[8756] | 1508 | if test -n "$ac_ct_CC"; then
|
---|
| 1509 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1510 | else
|
---|
| 1511 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1512 | for as_dir in $PATH
|
---|
| 1513 | do
|
---|
| 1514 | IFS=$as_save_IFS
|
---|
| 1515 | test -z "$as_dir" && as_dir=.
|
---|
| 1516 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1517 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1518 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
| 1519 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1520 | break 2
|
---|
| 1521 | fi
|
---|
| 1522 | done
|
---|
| 1523 | done
|
---|
| 1524 |
|
---|
| 1525 | fi
|
---|
| 1526 | fi
|
---|
| 1527 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1528 | if test -n "$ac_ct_CC"; then
|
---|
[20853] | 1529 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1530 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
[8756] | 1531 | else
|
---|
[20853] | 1532 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1533 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 1534 | fi
|
---|
| 1535 |
|
---|
[20853] | 1536 | CC=$ac_ct_CC
|
---|
[8756] | 1537 | else
|
---|
| 1538 | CC="$ac_cv_prog_CC"
|
---|
| 1539 | fi
|
---|
| 1540 |
|
---|
| 1541 | if test -z "$CC"; then
|
---|
[20853] | 1542 | if test -n "$ac_tool_prefix"; then
|
---|
| 1543 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[8756] | 1544 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[20853] | 1545 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1546 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1547 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1548 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1549 | else
|
---|
[562] | 1550 | if test -n "$CC"; then
|
---|
| 1551 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1552 | else
|
---|
[8756] | 1553 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1554 | for as_dir in $PATH
|
---|
| 1555 | do
|
---|
| 1556 | IFS=$as_save_IFS
|
---|
| 1557 | test -z "$as_dir" && as_dir=.
|
---|
| 1558 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1559 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1560 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
| 1561 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1562 | break 2
|
---|
| 1563 | fi
|
---|
| 1564 | done
|
---|
| 1565 | done
|
---|
| 1566 |
|
---|
[562] | 1567 | fi
|
---|
| 1568 | fi
|
---|
[8756] | 1569 | CC=$ac_cv_prog_CC
|
---|
[562] | 1570 | if test -n "$CC"; then
|
---|
[20853] | 1571 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1572 | echo "${ECHO_T}$CC" >&6
|
---|
[562] | 1573 | else
|
---|
[20853] | 1574 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1575 | echo "${ECHO_T}no" >&6
|
---|
[562] | 1576 | fi
|
---|
| 1577 |
|
---|
[20853] | 1578 | fi
|
---|
| 1579 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1580 | ac_ct_CC=$CC
|
---|
| 1581 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1582 | set dummy cc; ac_word=$2
|
---|
| 1583 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1584 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1585 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1586 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1587 | else
|
---|
| 1588 | if test -n "$ac_ct_CC"; then
|
---|
| 1589 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1590 | else
|
---|
| 1591 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1592 | for as_dir in $PATH
|
---|
| 1593 | do
|
---|
| 1594 | IFS=$as_save_IFS
|
---|
| 1595 | test -z "$as_dir" && as_dir=.
|
---|
| 1596 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1597 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1598 | ac_cv_prog_ac_ct_CC="cc"
|
---|
| 1599 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1600 | break 2
|
---|
| 1601 | fi
|
---|
| 1602 | done
|
---|
| 1603 | done
|
---|
[20842] | 1604 |
|
---|
[8756] | 1605 | fi
|
---|
[20853] | 1606 | fi
|
---|
| 1607 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1608 | if test -n "$ac_ct_CC"; then
|
---|
| 1609 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1610 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1611 | else
|
---|
| 1612 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1613 | echo "${ECHO_T}no" >&6
|
---|
| 1614 | fi
|
---|
| 1615 |
|
---|
| 1616 | CC=$ac_ct_CC
|
---|
| 1617 | else
|
---|
| 1618 | CC="$ac_cv_prog_CC"
|
---|
| 1619 | fi
|
---|
| 1620 |
|
---|
| 1621 | fi
|
---|
[562] | 1622 | if test -z "$CC"; then
|
---|
| 1623 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1624 | set dummy cc; ac_word=$2
|
---|
[20853] | 1625 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1626 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1627 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1628 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1629 | else
|
---|
| 1630 | if test -n "$CC"; then
|
---|
| 1631 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1632 | else
|
---|
| 1633 | ac_prog_rejected=no
|
---|
[8756] | 1634 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1635 | for as_dir in $PATH
|
---|
| 1636 | do
|
---|
| 1637 | IFS=$as_save_IFS
|
---|
| 1638 | test -z "$as_dir" && as_dir=.
|
---|
| 1639 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1640 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1641 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 1642 | ac_prog_rejected=yes
|
---|
| 1643 | continue
|
---|
| 1644 | fi
|
---|
| 1645 | ac_cv_prog_CC="cc"
|
---|
| 1646 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1647 | break 2
|
---|
| 1648 | fi
|
---|
| 1649 | done
|
---|
| 1650 | done
|
---|
| 1651 |
|
---|
[562] | 1652 | if test $ac_prog_rejected = yes; then
|
---|
| 1653 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 1654 | set dummy $ac_cv_prog_CC
|
---|
| 1655 | shift
|
---|
[8756] | 1656 | if test $# != 0; then
|
---|
[562] | 1657 | # We chose a different compiler from the bogus one.
|
---|
| 1658 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 1659 | # first if we set CC to just the basename; use the full file name.
|
---|
| 1660 | shift
|
---|
[8756] | 1661 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
[562] | 1662 | fi
|
---|
| 1663 | fi
|
---|
| 1664 | fi
|
---|
| 1665 | fi
|
---|
[8756] | 1666 | CC=$ac_cv_prog_CC
|
---|
[562] | 1667 | if test -n "$CC"; then
|
---|
[20853] | 1668 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1669 | echo "${ECHO_T}$CC" >&6
|
---|
[562] | 1670 | else
|
---|
[20853] | 1671 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1672 | echo "${ECHO_T}no" >&6
|
---|
[562] | 1673 | fi
|
---|
| 1674 |
|
---|
[8756] | 1675 | fi
|
---|
| 1676 | if test -z "$CC"; then
|
---|
| 1677 | if test -n "$ac_tool_prefix"; then
|
---|
[20853] | 1678 | for ac_prog in cl
|
---|
[8756] | 1679 | do
|
---|
| 1680 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 1681 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[20853] | 1682 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1683 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1684 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1685 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1686 | else
|
---|
| 1687 | if test -n "$CC"; then
|
---|
| 1688 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1689 | else
|
---|
[8756] | 1690 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1691 | for as_dir in $PATH
|
---|
| 1692 | do
|
---|
| 1693 | IFS=$as_save_IFS
|
---|
| 1694 | test -z "$as_dir" && as_dir=.
|
---|
| 1695 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1696 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1697 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
| 1698 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1699 | break 2
|
---|
| 1700 | fi
|
---|
| 1701 | done
|
---|
| 1702 | done
|
---|
| 1703 |
|
---|
[562] | 1704 | fi
|
---|
| 1705 | fi
|
---|
[8756] | 1706 | CC=$ac_cv_prog_CC
|
---|
[562] | 1707 | if test -n "$CC"; then
|
---|
[20853] | 1708 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1709 | echo "${ECHO_T}$CC" >&6
|
---|
[562] | 1710 | else
|
---|
[20853] | 1711 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1712 | echo "${ECHO_T}no" >&6
|
---|
[562] | 1713 | fi
|
---|
[8756] | 1714 |
|
---|
| 1715 | test -n "$CC" && break
|
---|
| 1716 | done
|
---|
| 1717 | fi
|
---|
| 1718 | if test -z "$CC"; then
|
---|
| 1719 | ac_ct_CC=$CC
|
---|
[20853] | 1720 | for ac_prog in cl
|
---|
[8756] | 1721 | do
|
---|
| 1722 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 1723 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 1724 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1725 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 1726 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1727 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1728 | else
|
---|
| 1729 | if test -n "$ac_ct_CC"; then
|
---|
| 1730 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1731 | else
|
---|
| 1732 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1733 | for as_dir in $PATH
|
---|
| 1734 | do
|
---|
| 1735 | IFS=$as_save_IFS
|
---|
| 1736 | test -z "$as_dir" && as_dir=.
|
---|
| 1737 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 1738 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 1739 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
| 1740 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1741 | break 2
|
---|
[8200] | 1742 | fi
|
---|
[8756] | 1743 | done
|
---|
| 1744 | done
|
---|
| 1745 |
|
---|
[562] | 1746 | fi
|
---|
[8756] | 1747 | fi
|
---|
| 1748 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1749 | if test -n "$ac_ct_CC"; then
|
---|
[20853] | 1750 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1751 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
[8756] | 1752 | else
|
---|
[20853] | 1753 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1754 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 1755 | fi
|
---|
[562] | 1756 |
|
---|
[8756] | 1757 | test -n "$ac_ct_CC" && break
|
---|
| 1758 | done
|
---|
[562] | 1759 |
|
---|
[20853] | 1760 | CC=$ac_ct_CC
|
---|
[8756] | 1761 | fi
|
---|
[562] | 1762 |
|
---|
[8756] | 1763 | fi
|
---|
[562] | 1764 |
|
---|
| 1765 |
|
---|
[8756] | 1766 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
| 1767 | See \`config.log' for more details." >&5
|
---|
| 1768 | echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
| 1769 | See \`config.log' for more details." >&2;}
|
---|
| 1770 | { (exit 1); exit 1; }; }
|
---|
| 1771 |
|
---|
| 1772 | # Provide some information about the compiler.
|
---|
[20853] | 1773 | echo "$as_me:$LINENO:" \
|
---|
| 1774 | "checking for C compiler version" >&5
|
---|
[8756] | 1775 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[20853] | 1776 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 1777 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
[8756] | 1778 | ac_status=$?
|
---|
| 1779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1780 | (exit $ac_status); }
|
---|
[20853] | 1781 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 1782 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
[8756] | 1783 | ac_status=$?
|
---|
| 1784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1785 | (exit $ac_status); }
|
---|
[20853] | 1786 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 1787 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
[8756] | 1788 | ac_status=$?
|
---|
| 1789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1790 | (exit $ac_status); }
|
---|
| 1791 |
|
---|
| 1792 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1793 | /* confdefs.h. */
|
---|
| 1794 | _ACEOF
|
---|
| 1795 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1796 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1797 | /* end confdefs.h. */
|
---|
| 1798 |
|
---|
| 1799 | int
|
---|
| 1800 | main ()
|
---|
| 1801 | {
|
---|
| 1802 |
|
---|
| 1803 | ;
|
---|
| 1804 | return 0;
|
---|
| 1805 | }
|
---|
| 1806 | _ACEOF
|
---|
| 1807 | ac_clean_files_save=$ac_clean_files
|
---|
| 1808 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
| 1809 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 1810 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 1811 | # of exeext.
|
---|
[20853] | 1812 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
---|
| 1813 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
---|
[8756] | 1814 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[20853] | 1815 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
---|
| 1816 | (eval $ac_link_default) 2>&5
|
---|
[8756] | 1817 | ac_status=$?
|
---|
| 1818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1819 | (exit $ac_status); }; then
|
---|
[20853] | 1820 | # Find the output, starting from the most likely. This scheme is
|
---|
| 1821 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
---|
| 1822 | # resort.
|
---|
| 1823 |
|
---|
| 1824 | # Be careful to initialize this variable, since it used to be cached.
|
---|
| 1825 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
---|
| 1826 | ac_cv_exeext=
|
---|
| 1827 | # b.out is created by i960 compilers.
|
---|
| 1828 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
---|
[8756] | 1829 | do
|
---|
| 1830 | test -f "$ac_file" || continue
|
---|
| 1831 | case $ac_file in
|
---|
[20853] | 1832 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
---|
[8756] | 1833 | ;;
|
---|
[20853] | 1834 | conftest.$ac_ext )
|
---|
| 1835 | # This is the source file.
|
---|
| 1836 | ;;
|
---|
[8756] | 1837 | [ab].out )
|
---|
| 1838 | # We found the default executable, but exeext='' is most
|
---|
| 1839 | # certainly right.
|
---|
| 1840 | break;;
|
---|
| 1841 | *.* )
|
---|
[20853] | 1842 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 1843 | # FIXME: I believe we export ac_cv_exeext for Libtool,
|
---|
| 1844 | # but it would be cool to find out if it's true. Does anybody
|
---|
| 1845 | # maintain Libtool? --akim.
|
---|
| 1846 | export ac_cv_exeext
|
---|
[8756] | 1847 | break;;
|
---|
| 1848 | * )
|
---|
| 1849 | break;;
|
---|
| 1850 | esac
|
---|
| 1851 | done
|
---|
| 1852 | else
|
---|
| 1853 | echo "$as_me: failed program was:" >&5
|
---|
| 1854 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1855 |
|
---|
| 1856 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
---|
| 1857 | See \`config.log' for more details." >&5
|
---|
| 1858 | echo "$as_me: error: C compiler cannot create executables
|
---|
| 1859 | See \`config.log' for more details." >&2;}
|
---|
| 1860 | { (exit 77); exit 77; }; }
|
---|
| 1861 | fi
|
---|
| 1862 |
|
---|
| 1863 | ac_exeext=$ac_cv_exeext
|
---|
[20853] | 1864 | echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 1865 | echo "${ECHO_T}$ac_file" >&6
|
---|
[8756] | 1866 |
|
---|
[20853] | 1867 | # Check the compiler produces executables we can run. If not, either
|
---|
[8756] | 1868 | # the compiler is broken, or we cross compile.
|
---|
[20853] | 1869 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
---|
| 1870 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
---|
[8756] | 1871 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 1872 | # If not cross compiling, check that we can run a simple program.
|
---|
| 1873 | if test "$cross_compiling" != yes; then
|
---|
| 1874 | if { ac_try='./$ac_file'
|
---|
[20853] | 1875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 1876 | (eval $ac_try) 2>&5
|
---|
[8756] | 1877 | ac_status=$?
|
---|
| 1878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1879 | (exit $ac_status); }; }; then
|
---|
| 1880 | cross_compiling=no
|
---|
[562] | 1881 | else
|
---|
[8756] | 1882 | if test "$cross_compiling" = maybe; then
|
---|
| 1883 | cross_compiling=yes
|
---|
| 1884 | else
|
---|
| 1885 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
---|
| 1886 | If you meant to cross compile, use \`--host'.
|
---|
| 1887 | See \`config.log' for more details." >&5
|
---|
| 1888 | echo "$as_me: error: cannot run C compiled programs.
|
---|
| 1889 | If you meant to cross compile, use \`--host'.
|
---|
| 1890 | See \`config.log' for more details." >&2;}
|
---|
| 1891 | { (exit 1); exit 1; }; }
|
---|
| 1892 | fi
|
---|
[562] | 1893 | fi
|
---|
| 1894 | fi
|
---|
[20853] | 1895 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 1896 | echo "${ECHO_T}yes" >&6
|
---|
[562] | 1897 |
|
---|
[8756] | 1898 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
| 1899 | ac_clean_files=$ac_clean_files_save
|
---|
[20853] | 1900 | # Check the compiler produces executables we can run. If not, either
|
---|
[8756] | 1901 | # the compiler is broken, or we cross compile.
|
---|
[20853] | 1902 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 1903 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
---|
| 1904 | echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 1905 | echo "${ECHO_T}$cross_compiling" >&6
|
---|
[8756] | 1906 |
|
---|
[20853] | 1907 | echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
| 1908 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
---|
| 1909 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 1910 | (eval $ac_link) 2>&5
|
---|
[8756] | 1911 | ac_status=$?
|
---|
| 1912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1913 | (exit $ac_status); }; then
|
---|
| 1914 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 1915 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 1916 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 1917 | # `rm'.
|
---|
| 1918 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 1919 | test -f "$ac_file" || continue
|
---|
| 1920 | case $ac_file in
|
---|
[20853] | 1921 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
---|
[8756] | 1922 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
[20853] | 1923 | export ac_cv_exeext
|
---|
[8756] | 1924 | break;;
|
---|
| 1925 | * ) break;;
|
---|
| 1926 | esac
|
---|
| 1927 | done
|
---|
| 1928 | else
|
---|
| 1929 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 1930 | See \`config.log' for more details." >&5
|
---|
| 1931 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 1932 | See \`config.log' for more details." >&2;}
|
---|
| 1933 | { (exit 1); exit 1; }; }
|
---|
[562] | 1934 | fi
|
---|
| 1935 |
|
---|
[8756] | 1936 | rm -f conftest$ac_cv_exeext
|
---|
[20853] | 1937 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
| 1938 | echo "${ECHO_T}$ac_cv_exeext" >&6
|
---|
[8756] | 1939 |
|
---|
| 1940 | rm -f conftest.$ac_ext
|
---|
| 1941 | EXEEXT=$ac_cv_exeext
|
---|
| 1942 | ac_exeext=$EXEEXT
|
---|
[20853] | 1943 | echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
| 1944 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
---|
[8756] | 1945 | if test "${ac_cv_objext+set}" = set; then
|
---|
| 1946 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 1947 | else
|
---|
[8756] | 1948 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1949 | /* confdefs.h. */
|
---|
| 1950 | _ACEOF
|
---|
| 1951 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1952 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1953 | /* end confdefs.h. */
|
---|
| 1954 |
|
---|
| 1955 | int
|
---|
| 1956 | main ()
|
---|
| 1957 | {
|
---|
| 1958 |
|
---|
| 1959 | ;
|
---|
| 1960 | return 0;
|
---|
| 1961 | }
|
---|
| 1962 | _ACEOF
|
---|
| 1963 | rm -f conftest.o conftest.obj
|
---|
[20853] | 1964 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 1965 | (eval $ac_compile) 2>&5
|
---|
[8756] | 1966 | ac_status=$?
|
---|
| 1967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1968 | (exit $ac_status); }; then
|
---|
[20853] | 1969 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
---|
[8756] | 1970 | case $ac_file in
|
---|
[20853] | 1971 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
---|
[8756] | 1972 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 1973 | break;;
|
---|
| 1974 | esac
|
---|
| 1975 | done
|
---|
[562] | 1976 | else
|
---|
[8756] | 1977 | echo "$as_me: failed program was:" >&5
|
---|
| 1978 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1979 |
|
---|
| 1980 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
| 1981 | See \`config.log' for more details." >&5
|
---|
| 1982 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
| 1983 | See \`config.log' for more details." >&2;}
|
---|
| 1984 | { (exit 1); exit 1; }; }
|
---|
[562] | 1985 | fi
|
---|
[8756] | 1986 |
|
---|
| 1987 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
[562] | 1988 | fi
|
---|
[20853] | 1989 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
| 1990 | echo "${ECHO_T}$ac_cv_objext" >&6
|
---|
[8756] | 1991 | OBJEXT=$ac_cv_objext
|
---|
| 1992 | ac_objext=$OBJEXT
|
---|
[20853] | 1993 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
| 1994 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
---|
[8756] | 1995 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
| 1996 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1997 | else
|
---|
| 1998 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1999 | /* confdefs.h. */
|
---|
| 2000 | _ACEOF
|
---|
| 2001 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2002 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2003 | /* end confdefs.h. */
|
---|
[562] | 2004 |
|
---|
[8756] | 2005 | int
|
---|
| 2006 | main ()
|
---|
| 2007 | {
|
---|
| 2008 | #ifndef __GNUC__
|
---|
| 2009 | choke me
|
---|
| 2010 | #endif
|
---|
[562] | 2011 |
|
---|
[8756] | 2012 | ;
|
---|
| 2013 | return 0;
|
---|
| 2014 | }
|
---|
| 2015 | _ACEOF
|
---|
| 2016 | rm -f conftest.$ac_objext
|
---|
[20853] | 2017 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2018 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2019 | ac_status=$?
|
---|
| 2020 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2021 | rm -f conftest.er1
|
---|
| 2022 | cat conftest.err >&5
|
---|
| 2023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2024 | (exit $ac_status); } &&
|
---|
| 2025 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2026 | || test ! -s conftest.err'
|
---|
| 2027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2028 | (eval $ac_try) 2>&5
|
---|
| 2029 | ac_status=$?
|
---|
| 2030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2031 | (exit $ac_status); }; } &&
|
---|
| 2032 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2033 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2034 | (eval $ac_try) 2>&5
|
---|
| 2035 | ac_status=$?
|
---|
| 2036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2037 | (exit $ac_status); }; }; then
|
---|
[8756] | 2038 | ac_compiler_gnu=yes
|
---|
[562] | 2039 | else
|
---|
[8756] | 2040 | echo "$as_me: failed program was:" >&5
|
---|
| 2041 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2042 |
|
---|
[20853] | 2043 | ac_compiler_gnu=no
|
---|
[562] | 2044 | fi
|
---|
[20853] | 2045 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2046 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
[562] | 2047 |
|
---|
[8756] | 2048 | fi
|
---|
[20853] | 2049 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 2050 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
---|
[8756] | 2051 | GCC=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2052 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 2053 | ac_save_CFLAGS=$CFLAGS
|
---|
[20853] | 2054 | CFLAGS="-g"
|
---|
| 2055 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
| 2056 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
---|
[8756] | 2057 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
| 2058 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 2059 | else
|
---|
[20853] | 2060 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2061 | /* confdefs.h. */
|
---|
| 2062 | _ACEOF
|
---|
| 2063 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2064 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2065 | /* end confdefs.h. */
|
---|
| 2066 |
|
---|
| 2067 | int
|
---|
| 2068 | main ()
|
---|
| 2069 | {
|
---|
| 2070 |
|
---|
| 2071 | ;
|
---|
| 2072 | return 0;
|
---|
| 2073 | }
|
---|
| 2074 | _ACEOF
|
---|
| 2075 | rm -f conftest.$ac_objext
|
---|
[20853] | 2076 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2077 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2078 | ac_status=$?
|
---|
| 2079 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2080 | rm -f conftest.er1
|
---|
| 2081 | cat conftest.err >&5
|
---|
| 2082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2083 | (exit $ac_status); } &&
|
---|
| 2084 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2085 | || test ! -s conftest.err'
|
---|
| 2086 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2087 | (eval $ac_try) 2>&5
|
---|
[8756] | 2088 | ac_status=$?
|
---|
| 2089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2090 | (exit $ac_status); }; } &&
|
---|
| 2091 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2092 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2093 | (eval $ac_try) 2>&5
|
---|
[8756] | 2094 | ac_status=$?
|
---|
| 2095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2096 | (exit $ac_status); }; }; then
|
---|
[562] | 2097 | ac_cv_prog_cc_g=yes
|
---|
| 2098 | else
|
---|
[8756] | 2099 | echo "$as_me: failed program was:" >&5
|
---|
| 2100 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 2101 |
|
---|
[20853] | 2102 | ac_cv_prog_cc_g=no
|
---|
[562] | 2103 | fi
|
---|
[20853] | 2104 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2105 | fi
|
---|
[20853] | 2106 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
| 2107 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
---|
[562] | 2108 | if test "$ac_test_CFLAGS" = set; then
|
---|
[8756] | 2109 | CFLAGS=$ac_save_CFLAGS
|
---|
[562] | 2110 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 2111 | if test "$GCC" = yes; then
|
---|
| 2112 | CFLAGS="-g -O2"
|
---|
| 2113 | else
|
---|
| 2114 | CFLAGS="-g"
|
---|
| 2115 | fi
|
---|
| 2116 | else
|
---|
| 2117 | if test "$GCC" = yes; then
|
---|
| 2118 | CFLAGS="-O2"
|
---|
| 2119 | else
|
---|
| 2120 | CFLAGS=
|
---|
| 2121 | fi
|
---|
| 2122 | fi
|
---|
[20853] | 2123 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
---|
| 2124 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
---|
| 2125 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
[8756] | 2126 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2127 | else
|
---|
[20853] | 2128 | ac_cv_prog_cc_stdc=no
|
---|
[8756] | 2129 | ac_save_CC=$CC
|
---|
| 2130 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2131 | /* confdefs.h. */
|
---|
| 2132 | _ACEOF
|
---|
| 2133 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2134 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2135 | /* end confdefs.h. */
|
---|
| 2136 | #include <stdarg.h>
|
---|
| 2137 | #include <stdio.h>
|
---|
| 2138 | #include <sys/types.h>
|
---|
| 2139 | #include <sys/stat.h>
|
---|
| 2140 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 2141 | struct buf { int x; };
|
---|
| 2142 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 2143 | static char *e (p, i)
|
---|
| 2144 | char **p;
|
---|
| 2145 | int i;
|
---|
| 2146 | {
|
---|
| 2147 | return p[i];
|
---|
| 2148 | }
|
---|
| 2149 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2150 | {
|
---|
| 2151 | char *s;
|
---|
| 2152 | va_list v;
|
---|
| 2153 | va_start (v,p);
|
---|
| 2154 | s = g (p, va_arg (v,int));
|
---|
| 2155 | va_end (v);
|
---|
| 2156 | return s;
|
---|
| 2157 | }
|
---|
[8200] | 2158 |
|
---|
[8756] | 2159 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 2160 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 2161 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[20853] | 2162 | as 'x'. The following induces an error, until -std1 is added to get
|
---|
[8756] | 2163 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 2164 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[20853] | 2165 | that's true only with -std1. */
|
---|
[8756] | 2166 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 2167 |
|
---|
| 2168 | int test (int i, double x);
|
---|
| 2169 | struct s1 {int (*f) (int a);};
|
---|
| 2170 | struct s2 {int (*f) (double a);};
|
---|
| 2171 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 2172 | int argc;
|
---|
| 2173 | char **argv;
|
---|
| 2174 | int
|
---|
| 2175 | main ()
|
---|
| 2176 | {
|
---|
| 2177 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 2178 | ;
|
---|
| 2179 | return 0;
|
---|
| 2180 | }
|
---|
| 2181 | _ACEOF
|
---|
[20853] | 2182 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 2183 | # breaks some systems' header files.
|
---|
| 2184 | # AIX -qlanglvl=ansi
|
---|
| 2185 | # Ultrix and OSF/1 -std1
|
---|
| 2186 | # HP-UX 10.20 and later -Ae
|
---|
| 2187 | # HP-UX older versions -Aa -D_HPUX_SOURCE
|
---|
| 2188 | # SVR4 -Xc -D__EXTENSIONS__
|
---|
| 2189 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[562] | 2190 | do
|
---|
[8756] | 2191 | CC="$ac_save_CC $ac_arg"
|
---|
| 2192 | rm -f conftest.$ac_objext
|
---|
[20853] | 2193 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2194 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2195 | ac_status=$?
|
---|
| 2196 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2197 | rm -f conftest.er1
|
---|
| 2198 | cat conftest.err >&5
|
---|
| 2199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2200 | (exit $ac_status); } &&
|
---|
| 2201 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2202 | || test ! -s conftest.err'
|
---|
| 2203 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2204 | (eval $ac_try) 2>&5
|
---|
| 2205 | ac_status=$?
|
---|
| 2206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2207 | (exit $ac_status); }; } &&
|
---|
| 2208 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2209 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2210 | (eval $ac_try) 2>&5
|
---|
| 2211 | ac_status=$?
|
---|
| 2212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2213 | (exit $ac_status); }; }; then
|
---|
| 2214 | ac_cv_prog_cc_stdc=$ac_arg
|
---|
| 2215 | break
|
---|
[562] | 2216 | else
|
---|
[8756] | 2217 | echo "$as_me: failed program was:" >&5
|
---|
| 2218 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2219 |
|
---|
[562] | 2220 | fi
|
---|
[20853] | 2221 | rm -f conftest.err conftest.$ac_objext
|
---|
[8756] | 2222 | done
|
---|
[20853] | 2223 | rm -f conftest.$ac_ext conftest.$ac_objext
|
---|
[8756] | 2224 | CC=$ac_save_CC
|
---|
| 2225 |
|
---|
[562] | 2226 | fi
|
---|
[20853] | 2227 |
|
---|
| 2228 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 2229 | x|xno)
|
---|
| 2230 | echo "$as_me:$LINENO: result: none needed" >&5
|
---|
| 2231 | echo "${ECHO_T}none needed" >&6 ;;
|
---|
[8756] | 2232 | *)
|
---|
[20853] | 2233 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 2234 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
---|
| 2235 | CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
[8756] | 2236 | esac
|
---|
| 2237 |
|
---|
[20853] | 2238 | # Some people use a C++ compiler to compile C. Since we use `exit',
|
---|
| 2239 | # in C++ we need to declare it. In case someone uses the same compiler
|
---|
| 2240 | # for both compiling C and C++ we need to have the C++ compiler decide
|
---|
| 2241 | # the declaration of exit, since it's the most demanding environment.
|
---|
| 2242 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2243 | #ifndef __cplusplus
|
---|
| 2244 | choke me
|
---|
| 2245 | #endif
|
---|
| 2246 | _ACEOF
|
---|
| 2247 | rm -f conftest.$ac_objext
|
---|
| 2248 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2249 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2250 | ac_status=$?
|
---|
| 2251 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2252 | rm -f conftest.er1
|
---|
| 2253 | cat conftest.err >&5
|
---|
| 2254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2255 | (exit $ac_status); } &&
|
---|
| 2256 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2257 | || test ! -s conftest.err'
|
---|
| 2258 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2259 | (eval $ac_try) 2>&5
|
---|
| 2260 | ac_status=$?
|
---|
| 2261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2262 | (exit $ac_status); }; } &&
|
---|
| 2263 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2264 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2265 | (eval $ac_try) 2>&5
|
---|
| 2266 | ac_status=$?
|
---|
| 2267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2268 | (exit $ac_status); }; }; then
|
---|
| 2269 | for ac_declaration in \
|
---|
| 2270 | '' \
|
---|
| 2271 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2272 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2273 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2274 | 'extern "C" void exit (int);' \
|
---|
| 2275 | 'void exit (int);'
|
---|
| 2276 | do
|
---|
| 2277 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2278 | /* confdefs.h. */
|
---|
| 2279 | _ACEOF
|
---|
| 2280 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2281 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2282 | /* end confdefs.h. */
|
---|
| 2283 | $ac_declaration
|
---|
| 2284 | #include <stdlib.h>
|
---|
| 2285 | int
|
---|
| 2286 | main ()
|
---|
| 2287 | {
|
---|
| 2288 | exit (42);
|
---|
| 2289 | ;
|
---|
| 2290 | return 0;
|
---|
| 2291 | }
|
---|
| 2292 | _ACEOF
|
---|
| 2293 | rm -f conftest.$ac_objext
|
---|
| 2294 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2295 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2296 | ac_status=$?
|
---|
| 2297 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2298 | rm -f conftest.er1
|
---|
| 2299 | cat conftest.err >&5
|
---|
| 2300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2301 | (exit $ac_status); } &&
|
---|
| 2302 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2303 | || test ! -s conftest.err'
|
---|
| 2304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2305 | (eval $ac_try) 2>&5
|
---|
| 2306 | ac_status=$?
|
---|
| 2307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2308 | (exit $ac_status); }; } &&
|
---|
| 2309 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2311 | (eval $ac_try) 2>&5
|
---|
| 2312 | ac_status=$?
|
---|
| 2313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2314 | (exit $ac_status); }; }; then
|
---|
| 2315 | :
|
---|
| 2316 | else
|
---|
| 2317 | echo "$as_me: failed program was:" >&5
|
---|
| 2318 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8756] | 2319 |
|
---|
[20853] | 2320 | continue
|
---|
| 2321 | fi
|
---|
| 2322 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2323 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2324 | /* confdefs.h. */
|
---|
| 2325 | _ACEOF
|
---|
| 2326 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2327 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2328 | /* end confdefs.h. */
|
---|
| 2329 | $ac_declaration
|
---|
| 2330 | int
|
---|
| 2331 | main ()
|
---|
| 2332 | {
|
---|
| 2333 | exit (42);
|
---|
| 2334 | ;
|
---|
| 2335 | return 0;
|
---|
| 2336 | }
|
---|
| 2337 | _ACEOF
|
---|
| 2338 | rm -f conftest.$ac_objext
|
---|
| 2339 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2340 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2341 | ac_status=$?
|
---|
| 2342 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2343 | rm -f conftest.er1
|
---|
| 2344 | cat conftest.err >&5
|
---|
| 2345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2346 | (exit $ac_status); } &&
|
---|
| 2347 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2348 | || test ! -s conftest.err'
|
---|
| 2349 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2350 | (eval $ac_try) 2>&5
|
---|
| 2351 | ac_status=$?
|
---|
| 2352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2353 | (exit $ac_status); }; } &&
|
---|
| 2354 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2355 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2356 | (eval $ac_try) 2>&5
|
---|
| 2357 | ac_status=$?
|
---|
| 2358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2359 | (exit $ac_status); }; }; then
|
---|
| 2360 | break
|
---|
| 2361 | else
|
---|
| 2362 | echo "$as_me: failed program was:" >&5
|
---|
| 2363 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2364 |
|
---|
| 2365 | fi
|
---|
| 2366 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2367 | done
|
---|
| 2368 | rm -f conftest*
|
---|
| 2369 | if test -n "$ac_declaration"; then
|
---|
| 2370 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2371 | echo $ac_declaration >>confdefs.h
|
---|
| 2372 | echo '#endif' >>confdefs.h
|
---|
| 2373 | fi
|
---|
| 2374 |
|
---|
| 2375 | else
|
---|
| 2376 | echo "$as_me: failed program was:" >&5
|
---|
| 2377 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2378 |
|
---|
| 2379 | fi
|
---|
| 2380 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2381 | ac_ext=c
|
---|
| 2382 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2383 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2384 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2385 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[8200] | 2386 |
|
---|
[20853] | 2387 | ac_ext=cc
|
---|
[8200] | 2388 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
[8756] | 2389 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2390 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2391 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[20853] | 2392 | if test -n "$ac_tool_prefix"; then
|
---|
| 2393 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
[8756] | 2394 | do
|
---|
| 2395 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2396 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[20853] | 2397 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2398 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2399 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
| 2400 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2401 | else
|
---|
| 2402 | if test -n "$CXX"; then
|
---|
| 2403 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2404 | else
|
---|
| 2405 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2406 | for as_dir in $PATH
|
---|
| 2407 | do
|
---|
| 2408 | IFS=$as_save_IFS
|
---|
| 2409 | test -z "$as_dir" && as_dir=.
|
---|
| 2410 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2411 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2412 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 2413 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2414 | break 2
|
---|
| 2415 | fi
|
---|
| 2416 | done
|
---|
| 2417 | done
|
---|
[8200] | 2418 |
|
---|
[8756] | 2419 | fi
|
---|
| 2420 | fi
|
---|
| 2421 | CXX=$ac_cv_prog_CXX
|
---|
| 2422 | if test -n "$CXX"; then
|
---|
[20853] | 2423 | echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
| 2424 | echo "${ECHO_T}$CXX" >&6
|
---|
[8756] | 2425 | else
|
---|
[20853] | 2426 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2427 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 2428 | fi
|
---|
[8200] | 2429 |
|
---|
[8756] | 2430 | test -n "$CXX" && break
|
---|
| 2431 | done
|
---|
| 2432 | fi
|
---|
| 2433 | if test -z "$CXX"; then
|
---|
| 2434 | ac_ct_CXX=$CXX
|
---|
[20853] | 2435 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
[8756] | 2436 | do
|
---|
| 2437 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2438 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 2439 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2440 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2441 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
| 2442 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2443 | else
|
---|
| 2444 | if test -n "$ac_ct_CXX"; then
|
---|
| 2445 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 2446 | else
|
---|
| 2447 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2448 | for as_dir in $PATH
|
---|
| 2449 | do
|
---|
| 2450 | IFS=$as_save_IFS
|
---|
| 2451 | test -z "$as_dir" && as_dir=.
|
---|
| 2452 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2453 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2454 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 2455 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2456 | break 2
|
---|
| 2457 | fi
|
---|
| 2458 | done
|
---|
| 2459 | done
|
---|
[8200] | 2460 |
|
---|
[8756] | 2461 | fi
|
---|
| 2462 | fi
|
---|
| 2463 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 2464 | if test -n "$ac_ct_CXX"; then
|
---|
[20853] | 2465 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
| 2466 | echo "${ECHO_T}$ac_ct_CXX" >&6
|
---|
[3631] | 2467 | else
|
---|
[20853] | 2468 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2469 | echo "${ECHO_T}no" >&6
|
---|
[3631] | 2470 | fi
|
---|
[562] | 2471 |
|
---|
[8756] | 2472 | test -n "$ac_ct_CXX" && break
|
---|
| 2473 | done
|
---|
[20853] | 2474 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
---|
[8756] | 2475 |
|
---|
[20853] | 2476 | CXX=$ac_ct_CXX
|
---|
[3631] | 2477 | fi
|
---|
[562] | 2478 |
|
---|
[20853] | 2479 |
|
---|
[8756] | 2480 | # Provide some information about the compiler.
|
---|
[20853] | 2481 | echo "$as_me:$LINENO:" \
|
---|
| 2482 | "checking for C++ compiler version" >&5
|
---|
[8756] | 2483 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[20853] | 2484 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 2485 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
[8756] | 2486 | ac_status=$?
|
---|
| 2487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2488 | (exit $ac_status); }
|
---|
[20853] | 2489 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 2490 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
[8756] | 2491 | ac_status=$?
|
---|
| 2492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2493 | (exit $ac_status); }
|
---|
[20853] | 2494 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 2495 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
[8756] | 2496 | ac_status=$?
|
---|
| 2497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2498 | (exit $ac_status); }
|
---|
| 2499 |
|
---|
[20853] | 2500 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 2501 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
---|
[8756] | 2502 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
| 2503 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[3631] | 2504 | else
|
---|
[8756] | 2505 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2506 | /* confdefs.h. */
|
---|
| 2507 | _ACEOF
|
---|
| 2508 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2509 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2510 | /* end confdefs.h. */
|
---|
| 2511 |
|
---|
| 2512 | int
|
---|
| 2513 | main ()
|
---|
| 2514 | {
|
---|
| 2515 | #ifndef __GNUC__
|
---|
| 2516 | choke me
|
---|
[3631] | 2517 | #endif
|
---|
[8756] | 2518 |
|
---|
| 2519 | ;
|
---|
| 2520 | return 0;
|
---|
| 2521 | }
|
---|
| 2522 | _ACEOF
|
---|
| 2523 | rm -f conftest.$ac_objext
|
---|
[20853] | 2524 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2525 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2526 | ac_status=$?
|
---|
| 2527 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2528 | rm -f conftest.er1
|
---|
| 2529 | cat conftest.err >&5
|
---|
| 2530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2531 | (exit $ac_status); } &&
|
---|
| 2532 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2533 | || test ! -s conftest.err'
|
---|
| 2534 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2535 | (eval $ac_try) 2>&5
|
---|
| 2536 | ac_status=$?
|
---|
| 2537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2538 | (exit $ac_status); }; } &&
|
---|
| 2539 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2541 | (eval $ac_try) 2>&5
|
---|
| 2542 | ac_status=$?
|
---|
| 2543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2544 | (exit $ac_status); }; }; then
|
---|
[8756] | 2545 | ac_compiler_gnu=yes
|
---|
[8200] | 2546 | else
|
---|
[8756] | 2547 | echo "$as_me: failed program was:" >&5
|
---|
| 2548 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2549 |
|
---|
[20853] | 2550 | ac_compiler_gnu=no
|
---|
[8200] | 2551 | fi
|
---|
[20853] | 2552 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 2553 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 2554 |
|
---|
[8200] | 2555 | fi
|
---|
[20853] | 2556 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 2557 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
---|
[8756] | 2558 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2559 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 2560 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[20853] | 2561 | CXXFLAGS="-g"
|
---|
| 2562 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
| 2563 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
---|
[8756] | 2564 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
| 2565 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2566 | else
|
---|
[20853] | 2567 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2568 | /* confdefs.h. */
|
---|
| 2569 | _ACEOF
|
---|
| 2570 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2571 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2572 | /* end confdefs.h. */
|
---|
[3631] | 2573 |
|
---|
[8756] | 2574 | int
|
---|
| 2575 | main ()
|
---|
| 2576 | {
|
---|
[8200] | 2577 |
|
---|
[8756] | 2578 | ;
|
---|
| 2579 | return 0;
|
---|
| 2580 | }
|
---|
| 2581 | _ACEOF
|
---|
| 2582 | rm -f conftest.$ac_objext
|
---|
[20853] | 2583 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2584 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2585 | ac_status=$?
|
---|
| 2586 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2587 | rm -f conftest.er1
|
---|
| 2588 | cat conftest.err >&5
|
---|
| 2589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2590 | (exit $ac_status); } &&
|
---|
| 2591 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2592 | || test ! -s conftest.err'
|
---|
| 2593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2594 | (eval $ac_try) 2>&5
|
---|
| 2595 | ac_status=$?
|
---|
| 2596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2597 | (exit $ac_status); }; } &&
|
---|
| 2598 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2600 | (eval $ac_try) 2>&5
|
---|
| 2601 | ac_status=$?
|
---|
| 2602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2603 | (exit $ac_status); }; }; then
|
---|
[562] | 2604 | ac_cv_prog_cxx_g=yes
|
---|
| 2605 | else
|
---|
[8756] | 2606 | echo "$as_me: failed program was:" >&5
|
---|
| 2607 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 2608 |
|
---|
[20853] | 2609 | ac_cv_prog_cxx_g=no
|
---|
| 2610 | fi
|
---|
| 2611 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2612 | fi
|
---|
| 2613 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 2614 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
---|
| 2615 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 2616 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 2617 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 2618 | if test "$GXX" = yes; then
|
---|
| 2619 | CXXFLAGS="-g -O2"
|
---|
| 2620 | else
|
---|
| 2621 | CXXFLAGS="-g"
|
---|
| 2622 | fi
|
---|
| 2623 | else
|
---|
| 2624 | if test "$GXX" = yes; then
|
---|
| 2625 | CXXFLAGS="-O2"
|
---|
| 2626 | else
|
---|
| 2627 | CXXFLAGS=
|
---|
| 2628 | fi
|
---|
| 2629 | fi
|
---|
| 2630 | for ac_declaration in \
|
---|
| 2631 | '' \
|
---|
| 2632 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2633 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2634 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2635 | 'extern "C" void exit (int);' \
|
---|
| 2636 | 'void exit (int);'
|
---|
| 2637 | do
|
---|
| 2638 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2639 | /* confdefs.h. */
|
---|
| 2640 | _ACEOF
|
---|
| 2641 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2642 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2643 | /* end confdefs.h. */
|
---|
[20853] | 2644 | $ac_declaration
|
---|
| 2645 | #include <stdlib.h>
|
---|
[8756] | 2646 | int
|
---|
| 2647 | main ()
|
---|
| 2648 | {
|
---|
[20853] | 2649 | exit (42);
|
---|
[8756] | 2650 | ;
|
---|
| 2651 | return 0;
|
---|
| 2652 | }
|
---|
| 2653 | _ACEOF
|
---|
| 2654 | rm -f conftest.$ac_objext
|
---|
[20853] | 2655 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2656 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2657 | ac_status=$?
|
---|
| 2658 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2659 | rm -f conftest.er1
|
---|
| 2660 | cat conftest.err >&5
|
---|
| 2661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2662 | (exit $ac_status); } &&
|
---|
| 2663 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2664 | || test ! -s conftest.err'
|
---|
| 2665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2666 | (eval $ac_try) 2>&5
|
---|
| 2667 | ac_status=$?
|
---|
| 2668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2669 | (exit $ac_status); }; } &&
|
---|
| 2670 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2672 | (eval $ac_try) 2>&5
|
---|
| 2673 | ac_status=$?
|
---|
| 2674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2675 | (exit $ac_status); }; }; then
|
---|
[8756] | 2676 | :
|
---|
| 2677 | else
|
---|
| 2678 | echo "$as_me: failed program was:" >&5
|
---|
| 2679 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[3063] | 2680 |
|
---|
[20853] | 2681 | continue
|
---|
| 2682 | fi
|
---|
| 2683 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2684 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[8756] | 2685 | /* confdefs.h. */
|
---|
| 2686 | _ACEOF
|
---|
| 2687 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2688 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2689 | /* end confdefs.h. */
|
---|
[20853] | 2690 | $ac_declaration
|
---|
[8756] | 2691 | int
|
---|
| 2692 | main ()
|
---|
| 2693 | {
|
---|
[20853] | 2694 | exit (42);
|
---|
[8756] | 2695 | ;
|
---|
| 2696 | return 0;
|
---|
| 2697 | }
|
---|
| 2698 | _ACEOF
|
---|
| 2699 | rm -f conftest.$ac_objext
|
---|
[20853] | 2700 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2701 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 2702 | ac_status=$?
|
---|
| 2703 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2704 | rm -f conftest.er1
|
---|
| 2705 | cat conftest.err >&5
|
---|
| 2706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 2707 | (exit $ac_status); } &&
|
---|
| 2708 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 2709 | || test ! -s conftest.err'
|
---|
| 2710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2711 | (eval $ac_try) 2>&5
|
---|
| 2712 | ac_status=$?
|
---|
| 2713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2714 | (exit $ac_status); }; } &&
|
---|
| 2715 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2717 | (eval $ac_try) 2>&5
|
---|
| 2718 | ac_status=$?
|
---|
| 2719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2720 | (exit $ac_status); }; }; then
|
---|
| 2721 | break
|
---|
[8756] | 2722 | else
|
---|
| 2723 | echo "$as_me: failed program was:" >&5
|
---|
| 2724 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2725 |
|
---|
| 2726 | fi
|
---|
[20853] | 2727 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2728 | done
|
---|
| 2729 | rm -f conftest*
|
---|
| 2730 | if test -n "$ac_declaration"; then
|
---|
| 2731 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2732 | echo $ac_declaration >>confdefs.h
|
---|
| 2733 | echo '#endif' >>confdefs.h
|
---|
[8756] | 2734 | fi
|
---|
| 2735 |
|
---|
| 2736 | ac_ext=c
|
---|
| 2737 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2738 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2739 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2740 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2741 |
|
---|
| 2742 | for ac_prog in gawk mawk nawk awk
|
---|
[3063] | 2743 | do
|
---|
[8756] | 2744 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
[687] | 2745 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 2746 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2747 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2748 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
| 2749 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 2750 | else
|
---|
| 2751 | if test -n "$AWK"; then
|
---|
| 2752 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 2753 | else
|
---|
[8756] | 2754 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2755 | for as_dir in $PATH
|
---|
| 2756 | do
|
---|
| 2757 | IFS=$as_save_IFS
|
---|
| 2758 | test -z "$as_dir" && as_dir=.
|
---|
| 2759 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2760 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2761 | ac_cv_prog_AWK="$ac_prog"
|
---|
| 2762 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2763 | break 2
|
---|
| 2764 | fi
|
---|
| 2765 | done
|
---|
| 2766 | done
|
---|
| 2767 |
|
---|
[687] | 2768 | fi
|
---|
| 2769 | fi
|
---|
[8756] | 2770 | AWK=$ac_cv_prog_AWK
|
---|
[687] | 2771 | if test -n "$AWK"; then
|
---|
[20853] | 2772 | echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
| 2773 | echo "${ECHO_T}$AWK" >&6
|
---|
[687] | 2774 | else
|
---|
[20853] | 2775 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2776 | echo "${ECHO_T}no" >&6
|
---|
[687] | 2777 | fi
|
---|
| 2778 |
|
---|
[8756] | 2779 | test -n "$AWK" && break
|
---|
[687] | 2780 | done
|
---|
| 2781 |
|
---|
| 2782 | for ac_prog in 'bison -y' byacc
|
---|
| 2783 | do
|
---|
[8756] | 2784 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
[687] | 2785 | set dummy $ac_prog; ac_word=$2
|
---|
[20853] | 2786 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2787 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 2788 | if test "${ac_cv_prog_YACC+set}" = set; then
|
---|
| 2789 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 2790 | else
|
---|
| 2791 | if test -n "$YACC"; then
|
---|
| 2792 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 2793 | else
|
---|
[8756] | 2794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2795 | for as_dir in $PATH
|
---|
| 2796 | do
|
---|
| 2797 | IFS=$as_save_IFS
|
---|
| 2798 | test -z "$as_dir" && as_dir=.
|
---|
| 2799 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2800 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 2801 | ac_cv_prog_YACC="$ac_prog"
|
---|
| 2802 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2803 | break 2
|
---|
| 2804 | fi
|
---|
| 2805 | done
|
---|
| 2806 | done
|
---|
| 2807 |
|
---|
[687] | 2808 | fi
|
---|
| 2809 | fi
|
---|
[8756] | 2810 | YACC=$ac_cv_prog_YACC
|
---|
[687] | 2811 | if test -n "$YACC"; then
|
---|
[20853] | 2812 | echo "$as_me:$LINENO: result: $YACC" >&5
|
---|
| 2813 | echo "${ECHO_T}$YACC" >&6
|
---|
[687] | 2814 | else
|
---|
[20853] | 2815 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2816 | echo "${ECHO_T}no" >&6
|
---|
[687] | 2817 | fi
|
---|
| 2818 |
|
---|
[8756] | 2819 | test -n "$YACC" && break
|
---|
[687] | 2820 | done
|
---|
| 2821 | test -n "$YACC" || YACC="yacc"
|
---|
| 2822 |
|
---|
[703] | 2823 | ac_aux_dir=
|
---|
[20853] | 2824 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
---|
| 2825 | if test -f $ac_dir/install-sh; then
|
---|
[703] | 2826 | ac_aux_dir=$ac_dir
|
---|
| 2827 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 2828 | break
|
---|
[20853] | 2829 | elif test -f $ac_dir/install.sh; then
|
---|
[703] | 2830 | ac_aux_dir=$ac_dir
|
---|
| 2831 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 2832 | break
|
---|
[20853] | 2833 | elif test -f $ac_dir/shtool; then
|
---|
[8756] | 2834 | ac_aux_dir=$ac_dir
|
---|
| 2835 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 2836 | break
|
---|
[703] | 2837 | fi
|
---|
| 2838 | done
|
---|
| 2839 | if test -z "$ac_aux_dir"; then
|
---|
[20853] | 2840 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
---|
| 2841 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
---|
[8756] | 2842 | { (exit 1); exit 1; }; }
|
---|
[703] | 2843 | fi
|
---|
[20853] | 2844 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
---|
| 2845 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
---|
| 2846 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
---|
[703] | 2847 |
|
---|
[8756] | 2848 | # Make sure we can run config.sub.
|
---|
[20853] | 2849 | $ac_config_sub sun4 >/dev/null 2>&1 ||
|
---|
| 2850 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
---|
| 2851 | echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
---|
[8756] | 2852 | { (exit 1); exit 1; }; }
|
---|
[2279] | 2853 |
|
---|
[20853] | 2854 | echo "$as_me:$LINENO: checking build system type" >&5
|
---|
| 2855 | echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
---|
[8756] | 2856 | if test "${ac_cv_build+set}" = set; then
|
---|
| 2857 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2858 | else
|
---|
[20853] | 2859 | ac_cv_build_alias=$build_alias
|
---|
| 2860 | test -z "$ac_cv_build_alias" &&
|
---|
| 2861 | ac_cv_build_alias=`$ac_config_guess`
|
---|
| 2862 | test -z "$ac_cv_build_alias" &&
|
---|
[8756] | 2863 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
| 2864 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
| 2865 | { (exit 1); exit 1; }; }
|
---|
[20853] | 2866 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
---|
| 2867 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
---|
| 2868 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
---|
[8756] | 2869 | { (exit 1); exit 1; }; }
|
---|
[2279] | 2870 |
|
---|
| 2871 | fi
|
---|
[20853] | 2872 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
| 2873 | echo "${ECHO_T}$ac_cv_build" >&6
|
---|
[8756] | 2874 | build=$ac_cv_build
|
---|
[20853] | 2875 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 2876 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 2877 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
[2279] | 2878 |
|
---|
| 2879 |
|
---|
[20853] | 2880 | echo "$as_me:$LINENO: checking host system type" >&5
|
---|
| 2881 | echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
---|
[8756] | 2882 | if test "${ac_cv_host+set}" = set; then
|
---|
| 2883 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2884 | else
|
---|
[20853] | 2885 | ac_cv_host_alias=$host_alias
|
---|
| 2886 | test -z "$ac_cv_host_alias" &&
|
---|
| 2887 | ac_cv_host_alias=$ac_cv_build_alias
|
---|
| 2888 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
---|
| 2889 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
---|
| 2890 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
---|
[8756] | 2891 | { (exit 1); exit 1; }; }
|
---|
[2279] | 2892 |
|
---|
[8756] | 2893 | fi
|
---|
[20853] | 2894 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
| 2895 | echo "${ECHO_T}$ac_cv_host" >&6
|
---|
[8756] | 2896 | host=$ac_cv_host
|
---|
[20853] | 2897 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 2898 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 2899 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
[8200] | 2900 |
|
---|
| 2901 |
|
---|
[20853] | 2902 | echo "$as_me:$LINENO: checking target system type" >&5
|
---|
| 2903 | echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
---|
[8756] | 2904 | if test "${ac_cv_target+set}" = set; then
|
---|
| 2905 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2906 | else
|
---|
[20853] | 2907 | ac_cv_target_alias=$target_alias
|
---|
| 2908 | test "x$ac_cv_target_alias" = "x" &&
|
---|
| 2909 | ac_cv_target_alias=$ac_cv_host_alias
|
---|
| 2910 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
---|
| 2911 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
---|
| 2912 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
---|
[8756] | 2913 | { (exit 1); exit 1; }; }
|
---|
[8200] | 2914 |
|
---|
[8756] | 2915 | fi
|
---|
[20853] | 2916 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
---|
| 2917 | echo "${ECHO_T}$ac_cv_target" >&6
|
---|
[8756] | 2918 | target=$ac_cv_target
|
---|
[20853] | 2919 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 2920 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 2921 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
[8200] | 2922 |
|
---|
| 2923 |
|
---|
[8756] | 2924 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 2925 | # will get canonicalized.
|
---|
| 2926 | test -n "$target_alias" &&
|
---|
[2279] | 2927 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 2928 | NONENONEs,x,x, &&
|
---|
| 2929 | program_prefix=${target_alias}-
|
---|
[703] | 2930 | # Find a good install program. We prefer a C program (faster),
|
---|
| 2931 | # so one script is as good as another. But avoid the broken or
|
---|
| 2932 | # incompatible versions:
|
---|
| 2933 | # SysV /etc/install, /usr/sbin/install
|
---|
| 2934 | # SunOS /usr/etc/install
|
---|
| 2935 | # IRIX /sbin/install
|
---|
| 2936 | # AIX /bin/install
|
---|
[8756] | 2937 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
[703] | 2938 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 2939 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 2940 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
[8756] | 2941 | # OS/2's system install, which has a completely different semantic
|
---|
[703] | 2942 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[20853] | 2943 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 2944 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
[703] | 2945 | if test -z "$INSTALL"; then
|
---|
[8756] | 2946 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 2947 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[703] | 2948 | else
|
---|
[8756] | 2949 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2950 | for as_dir in $PATH
|
---|
| 2951 | do
|
---|
| 2952 | IFS=$as_save_IFS
|
---|
| 2953 | test -z "$as_dir" && as_dir=.
|
---|
| 2954 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 2955 | case $as_dir/ in
|
---|
| 2956 | ./ | .// | /cC/* | \
|
---|
| 2957 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 2958 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
| 2959 | /usr/ucb/* ) ;;
|
---|
| 2960 | *)
|
---|
| 2961 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 2962 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 2963 | # by default.
|
---|
| 2964 | for ac_prog in ginstall scoinst install; do
|
---|
| 2965 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 2966 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
[703] | 2967 | if test $ac_prog = install &&
|
---|
[8756] | 2968 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
[703] | 2969 | # AIX install. It has an incompatible calling convention.
|
---|
| 2970 | :
|
---|
[8756] | 2971 | elif test $ac_prog = install &&
|
---|
| 2972 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 2973 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 2974 | :
|
---|
[703] | 2975 | else
|
---|
[8756] | 2976 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 2977 | break 3
|
---|
[703] | 2978 | fi
|
---|
| 2979 | fi
|
---|
| 2980 | done
|
---|
[8756] | 2981 | done
|
---|
| 2982 | ;;
|
---|
| 2983 | esac
|
---|
| 2984 | done
|
---|
[703] | 2985 |
|
---|
[8756] | 2986 |
|
---|
[703] | 2987 | fi
|
---|
| 2988 | if test "${ac_cv_path_install+set}" = set; then
|
---|
[8756] | 2989 | INSTALL=$ac_cv_path_install
|
---|
[703] | 2990 | else
|
---|
[20853] | 2991 | # As a last resort, use the slow shell script. We don't cache a
|
---|
| 2992 | # path for INSTALL within a source directory, because that will
|
---|
[703] | 2993 | # break other packages using the cache if that directory is
|
---|
[20853] | 2994 | # removed, or if the path is relative.
|
---|
[8756] | 2995 | INSTALL=$ac_install_sh
|
---|
[703] | 2996 | fi
|
---|
| 2997 | fi
|
---|
[20853] | 2998 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 2999 | echo "${ECHO_T}$INSTALL" >&6
|
---|
[703] | 3000 |
|
---|
| 3001 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3002 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3003 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3004 |
|
---|
[8756] | 3005 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
[703] | 3006 |
|
---|
| 3007 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3008 |
|
---|
[20853] | 3009 | echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
---|
| 3010 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
---|
[8756] | 3011 | LN_S=$as_ln_s
|
---|
| 3012 | if test "$LN_S" = "ln -s"; then
|
---|
[20853] | 3013 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3014 | echo "${ECHO_T}yes" >&6
|
---|
[562] | 3015 | else
|
---|
[20853] | 3016 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
---|
| 3017 | echo "${ECHO_T}no, using $LN_S" >&6
|
---|
[562] | 3018 | fi
|
---|
| 3019 |
|
---|
[20853] | 3020 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 3021 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
---|
| 3022 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
---|
| 3023 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
---|
[8756] | 3024 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 3025 | else
|
---|
[8756] | 3026 | cat >conftest.make <<\_ACEOF
|
---|
[562] | 3027 | all:
|
---|
[20853] | 3028 | @echo 'ac_maketemp="$(MAKE)"'
|
---|
[8756] | 3029 | _ACEOF
|
---|
[562] | 3030 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
[20853] | 3031 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
---|
| 3032 | if test -n "$ac_maketemp"; then
|
---|
| 3033 | eval ac_cv_prog_make_${ac_make}_set=yes
|
---|
| 3034 | else
|
---|
| 3035 | eval ac_cv_prog_make_${ac_make}_set=no
|
---|
| 3036 | fi
|
---|
[8756] | 3037 | rm -f conftest.make
|
---|
[562] | 3038 | fi
|
---|
[20853] | 3039 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
---|
| 3040 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3041 | echo "${ECHO_T}yes" >&6
|
---|
[562] | 3042 | SET_MAKE=
|
---|
| 3043 | else
|
---|
[20853] | 3044 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3045 | echo "${ECHO_T}no" >&6
|
---|
[562] | 3046 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 3047 | fi
|
---|
| 3048 |
|
---|
[8756] | 3049 | if test -n "$ac_tool_prefix"; then
|
---|
| 3050 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3051 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[20853] | 3052 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3053 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 3054 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
| 3055 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 3056 | else
|
---|
| 3057 | if test -n "$RANLIB"; then
|
---|
| 3058 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3059 | else
|
---|
[8756] | 3060 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3061 | for as_dir in $PATH
|
---|
| 3062 | do
|
---|
| 3063 | IFS=$as_save_IFS
|
---|
| 3064 | test -z "$as_dir" && as_dir=.
|
---|
| 3065 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 3066 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 3067 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
| 3068 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3069 | break 2
|
---|
| 3070 | fi
|
---|
| 3071 | done
|
---|
| 3072 | done
|
---|
| 3073 |
|
---|
[562] | 3074 | fi
|
---|
| 3075 | fi
|
---|
[8756] | 3076 | RANLIB=$ac_cv_prog_RANLIB
|
---|
[562] | 3077 | if test -n "$RANLIB"; then
|
---|
[20853] | 3078 | echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
| 3079 | echo "${ECHO_T}$RANLIB" >&6
|
---|
[562] | 3080 | else
|
---|
[20853] | 3081 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3082 | echo "${ECHO_T}no" >&6
|
---|
[562] | 3083 | fi
|
---|
| 3084 |
|
---|
[8756] | 3085 | fi
|
---|
| 3086 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 3087 | ac_ct_RANLIB=$RANLIB
|
---|
| 3088 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 3089 | set dummy ranlib; ac_word=$2
|
---|
[20853] | 3090 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3091 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[8756] | 3092 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
| 3093 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3094 | else
|
---|
| 3095 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3096 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 3097 | else
|
---|
| 3098 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3099 | for as_dir in $PATH
|
---|
| 3100 | do
|
---|
| 3101 | IFS=$as_save_IFS
|
---|
| 3102 | test -z "$as_dir" && as_dir=.
|
---|
| 3103 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20853] | 3104 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[8756] | 3105 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
| 3106 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3107 | break 2
|
---|
| 3108 | fi
|
---|
| 3109 | done
|
---|
| 3110 | done
|
---|
[562] | 3111 |
|
---|
[20853] | 3112 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
---|
[8756] | 3113 | fi
|
---|
| 3114 | fi
|
---|
| 3115 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 3116 | if test -n "$ac_ct_RANLIB"; then
|
---|
[20853] | 3117 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
| 3118 | echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
---|
[8756] | 3119 | else
|
---|
[20853] | 3120 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3121 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 3122 | fi
|
---|
| 3123 |
|
---|
[20853] | 3124 | RANLIB=$ac_ct_RANLIB
|
---|
[8756] | 3125 | else
|
---|
| 3126 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 3127 | fi
|
---|
| 3128 |
|
---|
| 3129 |
|
---|
[20853] | 3130 | echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
|
---|
| 3131 | echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
|
---|
[15551] | 3132 | arch_64bit=no
|
---|
| 3133 | case "$host_cpu" in
|
---|
| 3134 | x86_64) arch_64bit=yes ;;
|
---|
| 3135 | esac
|
---|
| 3136 |
|
---|
| 3137 | if test "$arch_64bit" = yes; then
|
---|
[20853] | 3138 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3139 | echo "${ECHO_T}yes" >&6
|
---|
[15551] | 3140 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3141 | COMPAT32BITFLAGS="-m32"
|
---|
| 3142 | fi
|
---|
| 3143 | else
|
---|
[20853] | 3144 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3145 | echo "${ECHO_T}no" >&6
|
---|
[15551] | 3146 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3147 | COMPAT32BITFLAGS=
|
---|
| 3148 | fi
|
---|
| 3149 | fi
|
---|
| 3150 | export COMPAT32BITFLAGS
|
---|
| 3151 |
|
---|
| 3152 |
|
---|
| 3153 |
|
---|
[2173] | 3154 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 3155 | if test $USE_CORBA = 1; then
|
---|
| 3156 |
|
---|
[2213] | 3157 | if test $MICO_DIR = "default"; then
|
---|
[2173] | 3158 | #do something
|
---|
| 3159 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 3160 | else
|
---|
| 3161 | #build the micotest program
|
---|
| 3162 | MICO_INC= ""
|
---|
| 3163 | if test $MICO_DIR != yes; then
|
---|
| 3164 | MICO_INC="-I $MICO_DIR"
|
---|
| 3165 | fi
|
---|
| 3166 | fi
|
---|
| 3167 |
|
---|
| 3168 | #get MICO_VER value
|
---|
| 3169 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 3170 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
[2214] | 3171 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
[2173] | 3172 | sh -c "rm micotest"
|
---|
| 3173 | sh -c "rm micotest.o"
|
---|
| 3174 |
|
---|
| 3175 | #do test of MICO_VER
|
---|
| 3176 | if test MICO_VER != 0; then
|
---|
[8756] | 3177 | cat >>confdefs.h <<\_ACEOF
|
---|
[2173] | 3178 | #define MICO_VER 1
|
---|
[8756] | 3179 | _ACEOF
|
---|
[2173] | 3180 |
|
---|
[8200] | 3181 |
|
---|
[2173] | 3182 | fi
|
---|
| 3183 | #end USE_CORBA test
|
---|
| 3184 | fi
|
---|
| 3185 |
|
---|
[8756] | 3186 |
|
---|
| 3187 | ac_ext=c
|
---|
| 3188 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3189 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3190 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3191 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[20853] | 3192 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
---|
| 3193 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
---|
[687] | 3194 | # On Suns, sometimes $CPP names a directory.
|
---|
| 3195 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 3196 | CPP=
|
---|
| 3197 | fi
|
---|
| 3198 | if test -z "$CPP"; then
|
---|
[8756] | 3199 | if test "${ac_cv_prog_CPP+set}" = set; then
|
---|
| 3200 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 3201 | else
|
---|
[8756] | 3202 | # Double quotes because CPP needs to be expanded
|
---|
| 3203 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 3204 | do
|
---|
| 3205 | ac_preproc_ok=false
|
---|
| 3206 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3207 | do
|
---|
| 3208 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3209 | # with a fresh cross-compiler works.
|
---|
| 3210 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3211 | # <limits.h> exists even on freestanding compilers.
|
---|
[687] | 3212 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
[8756] | 3213 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3214 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3215 | /* confdefs.h. */
|
---|
| 3216 | _ACEOF
|
---|
| 3217 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3218 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3219 | /* end confdefs.h. */
|
---|
| 3220 | #ifdef __STDC__
|
---|
| 3221 | # include <limits.h>
|
---|
| 3222 | #else
|
---|
| 3223 | # include <assert.h>
|
---|
| 3224 | #endif
|
---|
| 3225 | Syntax error
|
---|
| 3226 | _ACEOF
|
---|
[20853] | 3227 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3228 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3229 | ac_status=$?
|
---|
| 3230 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3231 | rm -f conftest.er1
|
---|
| 3232 | cat conftest.err >&5
|
---|
| 3233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3234 | (exit $ac_status); } >/dev/null; then
|
---|
| 3235 | if test -s conftest.err; then
|
---|
| 3236 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3237 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3238 | else
|
---|
| 3239 | ac_cpp_err=
|
---|
| 3240 | fi
|
---|
| 3241 | else
|
---|
| 3242 | ac_cpp_err=yes
|
---|
| 3243 | fi
|
---|
| 3244 | if test -z "$ac_cpp_err"; then
|
---|
[8200] | 3245 | :
|
---|
[687] | 3246 | else
|
---|
[8756] | 3247 | echo "$as_me: failed program was:" >&5
|
---|
| 3248 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3249 |
|
---|
| 3250 | # Broken: fails on valid input.
|
---|
| 3251 | continue
|
---|
| 3252 | fi
|
---|
| 3253 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3254 |
|
---|
[20853] | 3255 | # OK, works on sane cases. Now check whether non-existent headers
|
---|
[8756] | 3256 | # can be detected and how.
|
---|
| 3257 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3258 | /* confdefs.h. */
|
---|
| 3259 | _ACEOF
|
---|
| 3260 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3261 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3262 | /* end confdefs.h. */
|
---|
| 3263 | #include <ac_nonexistent.h>
|
---|
| 3264 | _ACEOF
|
---|
[20853] | 3265 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3266 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3267 | ac_status=$?
|
---|
| 3268 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3269 | rm -f conftest.er1
|
---|
| 3270 | cat conftest.err >&5
|
---|
| 3271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3272 | (exit $ac_status); } >/dev/null; then
|
---|
| 3273 | if test -s conftest.err; then
|
---|
| 3274 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3275 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3276 | else
|
---|
| 3277 | ac_cpp_err=
|
---|
| 3278 | fi
|
---|
| 3279 | else
|
---|
| 3280 | ac_cpp_err=yes
|
---|
| 3281 | fi
|
---|
| 3282 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 3283 | # Broken: success on invalid input.
|
---|
| 3284 | continue
|
---|
| 3285 | else
|
---|
| 3286 | echo "$as_me: failed program was:" >&5
|
---|
| 3287 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3288 |
|
---|
| 3289 | # Passes both tests.
|
---|
| 3290 | ac_preproc_ok=:
|
---|
| 3291 | break
|
---|
| 3292 | fi
|
---|
| 3293 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3294 |
|
---|
| 3295 | done
|
---|
| 3296 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3297 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3298 | if $ac_preproc_ok; then
|
---|
| 3299 | break
|
---|
| 3300 | fi
|
---|
| 3301 |
|
---|
| 3302 | done
|
---|
| 3303 | ac_cv_prog_CPP=$CPP
|
---|
| 3304 |
|
---|
| 3305 | fi
|
---|
| 3306 | CPP=$ac_cv_prog_CPP
|
---|
| 3307 | else
|
---|
| 3308 | ac_cv_prog_CPP=$CPP
|
---|
| 3309 | fi
|
---|
[20853] | 3310 | echo "$as_me:$LINENO: result: $CPP" >&5
|
---|
| 3311 | echo "${ECHO_T}$CPP" >&6
|
---|
[8756] | 3312 | ac_preproc_ok=false
|
---|
| 3313 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3314 | do
|
---|
| 3315 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3316 | # with a fresh cross-compiler works.
|
---|
| 3317 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3318 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3319 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3320 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3321 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3322 | /* confdefs.h. */
|
---|
| 3323 | _ACEOF
|
---|
| 3324 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3325 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3326 | /* end confdefs.h. */
|
---|
| 3327 | #ifdef __STDC__
|
---|
| 3328 | # include <limits.h>
|
---|
| 3329 | #else
|
---|
| 3330 | # include <assert.h>
|
---|
| 3331 | #endif
|
---|
| 3332 | Syntax error
|
---|
| 3333 | _ACEOF
|
---|
[20853] | 3334 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3335 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3336 | ac_status=$?
|
---|
| 3337 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3338 | rm -f conftest.er1
|
---|
| 3339 | cat conftest.err >&5
|
---|
| 3340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3341 | (exit $ac_status); } >/dev/null; then
|
---|
| 3342 | if test -s conftest.err; then
|
---|
| 3343 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3344 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3345 | else
|
---|
| 3346 | ac_cpp_err=
|
---|
| 3347 | fi
|
---|
| 3348 | else
|
---|
| 3349 | ac_cpp_err=yes
|
---|
| 3350 | fi
|
---|
| 3351 | if test -z "$ac_cpp_err"; then
|
---|
[687] | 3352 | :
|
---|
| 3353 | else
|
---|
[8756] | 3354 | echo "$as_me: failed program was:" >&5
|
---|
| 3355 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3356 |
|
---|
| 3357 | # Broken: fails on valid input.
|
---|
| 3358 | continue
|
---|
[687] | 3359 | fi
|
---|
[8756] | 3360 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3361 |
|
---|
[20853] | 3362 | # OK, works on sane cases. Now check whether non-existent headers
|
---|
[8756] | 3363 | # can be detected and how.
|
---|
| 3364 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3365 | /* confdefs.h. */
|
---|
| 3366 | _ACEOF
|
---|
| 3367 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3368 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3369 | /* end confdefs.h. */
|
---|
| 3370 | #include <ac_nonexistent.h>
|
---|
| 3371 | _ACEOF
|
---|
[20853] | 3372 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3373 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3374 | ac_status=$?
|
---|
| 3375 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3376 | rm -f conftest.er1
|
---|
| 3377 | cat conftest.err >&5
|
---|
| 3378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3379 | (exit $ac_status); } >/dev/null; then
|
---|
| 3380 | if test -s conftest.err; then
|
---|
| 3381 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3382 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3383 | else
|
---|
| 3384 | ac_cpp_err=
|
---|
| 3385 | fi
|
---|
| 3386 | else
|
---|
| 3387 | ac_cpp_err=yes
|
---|
| 3388 | fi
|
---|
| 3389 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 3390 | # Broken: success on invalid input.
|
---|
| 3391 | continue
|
---|
| 3392 | else
|
---|
| 3393 | echo "$as_me: failed program was:" >&5
|
---|
| 3394 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3395 |
|
---|
| 3396 | # Passes both tests.
|
---|
| 3397 | ac_preproc_ok=:
|
---|
| 3398 | break
|
---|
[687] | 3399 | fi
|
---|
[8756] | 3400 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3401 |
|
---|
| 3402 | done
|
---|
| 3403 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3404 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3405 | if $ac_preproc_ok; then
|
---|
| 3406 | :
|
---|
| 3407 | else
|
---|
| 3408 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3409 | See \`config.log' for more details." >&5
|
---|
| 3410 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3411 | See \`config.log' for more details." >&2;}
|
---|
| 3412 | { (exit 1); exit 1; }; }
|
---|
[8200] | 3413 | fi
|
---|
[8756] | 3414 |
|
---|
| 3415 | ac_ext=c
|
---|
| 3416 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3417 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3418 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3419 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3420 |
|
---|
| 3421 |
|
---|
[20853] | 3422 | echo "$as_me:$LINENO: checking for egrep" >&5
|
---|
| 3423 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
---|
| 3424 | if test "${ac_cv_prog_egrep+set}" = set; then
|
---|
[8756] | 3425 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 3426 | else
|
---|
[20853] | 3427 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
---|
| 3428 | then ac_cv_prog_egrep='grep -E'
|
---|
| 3429 | else ac_cv_prog_egrep='egrep'
|
---|
[8756] | 3430 | fi
|
---|
[687] | 3431 | fi
|
---|
[20853] | 3432 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
---|
| 3433 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
---|
| 3434 | EGREP=$ac_cv_prog_egrep
|
---|
[687] | 3435 |
|
---|
[8756] | 3436 |
|
---|
| 3437 |
|
---|
[20853] | 3438 | echo "$as_me:$LINENO: checking for AIX" >&5
|
---|
| 3439 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6
|
---|
[8756] | 3440 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3441 | /* confdefs.h. */
|
---|
| 3442 | _ACEOF
|
---|
| 3443 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3444 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3445 | /* end confdefs.h. */
|
---|
[687] | 3446 | #ifdef _AIX
|
---|
| 3447 | yes
|
---|
| 3448 | #endif
|
---|
| 3449 |
|
---|
[8756] | 3450 | _ACEOF
|
---|
[687] | 3451 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 3452 | $EGREP "yes" >/dev/null 2>&1; then
|
---|
[20853] | 3453 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3454 | echo "${ECHO_T}yes" >&6
|
---|
[8756] | 3455 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 3456 | #define _ALL_SOURCE 1
|
---|
[8756] | 3457 | _ACEOF
|
---|
[687] | 3458 |
|
---|
| 3459 | else
|
---|
[20853] | 3460 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3461 | echo "${ECHO_T}no" >&6
|
---|
[687] | 3462 | fi
|
---|
| 3463 | rm -f conftest*
|
---|
| 3464 |
|
---|
[8200] | 3465 |
|
---|
[20853] | 3466 | echo "$as_me:$LINENO: checking for library containing strerror" >&5
|
---|
| 3467 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
|
---|
[8756] | 3468 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 3469 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3470 | else
|
---|
| 3471 | ac_func_search_save_LIBS=$LIBS
|
---|
[20853] | 3472 | ac_cv_search_strerror=no
|
---|
[8756] | 3473 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3474 | /* confdefs.h. */
|
---|
| 3475 | _ACEOF
|
---|
| 3476 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3477 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3478 | /* end confdefs.h. */
|
---|
[687] | 3479 |
|
---|
[20853] | 3480 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 3481 | #ifdef __cplusplus
|
---|
| 3482 | extern "C"
|
---|
| 3483 | #endif
|
---|
[20853] | 3484 | /* We use char because int might match the return type of a gcc2
|
---|
| 3485 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 3486 | char strerror ();
|
---|
| 3487 | int
|
---|
| 3488 | main ()
|
---|
| 3489 | {
|
---|
[20853] | 3490 | strerror ();
|
---|
[8756] | 3491 | ;
|
---|
| 3492 | return 0;
|
---|
| 3493 | }
|
---|
| 3494 | _ACEOF
|
---|
[20853] | 3495 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3496 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3497 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 3498 | ac_status=$?
|
---|
| 3499 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3500 | rm -f conftest.er1
|
---|
| 3501 | cat conftest.err >&5
|
---|
| 3502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3503 | (exit $ac_status); } &&
|
---|
| 3504 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3505 | || test ! -s conftest.err'
|
---|
| 3506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3507 | (eval $ac_try) 2>&5
|
---|
| 3508 | ac_status=$?
|
---|
| 3509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3510 | (exit $ac_status); }; } &&
|
---|
| 3511 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3512 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3513 | (eval $ac_try) 2>&5
|
---|
| 3514 | ac_status=$?
|
---|
| 3515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3516 | (exit $ac_status); }; }; then
|
---|
| 3517 | ac_cv_search_strerror="none required"
|
---|
[687] | 3518 | else
|
---|
[8756] | 3519 | echo "$as_me: failed program was:" >&5
|
---|
| 3520 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3521 |
|
---|
[687] | 3522 | fi
|
---|
[20853] | 3523 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 3524 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 3525 | if test "$ac_cv_search_strerror" = no; then
|
---|
| 3526 | for ac_lib in cposix; do
|
---|
| 3527 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 3528 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3529 | /* confdefs.h. */
|
---|
| 3530 | _ACEOF
|
---|
| 3531 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3532 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3533 | /* end confdefs.h. */
|
---|
[687] | 3534 |
|
---|
[20853] | 3535 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 3536 | #ifdef __cplusplus
|
---|
| 3537 | extern "C"
|
---|
| 3538 | #endif
|
---|
| 3539 | /* We use char because int might match the return type of a gcc2
|
---|
| 3540 | builtin and then its argument prototype would still apply. */
|
---|
| 3541 | char strerror ();
|
---|
| 3542 | int
|
---|
| 3543 | main ()
|
---|
| 3544 | {
|
---|
| 3545 | strerror ();
|
---|
| 3546 | ;
|
---|
| 3547 | return 0;
|
---|
| 3548 | }
|
---|
| 3549 | _ACEOF
|
---|
| 3550 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3551 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3552 | (eval $ac_link) 2>conftest.er1
|
---|
| 3553 | ac_status=$?
|
---|
| 3554 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3555 | rm -f conftest.er1
|
---|
| 3556 | cat conftest.err >&5
|
---|
| 3557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3558 | (exit $ac_status); } &&
|
---|
| 3559 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3560 | || test ! -s conftest.err'
|
---|
| 3561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3562 | (eval $ac_try) 2>&5
|
---|
| 3563 | ac_status=$?
|
---|
| 3564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3565 | (exit $ac_status); }; } &&
|
---|
| 3566 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3568 | (eval $ac_try) 2>&5
|
---|
| 3569 | ac_status=$?
|
---|
| 3570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3571 | (exit $ac_status); }; }; then
|
---|
| 3572 | ac_cv_search_strerror="-l$ac_lib"
|
---|
| 3573 | break
|
---|
[687] | 3574 | else
|
---|
[20853] | 3575 | echo "$as_me: failed program was:" >&5
|
---|
| 3576 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3577 |
|
---|
[8756] | 3578 | fi
|
---|
[20853] | 3579 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 3580 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 3581 | done
|
---|
| 3582 | fi
|
---|
[8756] | 3583 | LIBS=$ac_func_search_save_LIBS
|
---|
| 3584 | fi
|
---|
[20853] | 3585 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
|
---|
| 3586 | echo "${ECHO_T}$ac_cv_search_strerror" >&6
|
---|
| 3587 | if test "$ac_cv_search_strerror" != no; then
|
---|
| 3588 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
|
---|
[8756] | 3589 |
|
---|
| 3590 | fi
|
---|
| 3591 |
|
---|
[20853] | 3592 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 3593 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
---|
[8756] | 3594 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 3595 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 3596 | else
|
---|
[8756] | 3597 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3598 | /* confdefs.h. */
|
---|
| 3599 | _ACEOF
|
---|
| 3600 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3601 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3602 | /* end confdefs.h. */
|
---|
| 3603 | #include <stdlib.h>
|
---|
| 3604 | #include <stdarg.h>
|
---|
| 3605 | #include <string.h>
|
---|
| 3606 | #include <float.h>
|
---|
| 3607 |
|
---|
| 3608 | int
|
---|
| 3609 | main ()
|
---|
| 3610 | {
|
---|
| 3611 |
|
---|
| 3612 | ;
|
---|
| 3613 | return 0;
|
---|
| 3614 | }
|
---|
| 3615 | _ACEOF
|
---|
| 3616 | rm -f conftest.$ac_objext
|
---|
[20853] | 3617 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3618 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 3619 | ac_status=$?
|
---|
| 3620 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3621 | rm -f conftest.er1
|
---|
| 3622 | cat conftest.err >&5
|
---|
| 3623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3624 | (exit $ac_status); } &&
|
---|
| 3625 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3626 | || test ! -s conftest.err'
|
---|
| 3627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3628 | (eval $ac_try) 2>&5
|
---|
| 3629 | ac_status=$?
|
---|
| 3630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3631 | (exit $ac_status); }; } &&
|
---|
| 3632 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3634 | (eval $ac_try) 2>&5
|
---|
| 3635 | ac_status=$?
|
---|
| 3636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3637 | (exit $ac_status); }; }; then
|
---|
[8756] | 3638 | ac_cv_header_stdc=yes
|
---|
| 3639 | else
|
---|
| 3640 | echo "$as_me: failed program was:" >&5
|
---|
| 3641 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3642 |
|
---|
[20853] | 3643 | ac_cv_header_stdc=no
|
---|
[687] | 3644 | fi
|
---|
[20853] | 3645 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3646 |
|
---|
| 3647 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3648 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 3649 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3650 | /* confdefs.h. */
|
---|
| 3651 | _ACEOF
|
---|
| 3652 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3653 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3654 | /* end confdefs.h. */
|
---|
| 3655 | #include <string.h>
|
---|
| 3656 |
|
---|
| 3657 | _ACEOF
|
---|
| 3658 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3659 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 3660 | :
|
---|
| 3661 | else
|
---|
| 3662 | ac_cv_header_stdc=no
|
---|
| 3663 | fi
|
---|
[8200] | 3664 | rm -f conftest*
|
---|
[8756] | 3665 |
|
---|
[687] | 3666 | fi
|
---|
[8756] | 3667 |
|
---|
| 3668 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3669 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 3670 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3671 | /* confdefs.h. */
|
---|
| 3672 | _ACEOF
|
---|
| 3673 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3674 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3675 | /* end confdefs.h. */
|
---|
| 3676 | #include <stdlib.h>
|
---|
| 3677 |
|
---|
| 3678 | _ACEOF
|
---|
| 3679 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3680 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 3681 | :
|
---|
| 3682 | else
|
---|
| 3683 | ac_cv_header_stdc=no
|
---|
| 3684 | fi
|
---|
| 3685 | rm -f conftest*
|
---|
| 3686 |
|
---|
| 3687 | fi
|
---|
| 3688 |
|
---|
| 3689 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3690 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 3691 | if test "$cross_compiling" = yes; then
|
---|
| 3692 | :
|
---|
| 3693 | else
|
---|
| 3694 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3695 | /* confdefs.h. */
|
---|
| 3696 | _ACEOF
|
---|
| 3697 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3698 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3699 | /* end confdefs.h. */
|
---|
| 3700 | #include <ctype.h>
|
---|
| 3701 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 3702 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 3703 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 3704 | #else
|
---|
| 3705 | # define ISLOWER(c) \
|
---|
| 3706 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 3707 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 3708 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 3709 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 3710 | #endif
|
---|
| 3711 |
|
---|
| 3712 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 3713 | int
|
---|
| 3714 | main ()
|
---|
| 3715 | {
|
---|
| 3716 | int i;
|
---|
| 3717 | for (i = 0; i < 256; i++)
|
---|
| 3718 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 3719 | || toupper (i) != TOUPPER (i))
|
---|
[20853] | 3720 | exit(2);
|
---|
| 3721 | exit (0);
|
---|
[8756] | 3722 | }
|
---|
| 3723 | _ACEOF
|
---|
| 3724 | rm -f conftest$ac_exeext
|
---|
[20853] | 3725 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3726 | (eval $ac_link) 2>&5
|
---|
[8756] | 3727 | ac_status=$?
|
---|
| 3728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3729 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 3730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3731 | (eval $ac_try) 2>&5
|
---|
[8756] | 3732 | ac_status=$?
|
---|
| 3733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3734 | (exit $ac_status); }; }; then
|
---|
| 3735 | :
|
---|
| 3736 | else
|
---|
| 3737 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 3738 | echo "$as_me: failed program was:" >&5
|
---|
| 3739 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3740 |
|
---|
| 3741 | ( exit $ac_status )
|
---|
| 3742 | ac_cv_header_stdc=no
|
---|
| 3743 | fi
|
---|
[20853] | 3744 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3745 | fi
|
---|
| 3746 | fi
|
---|
| 3747 | fi
|
---|
[20853] | 3748 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 3749 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
---|
[8756] | 3750 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3751 |
|
---|
| 3752 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3753 | #define STDC_HEADERS 1
|
---|
| 3754 | _ACEOF
|
---|
| 3755 |
|
---|
| 3756 | fi
|
---|
| 3757 |
|
---|
| 3758 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 3759 |
|
---|
| 3760 |
|
---|
| 3761 |
|
---|
| 3762 |
|
---|
| 3763 |
|
---|
| 3764 |
|
---|
| 3765 |
|
---|
| 3766 |
|
---|
| 3767 |
|
---|
| 3768 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 3769 | inttypes.h stdint.h unistd.h
|
---|
| 3770 | do
|
---|
| 3771 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[20853] | 3772 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 3773 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 3774 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 3775 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3776 | else
|
---|
| 3777 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3778 | /* confdefs.h. */
|
---|
| 3779 | _ACEOF
|
---|
| 3780 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3781 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3782 | /* end confdefs.h. */
|
---|
| 3783 | $ac_includes_default
|
---|
| 3784 |
|
---|
| 3785 | #include <$ac_header>
|
---|
| 3786 | _ACEOF
|
---|
| 3787 | rm -f conftest.$ac_objext
|
---|
[20853] | 3788 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3789 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 3790 | ac_status=$?
|
---|
| 3791 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3792 | rm -f conftest.er1
|
---|
| 3793 | cat conftest.err >&5
|
---|
| 3794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3795 | (exit $ac_status); } &&
|
---|
| 3796 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3797 | || test ! -s conftest.err'
|
---|
| 3798 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3799 | (eval $ac_try) 2>&5
|
---|
| 3800 | ac_status=$?
|
---|
| 3801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3802 | (exit $ac_status); }; } &&
|
---|
| 3803 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3804 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3805 | (eval $ac_try) 2>&5
|
---|
| 3806 | ac_status=$?
|
---|
| 3807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3808 | (exit $ac_status); }; }; then
|
---|
[8756] | 3809 | eval "$as_ac_Header=yes"
|
---|
| 3810 | else
|
---|
| 3811 | echo "$as_me: failed program was:" >&5
|
---|
| 3812 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3813 |
|
---|
[20853] | 3814 | eval "$as_ac_Header=no"
|
---|
[8756] | 3815 | fi
|
---|
[20853] | 3816 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3817 | fi
|
---|
[20853] | 3818 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 3819 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[8756] | 3820 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 3821 | cat >>confdefs.h <<_ACEOF
|
---|
| 3822 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 3823 | _ACEOF
|
---|
| 3824 |
|
---|
| 3825 | fi
|
---|
| 3826 |
|
---|
| 3827 | done
|
---|
| 3828 |
|
---|
| 3829 |
|
---|
| 3830 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
[20853] | 3831 | echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 3832 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
---|
[8756] | 3833 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 3834 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3835 | fi
|
---|
[20853] | 3836 | echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 3837 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
---|
[8756] | 3838 | else
|
---|
| 3839 | # Is the header compilable?
|
---|
[20853] | 3840 | echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 3841 | echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
|
---|
[8756] | 3842 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3843 | /* confdefs.h. */
|
---|
| 3844 | _ACEOF
|
---|
| 3845 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3846 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3847 | /* end confdefs.h. */
|
---|
| 3848 | $ac_includes_default
|
---|
| 3849 | #include <minix/config.h>
|
---|
| 3850 | _ACEOF
|
---|
| 3851 | rm -f conftest.$ac_objext
|
---|
[20853] | 3852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3853 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 3854 | ac_status=$?
|
---|
| 3855 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3856 | rm -f conftest.er1
|
---|
| 3857 | cat conftest.err >&5
|
---|
| 3858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3859 | (exit $ac_status); } &&
|
---|
| 3860 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 3861 | || test ! -s conftest.err'
|
---|
| 3862 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3863 | (eval $ac_try) 2>&5
|
---|
| 3864 | ac_status=$?
|
---|
| 3865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3866 | (exit $ac_status); }; } &&
|
---|
| 3867 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3869 | (eval $ac_try) 2>&5
|
---|
| 3870 | ac_status=$?
|
---|
| 3871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3872 | (exit $ac_status); }; }; then
|
---|
[8756] | 3873 | ac_header_compiler=yes
|
---|
| 3874 | else
|
---|
| 3875 | echo "$as_me: failed program was:" >&5
|
---|
| 3876 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3877 |
|
---|
[20853] | 3878 | ac_header_compiler=no
|
---|
[8756] | 3879 | fi
|
---|
[20853] | 3880 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3881 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 3882 | echo "${ECHO_T}$ac_header_compiler" >&6
|
---|
[8756] | 3883 |
|
---|
| 3884 | # Is the header present?
|
---|
[20853] | 3885 | echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 3886 | echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
|
---|
[8756] | 3887 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3888 | /* confdefs.h. */
|
---|
| 3889 | _ACEOF
|
---|
| 3890 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3891 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3892 | /* end confdefs.h. */
|
---|
| 3893 | #include <minix/config.h>
|
---|
| 3894 | _ACEOF
|
---|
[20853] | 3895 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3896 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 3897 | ac_status=$?
|
---|
| 3898 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3899 | rm -f conftest.er1
|
---|
| 3900 | cat conftest.err >&5
|
---|
| 3901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 3902 | (exit $ac_status); } >/dev/null; then
|
---|
| 3903 | if test -s conftest.err; then
|
---|
| 3904 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3905 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 3906 | else
|
---|
| 3907 | ac_cpp_err=
|
---|
| 3908 | fi
|
---|
| 3909 | else
|
---|
| 3910 | ac_cpp_err=yes
|
---|
| 3911 | fi
|
---|
| 3912 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 3913 | ac_header_preproc=yes
|
---|
| 3914 | else
|
---|
| 3915 | echo "$as_me: failed program was:" >&5
|
---|
| 3916 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3917 |
|
---|
| 3918 | ac_header_preproc=no
|
---|
| 3919 | fi
|
---|
| 3920 | rm -f conftest.err conftest.$ac_ext
|
---|
[20853] | 3921 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 3922 | echo "${ECHO_T}$ac_header_preproc" >&6
|
---|
[8756] | 3923 |
|
---|
| 3924 | # So? What about this header?
|
---|
| 3925 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 3926 | yes:no: )
|
---|
| 3927 | { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 3928 | echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 3929 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
---|
| 3930 | echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
---|
| 3931 | ac_header_preproc=yes
|
---|
| 3932 | ;;
|
---|
| 3933 | no:yes:* )
|
---|
| 3934 | { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 3935 | echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 3936 | { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 3937 | echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 3938 | { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
---|
| 3939 | echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
---|
| 3940 | { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 3941 | echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 3942 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 3943 | echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 3944 | { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
---|
| 3945 | echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
---|
[20853] | 3946 | (
|
---|
| 3947 | cat <<\_ASBOX
|
---|
| 3948 | ## ------------------------------------------ ##
|
---|
| 3949 | ## Report this to the AC_PACKAGE_NAME lists. ##
|
---|
| 3950 | ## ------------------------------------------ ##
|
---|
| 3951 | _ASBOX
|
---|
| 3952 | ) |
|
---|
| 3953 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
[8756] | 3954 | ;;
|
---|
| 3955 | esac
|
---|
[20853] | 3956 | echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 3957 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
---|
[8756] | 3958 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 3959 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3960 | else
|
---|
| 3961 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 3962 | fi
|
---|
[20853] | 3963 | echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 3964 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
---|
[8756] | 3965 |
|
---|
| 3966 | fi
|
---|
| 3967 | if test $ac_cv_header_minix_config_h = yes; then
|
---|
[687] | 3968 | MINIX=yes
|
---|
| 3969 | else
|
---|
[8756] | 3970 | MINIX=
|
---|
[687] | 3971 | fi
|
---|
| 3972 |
|
---|
[8756] | 3973 |
|
---|
[687] | 3974 | if test "$MINIX" = yes; then
|
---|
[8756] | 3975 |
|
---|
| 3976 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 3977 | #define _POSIX_SOURCE 1
|
---|
[8756] | 3978 | _ACEOF
|
---|
[687] | 3979 |
|
---|
[8756] | 3980 |
|
---|
| 3981 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 3982 | #define _POSIX_1_SOURCE 2
|
---|
[8756] | 3983 | _ACEOF
|
---|
[687] | 3984 |
|
---|
[8756] | 3985 |
|
---|
| 3986 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 3987 | #define _MINIX 1
|
---|
[8756] | 3988 | _ACEOF
|
---|
[687] | 3989 |
|
---|
| 3990 | fi
|
---|
| 3991 |
|
---|
[20853] | 3992 | echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 3993 | echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
|
---|
[8756] | 3994 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
| 3995 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[700] | 3996 | else
|
---|
| 3997 | ac_cv_prog_cc_stdc=no
|
---|
| 3998 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 3999 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 4000 | # breaks some systems' header files.
|
---|
| 4001 | # AIX -qlanglvl=ansi
|
---|
| 4002 | # Ultrix and OSF/1 -std1
|
---|
| 4003 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 4004 | # SVR4 -Xc
|
---|
| 4005 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 4006 | do
|
---|
| 4007 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[8756] | 4008 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4009 | /* confdefs.h. */
|
---|
| 4010 | _ACEOF
|
---|
| 4011 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4012 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4013 | /* end confdefs.h. */
|
---|
[700] | 4014 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 4015 | choke me
|
---|
[8756] | 4016 | #endif
|
---|
[700] | 4017 |
|
---|
[8756] | 4018 | int
|
---|
| 4019 | main ()
|
---|
| 4020 | {
|
---|
[700] | 4021 | int test (int i, double x);
|
---|
| 4022 | struct s1 {int (*f) (int a);};
|
---|
| 4023 | struct s2 {int (*f) (double a);};
|
---|
[8756] | 4024 | ;
|
---|
| 4025 | return 0;
|
---|
| 4026 | }
|
---|
| 4027 | _ACEOF
|
---|
| 4028 | rm -f conftest.$ac_objext
|
---|
[20853] | 4029 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4030 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4031 | ac_status=$?
|
---|
| 4032 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4033 | rm -f conftest.er1
|
---|
| 4034 | cat conftest.err >&5
|
---|
| 4035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4036 | (exit $ac_status); } &&
|
---|
| 4037 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4038 | || test ! -s conftest.err'
|
---|
| 4039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4040 | (eval $ac_try) 2>&5
|
---|
| 4041 | ac_status=$?
|
---|
| 4042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4043 | (exit $ac_status); }; } &&
|
---|
| 4044 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4046 | (eval $ac_try) 2>&5
|
---|
| 4047 | ac_status=$?
|
---|
| 4048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4049 | (exit $ac_status); }; }; then
|
---|
[700] | 4050 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 4051 | else
|
---|
[8756] | 4052 | echo "$as_me: failed program was:" >&5
|
---|
| 4053 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4054 |
|
---|
[700] | 4055 | fi
|
---|
[20853] | 4056 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[700] | 4057 | done
|
---|
| 4058 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 4059 |
|
---|
| 4060 | fi
|
---|
| 4061 |
|
---|
[20853] | 4062 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 4063 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
---|
[700] | 4064 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 4065 | x|xno) ;;
|
---|
| 4066 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 4067 | esac
|
---|
| 4068 |
|
---|
[8200] | 4069 |
|
---|
[20853] | 4070 | echo "$as_me:$LINENO: checking for function prototypes" >&5
|
---|
| 4071 | echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
|
---|
[700] | 4072 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[20853] | 4073 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 4074 | echo "${ECHO_T}yes" >&6
|
---|
[8756] | 4075 | cat >>confdefs.h <<\_ACEOF
|
---|
[700] | 4076 | #define PROTOTYPES 1
|
---|
[8756] | 4077 | _ACEOF
|
---|
[700] | 4078 |
|
---|
| 4079 | U= ANSI2KNR=
|
---|
| 4080 | else
|
---|
[20853] | 4081 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 4082 | echo "${ECHO_T}no" >&6
|
---|
[700] | 4083 | U=_ ANSI2KNR=ansi2knr
|
---|
| 4084 | fi
|
---|
| 4085 |
|
---|
[20853] | 4086 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
---|
| 4087 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
---|
[8756] | 4088 | if test "${ac_cv_c_const+set}" = set; then
|
---|
| 4089 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4090 | else
|
---|
[8756] | 4091 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4092 | /* confdefs.h. */
|
---|
| 4093 | _ACEOF
|
---|
| 4094 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4095 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4096 | /* end confdefs.h. */
|
---|
[8200] | 4097 |
|
---|
[8756] | 4098 | int
|
---|
| 4099 | main ()
|
---|
| 4100 | {
|
---|
| 4101 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 4102 | #ifndef __cplusplus
|
---|
| 4103 | /* Ultrix mips cc rejects this. */
|
---|
| 4104 | typedef int charset[2];
|
---|
[20853] | 4105 | const charset x;
|
---|
[8756] | 4106 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[20853] | 4107 | char const *const *ccp;
|
---|
| 4108 | char **p;
|
---|
[8756] | 4109 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 4110 | struct point {int x, y;};
|
---|
| 4111 | static struct point const zero = {0,0};
|
---|
| 4112 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 4113 | It does not let you subtract one const X* pointer from another in
|
---|
| 4114 | an arm of an if-expression whose if-part is not a constant
|
---|
| 4115 | expression */
|
---|
| 4116 | const char *g = "string";
|
---|
[20853] | 4117 | ccp = &g + (g ? g-g : 0);
|
---|
[8756] | 4118 | /* HPUX 7.0 cc rejects these. */
|
---|
[20853] | 4119 | ++ccp;
|
---|
| 4120 | p = (char**) ccp;
|
---|
| 4121 | ccp = (char const *const *) p;
|
---|
[8756] | 4122 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 4123 | char *t;
|
---|
| 4124 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
[8200] | 4125 |
|
---|
[8756] | 4126 | *t++ = 0;
|
---|
| 4127 | }
|
---|
| 4128 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 4129 | int x[] = {25, 17};
|
---|
| 4130 | const int *foo = &x[0];
|
---|
| 4131 | ++foo;
|
---|
| 4132 | }
|
---|
| 4133 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 4134 | typedef const int *iptr;
|
---|
| 4135 | iptr p = 0;
|
---|
| 4136 | ++p;
|
---|
| 4137 | }
|
---|
| 4138 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 4139 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 4140 | struct s { int j; const int *ap[3]; };
|
---|
| 4141 | struct s *b; b->j = 5;
|
---|
| 4142 | }
|
---|
| 4143 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 4144 | const int foo = 10;
|
---|
| 4145 | }
|
---|
| 4146 | #endif
|
---|
[8200] | 4147 |
|
---|
[8756] | 4148 | ;
|
---|
| 4149 | return 0;
|
---|
[3631] | 4150 | }
|
---|
[8756] | 4151 | _ACEOF
|
---|
| 4152 | rm -f conftest.$ac_objext
|
---|
[20853] | 4153 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4154 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4155 | ac_status=$?
|
---|
| 4156 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4157 | rm -f conftest.er1
|
---|
| 4158 | cat conftest.err >&5
|
---|
| 4159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4160 | (exit $ac_status); } &&
|
---|
| 4161 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4162 | || test ! -s conftest.err'
|
---|
| 4163 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4164 | (eval $ac_try) 2>&5
|
---|
| 4165 | ac_status=$?
|
---|
| 4166 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4167 | (exit $ac_status); }; } &&
|
---|
| 4168 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4169 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4170 | (eval $ac_try) 2>&5
|
---|
| 4171 | ac_status=$?
|
---|
| 4172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4173 | (exit $ac_status); }; }; then
|
---|
[687] | 4174 | ac_cv_c_const=yes
|
---|
| 4175 | else
|
---|
[8756] | 4176 | echo "$as_me: failed program was:" >&5
|
---|
| 4177 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4178 |
|
---|
[20853] | 4179 | ac_cv_c_const=no
|
---|
[687] | 4180 | fi
|
---|
[20853] | 4181 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4182 | fi
|
---|
[20853] | 4183 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
---|
| 4184 | echo "${ECHO_T}$ac_cv_c_const" >&6
|
---|
[3631] | 4185 | if test $ac_cv_c_const = no; then
|
---|
[687] | 4186 |
|
---|
[8756] | 4187 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4188 | #define const
|
---|
| 4189 | _ACEOF
|
---|
| 4190 |
|
---|
[687] | 4191 | fi
|
---|
| 4192 |
|
---|
[20853] | 4193 | echo "$as_me:$LINENO: checking for off_t" >&5
|
---|
| 4194 | echo $ECHO_N "checking for off_t... $ECHO_C" >&6
|
---|
[8756] | 4195 | if test "${ac_cv_type_off_t+set}" = set; then
|
---|
| 4196 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4197 | else
|
---|
[8756] | 4198 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4199 | /* confdefs.h. */
|
---|
| 4200 | _ACEOF
|
---|
| 4201 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4202 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4203 | /* end confdefs.h. */
|
---|
| 4204 | $ac_includes_default
|
---|
| 4205 | int
|
---|
| 4206 | main ()
|
---|
| 4207 | {
|
---|
[20853] | 4208 | if ((off_t *) 0)
|
---|
[8756] | 4209 | return 0;
|
---|
[20853] | 4210 | if (sizeof (off_t))
|
---|
[8756] | 4211 | return 0;
|
---|
| 4212 | ;
|
---|
| 4213 | return 0;
|
---|
| 4214 | }
|
---|
| 4215 | _ACEOF
|
---|
| 4216 | rm -f conftest.$ac_objext
|
---|
[20853] | 4217 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4218 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4219 | ac_status=$?
|
---|
| 4220 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4221 | rm -f conftest.er1
|
---|
| 4222 | cat conftest.err >&5
|
---|
| 4223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4224 | (exit $ac_status); } &&
|
---|
| 4225 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4226 | || test ! -s conftest.err'
|
---|
| 4227 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4228 | (eval $ac_try) 2>&5
|
---|
| 4229 | ac_status=$?
|
---|
| 4230 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4231 | (exit $ac_status); }; } &&
|
---|
| 4232 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4233 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4234 | (eval $ac_try) 2>&5
|
---|
| 4235 | ac_status=$?
|
---|
| 4236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4237 | (exit $ac_status); }; }; then
|
---|
[8756] | 4238 | ac_cv_type_off_t=yes
|
---|
[687] | 4239 | else
|
---|
[8756] | 4240 | echo "$as_me: failed program was:" >&5
|
---|
| 4241 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[687] | 4242 |
|
---|
[20853] | 4243 | ac_cv_type_off_t=no
|
---|
[687] | 4244 | fi
|
---|
[20853] | 4245 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4246 | fi
|
---|
[20853] | 4247 | echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
---|
| 4248 | echo "${ECHO_T}$ac_cv_type_off_t" >&6
|
---|
[8756] | 4249 | if test $ac_cv_type_off_t = yes; then
|
---|
[687] | 4250 | :
|
---|
| 4251 | else
|
---|
| 4252 |
|
---|
[8756] | 4253 | cat >>confdefs.h <<_ACEOF
|
---|
[20853] | 4254 | #define off_t long
|
---|
[8756] | 4255 | _ACEOF
|
---|
[687] | 4256 |
|
---|
| 4257 | fi
|
---|
[8200] | 4258 |
|
---|
[20853] | 4259 | echo "$as_me:$LINENO: checking for size_t" >&5
|
---|
| 4260 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6
|
---|
[8756] | 4261 | if test "${ac_cv_type_size_t+set}" = set; then
|
---|
| 4262 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4263 | else
|
---|
[8756] | 4264 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4265 | /* confdefs.h. */
|
---|
| 4266 | _ACEOF
|
---|
| 4267 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4268 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4269 | /* end confdefs.h. */
|
---|
| 4270 | $ac_includes_default
|
---|
| 4271 | int
|
---|
| 4272 | main ()
|
---|
| 4273 | {
|
---|
[20853] | 4274 | if ((size_t *) 0)
|
---|
[8756] | 4275 | return 0;
|
---|
[20853] | 4276 | if (sizeof (size_t))
|
---|
[8756] | 4277 | return 0;
|
---|
| 4278 | ;
|
---|
| 4279 | return 0;
|
---|
| 4280 | }
|
---|
| 4281 | _ACEOF
|
---|
| 4282 | rm -f conftest.$ac_objext
|
---|
[20853] | 4283 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4284 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4285 | ac_status=$?
|
---|
| 4286 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4287 | rm -f conftest.er1
|
---|
| 4288 | cat conftest.err >&5
|
---|
| 4289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4290 | (exit $ac_status); } &&
|
---|
| 4291 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4292 | || test ! -s conftest.err'
|
---|
| 4293 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4294 | (eval $ac_try) 2>&5
|
---|
| 4295 | ac_status=$?
|
---|
| 4296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4297 | (exit $ac_status); }; } &&
|
---|
| 4298 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4300 | (eval $ac_try) 2>&5
|
---|
| 4301 | ac_status=$?
|
---|
| 4302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4303 | (exit $ac_status); }; }; then
|
---|
[8756] | 4304 | ac_cv_type_size_t=yes
|
---|
[687] | 4305 | else
|
---|
[8756] | 4306 | echo "$as_me: failed program was:" >&5
|
---|
| 4307 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4308 |
|
---|
[20853] | 4309 | ac_cv_type_size_t=no
|
---|
[3631] | 4310 | fi
|
---|
[20853] | 4311 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4312 | fi
|
---|
[20853] | 4313 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
---|
| 4314 | echo "${ECHO_T}$ac_cv_type_size_t" >&6
|
---|
[8756] | 4315 | if test $ac_cv_type_size_t = yes; then
|
---|
| 4316 | :
|
---|
[687] | 4317 | else
|
---|
[8200] | 4318 |
|
---|
[8756] | 4319 | cat >>confdefs.h <<_ACEOF
|
---|
[20853] | 4320 | #define size_t unsigned
|
---|
[8756] | 4321 | _ACEOF
|
---|
[687] | 4322 |
|
---|
| 4323 | fi
|
---|
| 4324 |
|
---|
[20853] | 4325 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 4326 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
|
---|
[8756] | 4327 | if test "${ac_cv_header_time+set}" = set; then
|
---|
| 4328 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4329 | else
|
---|
[8756] | 4330 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4331 | /* confdefs.h. */
|
---|
| 4332 | _ACEOF
|
---|
| 4333 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4334 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4335 | /* end confdefs.h. */
|
---|
[687] | 4336 | #include <sys/types.h>
|
---|
| 4337 | #include <sys/time.h>
|
---|
| 4338 | #include <time.h>
|
---|
[8756] | 4339 |
|
---|
| 4340 | int
|
---|
| 4341 | main ()
|
---|
| 4342 | {
|
---|
| 4343 | if ((struct tm *) 0)
|
---|
| 4344 | return 0;
|
---|
| 4345 | ;
|
---|
| 4346 | return 0;
|
---|
| 4347 | }
|
---|
| 4348 | _ACEOF
|
---|
| 4349 | rm -f conftest.$ac_objext
|
---|
[20853] | 4350 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4351 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4352 | ac_status=$?
|
---|
| 4353 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4354 | rm -f conftest.er1
|
---|
| 4355 | cat conftest.err >&5
|
---|
| 4356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4357 | (exit $ac_status); } &&
|
---|
| 4358 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4359 | || test ! -s conftest.err'
|
---|
| 4360 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4361 | (eval $ac_try) 2>&5
|
---|
| 4362 | ac_status=$?
|
---|
| 4363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4364 | (exit $ac_status); }; } &&
|
---|
| 4365 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4366 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4367 | (eval $ac_try) 2>&5
|
---|
| 4368 | ac_status=$?
|
---|
| 4369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4370 | (exit $ac_status); }; }; then
|
---|
[687] | 4371 | ac_cv_header_time=yes
|
---|
| 4372 | else
|
---|
[8756] | 4373 | echo "$as_me: failed program was:" >&5
|
---|
| 4374 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4375 |
|
---|
[20853] | 4376 | ac_cv_header_time=no
|
---|
[687] | 4377 | fi
|
---|
[20853] | 4378 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4379 | fi
|
---|
[20853] | 4380 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
---|
| 4381 | echo "${ECHO_T}$ac_cv_header_time" >&6
|
---|
[8756] | 4382 | if test $ac_cv_header_time = yes; then
|
---|
[8200] | 4383 |
|
---|
[8756] | 4384 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4385 | #define TIME_WITH_SYS_TIME 1
|
---|
[8756] | 4386 | _ACEOF
|
---|
[687] | 4387 |
|
---|
| 4388 | fi
|
---|
| 4389 |
|
---|
[20853] | 4390 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 4391 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
|
---|
[8756] | 4392 | if test "${ac_cv_struct_tm+set}" = set; then
|
---|
| 4393 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4394 | else
|
---|
[8756] | 4395 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4396 | /* confdefs.h. */
|
---|
| 4397 | _ACEOF
|
---|
| 4398 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4399 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4400 | /* end confdefs.h. */
|
---|
[687] | 4401 | #include <sys/types.h>
|
---|
| 4402 | #include <time.h>
|
---|
[8756] | 4403 |
|
---|
| 4404 | int
|
---|
| 4405 | main ()
|
---|
| 4406 | {
|
---|
[20853] | 4407 | struct tm *tp; tp->tm_sec;
|
---|
[8756] | 4408 | ;
|
---|
| 4409 | return 0;
|
---|
| 4410 | }
|
---|
| 4411 | _ACEOF
|
---|
| 4412 | rm -f conftest.$ac_objext
|
---|
[20853] | 4413 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4414 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4415 | ac_status=$?
|
---|
| 4416 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4417 | rm -f conftest.er1
|
---|
| 4418 | cat conftest.err >&5
|
---|
| 4419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4420 | (exit $ac_status); } &&
|
---|
| 4421 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4422 | || test ! -s conftest.err'
|
---|
| 4423 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4424 | (eval $ac_try) 2>&5
|
---|
| 4425 | ac_status=$?
|
---|
| 4426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4427 | (exit $ac_status); }; } &&
|
---|
| 4428 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4430 | (eval $ac_try) 2>&5
|
---|
| 4431 | ac_status=$?
|
---|
| 4432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4433 | (exit $ac_status); }; }; then
|
---|
[687] | 4434 | ac_cv_struct_tm=time.h
|
---|
| 4435 | else
|
---|
[8756] | 4436 | echo "$as_me: failed program was:" >&5
|
---|
| 4437 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4438 |
|
---|
[20853] | 4439 | ac_cv_struct_tm=sys/time.h
|
---|
[687] | 4440 | fi
|
---|
[20853] | 4441 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4442 | fi
|
---|
[20853] | 4443 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
---|
| 4444 | echo "${ECHO_T}$ac_cv_struct_tm" >&6
|
---|
[8756] | 4445 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
[8200] | 4446 |
|
---|
[8756] | 4447 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 4448 | #define TM_IN_SYS_TIME 1
|
---|
[8756] | 4449 | _ACEOF
|
---|
[687] | 4450 |
|
---|
| 4451 | fi
|
---|
| 4452 |
|
---|
[8200] | 4453 |
|
---|
[687] | 4454 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[8756] | 4455 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4456 | /* confdefs.h. */
|
---|
| 4457 | _ACEOF
|
---|
| 4458 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4459 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4460 | /* end confdefs.h. */
|
---|
[687] | 4461 | #include <stdio.h>
|
---|
| 4462 |
|
---|
[8756] | 4463 | int
|
---|
| 4464 | main ()
|
---|
| 4465 | {
|
---|
| 4466 | FILE *rubbish = popen("yes", "r");
|
---|
| 4467 | ;
|
---|
| 4468 | return 0;
|
---|
| 4469 | }
|
---|
| 4470 | _ACEOF
|
---|
| 4471 | rm -f conftest.$ac_objext
|
---|
[20853] | 4472 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4473 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4474 | ac_status=$?
|
---|
| 4475 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4476 | rm -f conftest.er1
|
---|
| 4477 | cat conftest.err >&5
|
---|
| 4478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4479 | (exit $ac_status); } &&
|
---|
| 4480 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4481 | || test ! -s conftest.err'
|
---|
| 4482 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4483 | (eval $ac_try) 2>&5
|
---|
| 4484 | ac_status=$?
|
---|
| 4485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4486 | (exit $ac_status); }; } &&
|
---|
| 4487 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4489 | (eval $ac_try) 2>&5
|
---|
| 4490 | ac_status=$?
|
---|
| 4491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4492 | (exit $ac_status); }; }; then
|
---|
[687] | 4493 | :
|
---|
| 4494 | else
|
---|
[8756] | 4495 | echo "$as_me: failed program was:" >&5
|
---|
| 4496 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4497 |
|
---|
[20853] | 4498 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[687] | 4499 | fi
|
---|
[20853] | 4500 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4501 | fi
|
---|
| 4502 |
|
---|
[8200] | 4503 |
|
---|
[8756] | 4504 |
|
---|
[20853] | 4505 | echo "$as_me:$LINENO: checking for main in -lg" >&5
|
---|
| 4506 | echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
|
---|
[8756] | 4507 | if test "${ac_cv_lib_g_main+set}" = set; then
|
---|
| 4508 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4509 | else
|
---|
[8756] | 4510 | ac_check_lib_save_LIBS=$LIBS
|
---|
[562] | 4511 | LIBS="-lg $LIBS"
|
---|
[8756] | 4512 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4513 | /* confdefs.h. */
|
---|
| 4514 | _ACEOF
|
---|
| 4515 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4516 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4517 | /* end confdefs.h. */
|
---|
[562] | 4518 |
|
---|
[8756] | 4519 |
|
---|
| 4520 | int
|
---|
| 4521 | main ()
|
---|
| 4522 | {
|
---|
[20853] | 4523 | main ();
|
---|
[8756] | 4524 | ;
|
---|
| 4525 | return 0;
|
---|
| 4526 | }
|
---|
| 4527 | _ACEOF
|
---|
| 4528 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 4529 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4530 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4531 | ac_status=$?
|
---|
| 4532 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4533 | rm -f conftest.er1
|
---|
| 4534 | cat conftest.err >&5
|
---|
| 4535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4536 | (exit $ac_status); } &&
|
---|
| 4537 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4538 | || test ! -s conftest.err'
|
---|
| 4539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4540 | (eval $ac_try) 2>&5
|
---|
| 4541 | ac_status=$?
|
---|
| 4542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4543 | (exit $ac_status); }; } &&
|
---|
| 4544 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4546 | (eval $ac_try) 2>&5
|
---|
| 4547 | ac_status=$?
|
---|
| 4548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4549 | (exit $ac_status); }; }; then
|
---|
[8756] | 4550 | ac_cv_lib_g_main=yes
|
---|
[562] | 4551 | else
|
---|
[8756] | 4552 | echo "$as_me: failed program was:" >&5
|
---|
| 4553 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4554 |
|
---|
[20853] | 4555 | ac_cv_lib_g_main=no
|
---|
[562] | 4556 | fi
|
---|
[20853] | 4557 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 4558 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4559 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4560 | fi
|
---|
[20853] | 4561 | echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
|
---|
| 4562 | echo "${ECHO_T}$ac_cv_lib_g_main" >&6
|
---|
[8756] | 4563 | if test $ac_cv_lib_g_main = yes; then
|
---|
| 4564 | cat >>confdefs.h <<_ACEOF
|
---|
| 4565 | #define HAVE_LIBG 1
|
---|
| 4566 | _ACEOF
|
---|
[562] | 4567 |
|
---|
| 4568 | LIBS="-lg $LIBS"
|
---|
| 4569 |
|
---|
| 4570 | fi
|
---|
[8756] | 4571 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
[562] | 4572 |
|
---|
| 4573 |
|
---|
[20853] | 4574 | echo "$as_me:$LINENO: checking for main in -lm" >&5
|
---|
| 4575 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
|
---|
[8756] | 4576 | if test "${ac_cv_lib_m_main+set}" = set; then
|
---|
| 4577 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4578 | else
|
---|
[8756] | 4579 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4580 | LIBS="-lm $LIBS"
|
---|
| 4581 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4582 | /* confdefs.h. */
|
---|
| 4583 | _ACEOF
|
---|
| 4584 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4585 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4586 | /* end confdefs.h. */
|
---|
[8200] | 4587 |
|
---|
[562] | 4588 |
|
---|
[8756] | 4589 | int
|
---|
| 4590 | main ()
|
---|
| 4591 | {
|
---|
[20853] | 4592 | main ();
|
---|
[8756] | 4593 | ;
|
---|
| 4594 | return 0;
|
---|
| 4595 | }
|
---|
| 4596 | _ACEOF
|
---|
| 4597 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 4598 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4599 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4600 | ac_status=$?
|
---|
| 4601 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4602 | rm -f conftest.er1
|
---|
| 4603 | cat conftest.err >&5
|
---|
| 4604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4605 | (exit $ac_status); } &&
|
---|
| 4606 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4607 | || test ! -s conftest.err'
|
---|
| 4608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4609 | (eval $ac_try) 2>&5
|
---|
| 4610 | ac_status=$?
|
---|
| 4611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4612 | (exit $ac_status); }; } &&
|
---|
| 4613 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4615 | (eval $ac_try) 2>&5
|
---|
| 4616 | ac_status=$?
|
---|
| 4617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4618 | (exit $ac_status); }; }; then
|
---|
[8756] | 4619 | ac_cv_lib_m_main=yes
|
---|
[8200] | 4620 | else
|
---|
[8756] | 4621 | echo "$as_me: failed program was:" >&5
|
---|
| 4622 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[562] | 4623 |
|
---|
[20853] | 4624 | ac_cv_lib_m_main=no
|
---|
[562] | 4625 | fi
|
---|
[20853] | 4626 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 4627 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4628 | LIBS=$ac_check_lib_save_LIBS
|
---|
[562] | 4629 | fi
|
---|
[20853] | 4630 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
---|
| 4631 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6
|
---|
[8756] | 4632 | if test $ac_cv_lib_m_main = yes; then
|
---|
| 4633 | cat >>confdefs.h <<_ACEOF
|
---|
| 4634 | #define HAVE_LIBM 1
|
---|
| 4635 | _ACEOF
|
---|
[562] | 4636 |
|
---|
| 4637 | LIBS="-lm $LIBS"
|
---|
| 4638 |
|
---|
| 4639 | fi
|
---|
[8756] | 4640 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
[562] | 4641 |
|
---|
[8756] | 4642 |
|
---|
[20853] | 4643 | echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
---|
| 4644 | echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
---|
[8756] | 4645 | if test "${ac_cv_lib_crypt_main+set}" = set; then
|
---|
| 4646 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4647 | else
|
---|
[8756] | 4648 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4649 | LIBS="-lcrypt $LIBS"
|
---|
| 4650 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4651 | /* confdefs.h. */
|
---|
| 4652 | _ACEOF
|
---|
| 4653 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4654 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4655 | /* end confdefs.h. */
|
---|
[562] | 4656 |
|
---|
[8756] | 4657 |
|
---|
| 4658 | int
|
---|
| 4659 | main ()
|
---|
| 4660 | {
|
---|
[20853] | 4661 | main ();
|
---|
[8756] | 4662 | ;
|
---|
| 4663 | return 0;
|
---|
| 4664 | }
|
---|
| 4665 | _ACEOF
|
---|
| 4666 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 4667 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4668 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4669 | ac_status=$?
|
---|
| 4670 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4671 | rm -f conftest.er1
|
---|
| 4672 | cat conftest.err >&5
|
---|
| 4673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4674 | (exit $ac_status); } &&
|
---|
| 4675 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4676 | || test ! -s conftest.err'
|
---|
| 4677 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4678 | (eval $ac_try) 2>&5
|
---|
| 4679 | ac_status=$?
|
---|
| 4680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4681 | (exit $ac_status); }; } &&
|
---|
| 4682 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4684 | (eval $ac_try) 2>&5
|
---|
| 4685 | ac_status=$?
|
---|
| 4686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4687 | (exit $ac_status); }; }; then
|
---|
[8756] | 4688 | ac_cv_lib_crypt_main=yes
|
---|
[562] | 4689 | else
|
---|
[8756] | 4690 | echo "$as_me: failed program was:" >&5
|
---|
| 4691 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4692 |
|
---|
[20853] | 4693 | ac_cv_lib_crypt_main=no
|
---|
[562] | 4694 | fi
|
---|
[20853] | 4695 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 4696 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4697 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4698 | fi
|
---|
[20853] | 4699 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 4700 | echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
|
---|
[8756] | 4701 | if test $ac_cv_lib_crypt_main = yes; then
|
---|
| 4702 | cat >>confdefs.h <<_ACEOF
|
---|
| 4703 | #define HAVE_LIBCRYPT 1
|
---|
| 4704 | _ACEOF
|
---|
[562] | 4705 |
|
---|
[8756] | 4706 | LIBS="-lcrypt $LIBS"
|
---|
[562] | 4707 |
|
---|
| 4708 | fi
|
---|
[8756] | 4709 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
[562] | 4710 |
|
---|
[20842] | 4711 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 4712 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 4713 | #fi
|
---|
[562] | 4714 |
|
---|
[8200] | 4715 |
|
---|
[986] | 4716 |
|
---|
| 4717 |
|
---|
| 4718 |
|
---|
[8200] | 4719 |
|
---|
[687] | 4720 | ac_header_dirent=no
|
---|
[8756] | 4721 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
| 4722 | as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[20853] | 4723 | echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
---|
| 4724 | echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
|
---|
| 4725 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 4726 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 4727 | else
|
---|
[8756] | 4728 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4729 | /* confdefs.h. */
|
---|
| 4730 | _ACEOF
|
---|
| 4731 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4732 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4733 | /* end confdefs.h. */
|
---|
[687] | 4734 | #include <sys/types.h>
|
---|
| 4735 | #include <$ac_hdr>
|
---|
[8756] | 4736 |
|
---|
| 4737 | int
|
---|
| 4738 | main ()
|
---|
| 4739 | {
|
---|
| 4740 | if ((DIR *) 0)
|
---|
| 4741 | return 0;
|
---|
| 4742 | ;
|
---|
| 4743 | return 0;
|
---|
| 4744 | }
|
---|
| 4745 | _ACEOF
|
---|
| 4746 | rm -f conftest.$ac_objext
|
---|
[20853] | 4747 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4748 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 4749 | ac_status=$?
|
---|
| 4750 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4751 | rm -f conftest.er1
|
---|
| 4752 | cat conftest.err >&5
|
---|
| 4753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4754 | (exit $ac_status); } &&
|
---|
| 4755 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4756 | || test ! -s conftest.err'
|
---|
| 4757 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4758 | (eval $ac_try) 2>&5
|
---|
| 4759 | ac_status=$?
|
---|
| 4760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4761 | (exit $ac_status); }; } &&
|
---|
| 4762 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4763 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4764 | (eval $ac_try) 2>&5
|
---|
| 4765 | ac_status=$?
|
---|
| 4766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4767 | (exit $ac_status); }; }; then
|
---|
[8756] | 4768 | eval "$as_ac_Header=yes"
|
---|
[562] | 4769 | else
|
---|
[8756] | 4770 | echo "$as_me: failed program was:" >&5
|
---|
| 4771 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4772 |
|
---|
[20853] | 4773 | eval "$as_ac_Header=no"
|
---|
[687] | 4774 | fi
|
---|
[20853] | 4775 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4776 | fi
|
---|
[20853] | 4777 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 4778 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[8756] | 4779 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 4780 | cat >>confdefs.h <<_ACEOF
|
---|
| 4781 | #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
| 4782 | _ACEOF
|
---|
| 4783 |
|
---|
| 4784 | ac_header_dirent=$ac_hdr; break
|
---|
[687] | 4785 | fi
|
---|
[8756] | 4786 |
|
---|
[687] | 4787 | done
|
---|
| 4788 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 4789 | if test $ac_header_dirent = dirent.h; then
|
---|
[20853] | 4790 | echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 4791 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
---|
[8756] | 4792 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 4793 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4794 | else
|
---|
[8756] | 4795 | ac_func_search_save_LIBS=$LIBS
|
---|
[20853] | 4796 | ac_cv_search_opendir=no
|
---|
[8756] | 4797 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4798 | /* confdefs.h. */
|
---|
| 4799 | _ACEOF
|
---|
| 4800 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4801 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4802 | /* end confdefs.h. */
|
---|
| 4803 |
|
---|
[20853] | 4804 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 4805 | #ifdef __cplusplus
|
---|
| 4806 | extern "C"
|
---|
| 4807 | #endif
|
---|
[20853] | 4808 | /* We use char because int might match the return type of a gcc2
|
---|
| 4809 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 4810 | char opendir ();
|
---|
| 4811 | int
|
---|
| 4812 | main ()
|
---|
| 4813 | {
|
---|
[20853] | 4814 | opendir ();
|
---|
[8756] | 4815 | ;
|
---|
| 4816 | return 0;
|
---|
| 4817 | }
|
---|
| 4818 | _ACEOF
|
---|
[20853] | 4819 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4820 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4821 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4822 | ac_status=$?
|
---|
| 4823 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4824 | rm -f conftest.er1
|
---|
| 4825 | cat conftest.err >&5
|
---|
| 4826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4827 | (exit $ac_status); } &&
|
---|
| 4828 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4829 | || test ! -s conftest.err'
|
---|
| 4830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4831 | (eval $ac_try) 2>&5
|
---|
| 4832 | ac_status=$?
|
---|
| 4833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4834 | (exit $ac_status); }; } &&
|
---|
| 4835 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4836 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4837 | (eval $ac_try) 2>&5
|
---|
| 4838 | ac_status=$?
|
---|
| 4839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4840 | (exit $ac_status); }; }; then
|
---|
| 4841 | ac_cv_search_opendir="none required"
|
---|
[8756] | 4842 | else
|
---|
| 4843 | echo "$as_me: failed program was:" >&5
|
---|
| 4844 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4845 |
|
---|
[687] | 4846 | fi
|
---|
[20853] | 4847 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 4848 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4849 | if test "$ac_cv_search_opendir" = no; then
|
---|
| 4850 | for ac_lib in dir; do
|
---|
| 4851 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4852 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4853 | /* confdefs.h. */
|
---|
| 4854 | _ACEOF
|
---|
| 4855 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4856 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4857 | /* end confdefs.h. */
|
---|
[8200] | 4858 |
|
---|
[20853] | 4859 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4860 | #ifdef __cplusplus
|
---|
| 4861 | extern "C"
|
---|
| 4862 | #endif
|
---|
| 4863 | /* We use char because int might match the return type of a gcc2
|
---|
| 4864 | builtin and then its argument prototype would still apply. */
|
---|
| 4865 | char opendir ();
|
---|
| 4866 | int
|
---|
| 4867 | main ()
|
---|
| 4868 | {
|
---|
| 4869 | opendir ();
|
---|
| 4870 | ;
|
---|
| 4871 | return 0;
|
---|
| 4872 | }
|
---|
| 4873 | _ACEOF
|
---|
| 4874 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4875 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4876 | (eval $ac_link) 2>conftest.er1
|
---|
| 4877 | ac_status=$?
|
---|
| 4878 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4879 | rm -f conftest.er1
|
---|
| 4880 | cat conftest.err >&5
|
---|
| 4881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4882 | (exit $ac_status); } &&
|
---|
| 4883 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4884 | || test ! -s conftest.err'
|
---|
| 4885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4886 | (eval $ac_try) 2>&5
|
---|
| 4887 | ac_status=$?
|
---|
| 4888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4889 | (exit $ac_status); }; } &&
|
---|
| 4890 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4892 | (eval $ac_try) 2>&5
|
---|
| 4893 | ac_status=$?
|
---|
| 4894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4895 | (exit $ac_status); }; }; then
|
---|
| 4896 | ac_cv_search_opendir="-l$ac_lib"
|
---|
| 4897 | break
|
---|
[8200] | 4898 | else
|
---|
[20853] | 4899 | echo "$as_me: failed program was:" >&5
|
---|
| 4900 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4901 |
|
---|
[687] | 4902 | fi
|
---|
[20853] | 4903 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 4904 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4905 | done
|
---|
| 4906 | fi
|
---|
[8756] | 4907 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4908 | fi
|
---|
[20853] | 4909 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 4910 | echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
---|
| 4911 | if test "$ac_cv_search_opendir" != no; then
|
---|
| 4912 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
---|
[687] | 4913 |
|
---|
[8756] | 4914 | fi
|
---|
| 4915 |
|
---|
[687] | 4916 | else
|
---|
[20853] | 4917 | echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 4918 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
---|
[8756] | 4919 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 4920 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 4921 | else
|
---|
[8756] | 4922 | ac_func_search_save_LIBS=$LIBS
|
---|
[20853] | 4923 | ac_cv_search_opendir=no
|
---|
[8756] | 4924 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4925 | /* confdefs.h. */
|
---|
| 4926 | _ACEOF
|
---|
| 4927 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4928 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4929 | /* end confdefs.h. */
|
---|
| 4930 |
|
---|
[20853] | 4931 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 4932 | #ifdef __cplusplus
|
---|
| 4933 | extern "C"
|
---|
| 4934 | #endif
|
---|
[20853] | 4935 | /* We use char because int might match the return type of a gcc2
|
---|
| 4936 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 4937 | char opendir ();
|
---|
| 4938 | int
|
---|
| 4939 | main ()
|
---|
| 4940 | {
|
---|
[20853] | 4941 | opendir ();
|
---|
[8756] | 4942 | ;
|
---|
| 4943 | return 0;
|
---|
| 4944 | }
|
---|
| 4945 | _ACEOF
|
---|
[20853] | 4946 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4947 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4948 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 4949 | ac_status=$?
|
---|
| 4950 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4951 | rm -f conftest.er1
|
---|
| 4952 | cat conftest.err >&5
|
---|
| 4953 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 4954 | (exit $ac_status); } &&
|
---|
| 4955 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 4956 | || test ! -s conftest.err'
|
---|
| 4957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4958 | (eval $ac_try) 2>&5
|
---|
| 4959 | ac_status=$?
|
---|
| 4960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4961 | (exit $ac_status); }; } &&
|
---|
| 4962 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4963 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4964 | (eval $ac_try) 2>&5
|
---|
| 4965 | ac_status=$?
|
---|
| 4966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4967 | (exit $ac_status); }; }; then
|
---|
| 4968 | ac_cv_search_opendir="none required"
|
---|
[8756] | 4969 | else
|
---|
| 4970 | echo "$as_me: failed program was:" >&5
|
---|
| 4971 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[8200] | 4972 |
|
---|
[562] | 4973 | fi
|
---|
[20853] | 4974 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 4975 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 4976 | if test "$ac_cv_search_opendir" = no; then
|
---|
| 4977 | for ac_lib in x; do
|
---|
| 4978 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4979 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4980 | /* confdefs.h. */
|
---|
| 4981 | _ACEOF
|
---|
| 4982 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4983 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4984 | /* end confdefs.h. */
|
---|
[8200] | 4985 |
|
---|
[20853] | 4986 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4987 | #ifdef __cplusplus
|
---|
| 4988 | extern "C"
|
---|
| 4989 | #endif
|
---|
| 4990 | /* We use char because int might match the return type of a gcc2
|
---|
| 4991 | builtin and then its argument prototype would still apply. */
|
---|
| 4992 | char opendir ();
|
---|
| 4993 | int
|
---|
| 4994 | main ()
|
---|
| 4995 | {
|
---|
| 4996 | opendir ();
|
---|
| 4997 | ;
|
---|
| 4998 | return 0;
|
---|
| 4999 | }
|
---|
| 5000 | _ACEOF
|
---|
| 5001 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5002 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5003 | (eval $ac_link) 2>conftest.er1
|
---|
| 5004 | ac_status=$?
|
---|
| 5005 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5006 | rm -f conftest.er1
|
---|
| 5007 | cat conftest.err >&5
|
---|
| 5008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5009 | (exit $ac_status); } &&
|
---|
| 5010 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5011 | || test ! -s conftest.err'
|
---|
| 5012 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5013 | (eval $ac_try) 2>&5
|
---|
| 5014 | ac_status=$?
|
---|
| 5015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5016 | (exit $ac_status); }; } &&
|
---|
| 5017 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5018 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5019 | (eval $ac_try) 2>&5
|
---|
| 5020 | ac_status=$?
|
---|
| 5021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5022 | (exit $ac_status); }; }; then
|
---|
| 5023 | ac_cv_search_opendir="-l$ac_lib"
|
---|
| 5024 | break
|
---|
[8200] | 5025 | else
|
---|
[20853] | 5026 | echo "$as_me: failed program was:" >&5
|
---|
| 5027 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5028 |
|
---|
[562] | 5029 | fi
|
---|
[20853] | 5030 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 5031 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5032 | done
|
---|
| 5033 | fi
|
---|
[8756] | 5034 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5035 | fi
|
---|
[20853] | 5036 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 5037 | echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
---|
| 5038 | if test "$ac_cv_search_opendir" != no; then
|
---|
| 5039 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
---|
[562] | 5040 |
|
---|
[687] | 5041 | fi
|
---|
| 5042 |
|
---|
[8756] | 5043 | fi
|
---|
| 5044 |
|
---|
[20853] | 5045 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 5046 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
---|
[8756] | 5047 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 5048 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5049 | else
|
---|
[8756] | 5050 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5051 | /* confdefs.h. */
|
---|
| 5052 | _ACEOF
|
---|
| 5053 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5054 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5055 | /* end confdefs.h. */
|
---|
[562] | 5056 | #include <stdlib.h>
|
---|
| 5057 | #include <stdarg.h>
|
---|
| 5058 | #include <string.h>
|
---|
| 5059 | #include <float.h>
|
---|
[8756] | 5060 |
|
---|
| 5061 | int
|
---|
| 5062 | main ()
|
---|
| 5063 | {
|
---|
| 5064 |
|
---|
| 5065 | ;
|
---|
| 5066 | return 0;
|
---|
| 5067 | }
|
---|
| 5068 | _ACEOF
|
---|
| 5069 | rm -f conftest.$ac_objext
|
---|
[20853] | 5070 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5071 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 5072 | ac_status=$?
|
---|
| 5073 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5074 | rm -f conftest.er1
|
---|
| 5075 | cat conftest.err >&5
|
---|
| 5076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5077 | (exit $ac_status); } &&
|
---|
| 5078 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5079 | || test ! -s conftest.err'
|
---|
| 5080 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5081 | (eval $ac_try) 2>&5
|
---|
| 5082 | ac_status=$?
|
---|
| 5083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5084 | (exit $ac_status); }; } &&
|
---|
| 5085 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5086 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5087 | (eval $ac_try) 2>&5
|
---|
| 5088 | ac_status=$?
|
---|
| 5089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5090 | (exit $ac_status); }; }; then
|
---|
[562] | 5091 | ac_cv_header_stdc=yes
|
---|
| 5092 | else
|
---|
[8756] | 5093 | echo "$as_me: failed program was:" >&5
|
---|
| 5094 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5095 |
|
---|
[20853] | 5096 | ac_cv_header_stdc=no
|
---|
[562] | 5097 | fi
|
---|
[20853] | 5098 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5099 |
|
---|
| 5100 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5101 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[8756] | 5102 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5103 | /* confdefs.h. */
|
---|
| 5104 | _ACEOF
|
---|
| 5105 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5106 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5107 | /* end confdefs.h. */
|
---|
[562] | 5108 | #include <string.h>
|
---|
[8756] | 5109 |
|
---|
| 5110 | _ACEOF
|
---|
[562] | 5111 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5112 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
[562] | 5113 | :
|
---|
| 5114 | else
|
---|
| 5115 | ac_cv_header_stdc=no
|
---|
| 5116 | fi
|
---|
| 5117 | rm -f conftest*
|
---|
| 5118 |
|
---|
| 5119 | fi
|
---|
| 5120 |
|
---|
| 5121 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5122 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[8756] | 5123 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5124 | /* confdefs.h. */
|
---|
| 5125 | _ACEOF
|
---|
| 5126 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5127 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5128 | /* end confdefs.h. */
|
---|
[562] | 5129 | #include <stdlib.h>
|
---|
[8756] | 5130 |
|
---|
| 5131 | _ACEOF
|
---|
[562] | 5132 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5133 | $EGREP "free" >/dev/null 2>&1; then
|
---|
[562] | 5134 | :
|
---|
| 5135 | else
|
---|
| 5136 | ac_cv_header_stdc=no
|
---|
| 5137 | fi
|
---|
| 5138 | rm -f conftest*
|
---|
| 5139 |
|
---|
| 5140 | fi
|
---|
| 5141 |
|
---|
| 5142 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5143 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[8756] | 5144 | if test "$cross_compiling" = yes; then
|
---|
[562] | 5145 | :
|
---|
| 5146 | else
|
---|
[8756] | 5147 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5148 | /* confdefs.h. */
|
---|
| 5149 | _ACEOF
|
---|
| 5150 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5151 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5152 | /* end confdefs.h. */
|
---|
[562] | 5153 | #include <ctype.h>
|
---|
[8756] | 5154 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5155 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5156 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5157 | #else
|
---|
| 5158 | # define ISLOWER(c) \
|
---|
| 5159 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5160 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5161 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5162 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5163 | #endif
|
---|
| 5164 |
|
---|
[8200] | 5165 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
[8756] | 5166 | int
|
---|
| 5167 | main ()
|
---|
| 5168 | {
|
---|
| 5169 | int i;
|
---|
| 5170 | for (i = 0; i < 256; i++)
|
---|
| 5171 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5172 | || toupper (i) != TOUPPER (i))
|
---|
[20853] | 5173 | exit(2);
|
---|
| 5174 | exit (0);
|
---|
[8756] | 5175 | }
|
---|
| 5176 | _ACEOF
|
---|
| 5177 | rm -f conftest$ac_exeext
|
---|
[20853] | 5178 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5179 | (eval $ac_link) 2>&5
|
---|
[8756] | 5180 | ac_status=$?
|
---|
| 5181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5182 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 5183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5184 | (eval $ac_try) 2>&5
|
---|
[8756] | 5185 | ac_status=$?
|
---|
| 5186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5187 | (exit $ac_status); }; }; then
|
---|
[562] | 5188 | :
|
---|
| 5189 | else
|
---|
[8756] | 5190 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5191 | echo "$as_me: failed program was:" >&5
|
---|
| 5192 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5193 |
|
---|
| 5194 | ( exit $ac_status )
|
---|
| 5195 | ac_cv_header_stdc=no
|
---|
[562] | 5196 | fi
|
---|
[20853] | 5197 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5198 | fi
|
---|
| 5199 | fi
|
---|
| 5200 | fi
|
---|
[20853] | 5201 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 5202 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
---|
[8756] | 5203 | if test $ac_cv_header_stdc = yes; then
|
---|
[8200] | 5204 |
|
---|
[8756] | 5205 | cat >>confdefs.h <<\_ACEOF
|
---|
[562] | 5206 | #define STDC_HEADERS 1
|
---|
[8756] | 5207 | _ACEOF
|
---|
[562] | 5208 |
|
---|
| 5209 | fi
|
---|
| 5210 |
|
---|
[8756] | 5211 |
|
---|
| 5212 |
|
---|
| 5213 |
|
---|
| 5214 |
|
---|
| 5215 |
|
---|
| 5216 |
|
---|
| 5217 |
|
---|
| 5218 |
|
---|
[10181] | 5219 |
|
---|
| 5220 | 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] | 5221 | do
|
---|
[8756] | 5222 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[20853] | 5223 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 5224 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5225 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 5226 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 5227 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5228 | fi
|
---|
[20853] | 5229 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 5230 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[562] | 5231 | else
|
---|
[8756] | 5232 | # Is the header compilable?
|
---|
[20853] | 5233 | echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
---|
| 5234 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
---|
[8756] | 5235 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5236 | /* confdefs.h. */
|
---|
| 5237 | _ACEOF
|
---|
| 5238 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5239 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5240 | /* end confdefs.h. */
|
---|
| 5241 | $ac_includes_default
|
---|
| 5242 | #include <$ac_header>
|
---|
| 5243 | _ACEOF
|
---|
| 5244 | rm -f conftest.$ac_objext
|
---|
[20853] | 5245 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5246 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 5247 | ac_status=$?
|
---|
| 5248 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5249 | rm -f conftest.er1
|
---|
| 5250 | cat conftest.err >&5
|
---|
| 5251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5252 | (exit $ac_status); } &&
|
---|
| 5253 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5254 | || test ! -s conftest.err'
|
---|
| 5255 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5256 | (eval $ac_try) 2>&5
|
---|
| 5257 | ac_status=$?
|
---|
| 5258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5259 | (exit $ac_status); }; } &&
|
---|
| 5260 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5262 | (eval $ac_try) 2>&5
|
---|
| 5263 | ac_status=$?
|
---|
| 5264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5265 | (exit $ac_status); }; }; then
|
---|
[8756] | 5266 | ac_header_compiler=yes
|
---|
[562] | 5267 | else
|
---|
[8756] | 5268 | echo "$as_me: failed program was:" >&5
|
---|
| 5269 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5270 |
|
---|
[20853] | 5271 | ac_header_compiler=no
|
---|
[562] | 5272 | fi
|
---|
[20853] | 5273 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5274 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 5275 | echo "${ECHO_T}$ac_header_compiler" >&6
|
---|
[8756] | 5276 |
|
---|
| 5277 | # Is the header present?
|
---|
[20853] | 5278 | echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
---|
| 5279 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
---|
[8756] | 5280 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5281 | /* confdefs.h. */
|
---|
| 5282 | _ACEOF
|
---|
| 5283 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5284 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5285 | /* end confdefs.h. */
|
---|
| 5286 | #include <$ac_header>
|
---|
| 5287 | _ACEOF
|
---|
[20853] | 5288 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 5289 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
[8756] | 5290 | ac_status=$?
|
---|
| 5291 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5292 | rm -f conftest.er1
|
---|
| 5293 | cat conftest.err >&5
|
---|
| 5294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5295 | (exit $ac_status); } >/dev/null; then
|
---|
| 5296 | if test -s conftest.err; then
|
---|
| 5297 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 5298 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
---|
| 5299 | else
|
---|
| 5300 | ac_cpp_err=
|
---|
| 5301 | fi
|
---|
| 5302 | else
|
---|
| 5303 | ac_cpp_err=yes
|
---|
| 5304 | fi
|
---|
| 5305 | if test -z "$ac_cpp_err"; then
|
---|
[8756] | 5306 | ac_header_preproc=yes
|
---|
[8200] | 5307 | else
|
---|
[8756] | 5308 | echo "$as_me: failed program was:" >&5
|
---|
| 5309 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5310 |
|
---|
| 5311 | ac_header_preproc=no
|
---|
[562] | 5312 | fi
|
---|
[8756] | 5313 | rm -f conftest.err conftest.$ac_ext
|
---|
[20853] | 5314 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 5315 | echo "${ECHO_T}$ac_header_preproc" >&6
|
---|
[8756] | 5316 |
|
---|
| 5317 | # So? What about this header?
|
---|
| 5318 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 5319 | yes:no: )
|
---|
| 5320 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 5321 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 5322 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
---|
| 5323 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
---|
| 5324 | ac_header_preproc=yes
|
---|
| 5325 | ;;
|
---|
| 5326 | no:yes:* )
|
---|
| 5327 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
---|
| 5328 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
---|
| 5329 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
---|
| 5330 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
---|
| 5331 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
---|
| 5332 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
---|
| 5333 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 5334 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 5335 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 5336 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 5337 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
---|
| 5338 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
---|
[20853] | 5339 | (
|
---|
| 5340 | cat <<\_ASBOX
|
---|
| 5341 | ## ------------------------------------------ ##
|
---|
| 5342 | ## Report this to the AC_PACKAGE_NAME lists. ##
|
---|
| 5343 | ## ------------------------------------------ ##
|
---|
| 5344 | _ASBOX
|
---|
| 5345 | ) |
|
---|
| 5346 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
[8756] | 5347 | ;;
|
---|
| 5348 | esac
|
---|
[20853] | 5349 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5350 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 5351 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
[8756] | 5352 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5353 | else
|
---|
| 5354 | eval "$as_ac_Header=\$ac_header_preproc"
|
---|
| 5355 | fi
|
---|
[20853] | 5356 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 5357 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
[8756] | 5358 |
|
---|
| 5359 | fi
|
---|
| 5360 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 5361 | cat >>confdefs.h <<_ACEOF
|
---|
| 5362 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 5363 | _ACEOF
|
---|
| 5364 |
|
---|
| 5365 | fi
|
---|
| 5366 |
|
---|
[562] | 5367 | done
|
---|
| 5368 |
|
---|
[8756] | 5369 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5370 | /* confdefs.h. */
|
---|
| 5371 | _ACEOF
|
---|
| 5372 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5373 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5374 | /* end confdefs.h. */
|
---|
[687] | 5375 | #include <stdio.h>
|
---|
[8756] | 5376 |
|
---|
| 5377 | _ACEOF
|
---|
[687] | 5378 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5379 | $EGREP "fread" >/dev/null 2>&1; then
|
---|
| 5380 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5381 | #define HAVE_FREAD_DECL 1
|
---|
[8756] | 5382 | _ACEOF
|
---|
[562] | 5383 |
|
---|
[687] | 5384 | fi
|
---|
| 5385 | rm -f conftest*
|
---|
| 5386 |
|
---|
[8756] | 5387 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5388 | /* confdefs.h. */
|
---|
| 5389 | _ACEOF
|
---|
| 5390 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5391 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5392 | /* end confdefs.h. */
|
---|
[687] | 5393 | #include <stdio.h>
|
---|
[8756] | 5394 |
|
---|
| 5395 | _ACEOF
|
---|
[687] | 5396 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5397 | $EGREP "fgetc" >/dev/null 2>&1; then
|
---|
| 5398 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5399 | #define HAVE_FGETC_DECL 1
|
---|
[8756] | 5400 | _ACEOF
|
---|
[687] | 5401 |
|
---|
| 5402 | fi
|
---|
| 5403 | rm -f conftest*
|
---|
| 5404 |
|
---|
[8756] | 5405 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5406 | /* confdefs.h. */
|
---|
| 5407 | _ACEOF
|
---|
| 5408 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5409 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5410 | /* end confdefs.h. */
|
---|
[687] | 5411 | #include <sys/procfs.h>
|
---|
[8756] | 5412 |
|
---|
| 5413 | _ACEOF
|
---|
[687] | 5414 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5415 | $EGREP "pr_brksize" >/dev/null 2>&1; then
|
---|
| 5416 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5417 | #define HAVE_PR_BRKSIZE 1
|
---|
[8756] | 5418 | _ACEOF
|
---|
[687] | 5419 |
|
---|
| 5420 | fi
|
---|
| 5421 | rm -f conftest*
|
---|
| 5422 |
|
---|
[8200] | 5423 |
|
---|
[687] | 5424 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5425 | # for constant arguments. Useless!
|
---|
[20853] | 5426 | echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
---|
| 5427 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
|
---|
[8756] | 5428 | if test "${ac_cv_working_alloca_h+set}" = set; then
|
---|
| 5429 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5430 | else
|
---|
[8756] | 5431 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5432 | /* confdefs.h. */
|
---|
| 5433 | _ACEOF
|
---|
| 5434 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5435 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5436 | /* end confdefs.h. */
|
---|
[687] | 5437 | #include <alloca.h>
|
---|
[8756] | 5438 | int
|
---|
| 5439 | main ()
|
---|
| 5440 | {
|
---|
| 5441 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
| 5442 | ;
|
---|
| 5443 | return 0;
|
---|
| 5444 | }
|
---|
| 5445 | _ACEOF
|
---|
| 5446 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5447 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5448 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5449 | ac_status=$?
|
---|
| 5450 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5451 | rm -f conftest.er1
|
---|
| 5452 | cat conftest.err >&5
|
---|
| 5453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5454 | (exit $ac_status); } &&
|
---|
| 5455 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5456 | || test ! -s conftest.err'
|
---|
| 5457 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5458 | (eval $ac_try) 2>&5
|
---|
| 5459 | ac_status=$?
|
---|
| 5460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5461 | (exit $ac_status); }; } &&
|
---|
| 5462 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5464 | (eval $ac_try) 2>&5
|
---|
| 5465 | ac_status=$?
|
---|
| 5466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5467 | (exit $ac_status); }; }; then
|
---|
[8756] | 5468 | ac_cv_working_alloca_h=yes
|
---|
[562] | 5469 | else
|
---|
[8756] | 5470 | echo "$as_me: failed program was:" >&5
|
---|
| 5471 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5472 |
|
---|
[20853] | 5473 | ac_cv_working_alloca_h=no
|
---|
[562] | 5474 | fi
|
---|
[20853] | 5475 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5476 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5477 | fi
|
---|
[20853] | 5478 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5479 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
|
---|
[8756] | 5480 | if test $ac_cv_working_alloca_h = yes; then
|
---|
[562] | 5481 |
|
---|
[8756] | 5482 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5483 | #define HAVE_ALLOCA_H 1
|
---|
[8756] | 5484 | _ACEOF
|
---|
[562] | 5485 |
|
---|
| 5486 | fi
|
---|
| 5487 |
|
---|
[20853] | 5488 | echo "$as_me:$LINENO: checking for alloca" >&5
|
---|
| 5489 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6
|
---|
[8756] | 5490 | if test "${ac_cv_func_alloca_works+set}" = set; then
|
---|
| 5491 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5492 | else
|
---|
[8756] | 5493 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5494 | /* confdefs.h. */
|
---|
| 5495 | _ACEOF
|
---|
| 5496 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5497 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5498 | /* end confdefs.h. */
|
---|
[687] | 5499 | #ifdef __GNUC__
|
---|
| 5500 | # define alloca __builtin_alloca
|
---|
| 5501 | #else
|
---|
| 5502 | # ifdef _MSC_VER
|
---|
| 5503 | # include <malloc.h>
|
---|
| 5504 | # define alloca _alloca
|
---|
| 5505 | # else
|
---|
[20853] | 5506 | # if HAVE_ALLOCA_H
|
---|
[687] | 5507 | # include <alloca.h>
|
---|
| 5508 | # else
|
---|
| 5509 | # ifdef _AIX
|
---|
| 5510 | #pragma alloca
|
---|
| 5511 | # else
|
---|
| 5512 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5513 | char *alloca ();
|
---|
| 5514 | # endif
|
---|
| 5515 | # endif
|
---|
| 5516 | # endif
|
---|
| 5517 | # endif
|
---|
| 5518 | #endif
|
---|
| 5519 |
|
---|
[8756] | 5520 | int
|
---|
| 5521 | main ()
|
---|
| 5522 | {
|
---|
| 5523 | char *p = (char *) alloca (1);
|
---|
| 5524 | ;
|
---|
| 5525 | return 0;
|
---|
| 5526 | }
|
---|
| 5527 | _ACEOF
|
---|
| 5528 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5529 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5530 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5531 | ac_status=$?
|
---|
| 5532 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5533 | rm -f conftest.er1
|
---|
| 5534 | cat conftest.err >&5
|
---|
| 5535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5536 | (exit $ac_status); } &&
|
---|
| 5537 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5538 | || test ! -s conftest.err'
|
---|
| 5539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5540 | (eval $ac_try) 2>&5
|
---|
| 5541 | ac_status=$?
|
---|
| 5542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5543 | (exit $ac_status); }; } &&
|
---|
| 5544 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5546 | (eval $ac_try) 2>&5
|
---|
| 5547 | ac_status=$?
|
---|
| 5548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5549 | (exit $ac_status); }; }; then
|
---|
[687] | 5550 | ac_cv_func_alloca_works=yes
|
---|
[562] | 5551 | else
|
---|
[8756] | 5552 | echo "$as_me: failed program was:" >&5
|
---|
| 5553 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5554 |
|
---|
[20853] | 5555 | ac_cv_func_alloca_works=no
|
---|
[562] | 5556 | fi
|
---|
[20853] | 5557 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5558 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5559 | fi
|
---|
[20853] | 5560 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5561 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
|
---|
[562] | 5562 |
|
---|
[687] | 5563 | if test $ac_cv_func_alloca_works = yes; then
|
---|
[8756] | 5564 |
|
---|
| 5565 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5566 | #define HAVE_ALLOCA 1
|
---|
[8756] | 5567 | _ACEOF
|
---|
[562] | 5568 |
|
---|
[8756] | 5569 | else
|
---|
| 5570 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5571 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5572 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5573 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
[8200] | 5574 |
|
---|
[20853] | 5575 | ALLOCA=alloca.$ac_objext
|
---|
[8756] | 5576 |
|
---|
| 5577 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 5578 | #define C_ALLOCA 1
|
---|
[8756] | 5579 | _ACEOF
|
---|
[562] | 5580 |
|
---|
[8200] | 5581 |
|
---|
[20853] | 5582 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5583 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
|
---|
[8756] | 5584 | if test "${ac_cv_os_cray+set}" = set; then
|
---|
| 5585 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5586 | else
|
---|
[8756] | 5587 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5588 | /* confdefs.h. */
|
---|
| 5589 | _ACEOF
|
---|
| 5590 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5591 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5592 | /* end confdefs.h. */
|
---|
[20853] | 5593 | #if defined(CRAY) && ! defined(CRAY2)
|
---|
[687] | 5594 | webecray
|
---|
| 5595 | #else
|
---|
| 5596 | wenotbecray
|
---|
| 5597 | #endif
|
---|
[562] | 5598 |
|
---|
[8756] | 5599 | _ACEOF
|
---|
[687] | 5600 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5601 | $EGREP "webecray" >/dev/null 2>&1; then
|
---|
[687] | 5602 | ac_cv_os_cray=yes
|
---|
| 5603 | else
|
---|
| 5604 | ac_cv_os_cray=no
|
---|
| 5605 | fi
|
---|
| 5606 | rm -f conftest*
|
---|
[562] | 5607 |
|
---|
[687] | 5608 | fi
|
---|
[20853] | 5609 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
---|
| 5610 | echo "${ECHO_T}$ac_cv_os_cray" >&6
|
---|
[687] | 5611 | if test $ac_cv_os_cray = yes; then
|
---|
[8756] | 5612 | for ac_func in _getb67 GETB67 getb67; do
|
---|
| 5613 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 5614 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5615 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5616 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 5617 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5618 | else
|
---|
[8756] | 5619 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5620 | /* confdefs.h. */
|
---|
| 5621 | _ACEOF
|
---|
| 5622 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5623 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5624 | /* end confdefs.h. */
|
---|
| 5625 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 5626 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 5627 | #define $ac_func innocuous_$ac_func
|
---|
| 5628 |
|
---|
[687] | 5629 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 5630 | which can conflict with char $ac_func (); below.
|
---|
| 5631 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5632 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5633 |
|
---|
| 5634 | #ifdef __STDC__
|
---|
| 5635 | # include <limits.h>
|
---|
| 5636 | #else
|
---|
| 5637 | # include <assert.h>
|
---|
| 5638 | #endif
|
---|
| 5639 |
|
---|
| 5640 | #undef $ac_func
|
---|
| 5641 |
|
---|
[20853] | 5642 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 5643 | #ifdef __cplusplus
|
---|
| 5644 | extern "C"
|
---|
[20853] | 5645 | {
|
---|
[8756] | 5646 | #endif
|
---|
[20853] | 5647 | /* We use char because int might match the return type of a gcc2
|
---|
| 5648 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 5649 | char $ac_func ();
|
---|
[687] | 5650 | /* The GNU C library defines this for functions which it implements
|
---|
| 5651 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5652 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 5653 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 5654 | choke me
|
---|
[20853] | 5655 | #else
|
---|
| 5656 | char (*f) () = $ac_func;
|
---|
[687] | 5657 | #endif
|
---|
[20853] | 5658 | #ifdef __cplusplus
|
---|
| 5659 | }
|
---|
| 5660 | #endif
|
---|
[687] | 5661 |
|
---|
[8756] | 5662 | int
|
---|
| 5663 | main ()
|
---|
| 5664 | {
|
---|
[20853] | 5665 | return f != $ac_func;
|
---|
[8756] | 5666 | ;
|
---|
| 5667 | return 0;
|
---|
| 5668 | }
|
---|
| 5669 | _ACEOF
|
---|
| 5670 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5671 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5672 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5673 | ac_status=$?
|
---|
| 5674 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5675 | rm -f conftest.er1
|
---|
| 5676 | cat conftest.err >&5
|
---|
| 5677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5678 | (exit $ac_status); } &&
|
---|
| 5679 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5680 | || test ! -s conftest.err'
|
---|
| 5681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5682 | (eval $ac_try) 2>&5
|
---|
| 5683 | ac_status=$?
|
---|
| 5684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5685 | (exit $ac_status); }; } &&
|
---|
| 5686 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5687 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5688 | (eval $ac_try) 2>&5
|
---|
| 5689 | ac_status=$?
|
---|
| 5690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5691 | (exit $ac_status); }; }; then
|
---|
[8756] | 5692 | eval "$as_ac_var=yes"
|
---|
[562] | 5693 | else
|
---|
[8756] | 5694 | echo "$as_me: failed program was:" >&5
|
---|
| 5695 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5696 |
|
---|
[20853] | 5697 | eval "$as_ac_var=no"
|
---|
[562] | 5698 | fi
|
---|
[20853] | 5699 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5700 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 5701 | fi
|
---|
[20853] | 5702 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5703 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 5704 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[562] | 5705 |
|
---|
[8756] | 5706 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5707 | #define CRAY_STACKSEG_END $ac_func
|
---|
[8756] | 5708 | _ACEOF
|
---|
[562] | 5709 |
|
---|
[8756] | 5710 | break
|
---|
[687] | 5711 | fi
|
---|
[562] | 5712 |
|
---|
[8756] | 5713 | done
|
---|
[687] | 5714 | fi
|
---|
| 5715 |
|
---|
[20853] | 5716 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
---|
| 5717 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
|
---|
[8756] | 5718 | if test "${ac_cv_c_stack_direction+set}" = set; then
|
---|
| 5719 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5720 | else
|
---|
| 5721 | if test "$cross_compiling" = yes; then
|
---|
| 5722 | ac_cv_c_stack_direction=0
|
---|
| 5723 | else
|
---|
[8756] | 5724 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5725 | /* confdefs.h. */
|
---|
| 5726 | _ACEOF
|
---|
| 5727 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5728 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5729 | /* end confdefs.h. */
|
---|
| 5730 | int
|
---|
[687] | 5731 | find_stack_direction ()
|
---|
| 5732 | {
|
---|
| 5733 | static char *addr = 0;
|
---|
| 5734 | auto char dummy;
|
---|
| 5735 | if (addr == 0)
|
---|
| 5736 | {
|
---|
| 5737 | addr = &dummy;
|
---|
| 5738 | return find_stack_direction ();
|
---|
| 5739 | }
|
---|
| 5740 | else
|
---|
| 5741 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5742 | }
|
---|
[8756] | 5743 |
|
---|
| 5744 | int
|
---|
[687] | 5745 | main ()
|
---|
| 5746 | {
|
---|
[20853] | 5747 | exit (find_stack_direction () < 0);
|
---|
[687] | 5748 | }
|
---|
[8756] | 5749 | _ACEOF
|
---|
| 5750 | rm -f conftest$ac_exeext
|
---|
[20853] | 5751 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5752 | (eval $ac_link) 2>&5
|
---|
[8756] | 5753 | ac_status=$?
|
---|
| 5754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5755 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 5756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5757 | (eval $ac_try) 2>&5
|
---|
[8756] | 5758 | ac_status=$?
|
---|
| 5759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5760 | (exit $ac_status); }; }; then
|
---|
[687] | 5761 | ac_cv_c_stack_direction=1
|
---|
[562] | 5762 | else
|
---|
[8756] | 5763 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5764 | echo "$as_me: failed program was:" >&5
|
---|
| 5765 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5766 |
|
---|
| 5767 | ( exit $ac_status )
|
---|
| 5768 | ac_cv_c_stack_direction=-1
|
---|
[562] | 5769 | fi
|
---|
[20853] | 5770 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 5771 | fi
|
---|
| 5772 | fi
|
---|
[20853] | 5773 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
---|
| 5774 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
|
---|
[687] | 5775 |
|
---|
[8756] | 5776 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5777 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
[8756] | 5778 | _ACEOF
|
---|
[687] | 5779 |
|
---|
[8756] | 5780 |
|
---|
[687] | 5781 | fi
|
---|
| 5782 |
|
---|
[8756] | 5783 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[20853] | 5784 | echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
---|
| 5785 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
|
---|
[8756] | 5786 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
---|
| 5787 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5788 | else
|
---|
| 5789 | ac_pattern="Autoconf.*'x'"
|
---|
[8756] | 5790 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5791 | /* confdefs.h. */
|
---|
| 5792 | _ACEOF
|
---|
| 5793 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5794 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5795 | /* end confdefs.h. */
|
---|
[687] | 5796 | #include <sgtty.h>
|
---|
| 5797 | Autoconf TIOCGETP
|
---|
[8756] | 5798 | _ACEOF
|
---|
[687] | 5799 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5800 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
[687] | 5801 | ac_cv_prog_gcc_traditional=yes
|
---|
| 5802 | else
|
---|
| 5803 | ac_cv_prog_gcc_traditional=no
|
---|
| 5804 | fi
|
---|
[562] | 5805 | rm -f conftest*
|
---|
[687] | 5806 |
|
---|
[8200] | 5807 |
|
---|
[687] | 5808 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[8756] | 5809 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5810 | /* confdefs.h. */
|
---|
| 5811 | _ACEOF
|
---|
| 5812 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5813 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5814 | /* end confdefs.h. */
|
---|
[687] | 5815 | #include <termio.h>
|
---|
| 5816 | Autoconf TCGETA
|
---|
[8756] | 5817 | _ACEOF
|
---|
[687] | 5818 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[8756] | 5819 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
[687] | 5820 | ac_cv_prog_gcc_traditional=yes
|
---|
[562] | 5821 | fi
|
---|
[687] | 5822 | rm -f conftest*
|
---|
[562] | 5823 |
|
---|
[687] | 5824 | fi
|
---|
| 5825 | fi
|
---|
[20853] | 5826 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 5827 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
|
---|
[687] | 5828 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 5829 | CC="$CC -traditional"
|
---|
| 5830 | fi
|
---|
| 5831 | fi
|
---|
| 5832 |
|
---|
[20853] | 5833 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
---|
| 5834 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
|
---|
[8756] | 5835 | if test "${ac_cv_type_signal+set}" = set; then
|
---|
| 5836 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 5837 | else
|
---|
[8756] | 5838 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5839 | /* confdefs.h. */
|
---|
| 5840 | _ACEOF
|
---|
| 5841 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5842 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5843 | /* end confdefs.h. */
|
---|
[687] | 5844 | #include <sys/types.h>
|
---|
| 5845 | #include <signal.h>
|
---|
[20853] | 5846 | #ifdef signal
|
---|
| 5847 | # undef signal
|
---|
| 5848 | #endif
|
---|
| 5849 | #ifdef __cplusplus
|
---|
| 5850 | extern "C" void (*signal (int, void (*)(int)))(int);
|
---|
| 5851 | #else
|
---|
| 5852 | void (*signal ()) ();
|
---|
| 5853 | #endif
|
---|
[562] | 5854 |
|
---|
[8756] | 5855 | int
|
---|
| 5856 | main ()
|
---|
| 5857 | {
|
---|
[20853] | 5858 | int i;
|
---|
[8756] | 5859 | ;
|
---|
| 5860 | return 0;
|
---|
| 5861 | }
|
---|
| 5862 | _ACEOF
|
---|
| 5863 | rm -f conftest.$ac_objext
|
---|
[20853] | 5864 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5865 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 5866 | ac_status=$?
|
---|
| 5867 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5868 | rm -f conftest.er1
|
---|
| 5869 | cat conftest.err >&5
|
---|
| 5870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5871 | (exit $ac_status); } &&
|
---|
| 5872 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5873 | || test ! -s conftest.err'
|
---|
| 5874 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5875 | (eval $ac_try) 2>&5
|
---|
| 5876 | ac_status=$?
|
---|
| 5877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5878 | (exit $ac_status); }; } &&
|
---|
| 5879 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5881 | (eval $ac_try) 2>&5
|
---|
| 5882 | ac_status=$?
|
---|
| 5883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5884 | (exit $ac_status); }; }; then
|
---|
| 5885 | ac_cv_type_signal=void
|
---|
[562] | 5886 | else
|
---|
[8756] | 5887 | echo "$as_me: failed program was:" >&5
|
---|
| 5888 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5889 |
|
---|
[20853] | 5890 | ac_cv_type_signal=int
|
---|
[562] | 5891 | fi
|
---|
[20853] | 5892 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5893 | fi
|
---|
[20853] | 5894 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
---|
| 5895 | echo "${ECHO_T}$ac_cv_type_signal" >&6
|
---|
[562] | 5896 |
|
---|
[8756] | 5897 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5898 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
[8756] | 5899 | _ACEOF
|
---|
[562] | 5900 |
|
---|
[8200] | 5901 |
|
---|
[8756] | 5902 |
|
---|
| 5903 | for ac_func in vprintf
|
---|
| 5904 | do
|
---|
| 5905 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 5906 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5907 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5908 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 5909 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 5910 | else
|
---|
[8756] | 5911 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5912 | /* confdefs.h. */
|
---|
| 5913 | _ACEOF
|
---|
| 5914 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5915 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5916 | /* end confdefs.h. */
|
---|
| 5917 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 5918 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 5919 | #define $ac_func innocuous_$ac_func
|
---|
| 5920 |
|
---|
[562] | 5921 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 5922 | which can conflict with char $ac_func (); below.
|
---|
| 5923 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5924 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5925 |
|
---|
| 5926 | #ifdef __STDC__
|
---|
| 5927 | # include <limits.h>
|
---|
| 5928 | #else
|
---|
| 5929 | # include <assert.h>
|
---|
| 5930 | #endif
|
---|
| 5931 |
|
---|
| 5932 | #undef $ac_func
|
---|
| 5933 |
|
---|
[20853] | 5934 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 5935 | #ifdef __cplusplus
|
---|
| 5936 | extern "C"
|
---|
[20853] | 5937 | {
|
---|
[8756] | 5938 | #endif
|
---|
[20853] | 5939 | /* We use char because int might match the return type of a gcc2
|
---|
| 5940 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 5941 | char $ac_func ();
|
---|
[562] | 5942 | /* The GNU C library defines this for functions which it implements
|
---|
| 5943 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5944 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 5945 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[562] | 5946 | choke me
|
---|
[20853] | 5947 | #else
|
---|
| 5948 | char (*f) () = $ac_func;
|
---|
[562] | 5949 | #endif
|
---|
[20853] | 5950 | #ifdef __cplusplus
|
---|
| 5951 | }
|
---|
| 5952 | #endif
|
---|
[562] | 5953 |
|
---|
[8756] | 5954 | int
|
---|
| 5955 | main ()
|
---|
| 5956 | {
|
---|
[20853] | 5957 | return f != $ac_func;
|
---|
[8756] | 5958 | ;
|
---|
| 5959 | return 0;
|
---|
| 5960 | }
|
---|
| 5961 | _ACEOF
|
---|
| 5962 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 5963 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5964 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 5965 | ac_status=$?
|
---|
| 5966 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5967 | rm -f conftest.er1
|
---|
| 5968 | cat conftest.err >&5
|
---|
| 5969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 5970 | (exit $ac_status); } &&
|
---|
| 5971 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 5972 | || test ! -s conftest.err'
|
---|
| 5973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5974 | (eval $ac_try) 2>&5
|
---|
| 5975 | ac_status=$?
|
---|
| 5976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5977 | (exit $ac_status); }; } &&
|
---|
| 5978 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5979 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5980 | (eval $ac_try) 2>&5
|
---|
| 5981 | ac_status=$?
|
---|
| 5982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5983 | (exit $ac_status); }; }; then
|
---|
[8756] | 5984 | eval "$as_ac_var=yes"
|
---|
[562] | 5985 | else
|
---|
[8756] | 5986 | echo "$as_me: failed program was:" >&5
|
---|
| 5987 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5988 |
|
---|
[20853] | 5989 | eval "$as_ac_var=no"
|
---|
[562] | 5990 | fi
|
---|
[20853] | 5991 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 5992 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5993 | fi
|
---|
[20853] | 5994 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5995 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 5996 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 5997 | cat >>confdefs.h <<_ACEOF
|
---|
| 5998 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 5999 | _ACEOF
|
---|
[8200] | 6000 |
|
---|
[20853] | 6001 | echo "$as_me:$LINENO: checking for _doprnt" >&5
|
---|
| 6002 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
|
---|
[8756] | 6003 | if test "${ac_cv_func__doprnt+set}" = set; then
|
---|
| 6004 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[562] | 6005 | else
|
---|
[8756] | 6006 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6007 | /* confdefs.h. */
|
---|
| 6008 | _ACEOF
|
---|
| 6009 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6010 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6011 | /* end confdefs.h. */
|
---|
| 6012 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
---|
| 6013 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6014 | #define _doprnt innocuous__doprnt
|
---|
[8200] | 6015 |
|
---|
[562] | 6016 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6017 | which can conflict with char _doprnt (); below.
|
---|
| 6018 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6019 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6020 |
|
---|
| 6021 | #ifdef __STDC__
|
---|
| 6022 | # include <limits.h>
|
---|
| 6023 | #else
|
---|
| 6024 | # include <assert.h>
|
---|
| 6025 | #endif
|
---|
| 6026 |
|
---|
| 6027 | #undef _doprnt
|
---|
| 6028 |
|
---|
[20853] | 6029 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6030 | #ifdef __cplusplus
|
---|
| 6031 | extern "C"
|
---|
[20853] | 6032 | {
|
---|
[8756] | 6033 | #endif
|
---|
[20853] | 6034 | /* We use char because int might match the return type of a gcc2
|
---|
| 6035 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6036 | char _doprnt ();
|
---|
[562] | 6037 | /* The GNU C library defines this for functions which it implements
|
---|
| 6038 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6039 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6040 | #if defined (__stub__doprnt) || defined (__stub____doprnt)
|
---|
[562] | 6041 | choke me
|
---|
[20853] | 6042 | #else
|
---|
| 6043 | char (*f) () = _doprnt;
|
---|
[562] | 6044 | #endif
|
---|
[20853] | 6045 | #ifdef __cplusplus
|
---|
| 6046 | }
|
---|
| 6047 | #endif
|
---|
[562] | 6048 |
|
---|
[8756] | 6049 | int
|
---|
| 6050 | main ()
|
---|
| 6051 | {
|
---|
[20853] | 6052 | return f != _doprnt;
|
---|
[8756] | 6053 | ;
|
---|
| 6054 | return 0;
|
---|
| 6055 | }
|
---|
| 6056 | _ACEOF
|
---|
| 6057 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6058 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6059 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6060 | ac_status=$?
|
---|
| 6061 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6062 | rm -f conftest.er1
|
---|
| 6063 | cat conftest.err >&5
|
---|
| 6064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6065 | (exit $ac_status); } &&
|
---|
| 6066 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6067 | || test ! -s conftest.err'
|
---|
| 6068 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6069 | (eval $ac_try) 2>&5
|
---|
| 6070 | ac_status=$?
|
---|
| 6071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6072 | (exit $ac_status); }; } &&
|
---|
| 6073 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6075 | (eval $ac_try) 2>&5
|
---|
| 6076 | ac_status=$?
|
---|
| 6077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6078 | (exit $ac_status); }; }; then
|
---|
[8756] | 6079 | ac_cv_func__doprnt=yes
|
---|
[562] | 6080 | else
|
---|
[8756] | 6081 | echo "$as_me: failed program was:" >&5
|
---|
| 6082 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6083 |
|
---|
[20853] | 6084 | ac_cv_func__doprnt=no
|
---|
[562] | 6085 | fi
|
---|
[20853] | 6086 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6087 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 6088 | fi
|
---|
[20853] | 6089 | echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
---|
| 6090 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6
|
---|
[8756] | 6091 | if test $ac_cv_func__doprnt = yes; then
|
---|
[562] | 6092 |
|
---|
[8756] | 6093 | cat >>confdefs.h <<\_ACEOF
|
---|
[562] | 6094 | #define HAVE_DOPRNT 1
|
---|
[8756] | 6095 | _ACEOF
|
---|
[562] | 6096 |
|
---|
| 6097 | fi
|
---|
| 6098 |
|
---|
| 6099 | fi
|
---|
[8756] | 6100 | done
|
---|
[562] | 6101 |
|
---|
[8756] | 6102 |
|
---|
| 6103 |
|
---|
| 6104 |
|
---|
| 6105 |
|
---|
| 6106 |
|
---|
| 6107 |
|
---|
| 6108 |
|
---|
| 6109 |
|
---|
| 6110 |
|
---|
| 6111 |
|
---|
| 6112 |
|
---|
[788] | 6113 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[687] | 6114 | do
|
---|
[8756] | 6115 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 6116 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6117 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 6118 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 6119 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 6120 | else
|
---|
[8756] | 6121 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6122 | /* confdefs.h. */
|
---|
| 6123 | _ACEOF
|
---|
| 6124 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6125 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6126 | /* end confdefs.h. */
|
---|
| 6127 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6128 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6129 | #define $ac_func innocuous_$ac_func
|
---|
| 6130 |
|
---|
[687] | 6131 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6132 | which can conflict with char $ac_func (); below.
|
---|
| 6133 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6134 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6135 |
|
---|
| 6136 | #ifdef __STDC__
|
---|
| 6137 | # include <limits.h>
|
---|
| 6138 | #else
|
---|
| 6139 | # include <assert.h>
|
---|
| 6140 | #endif
|
---|
| 6141 |
|
---|
| 6142 | #undef $ac_func
|
---|
| 6143 |
|
---|
[20853] | 6144 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6145 | #ifdef __cplusplus
|
---|
| 6146 | extern "C"
|
---|
[20853] | 6147 | {
|
---|
[8756] | 6148 | #endif
|
---|
[20853] | 6149 | /* We use char because int might match the return type of a gcc2
|
---|
| 6150 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6151 | char $ac_func ();
|
---|
[687] | 6152 | /* The GNU C library defines this for functions which it implements
|
---|
| 6153 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6154 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6155 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 6156 | choke me
|
---|
[20853] | 6157 | #else
|
---|
| 6158 | char (*f) () = $ac_func;
|
---|
[687] | 6159 | #endif
|
---|
[20853] | 6160 | #ifdef __cplusplus
|
---|
| 6161 | }
|
---|
| 6162 | #endif
|
---|
[687] | 6163 |
|
---|
[8756] | 6164 | int
|
---|
| 6165 | main ()
|
---|
| 6166 | {
|
---|
[20853] | 6167 | return f != $ac_func;
|
---|
[8756] | 6168 | ;
|
---|
| 6169 | return 0;
|
---|
| 6170 | }
|
---|
| 6171 | _ACEOF
|
---|
| 6172 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6173 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6174 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6175 | ac_status=$?
|
---|
| 6176 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6177 | rm -f conftest.er1
|
---|
| 6178 | cat conftest.err >&5
|
---|
| 6179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6180 | (exit $ac_status); } &&
|
---|
| 6181 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6182 | || test ! -s conftest.err'
|
---|
| 6183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6184 | (eval $ac_try) 2>&5
|
---|
| 6185 | ac_status=$?
|
---|
| 6186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6187 | (exit $ac_status); }; } &&
|
---|
| 6188 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6189 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6190 | (eval $ac_try) 2>&5
|
---|
| 6191 | ac_status=$?
|
---|
| 6192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6193 | (exit $ac_status); }; }; then
|
---|
[8756] | 6194 | eval "$as_ac_var=yes"
|
---|
[687] | 6195 | else
|
---|
[8756] | 6196 | echo "$as_me: failed program was:" >&5
|
---|
| 6197 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6198 |
|
---|
[20853] | 6199 | eval "$as_ac_var=no"
|
---|
[687] | 6200 | fi
|
---|
[20853] | 6201 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6202 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 6203 | fi
|
---|
[20853] | 6204 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6205 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6206 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6207 | cat >>confdefs.h <<_ACEOF
|
---|
| 6208 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6209 | _ACEOF
|
---|
[8200] | 6210 |
|
---|
[687] | 6211 | fi
|
---|
| 6212 | done
|
---|
| 6213 |
|
---|
[8756] | 6214 |
|
---|
| 6215 |
|
---|
| 6216 |
|
---|
[687] | 6217 | for ac_func in ftruncate strstr strcasecmp
|
---|
| 6218 | do
|
---|
[8756] | 6219 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 6220 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6221 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 6222 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 6223 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 6224 | else
|
---|
[8756] | 6225 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6226 | /* confdefs.h. */
|
---|
| 6227 | _ACEOF
|
---|
| 6228 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6229 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6230 | /* end confdefs.h. */
|
---|
| 6231 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6232 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6233 | #define $ac_func innocuous_$ac_func
|
---|
| 6234 |
|
---|
[687] | 6235 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6236 | which can conflict with char $ac_func (); below.
|
---|
| 6237 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6238 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6239 |
|
---|
| 6240 | #ifdef __STDC__
|
---|
| 6241 | # include <limits.h>
|
---|
| 6242 | #else
|
---|
| 6243 | # include <assert.h>
|
---|
| 6244 | #endif
|
---|
| 6245 |
|
---|
| 6246 | #undef $ac_func
|
---|
| 6247 |
|
---|
[20853] | 6248 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6249 | #ifdef __cplusplus
|
---|
| 6250 | extern "C"
|
---|
[20853] | 6251 | {
|
---|
[8756] | 6252 | #endif
|
---|
[20853] | 6253 | /* We use char because int might match the return type of a gcc2
|
---|
| 6254 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6255 | char $ac_func ();
|
---|
[687] | 6256 | /* The GNU C library defines this for functions which it implements
|
---|
| 6257 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6258 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6259 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 6260 | choke me
|
---|
[20853] | 6261 | #else
|
---|
| 6262 | char (*f) () = $ac_func;
|
---|
[687] | 6263 | #endif
|
---|
[20853] | 6264 | #ifdef __cplusplus
|
---|
| 6265 | }
|
---|
| 6266 | #endif
|
---|
[687] | 6267 |
|
---|
[8756] | 6268 | int
|
---|
| 6269 | main ()
|
---|
| 6270 | {
|
---|
[20853] | 6271 | return f != $ac_func;
|
---|
[8756] | 6272 | ;
|
---|
| 6273 | return 0;
|
---|
| 6274 | }
|
---|
| 6275 | _ACEOF
|
---|
| 6276 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6277 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6278 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6279 | ac_status=$?
|
---|
| 6280 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6281 | rm -f conftest.er1
|
---|
| 6282 | cat conftest.err >&5
|
---|
| 6283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6284 | (exit $ac_status); } &&
|
---|
| 6285 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6286 | || test ! -s conftest.err'
|
---|
| 6287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6288 | (eval $ac_try) 2>&5
|
---|
| 6289 | ac_status=$?
|
---|
| 6290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6291 | (exit $ac_status); }; } &&
|
---|
| 6292 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6293 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6294 | (eval $ac_try) 2>&5
|
---|
| 6295 | ac_status=$?
|
---|
| 6296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6297 | (exit $ac_status); }; }; then
|
---|
[8756] | 6298 | eval "$as_ac_var=yes"
|
---|
[687] | 6299 | else
|
---|
[8756] | 6300 | echo "$as_me: failed program was:" >&5
|
---|
| 6301 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6302 |
|
---|
[20853] | 6303 | eval "$as_ac_var=no"
|
---|
[687] | 6304 | fi
|
---|
[20853] | 6305 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6306 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 6307 | fi
|
---|
[20853] | 6308 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6309 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6310 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6311 | cat >>confdefs.h <<_ACEOF
|
---|
| 6312 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6313 | _ACEOF
|
---|
[8200] | 6314 |
|
---|
[687] | 6315 | else
|
---|
[20853] | 6316 | case $LIBOBJS in
|
---|
| 6317 | "$ac_func.$ac_objext" | \
|
---|
| 6318 | *" $ac_func.$ac_objext" | \
|
---|
| 6319 | "$ac_func.$ac_objext "* | \
|
---|
[8756] | 6320 | *" $ac_func.$ac_objext "* ) ;;
|
---|
[20853] | 6321 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
|
---|
[8756] | 6322 | esac
|
---|
| 6323 |
|
---|
[687] | 6324 | fi
|
---|
| 6325 | done
|
---|
| 6326 |
|
---|
[8200] | 6327 |
|
---|
| 6328 |
|
---|
[20853] | 6329 | echo "$as_me:$LINENO: checking for textdomain" >&5
|
---|
| 6330 | echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
|
---|
[8756] | 6331 | if test "${ac_cv_func_textdomain+set}" = set; then
|
---|
| 6332 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[3705] | 6333 | else
|
---|
[8756] | 6334 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6335 | /* confdefs.h. */
|
---|
| 6336 | _ACEOF
|
---|
| 6337 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6338 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6339 | /* end confdefs.h. */
|
---|
| 6340 | /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
|
---|
| 6341 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6342 | #define textdomain innocuous_textdomain
|
---|
| 6343 |
|
---|
[3705] | 6344 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6345 | which can conflict with char textdomain (); below.
|
---|
| 6346 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6347 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6348 |
|
---|
| 6349 | #ifdef __STDC__
|
---|
| 6350 | # include <limits.h>
|
---|
| 6351 | #else
|
---|
| 6352 | # include <assert.h>
|
---|
| 6353 | #endif
|
---|
| 6354 |
|
---|
| 6355 | #undef textdomain
|
---|
| 6356 |
|
---|
[20853] | 6357 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6358 | #ifdef __cplusplus
|
---|
| 6359 | extern "C"
|
---|
[20853] | 6360 | {
|
---|
[8756] | 6361 | #endif
|
---|
[20853] | 6362 | /* We use char because int might match the return type of a gcc2
|
---|
| 6363 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6364 | char textdomain ();
|
---|
[3705] | 6365 | /* The GNU C library defines this for functions which it implements
|
---|
| 6366 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6367 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6368 | #if defined (__stub_textdomain) || defined (__stub___textdomain)
|
---|
[3705] | 6369 | choke me
|
---|
[20853] | 6370 | #else
|
---|
| 6371 | char (*f) () = textdomain;
|
---|
[3705] | 6372 | #endif
|
---|
[20853] | 6373 | #ifdef __cplusplus
|
---|
| 6374 | }
|
---|
| 6375 | #endif
|
---|
[3705] | 6376 |
|
---|
[8756] | 6377 | int
|
---|
| 6378 | main ()
|
---|
| 6379 | {
|
---|
[20853] | 6380 | return f != textdomain;
|
---|
[8756] | 6381 | ;
|
---|
| 6382 | return 0;
|
---|
| 6383 | }
|
---|
| 6384 | _ACEOF
|
---|
| 6385 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6386 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6387 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6388 | ac_status=$?
|
---|
| 6389 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6390 | rm -f conftest.er1
|
---|
| 6391 | cat conftest.err >&5
|
---|
| 6392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6393 | (exit $ac_status); } &&
|
---|
| 6394 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6395 | || test ! -s conftest.err'
|
---|
| 6396 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6397 | (eval $ac_try) 2>&5
|
---|
| 6398 | ac_status=$?
|
---|
| 6399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6400 | (exit $ac_status); }; } &&
|
---|
| 6401 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6402 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6403 | (eval $ac_try) 2>&5
|
---|
| 6404 | ac_status=$?
|
---|
| 6405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6406 | (exit $ac_status); }; }; then
|
---|
[8756] | 6407 | ac_cv_func_textdomain=yes
|
---|
[3705] | 6408 | else
|
---|
[8756] | 6409 | echo "$as_me: failed program was:" >&5
|
---|
| 6410 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6411 |
|
---|
[20853] | 6412 | ac_cv_func_textdomain=no
|
---|
[3705] | 6413 | fi
|
---|
[20853] | 6414 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6415 | conftest$ac_exeext conftest.$ac_ext
|
---|
[3705] | 6416 | fi
|
---|
[20853] | 6417 | echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
|
---|
| 6418 | echo "${ECHO_T}$ac_cv_func_textdomain" >&6
|
---|
[8756] | 6419 | if test $ac_cv_func_textdomain = yes; then
|
---|
| 6420 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6421 | #define ENABLE_NLS 1
|
---|
| 6422 | _ACEOF
|
---|
[8200] | 6423 |
|
---|
[3705] | 6424 | fi
|
---|
| 6425 |
|
---|
[8200] | 6426 |
|
---|
[687] | 6427 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6428 | # ---------------------------------------------------------------------------
|
---|
[20853] | 6429 | echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
|
---|
| 6430 | echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
|
---|
[687] | 6431 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[20853] | 6432 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6433 | echo "${ECHO_T}yes" >&6
|
---|
| 6434 | case $LIBOBJS in
|
---|
| 6435 | "gmalloc.$ac_objext" | \
|
---|
| 6436 | *" gmalloc.$ac_objext" | \
|
---|
| 6437 | "gmalloc.$ac_objext "* | \
|
---|
[8756] | 6438 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[20853] | 6439 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
|
---|
[8756] | 6440 | esac
|
---|
| 6441 |
|
---|
| 6442 | cat >>confdefs.h <<\_ACEOF
|
---|
[687] | 6443 | #define HAVE_VALLOC 1
|
---|
[8756] | 6444 | _ACEOF
|
---|
[687] | 6445 |
|
---|
| 6446 | else
|
---|
[20853] | 6447 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6448 | echo "${ECHO_T}no" >&6
|
---|
[8756] | 6449 |
|
---|
| 6450 | for ac_func in valloc
|
---|
[687] | 6451 | do
|
---|
[8756] | 6452 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20853] | 6453 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6454 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 6455 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
[8756] | 6456 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[687] | 6457 | else
|
---|
[8756] | 6458 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6459 | /* confdefs.h. */
|
---|
| 6460 | _ACEOF
|
---|
| 6461 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6462 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6463 | /* end confdefs.h. */
|
---|
| 6464 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6465 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6466 | #define $ac_func innocuous_$ac_func
|
---|
| 6467 |
|
---|
[687] | 6468 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6469 | which can conflict with char $ac_func (); below.
|
---|
| 6470 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6471 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6472 |
|
---|
| 6473 | #ifdef __STDC__
|
---|
| 6474 | # include <limits.h>
|
---|
| 6475 | #else
|
---|
| 6476 | # include <assert.h>
|
---|
| 6477 | #endif
|
---|
| 6478 |
|
---|
| 6479 | #undef $ac_func
|
---|
| 6480 |
|
---|
[20853] | 6481 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6482 | #ifdef __cplusplus
|
---|
| 6483 | extern "C"
|
---|
[20853] | 6484 | {
|
---|
[8756] | 6485 | #endif
|
---|
[20853] | 6486 | /* We use char because int might match the return type of a gcc2
|
---|
| 6487 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6488 | char $ac_func ();
|
---|
[687] | 6489 | /* The GNU C library defines this for functions which it implements
|
---|
| 6490 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6491 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6492 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
[687] | 6493 | choke me
|
---|
[20853] | 6494 | #else
|
---|
| 6495 | char (*f) () = $ac_func;
|
---|
[687] | 6496 | #endif
|
---|
[20853] | 6497 | #ifdef __cplusplus
|
---|
| 6498 | }
|
---|
| 6499 | #endif
|
---|
[687] | 6500 |
|
---|
[8756] | 6501 | int
|
---|
| 6502 | main ()
|
---|
| 6503 | {
|
---|
[20853] | 6504 | return f != $ac_func;
|
---|
[8756] | 6505 | ;
|
---|
| 6506 | return 0;
|
---|
| 6507 | }
|
---|
| 6508 | _ACEOF
|
---|
| 6509 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6510 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6511 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6512 | ac_status=$?
|
---|
| 6513 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6514 | rm -f conftest.er1
|
---|
| 6515 | cat conftest.err >&5
|
---|
| 6516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6517 | (exit $ac_status); } &&
|
---|
| 6518 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6519 | || test ! -s conftest.err'
|
---|
| 6520 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6521 | (eval $ac_try) 2>&5
|
---|
| 6522 | ac_status=$?
|
---|
| 6523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6524 | (exit $ac_status); }; } &&
|
---|
| 6525 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6527 | (eval $ac_try) 2>&5
|
---|
| 6528 | ac_status=$?
|
---|
| 6529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6530 | (exit $ac_status); }; }; then
|
---|
[8756] | 6531 | eval "$as_ac_var=yes"
|
---|
[687] | 6532 | else
|
---|
[8756] | 6533 | echo "$as_me: failed program was:" >&5
|
---|
| 6534 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6535 |
|
---|
[20853] | 6536 | eval "$as_ac_var=no"
|
---|
[687] | 6537 | fi
|
---|
[20853] | 6538 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6539 | conftest$ac_exeext conftest.$ac_ext
|
---|
[687] | 6540 | fi
|
---|
[20853] | 6541 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 6542 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
[8756] | 6543 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6544 | cat >>confdefs.h <<_ACEOF
|
---|
| 6545 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6546 | _ACEOF
|
---|
[8200] | 6547 |
|
---|
[687] | 6548 | fi
|
---|
| 6549 | done
|
---|
| 6550 |
|
---|
| 6551 | fi
|
---|
| 6552 |
|
---|
[8200] | 6553 | # we cannot generate static libraries under Darwin
|
---|
[20853] | 6554 | echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
|
---|
| 6555 | echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
|
---|
[8200] | 6556 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[20853] | 6557 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6558 | echo "${ECHO_T}yes" >&6
|
---|
[8200] | 6559 | STATIC=""
|
---|
| 6560 | else
|
---|
[20853] | 6561 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6562 | echo "${ECHO_T}no" >&6
|
---|
[8200] | 6563 | STATIC="-static "
|
---|
| 6564 | fi
|
---|
[3631] | 6565 |
|
---|
[8200] | 6566 |
|
---|
[20853] | 6567 | echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
---|
| 6568 | echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
|
---|
[8756] | 6569 |
|
---|
[20853] | 6570 | # Check whether --with-dmalloc or --without-dmalloc was given.
|
---|
[700] | 6571 | if test "${with_dmalloc+set}" = set; then
|
---|
[20853] | 6572 | withval="$with_dmalloc"
|
---|
| 6573 | if test "$withval" = yes; then
|
---|
| 6574 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6575 | echo "${ECHO_T}yes" >&6
|
---|
[8756] | 6576 | cat >>confdefs.h <<\_ACEOF
|
---|
[700] | 6577 | #define WITH_DMALLOC 1
|
---|
[8756] | 6578 | _ACEOF
|
---|
[687] | 6579 |
|
---|
[700] | 6580 | LIBS="$LIBS -ldmalloc"
|
---|
| 6581 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6582 | else
|
---|
[20853] | 6583 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6584 | echo "${ECHO_T}no" >&6
|
---|
[700] | 6585 | fi
|
---|
| 6586 | else
|
---|
[20853] | 6587 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6588 | echo "${ECHO_T}no" >&6
|
---|
| 6589 | fi;
|
---|
[700] | 6590 |
|
---|
[20853] | 6591 | echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
|
---|
| 6592 | echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
|
---|
[700] | 6593 |
|
---|
[20853] | 6594 | # Check whether --with-regex or --without-regex was given.
|
---|
[700] | 6595 | if test "${with_regex+set}" = set; then
|
---|
[20853] | 6596 | withval="$with_regex"
|
---|
| 6597 | if test "$withval" = yes; then
|
---|
[700] | 6598 | ac_with_regex=1
|
---|
[20853] | 6599 | echo "$as_me:$LINENO: result: regex" >&5
|
---|
| 6600 | echo "${ECHO_T}regex" >&6
|
---|
[8756] | 6601 | cat >>confdefs.h <<\_ACEOF
|
---|
[700] | 6602 | #define WITH_REGEX 1
|
---|
[8756] | 6603 | _ACEOF
|
---|
[700] | 6604 |
|
---|
[20853] | 6605 | case $LIBOBJS in
|
---|
| 6606 | "regex.$ac_objext" | \
|
---|
| 6607 | *" regex.$ac_objext" | \
|
---|
| 6608 | "regex.$ac_objext "* | \
|
---|
[8756] | 6609 | *" regex.$ac_objext "* ) ;;
|
---|
[20853] | 6610 | *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
|
---|
[8756] | 6611 | esac
|
---|
| 6612 |
|
---|
[700] | 6613 | fi
|
---|
[20853] | 6614 | fi;
|
---|
[700] | 6615 | if test -z "$ac_with_regex"; then
|
---|
[20853] | 6616 | echo "$as_me:$LINENO: result: rx" >&5
|
---|
| 6617 | echo "${ECHO_T}rx" >&6
|
---|
| 6618 | echo "$as_me:$LINENO: checking for re_rx_search" >&5
|
---|
| 6619 | echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
|
---|
[8756] | 6620 | if test "${ac_cv_func_re_rx_search+set}" = set; then
|
---|
| 6621 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[700] | 6622 | else
|
---|
[8756] | 6623 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6624 | /* confdefs.h. */
|
---|
| 6625 | _ACEOF
|
---|
| 6626 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6627 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6628 | /* end confdefs.h. */
|
---|
| 6629 | /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
|
---|
| 6630 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6631 | #define re_rx_search innocuous_re_rx_search
|
---|
| 6632 |
|
---|
[700] | 6633 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
[8756] | 6634 | which can conflict with char re_rx_search (); below.
|
---|
| 6635 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6636 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6637 |
|
---|
| 6638 | #ifdef __STDC__
|
---|
| 6639 | # include <limits.h>
|
---|
| 6640 | #else
|
---|
| 6641 | # include <assert.h>
|
---|
| 6642 | #endif
|
---|
| 6643 |
|
---|
| 6644 | #undef re_rx_search
|
---|
| 6645 |
|
---|
[20853] | 6646 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
[8756] | 6647 | #ifdef __cplusplus
|
---|
| 6648 | extern "C"
|
---|
[20853] | 6649 | {
|
---|
[8756] | 6650 | #endif
|
---|
[20853] | 6651 | /* We use char because int might match the return type of a gcc2
|
---|
| 6652 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 6653 | char re_rx_search ();
|
---|
[700] | 6654 | /* The GNU C library defines this for functions which it implements
|
---|
| 6655 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6656 | something starting with __ and the normal name is an alias. */
|
---|
[20853] | 6657 | #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
|
---|
[700] | 6658 | choke me
|
---|
[20853] | 6659 | #else
|
---|
| 6660 | char (*f) () = re_rx_search;
|
---|
[700] | 6661 | #endif
|
---|
[20853] | 6662 | #ifdef __cplusplus
|
---|
| 6663 | }
|
---|
| 6664 | #endif
|
---|
[700] | 6665 |
|
---|
[8756] | 6666 | int
|
---|
| 6667 | main ()
|
---|
| 6668 | {
|
---|
[20853] | 6669 | return f != re_rx_search;
|
---|
[8756] | 6670 | ;
|
---|
| 6671 | return 0;
|
---|
| 6672 | }
|
---|
| 6673 | _ACEOF
|
---|
| 6674 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20853] | 6675 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 6676 | (eval $ac_link) 2>conftest.er1
|
---|
[8756] | 6677 | ac_status=$?
|
---|
| 6678 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6679 | rm -f conftest.er1
|
---|
| 6680 | cat conftest.err >&5
|
---|
| 6681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6682 | (exit $ac_status); } &&
|
---|
| 6683 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 6684 | || test ! -s conftest.err'
|
---|
| 6685 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6686 | (eval $ac_try) 2>&5
|
---|
| 6687 | ac_status=$?
|
---|
| 6688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6689 | (exit $ac_status); }; } &&
|
---|
| 6690 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 6691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6692 | (eval $ac_try) 2>&5
|
---|
| 6693 | ac_status=$?
|
---|
| 6694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6695 | (exit $ac_status); }; }; then
|
---|
[8756] | 6696 | ac_cv_func_re_rx_search=yes
|
---|
[700] | 6697 | else
|
---|
[8756] | 6698 | echo "$as_me: failed program was:" >&5
|
---|
| 6699 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6700 |
|
---|
[20853] | 6701 | ac_cv_func_re_rx_search=no
|
---|
[700] | 6702 | fi
|
---|
[20853] | 6703 | rm -f conftest.err conftest.$ac_objext \
|
---|
[8756] | 6704 | conftest$ac_exeext conftest.$ac_ext
|
---|
[700] | 6705 | fi
|
---|
[20853] | 6706 | echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
|
---|
| 6707 | echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
|
---|
[8756] | 6708 | if test $ac_cv_func_re_rx_search = yes; then
|
---|
[700] | 6709 | :
|
---|
| 6710 | else
|
---|
[20853] | 6711 | case $LIBOBJS in
|
---|
| 6712 | "rx.$ac_objext" | \
|
---|
| 6713 | *" rx.$ac_objext" | \
|
---|
| 6714 | "rx.$ac_objext "* | \
|
---|
[8756] | 6715 | *" rx.$ac_objext "* ) ;;
|
---|
[20853] | 6716 | *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
|
---|
[8756] | 6717 | esac
|
---|
| 6718 |
|
---|
[700] | 6719 | fi
|
---|
| 6720 |
|
---|
| 6721 | fi
|
---|
| 6722 |
|
---|
[8200] | 6723 |
|
---|
[687] | 6724 | # ---------------------------------------------------------------------------
|
---|
| 6725 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[20853] | 6726 | case $LIBOBJS in
|
---|
| 6727 | "xmalloc.$ac_objext" | \
|
---|
| 6728 | *" xmalloc.$ac_objext" | \
|
---|
| 6729 | "xmalloc.$ac_objext "* | \
|
---|
[8756] | 6730 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[20853] | 6731 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
|
---|
[8756] | 6732 | esac
|
---|
| 6733 |
|
---|
[20853] | 6734 | case $LIBOBJS in
|
---|
| 6735 | "error.$ac_objext" | \
|
---|
| 6736 | *" error.$ac_objext" | \
|
---|
| 6737 | "error.$ac_objext "* | \
|
---|
[8756] | 6738 | *" error.$ac_objext "* ) ;;
|
---|
[20853] | 6739 | *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
|
---|
[8756] | 6740 | esac
|
---|
| 6741 |
|
---|
[687] | 6742 | fi
|
---|
| 6743 |
|
---|
[8200] | 6744 |
|
---|
[687] | 6745 | # ---------------------------------------------------------------------------
|
---|
| 6746 |
|
---|
[20853] | 6747 | ac_ext=cc
|
---|
[687] | 6748 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
[8756] | 6749 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6750 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6751 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[687] | 6752 |
|
---|
[8200] | 6753 |
|
---|
[20853] | 6754 | echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
|
---|
| 6755 | echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
|
---|
[687] | 6756 | success="no"
|
---|
| 6757 | pl_path="$PATH"
|
---|
| 6758 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 6759 | for pl_dir in $pl_path; do
|
---|
| 6760 | test -z "$pl_dir" && pl_dir=.
|
---|
| 6761 | if test -x $pl_dir/perl; then
|
---|
| 6762 | success="yes"
|
---|
| 6763 | break
|
---|
| 6764 | fi
|
---|
| 6765 | done
|
---|
| 6766 | IFS="$pl_save_ifs"
|
---|
| 6767 |
|
---|
| 6768 | if test $success = "yes"; then
|
---|
| 6769 | try=`perl configtest.pl` || try="0"
|
---|
| 6770 | try=`expr $try \> 5.000`
|
---|
| 6771 | if test $try = "1"; then
|
---|
[20853] | 6772 | echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 6773 | echo "${ECHO_T}\"yes\"" >&6
|
---|
[687] | 6774 | else
|
---|
| 6775 | success="no"
|
---|
| 6776 | fi
|
---|
| 6777 | fi
|
---|
| 6778 |
|
---|
| 6779 | if test $success = "no"; then
|
---|
[20853] | 6780 | echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 6781 | echo "${ECHO_T}\"no\"" >&6
|
---|
[8756] | 6782 | { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
|
---|
| 6783 | echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
|
---|
| 6784 | { (exit 1); exit 1; }; }
|
---|
[687] | 6785 | fi
|
---|
| 6786 |
|
---|
| 6787 | success=no
|
---|
[20853] | 6788 | echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
|
---|
| 6789 | echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
|
---|
[687] | 6790 |
|
---|
[18214] | 6791 |
|
---|
[8756] | 6792 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6793 | /* confdefs.h. */
|
---|
| 6794 | _ACEOF
|
---|
| 6795 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6796 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6797 | /* end confdefs.h. */
|
---|
[687] | 6798 | #include <vector>
|
---|
| 6799 |
|
---|
[8756] | 6800 | int
|
---|
| 6801 | main ()
|
---|
| 6802 | {
|
---|
[687] | 6803 |
|
---|
[8756] | 6804 | ;
|
---|
| 6805 | return 0;
|
---|
| 6806 | }
|
---|
| 6807 | _ACEOF
|
---|
| 6808 | rm -f conftest.$ac_objext
|
---|
[20853] | 6809 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 6810 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 6811 | ac_status=$?
|
---|
| 6812 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6813 | rm -f conftest.er1
|
---|
| 6814 | cat conftest.err >&5
|
---|
| 6815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6816 | (exit $ac_status); } &&
|
---|
| 6817 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 6818 | || test ! -s conftest.err'
|
---|
| 6819 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6820 | (eval $ac_try) 2>&5
|
---|
| 6821 | ac_status=$?
|
---|
| 6822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6823 | (exit $ac_status); }; } &&
|
---|
| 6824 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 6825 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6826 | (eval $ac_try) 2>&5
|
---|
| 6827 | ac_status=$?
|
---|
| 6828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6829 | (exit $ac_status); }; }; then
|
---|
[687] | 6830 | success=yes
|
---|
| 6831 | else
|
---|
[8756] | 6832 | echo "$as_me: failed program was:" >&5
|
---|
| 6833 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6834 |
|
---|
[687] | 6835 | fi
|
---|
[20853] | 6836 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 6837 |
|
---|
| 6838 | if test $success = "no"; then
|
---|
[8756] | 6839 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6840 | /* confdefs.h. */
|
---|
| 6841 | _ACEOF
|
---|
| 6842 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6843 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6844 | /* end confdefs.h. */
|
---|
[687] | 6845 | #include <vector.h>
|
---|
| 6846 |
|
---|
[8756] | 6847 | int
|
---|
| 6848 | main ()
|
---|
| 6849 | {
|
---|
[687] | 6850 |
|
---|
[8756] | 6851 | ;
|
---|
| 6852 | return 0;
|
---|
| 6853 | }
|
---|
| 6854 | _ACEOF
|
---|
| 6855 | rm -f conftest.$ac_objext
|
---|
[20853] | 6856 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 6857 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 6858 | ac_status=$?
|
---|
| 6859 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6860 | rm -f conftest.er1
|
---|
| 6861 | cat conftest.err >&5
|
---|
| 6862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6863 | (exit $ac_status); } &&
|
---|
| 6864 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 6865 | || test ! -s conftest.err'
|
---|
| 6866 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6867 | (eval $ac_try) 2>&5
|
---|
| 6868 | ac_status=$?
|
---|
| 6869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6870 | (exit $ac_status); }; } &&
|
---|
| 6871 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 6872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6873 | (eval $ac_try) 2>&5
|
---|
| 6874 | ac_status=$?
|
---|
| 6875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6876 | (exit $ac_status); }; }; then
|
---|
[687] | 6877 | success="yes"
|
---|
| 6878 | else
|
---|
[8756] | 6879 | echo "$as_me: failed program was:" >&5
|
---|
| 6880 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6881 |
|
---|
[687] | 6882 | fi
|
---|
[20853] | 6883 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 6884 | fi
|
---|
| 6885 |
|
---|
| 6886 | if test $success = "no"; then
|
---|
[8756] | 6887 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6888 | /* confdefs.h. */
|
---|
| 6889 | _ACEOF
|
---|
| 6890 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6891 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6892 | /* end confdefs.h. */
|
---|
[687] | 6893 | #include <ospace\\std\\vector>
|
---|
| 6894 |
|
---|
[8756] | 6895 | int
|
---|
| 6896 | main ()
|
---|
| 6897 | {
|
---|
[687] | 6898 |
|
---|
[8756] | 6899 | ;
|
---|
| 6900 | return 0;
|
---|
| 6901 | }
|
---|
| 6902 | _ACEOF
|
---|
| 6903 | rm -f conftest.$ac_objext
|
---|
[20853] | 6904 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 6905 | (eval $ac_compile) 2>conftest.er1
|
---|
[8756] | 6906 | ac_status=$?
|
---|
| 6907 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6908 | rm -f conftest.er1
|
---|
| 6909 | cat conftest.err >&5
|
---|
| 6910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 6911 | (exit $ac_status); } &&
|
---|
| 6912 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 6913 | || test ! -s conftest.err'
|
---|
| 6914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6915 | (eval $ac_try) 2>&5
|
---|
| 6916 | ac_status=$?
|
---|
| 6917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6918 | (exit $ac_status); }; } &&
|
---|
| 6919 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 6920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 6921 | (eval $ac_try) 2>&5
|
---|
| 6922 | ac_status=$?
|
---|
| 6923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6924 | (exit $ac_status); }; }; then
|
---|
[687] | 6925 | success="yes"
|
---|
| 6926 | else
|
---|
[8756] | 6927 | echo "$as_me: failed program was:" >&5
|
---|
| 6928 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6929 |
|
---|
[687] | 6930 | fi
|
---|
[20853] | 6931 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 6932 | fi
|
---|
| 6933 |
|
---|
| 6934 | if test $success = yes; then
|
---|
[20853] | 6935 | echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 6936 | echo "${ECHO_T}\"no\"" >&6
|
---|
[687] | 6937 | else
|
---|
[20853] | 6938 | echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 6939 | echo "${ECHO_T}\"yes\"" >&6
|
---|
[8756] | 6940 | { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
|
---|
| 6941 | echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
|
---|
| 6942 | { (exit 1); exit 1; }; }
|
---|
[687] | 6943 | fi
|
---|
| 6944 |
|
---|
[2950] | 6945 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
[2951] | 6946 | # check for running bash under cygwin
|
---|
| 6947 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 6948 | then
|
---|
| 6949 | gsdlos=windows
|
---|
| 6950 | fi
|
---|
[687] | 6951 |
|
---|
[8200] | 6952 |
|
---|
[10856] | 6953 | # check for endianness
|
---|
[20853] | 6954 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
---|
| 6955 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
|
---|
[10856] | 6956 | if test "${ac_cv_c_bigendian+set}" = set; then
|
---|
| 6957 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6958 | else
|
---|
| 6959 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 6960 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6961 | /* confdefs.h. */
|
---|
| 6962 | _ACEOF
|
---|
| 6963 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6964 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6965 | /* end confdefs.h. */
|
---|
| 6966 | #include <sys/types.h>
|
---|
| 6967 | #include <sys/param.h>
|
---|
| 6968 |
|
---|
| 6969 | int
|
---|
| 6970 | main ()
|
---|
| 6971 | {
|
---|
[20853] | 6972 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
---|
[10856] | 6973 | bogus endian macros
|
---|
| 6974 | #endif
|
---|
| 6975 |
|
---|
| 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
|
---|
[10856] | 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
|
---|
[10856] | 7002 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
| 7003 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7004 | /* confdefs.h. */
|
---|
| 7005 | _ACEOF
|
---|
| 7006 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7007 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7008 | /* end confdefs.h. */
|
---|
| 7009 | #include <sys/types.h>
|
---|
| 7010 | #include <sys/param.h>
|
---|
| 7011 |
|
---|
| 7012 | int
|
---|
| 7013 | main ()
|
---|
| 7014 | {
|
---|
| 7015 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
| 7016 | not big endian
|
---|
| 7017 | #endif
|
---|
| 7018 |
|
---|
| 7019 | ;
|
---|
| 7020 | return 0;
|
---|
| 7021 | }
|
---|
| 7022 | _ACEOF
|
---|
| 7023 | rm -f conftest.$ac_objext
|
---|
[20853] | 7024 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 7025 | (eval $ac_compile) 2>conftest.er1
|
---|
[10856] | 7026 | ac_status=$?
|
---|
| 7027 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7028 | rm -f conftest.er1
|
---|
| 7029 | cat conftest.err >&5
|
---|
| 7030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 7031 | (exit $ac_status); } &&
|
---|
| 7032 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 7033 | || test ! -s conftest.err'
|
---|
| 7034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7035 | (eval $ac_try) 2>&5
|
---|
| 7036 | ac_status=$?
|
---|
| 7037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7038 | (exit $ac_status); }; } &&
|
---|
| 7039 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 7040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7041 | (eval $ac_try) 2>&5
|
---|
| 7042 | ac_status=$?
|
---|
| 7043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7044 | (exit $ac_status); }; }; then
|
---|
[10856] | 7045 | ac_cv_c_bigendian=yes
|
---|
| 7046 | else
|
---|
| 7047 | echo "$as_me: failed program was:" >&5
|
---|
| 7048 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7049 |
|
---|
[20853] | 7050 | ac_cv_c_bigendian=no
|
---|
[10856] | 7051 | fi
|
---|
[20853] | 7052 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7053 | else
|
---|
| 7054 | echo "$as_me: failed program was:" >&5
|
---|
| 7055 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7056 |
|
---|
[20853] | 7057 | # It does not; compile a test program.
|
---|
[10856] | 7058 | if test "$cross_compiling" = yes; then
|
---|
| 7059 | # try to guess the endianness by grepping values into an object file
|
---|
| 7060 | ac_cv_c_bigendian=unknown
|
---|
| 7061 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7062 | /* confdefs.h. */
|
---|
| 7063 | _ACEOF
|
---|
| 7064 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7065 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7066 | /* end confdefs.h. */
|
---|
[20853] | 7067 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 7068 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
[10856] | 7069 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
---|
[20853] | 7070 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 7071 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
[10856] | 7072 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
---|
| 7073 | int
|
---|
| 7074 | main ()
|
---|
| 7075 | {
|
---|
| 7076 | _ascii (); _ebcdic ();
|
---|
| 7077 | ;
|
---|
| 7078 | return 0;
|
---|
| 7079 | }
|
---|
| 7080 | _ACEOF
|
---|
| 7081 | rm -f conftest.$ac_objext
|
---|
[20853] | 7082 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 7083 | (eval $ac_compile) 2>conftest.er1
|
---|
[10856] | 7084 | ac_status=$?
|
---|
| 7085 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7086 | rm -f conftest.er1
|
---|
| 7087 | cat conftest.err >&5
|
---|
| 7088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20853] | 7089 | (exit $ac_status); } &&
|
---|
| 7090 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 7091 | || test ! -s conftest.err'
|
---|
| 7092 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7093 | (eval $ac_try) 2>&5
|
---|
| 7094 | ac_status=$?
|
---|
| 7095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7096 | (exit $ac_status); }; } &&
|
---|
| 7097 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 7098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7099 | (eval $ac_try) 2>&5
|
---|
| 7100 | ac_status=$?
|
---|
| 7101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7102 | (exit $ac_status); }; }; then
|
---|
[10856] | 7103 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
---|
| 7104 | ac_cv_c_bigendian=yes
|
---|
| 7105 | fi
|
---|
| 7106 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 7107 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 7108 | ac_cv_c_bigendian=no
|
---|
| 7109 | else
|
---|
| 7110 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 7111 | ac_cv_c_bigendian=unknown
|
---|
| 7112 | fi
|
---|
| 7113 | fi
|
---|
| 7114 | else
|
---|
| 7115 | echo "$as_me: failed program was:" >&5
|
---|
| 7116 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7117 |
|
---|
| 7118 | fi
|
---|
[20853] | 7119 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7120 | else
|
---|
| 7121 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7122 | /* confdefs.h. */
|
---|
| 7123 | _ACEOF
|
---|
| 7124 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7125 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7126 | /* end confdefs.h. */
|
---|
| 7127 | int
|
---|
| 7128 | main ()
|
---|
| 7129 | {
|
---|
| 7130 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 7131 | union
|
---|
| 7132 | {
|
---|
[20853] | 7133 | long l;
|
---|
| 7134 | char c[sizeof (long)];
|
---|
[10856] | 7135 | } u;
|
---|
| 7136 | u.l = 1;
|
---|
[20853] | 7137 | exit (u.c[sizeof (long) - 1] == 1);
|
---|
[10856] | 7138 | }
|
---|
| 7139 | _ACEOF
|
---|
| 7140 | rm -f conftest$ac_exeext
|
---|
[20853] | 7141 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 7142 | (eval $ac_link) 2>&5
|
---|
[10856] | 7143 | ac_status=$?
|
---|
| 7144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7145 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20853] | 7146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 7147 | (eval $ac_try) 2>&5
|
---|
[10856] | 7148 | ac_status=$?
|
---|
| 7149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7150 | (exit $ac_status); }; }; then
|
---|
| 7151 | ac_cv_c_bigendian=no
|
---|
| 7152 | else
|
---|
| 7153 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 7154 | echo "$as_me: failed program was:" >&5
|
---|
| 7155 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7156 |
|
---|
| 7157 | ( exit $ac_status )
|
---|
| 7158 | ac_cv_c_bigendian=yes
|
---|
| 7159 | fi
|
---|
[20853] | 7160 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7161 | fi
|
---|
| 7162 | fi
|
---|
[20853] | 7163 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 7164 | fi
|
---|
[20853] | 7165 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
---|
| 7166 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6
|
---|
[10856] | 7167 | case $ac_cv_c_bigendian in
|
---|
| 7168 | yes)
|
---|
| 7169 |
|
---|
| 7170 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7171 | #define WORDS_BIGENDIAN 1
|
---|
| 7172 | _ACEOF
|
---|
| 7173 | ;;
|
---|
| 7174 | no)
|
---|
| 7175 | ;;
|
---|
| 7176 | *)
|
---|
| 7177 | { { echo "$as_me:$LINENO: error: unknown endianness
|
---|
| 7178 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
---|
| 7179 | echo "$as_me: error: unknown endianness
|
---|
| 7180 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
---|
| 7181 | { (exit 1); exit 1; }; } ;;
|
---|
| 7182 | esac
|
---|
| 7183 |
|
---|
[687] | 7184 | # ---------------------------------------------------------------------------
|
---|
| 7185 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[20853] | 7186 | case $LIBOBJS in
|
---|
| 7187 | "xmalloc.o.$ac_objext" | \
|
---|
| 7188 | *" xmalloc.o.$ac_objext" | \
|
---|
| 7189 | "xmalloc.o.$ac_objext "* | \
|
---|
[8756] | 7190 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[20853] | 7191 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
|
---|
[8756] | 7192 | esac
|
---|
| 7193 |
|
---|
[20853] | 7194 | case $LIBOBJS in
|
---|
| 7195 | "error.$ac_objext" | \
|
---|
| 7196 | *" error.$ac_objext" | \
|
---|
| 7197 | "error.$ac_objext "* | \
|
---|
[8756] | 7198 | *" error.$ac_objext "* ) ;;
|
---|
[20853] | 7199 | *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
|
---|
[8756] | 7200 | esac
|
---|
| 7201 |
|
---|
[687] | 7202 | fi
|
---|
| 7203 |
|
---|
[3063] | 7204 | # ---------------------------------------------------------------------------
|
---|
[687] | 7205 |
|
---|
[3063] | 7206 | moduleDirs=""
|
---|
| 7207 | MODULEDIRS=""
|
---|
[16619] | 7208 | if test -d modules ; then
|
---|
[15300] | 7209 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 7210 | if test -d "$x"; then
|
---|
| 7211 | d="$x/Makefile.in"
|
---|
| 7212 | if test -e "$d"; then
|
---|
| 7213 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 7214 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 7215 | fi
|
---|
[3063] | 7216 | fi
|
---|
[15300] | 7217 | done
|
---|
| 7218 | echo "Making $moduleDirs in modules directory"
|
---|
[3063] | 7219 |
|
---|
[15300] | 7220 | fi
|
---|
[8200] | 7221 |
|
---|
[15300] | 7222 |
|
---|
[687] | 7223 | # ---------------------------------------------------------------------------
|
---|
[1675] | 7224 |
|
---|
[13777] | 7225 | # indexers needs a bindir option to get the binaries into the right place
|
---|
| 7226 | gsdlprefix=`pwd`
|
---|
[19264] | 7227 | ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos"
|
---|
[20853] | 7228 |
|
---|
| 7229 |
|
---|
[16572] | 7230 | subdirs="$subdirs common-src build-src runtime-src"
|
---|
[8756] | 7231 |
|
---|
[13777] | 7232 |
|
---|
[3063] | 7233 | # the list of folders in the src folder
|
---|
[16572] | 7234 | srclist="common-src/Makefile \
|
---|
| 7235 | build-src/Makefile \
|
---|
| 7236 | runtime-src/Makefile"
|
---|
[3063] | 7237 |
|
---|
[20853] | 7238 | ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
|
---|
[8756] | 7239 | cat >confcache <<\_ACEOF
|
---|
[562] | 7240 | # This file is a shell script that caches the results of configure
|
---|
| 7241 | # tests run on this system so they can be shared between configure
|
---|
[8756] | 7242 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 7243 | # It is not useful on other systems. If it contains results you don't
|
---|
| 7244 | # want to keep, you may remove or edit it.
|
---|
[562] | 7245 | #
|
---|
[8756] | 7246 | # config.status only pays attention to the cache file if you give it
|
---|
| 7247 | # the --recheck option to rerun configure.
|
---|
[562] | 7248 | #
|
---|
[8756] | 7249 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 7250 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 7251 | # following values.
|
---|
| 7252 |
|
---|
| 7253 | _ACEOF
|
---|
| 7254 |
|
---|
[562] | 7255 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 7256 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[20853] | 7257 | # So, don't put newlines in cache variables' values.
|
---|
[562] | 7258 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 7259 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[20853] | 7260 | {
|
---|
[8756] | 7261 | (set) 2>&1 |
|
---|
[20853] | 7262 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
| 7263 | *ac_space=\ *)
|
---|
[8756] | 7264 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 7265 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 7266 | sed -n \
|
---|
| 7267 | "s/'/'\\\\''/g;
|
---|
| 7268 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[20853] | 7269 | ;;
|
---|
[8756] | 7270 | *)
|
---|
| 7271 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[20853] | 7272 | sed -n \
|
---|
| 7273 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
[8756] | 7274 | ;;
|
---|
[20853] | 7275 | esac;
|
---|
| 7276 | } |
|
---|
[8756] | 7277 | sed '
|
---|
| 7278 | t clear
|
---|
[20853] | 7279 | : clear
|
---|
[8756] | 7280 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 7281 | t end
|
---|
[20853] | 7282 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 7283 | : end' >>confcache
|
---|
| 7284 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
---|
| 7285 | if test -w $cache_file; then
|
---|
| 7286 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
[8756] | 7287 | cat confcache >$cache_file
|
---|
[562] | 7288 | else
|
---|
[20853] | 7289 | echo "not updating unwritable cache $cache_file"
|
---|
[562] | 7290 | fi
|
---|
| 7291 | fi
|
---|
| 7292 | rm -f confcache
|
---|
| 7293 |
|
---|
| 7294 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 7295 | # Let make expand exec_prefix.
|
---|
| 7296 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 7297 |
|
---|
[20853] | 7298 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 7299 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 7300 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7301 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7302 | if test "x$srcdir" = x.; then
|
---|
| 7303 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 7304 | s/:*\$(srcdir):*/:/;
|
---|
| 7305 | s/:*\${srcdir}:*/:/;
|
---|
| 7306 | s/:*@srcdir@:*/:/;
|
---|
| 7307 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
| 7308 | s/:*$//;
|
---|
| 7309 | s/^[^=]*=[ ]*$//;
|
---|
| 7310 | }'
|
---|
| 7311 | fi
|
---|
| 7312 |
|
---|
[687] | 7313 | DEFS=-DHAVE_CONFIG_H
|
---|
[562] | 7314 |
|
---|
[8756] | 7315 | ac_libobjs=
|
---|
| 7316 | ac_ltlibobjs=
|
---|
| 7317 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 7318 | # 1. Remove the extension, and $U if already installed.
|
---|
[20853] | 7319 | ac_i=`echo "$ac_i" |
|
---|
| 7320 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
---|
| 7321 | # 2. Add them.
|
---|
| 7322 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
---|
| 7323 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
---|
[8756] | 7324 | done
|
---|
| 7325 | LIBOBJS=$ac_libobjs
|
---|
| 7326 |
|
---|
| 7327 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 7328 |
|
---|
| 7329 |
|
---|
| 7330 |
|
---|
[562] | 7331 | : ${CONFIG_STATUS=./config.status}
|
---|
[8756] | 7332 | ac_clean_files_save=$ac_clean_files
|
---|
| 7333 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 7334 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
| 7335 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 7336 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
| 7337 | #! $SHELL
|
---|
| 7338 | # Generated by $as_me.
|
---|
[562] | 7339 | # Run this file to recreate the current configuration.
|
---|
| 7340 | # Compiler output produced by configure, useful for debugging
|
---|
[8756] | 7341 | # configure, is in config.log if it exists.
|
---|
[562] | 7342 |
|
---|
[8756] | 7343 | debug=false
|
---|
| 7344 | ac_cs_recheck=false
|
---|
| 7345 | ac_cs_silent=false
|
---|
| 7346 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 7347 | _ACEOF
|
---|
| 7348 |
|
---|
| 7349 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7350 | ## --------------------- ##
|
---|
| 7351 | ## M4sh Initialization. ##
|
---|
| 7352 | ## --------------------- ##
|
---|
| 7353 |
|
---|
[20853] | 7354 | # Be Bourne compatible
|
---|
[8756] | 7355 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 7356 | emulate sh
|
---|
| 7357 | NULLCMD=:
|
---|
| 7358 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 7359 | # is contrary to our usage. Disable this feature.
|
---|
| 7360 | alias -g '${1+"$@"}'='"$@"'
|
---|
[20853] | 7361 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 7362 | set -o posix
|
---|
[8756] | 7363 | fi
|
---|
[20853] | 7364 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[8756] | 7365 |
|
---|
| 7366 | # Support unset when possible.
|
---|
| 7367 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 7368 | as_unset=unset
|
---|
| 7369 | else
|
---|
| 7370 | as_unset=false
|
---|
| 7371 | fi
|
---|
| 7372 |
|
---|
| 7373 |
|
---|
| 7374 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[20853] | 7375 | $as_unset ENV MAIL MAILPATH
|
---|
[8756] | 7376 | PS1='$ '
|
---|
| 7377 | PS2='> '
|
---|
| 7378 | PS4='+ '
|
---|
| 7379 |
|
---|
| 7380 | # NLS nuisances.
|
---|
| 7381 | for as_var in \
|
---|
| 7382 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 7383 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 7384 | LC_TELEPHONE LC_TIME
|
---|
[562] | 7385 | do
|
---|
[8756] | 7386 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 7387 | eval $as_var=C; export $as_var
|
---|
| 7388 | else
|
---|
[20853] | 7389 | $as_unset $as_var
|
---|
[8756] | 7390 | fi
|
---|
[562] | 7391 | done
|
---|
| 7392 |
|
---|
[8756] | 7393 | # Required to use basename.
|
---|
[20853] | 7394 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
[8756] | 7395 | as_expr=expr
|
---|
| 7396 | else
|
---|
| 7397 | as_expr=false
|
---|
| 7398 | fi
|
---|
[562] | 7399 |
|
---|
[20853] | 7400 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
[8756] | 7401 | as_basename=basename
|
---|
| 7402 | else
|
---|
| 7403 | as_basename=false
|
---|
| 7404 | fi
|
---|
[562] | 7405 |
|
---|
| 7406 |
|
---|
[8756] | 7407 | # Name of the executable.
|
---|
[20853] | 7408 | as_me=`$as_basename "$0" ||
|
---|
[8756] | 7409 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7410 | X"$0" : 'X\(//\)$' \| \
|
---|
[20853] | 7411 | X"$0" : 'X\(/\)$' \| \
|
---|
| 7412 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 7413 | echo X/"$0" |
|
---|
[20853] | 7414 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 7415 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 7416 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 7417 | s/.*/./; q'`
|
---|
[3631] | 7418 |
|
---|
| 7419 |
|
---|
[20853] | 7420 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
| 7421 | # Avoid depending upon Character Ranges.
|
---|
| 7422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7425 | as_cr_digits='0123456789'
|
---|
| 7426 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[8756] | 7427 |
|
---|
[20853] | 7428 | # The user is always right.
|
---|
| 7429 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 7430 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 7431 | echo "exit 0" >>conf$$.sh
|
---|
| 7432 | chmod +x conf$$.sh
|
---|
| 7433 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 7434 | PATH_SEPARATOR=';'
|
---|
| 7435 | else
|
---|
| 7436 | PATH_SEPARATOR=:
|
---|
| 7437 | fi
|
---|
| 7438 | rm -f conf$$.sh
|
---|
| 7439 | fi
|
---|
[8756] | 7440 |
|
---|
[20853] | 7441 |
|
---|
[8756] | 7442 | as_lineno_1=$LINENO
|
---|
| 7443 | as_lineno_2=$LINENO
|
---|
[20853] | 7444 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
[8756] | 7445 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[20853] | 7446 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
| 7447 | # Find who we are. Look in the path if we contain no path at all
|
---|
| 7448 | # relative or not.
|
---|
| 7449 | case $0 in
|
---|
| 7450 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 7451 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 7452 | for as_dir in $PATH
|
---|
| 7453 | do
|
---|
| 7454 | IFS=$as_save_IFS
|
---|
| 7455 | test -z "$as_dir" && as_dir=.
|
---|
| 7456 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 7457 | done
|
---|
[8756] | 7458 |
|
---|
[20853] | 7459 | ;;
|
---|
| 7460 | esac
|
---|
| 7461 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 7462 | # in which case we are not to be found in the path.
|
---|
| 7463 | if test "x$as_myself" = x; then
|
---|
| 7464 | as_myself=$0
|
---|
| 7465 | fi
|
---|
| 7466 | if test ! -f "$as_myself"; then
|
---|
| 7467 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
| 7468 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
| 7469 | { (exit 1); exit 1; }; }
|
---|
| 7470 | fi
|
---|
| 7471 | case $CONFIG_SHELL in
|
---|
| 7472 | '')
|
---|
| 7473 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 7474 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 7475 | do
|
---|
| 7476 | IFS=$as_save_IFS
|
---|
| 7477 | test -z "$as_dir" && as_dir=.
|
---|
| 7478 | for as_base in sh bash ksh sh5; do
|
---|
| 7479 | case $as_dir in
|
---|
| 7480 | /*)
|
---|
| 7481 | if ("$as_dir/$as_base" -c '
|
---|
| 7482 | as_lineno_1=$LINENO
|
---|
| 7483 | as_lineno_2=$LINENO
|
---|
| 7484 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 7485 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 7486 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
| 7487 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
| 7488 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
| 7489 | CONFIG_SHELL=$as_dir/$as_base
|
---|
| 7490 | export CONFIG_SHELL
|
---|
| 7491 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
| 7492 | fi;;
|
---|
| 7493 | esac
|
---|
| 7494 | done
|
---|
| 7495 | done
|
---|
| 7496 | ;;
|
---|
| 7497 | esac
|
---|
| 7498 |
|
---|
[8756] | 7499 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 7500 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
[20853] | 7501 | # line-number line before each line; the second 'sed' does the real
|
---|
| 7502 | # work. The second script uses 'N' to pair each line-number line
|
---|
| 7503 | # with the numbered line, and appends trailing '-' during
|
---|
| 7504 | # substitution so that $LINENO is not a special case at line end.
|
---|
[8756] | 7505 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[20853] | 7506 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 7507 | sed '=' <$as_myself |
|
---|
[8756] | 7508 | sed '
|
---|
| 7509 | N
|
---|
[20853] | 7510 | s,$,-,
|
---|
| 7511 | : loop
|
---|
| 7512 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
[8756] | 7513 | t loop
|
---|
[20853] | 7514 | s,-$,,
|
---|
| 7515 | s,^['$as_cr_digits']*\n,,
|
---|
[8756] | 7516 | ' >$as_me.lineno &&
|
---|
[20853] | 7517 | chmod +x $as_me.lineno ||
|
---|
| 7518 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
| 7519 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
[8756] | 7520 | { (exit 1); exit 1; }; }
|
---|
| 7521 |
|
---|
| 7522 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 7523 | # (the dirname of $[0] is not the place where we might find the
|
---|
[20853] | 7524 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 7525 | . ./$as_me.lineno
|
---|
[8756] | 7526 | # Exit status is that of the last command.
|
---|
| 7527 | exit
|
---|
| 7528 | }
|
---|
| 7529 |
|
---|
| 7530 |
|
---|
[20853] | 7531 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 7532 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 7533 | ' ECHO_T=' ' ;;
|
---|
| 7534 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 7535 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
[8756] | 7536 | esac
|
---|
| 7537 |
|
---|
[20853] | 7538 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
[8756] | 7539 | as_expr=expr
|
---|
| 7540 | else
|
---|
| 7541 | as_expr=false
|
---|
| 7542 | fi
|
---|
| 7543 |
|
---|
| 7544 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 7545 | echo >conf$$.file
|
---|
| 7546 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
[20853] | 7547 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 7548 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 7549 | if test -f conf$$.exe; then
|
---|
| 7550 | # Don't use ln at all; we don't have any links
|
---|
[8756] | 7551 | as_ln_s='cp -p'
|
---|
[20853] | 7552 | else
|
---|
| 7553 | as_ln_s='ln -s'
|
---|
| 7554 | fi
|
---|
[8756] | 7555 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7556 | as_ln_s=ln
|
---|
| 7557 | else
|
---|
| 7558 | as_ln_s='cp -p'
|
---|
| 7559 | fi
|
---|
[20853] | 7560 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[8756] | 7561 |
|
---|
| 7562 | if mkdir -p . 2>/dev/null; then
|
---|
| 7563 | as_mkdir_p=:
|
---|
| 7564 | else
|
---|
| 7565 | test -d ./-p && rmdir ./-p
|
---|
| 7566 | as_mkdir_p=false
|
---|
| 7567 | fi
|
---|
| 7568 |
|
---|
[20853] | 7569 | as_executable_p="test -f"
|
---|
[8756] | 7570 |
|
---|
| 7571 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7572 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7573 |
|
---|
| 7574 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7575 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7576 |
|
---|
| 7577 |
|
---|
[20853] | 7578 | # IFS
|
---|
| 7579 | # We need space, tab and new line, in precisely that order.
|
---|
| 7580 | as_nl='
|
---|
| 7581 | '
|
---|
| 7582 | IFS=" $as_nl"
|
---|
| 7583 |
|
---|
| 7584 | # CDPATH.
|
---|
| 7585 | $as_unset CDPATH
|
---|
| 7586 |
|
---|
[8756] | 7587 | exec 6>&1
|
---|
| 7588 |
|
---|
[20853] | 7589 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
[8756] | 7590 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[20853] | 7591 | # values after options handling. Logging --version etc. is OK.
|
---|
| 7592 | exec 5>>config.log
|
---|
| 7593 | {
|
---|
| 7594 | echo
|
---|
| 7595 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7596 | ## Running $as_me. ##
|
---|
| 7597 | _ASBOX
|
---|
| 7598 | } >&5
|
---|
| 7599 | cat >&5 <<_CSEOF
|
---|
| 7600 |
|
---|
[8756] | 7601 | This file was extended by $as_me, which was
|
---|
[20853] | 7602 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
[8756] | 7603 |
|
---|
| 7604 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7605 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7606 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7607 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7608 | $ $0 $@
|
---|
| 7609 |
|
---|
[20853] | 7610 | _CSEOF
|
---|
| 7611 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
| 7612 | echo >&5
|
---|
[8756] | 7613 | _ACEOF
|
---|
| 7614 |
|
---|
| 7615 | # Files that config.status was made for.
|
---|
[20853] | 7616 | if test -n "$ac_config_files"; then
|
---|
| 7617 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
| 7618 | fi
|
---|
[8756] | 7619 |
|
---|
[20853] | 7620 | if test -n "$ac_config_headers"; then
|
---|
| 7621 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
| 7622 | fi
|
---|
[8756] | 7623 |
|
---|
[20853] | 7624 | if test -n "$ac_config_links"; then
|
---|
| 7625 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
| 7626 | fi
|
---|
| 7627 |
|
---|
| 7628 | if test -n "$ac_config_commands"; then
|
---|
| 7629 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
| 7630 | fi
|
---|
| 7631 |
|
---|
[8756] | 7632 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20853] | 7633 |
|
---|
[8756] | 7634 | ac_cs_usage="\
|
---|
| 7635 | \`$as_me' instantiates files from templates according to the
|
---|
| 7636 | current configuration.
|
---|
| 7637 |
|
---|
| 7638 | Usage: $0 [OPTIONS] [FILE]...
|
---|
| 7639 |
|
---|
| 7640 | -h, --help print this help, then exit
|
---|
[20853] | 7641 | -V, --version print version number, then exit
|
---|
[8756] | 7642 | -q, --quiet do not print progress messages
|
---|
| 7643 | -d, --debug don't remove temporary files
|
---|
| 7644 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 7645 | --file=FILE[:TEMPLATE]
|
---|
| 7646 | instantiate the configuration file FILE
|
---|
| 7647 | --header=FILE[:TEMPLATE]
|
---|
| 7648 | instantiate the configuration header FILE
|
---|
| 7649 |
|
---|
| 7650 | Configuration files:
|
---|
| 7651 | $config_files
|
---|
| 7652 |
|
---|
| 7653 | Configuration headers:
|
---|
| 7654 | $config_headers
|
---|
| 7655 |
|
---|
| 7656 | Report bugs to <[email protected]>."
|
---|
[20853] | 7657 | _ACEOF
|
---|
[20842] | 7658 |
|
---|
[8756] | 7659 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 7660 | ac_cs_version="\\
|
---|
| 7661 | config.status
|
---|
[20853] | 7662 | configured by $0, generated by GNU Autoconf 2.59,
|
---|
| 7663 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
[8756] | 7664 |
|
---|
[20853] | 7665 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
[8756] | 7666 | This config.status script is free software; the Free Software Foundation
|
---|
| 7667 | gives unlimited permission to copy, distribute and modify it."
|
---|
[20853] | 7668 | srcdir=$srcdir
|
---|
| 7669 | INSTALL="$INSTALL"
|
---|
[8756] | 7670 | _ACEOF
|
---|
| 7671 |
|
---|
| 7672 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7673 | # If no file are specified by the user, then we need to provide default
|
---|
| 7674 | # value. By we need to know if files were specified by the user.
|
---|
| 7675 | ac_need_defaults=:
|
---|
| 7676 | while test $# != 0
|
---|
| 7677 | do
|
---|
| 7678 | case $1 in
|
---|
| 7679 | --*=*)
|
---|
[20853] | 7680 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
| 7681 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
[8756] | 7682 | ac_shift=:
|
---|
| 7683 | ;;
|
---|
[20853] | 7684 | -*)
|
---|
[8756] | 7685 | ac_option=$1
|
---|
| 7686 | ac_optarg=$2
|
---|
| 7687 | ac_shift=shift
|
---|
| 7688 | ;;
|
---|
[20853] | 7689 | *) # This is not an option, so the user has probably given explicit
|
---|
| 7690 | # arguments.
|
---|
| 7691 | ac_option=$1
|
---|
| 7692 | ac_need_defaults=false;;
|
---|
[8756] | 7693 | esac
|
---|
| 7694 |
|
---|
| 7695 | case $ac_option in
|
---|
| 7696 | # Handling of the options.
|
---|
[20853] | 7697 | _ACEOF
|
---|
| 7698 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[8756] | 7699 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7700 | ac_cs_recheck=: ;;
|
---|
[20853] | 7701 | --version | --vers* | -V )
|
---|
| 7702 | echo "$ac_cs_version"; exit 0 ;;
|
---|
| 7703 | --he | --h)
|
---|
| 7704 | # Conflict between --help and --header
|
---|
| 7705 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
| 7706 | Try \`$0 --help' for more information." >&5
|
---|
| 7707 | echo "$as_me: error: ambiguous option: $1
|
---|
| 7708 | Try \`$0 --help' for more information." >&2;}
|
---|
| 7709 | { (exit 1); exit 1; }; };;
|
---|
| 7710 | --help | --hel | -h )
|
---|
| 7711 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
| 7712 | --debug | --d* | -d )
|
---|
[8756] | 7713 | debug=: ;;
|
---|
| 7714 | --file | --fil | --fi | --f )
|
---|
| 7715 | $ac_shift
|
---|
| 7716 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
| 7717 | ac_need_defaults=false;;
|
---|
| 7718 | --header | --heade | --head | --hea )
|
---|
| 7719 | $ac_shift
|
---|
| 7720 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
| 7721 | ac_need_defaults=false;;
|
---|
| 7722 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7723 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7724 | ac_cs_silent=: ;;
|
---|
| 7725 |
|
---|
| 7726 | # This is an error.
|
---|
[20853] | 7727 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
| 7728 | Try \`$0 --help' for more information." >&5
|
---|
| 7729 | echo "$as_me: error: unrecognized option: $1
|
---|
| 7730 | Try \`$0 --help' for more information." >&2;}
|
---|
[8756] | 7731 | { (exit 1); exit 1; }; } ;;
|
---|
| 7732 |
|
---|
[20853] | 7733 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
[8756] | 7734 |
|
---|
| 7735 | esac
|
---|
| 7736 | shift
|
---|
[8200] | 7737 | done
|
---|
[8756] | 7738 |
|
---|
| 7739 | ac_configure_extra_args=
|
---|
| 7740 |
|
---|
| 7741 | if $ac_cs_silent; then
|
---|
| 7742 | exec 6>/dev/null
|
---|
| 7743 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
[8200] | 7744 | fi
|
---|
[562] | 7745 |
|
---|
[8756] | 7746 | _ACEOF
|
---|
| 7747 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 7748 | if \$ac_cs_recheck; then
|
---|
[20853] | 7749 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
| 7750 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
[8756] | 7751 | fi
|
---|
[8200] | 7752 |
|
---|
[8756] | 7753 | _ACEOF
|
---|
| 7754 |
|
---|
| 7755 |
|
---|
[20853] | 7756 |
|
---|
| 7757 |
|
---|
| 7758 |
|
---|
[20842] | 7759 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[8756] | 7760 | for ac_config_target in $ac_config_targets
|
---|
| 7761 | do
|
---|
[20853] | 7762 | case "$ac_config_target" in
|
---|
| 7763 | # Handling of arguments.
|
---|
| 7764 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7765 | "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7766 | "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7767 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
[8756] | 7768 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 7769 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 7770 | { (exit 1); exit 1; }; };;
|
---|
[562] | 7771 | esac
|
---|
[8756] | 7772 | done
|
---|
[562] | 7773 |
|
---|
[8756] | 7774 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7775 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7776 | # We use the long form for the default assignment because of an extremely
|
---|
| 7777 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7778 | if $ac_need_defaults; then
|
---|
| 7779 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7780 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7781 | fi
|
---|
[8200] | 7782 |
|
---|
[8756] | 7783 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[20853] | 7784 | # simply because there is no reason to put it here, and in addition,
|
---|
[8756] | 7785 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[20853] | 7786 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
[8756] | 7787 | $debug ||
|
---|
| 7788 | {
|
---|
[20853] | 7789 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
[8756] | 7790 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
| 7791 | }
|
---|
[20853] | 7792 |
|
---|
[8756] | 7793 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7794 |
|
---|
| 7795 | {
|
---|
[20853] | 7796 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
[8756] | 7797 | test -n "$tmp" && test -d "$tmp"
|
---|
| 7798 | } ||
|
---|
| 7799 | {
|
---|
[20853] | 7800 | tmp=./confstat$$-$RANDOM
|
---|
| 7801 | (umask 077 && mkdir $tmp)
|
---|
[8756] | 7802 | } ||
|
---|
| 7803 | {
|
---|
| 7804 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
| 7805 | { (exit 1); exit 1; }
|
---|
| 7806 | }
|
---|
| 7807 |
|
---|
[20853] | 7808 | _ACEOF
|
---|
| 7809 |
|
---|
| 7810 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 7811 |
|
---|
[8756] | 7812 | #
|
---|
[20853] | 7813 | # CONFIG_FILES section.
|
---|
[8756] | 7814 | #
|
---|
| 7815 |
|
---|
| 7816 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 7817 | # This happens for instance when ./config.status config.h
|
---|
[20853] | 7818 | if test -n "\$CONFIG_FILES"; then
|
---|
| 7819 | # Protect against being on the right side of a sed subst in config.status.
|
---|
| 7820 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
| 7821 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
| 7822 | s,@SHELL@,$SHELL,;t t
|
---|
| 7823 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
| 7824 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
| 7825 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
| 7826 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
| 7827 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
| 7828 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
| 7829 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
| 7830 | s,@prefix@,$prefix,;t t
|
---|
| 7831 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
| 7832 | s,@bindir@,$bindir,;t t
|
---|
| 7833 | s,@sbindir@,$sbindir,;t t
|
---|
| 7834 | s,@libexecdir@,$libexecdir,;t t
|
---|
| 7835 | s,@datadir@,$datadir,;t t
|
---|
| 7836 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
| 7837 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
| 7838 | s,@localstatedir@,$localstatedir,;t t
|
---|
| 7839 | s,@libdir@,$libdir,;t t
|
---|
| 7840 | s,@includedir@,$includedir,;t t
|
---|
| 7841 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
| 7842 | s,@infodir@,$infodir,;t t
|
---|
| 7843 | s,@mandir@,$mandir,;t t
|
---|
| 7844 | s,@build_alias@,$build_alias,;t t
|
---|
| 7845 | s,@host_alias@,$host_alias,;t t
|
---|
| 7846 | s,@target_alias@,$target_alias,;t t
|
---|
| 7847 | s,@DEFS@,$DEFS,;t t
|
---|
| 7848 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
| 7849 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
| 7850 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
| 7851 | s,@LIBS@,$LIBS,;t t
|
---|
| 7852 | s,@PACKAGE@,$PACKAGE,;t t
|
---|
| 7853 | s,@VERSION@,$VERSION,;t t
|
---|
| 7854 | s,@USE_FASTCGI@,$USE_FASTCGI,;t t
|
---|
| 7855 | s,@USE_LANGACTION@,$USE_LANGACTION,;t t
|
---|
| 7856 | s,@USE_CORBA@,$USE_CORBA,;t t
|
---|
| 7857 | s,@MICO_DIR@,$MICO_DIR,;t t
|
---|
| 7858 | s,@USE_Z3950@,$USE_Z3950,;t t
|
---|
| 7859 | s,@USE_YAZ@,$USE_YAZ,;t t
|
---|
| 7860 | s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
|
---|
| 7861 | s,@USE_SQLITE@,$USE_SQLITE,;t t
|
---|
| 7862 | s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
|
---|
| 7863 | s,@LDFLAGS@,$LDFLAGS,;t t
|
---|
| 7864 | s,@CFLAGS@,$CFLAGS,;t t
|
---|
| 7865 | s,@CC@,$CC,;t t
|
---|
| 7866 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
---|
| 7867 | s,@ac_ct_CC@,$ac_ct_CC,;t t
|
---|
| 7868 | s,@EXEEXT@,$EXEEXT,;t t
|
---|
| 7869 | s,@OBJEXT@,$OBJEXT,;t t
|
---|
| 7870 | s,@CXX@,$CXX,;t t
|
---|
| 7871 | s,@CXXFLAGS@,$CXXFLAGS,;t t
|
---|
| 7872 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
---|
| 7873 | s,@AWK@,$AWK,;t t
|
---|
| 7874 | s,@YACC@,$YACC,;t t
|
---|
| 7875 | s,@build@,$build,;t t
|
---|
| 7876 | s,@build_cpu@,$build_cpu,;t t
|
---|
| 7877 | s,@build_vendor@,$build_vendor,;t t
|
---|
| 7878 | s,@build_os@,$build_os,;t t
|
---|
| 7879 | s,@host@,$host,;t t
|
---|
| 7880 | s,@host_cpu@,$host_cpu,;t t
|
---|
| 7881 | s,@host_vendor@,$host_vendor,;t t
|
---|
| 7882 | s,@host_os@,$host_os,;t t
|
---|
| 7883 | s,@target@,$target,;t t
|
---|
| 7884 | s,@target_cpu@,$target_cpu,;t t
|
---|
| 7885 | s,@target_vendor@,$target_vendor,;t t
|
---|
| 7886 | s,@target_os@,$target_os,;t t
|
---|
| 7887 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
---|
| 7888 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
---|
| 7889 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
---|
| 7890 | s,@LN_S@,$LN_S,;t t
|
---|
| 7891 | s,@SET_MAKE@,$SET_MAKE,;t t
|
---|
| 7892 | s,@RANLIB@,$RANLIB,;t t
|
---|
| 7893 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
---|
| 7894 | s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
|
---|
| 7895 | s,@MICO_VER@,$MICO_VER,;t t
|
---|
| 7896 | s,@CPP@,$CPP,;t t
|
---|
| 7897 | s,@EGREP@,$EGREP,;t t
|
---|
| 7898 | s,@U@,$U,;t t
|
---|
| 7899 | s,@ANSI2KNR@,$ANSI2KNR,;t t
|
---|
| 7900 | s,@ALLOCA@,$ALLOCA,;t t
|
---|
| 7901 | s,@LIBOBJS@,$LIBOBJS,;t t
|
---|
| 7902 | s,@STATIC@,$STATIC,;t t
|
---|
| 7903 | s,@gsdlos@,$gsdlos,;t t
|
---|
| 7904 | s,@MODULEDIRS@,$MODULEDIRS,;t t
|
---|
| 7905 | s,@subdirs@,$subdirs,;t t
|
---|
| 7906 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
---|
| 7907 | CEOF
|
---|
[8756] | 7908 |
|
---|
| 7909 | _ACEOF
|
---|
| 7910 |
|
---|
[20853] | 7911 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7912 | # Split the substitutions into bite-sized pieces for seds with
|
---|
| 7913 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
| 7914 | ac_max_sed_lines=48
|
---|
| 7915 | ac_sed_frag=1 # Number of current file.
|
---|
| 7916 | ac_beg=1 # First line for current file.
|
---|
| 7917 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
| 7918 | ac_more_lines=:
|
---|
| 7919 | ac_sed_cmds=
|
---|
| 7920 | while $ac_more_lines; do
|
---|
| 7921 | if test $ac_beg -gt 1; then
|
---|
| 7922 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 7923 | else
|
---|
| 7924 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 7925 | fi
|
---|
| 7926 | if test ! -s $tmp/subs.frag; then
|
---|
| 7927 | ac_more_lines=false
|
---|
| 7928 | else
|
---|
| 7929 | # The purpose of the label and of the branching condition is to
|
---|
| 7930 | # speed up the sed processing (if there are no `@' at all, there
|
---|
| 7931 | # is no need to browse any of the substitutions).
|
---|
| 7932 | # These are the two extra sed commands mentioned above.
|
---|
| 7933 | (echo ':t
|
---|
| 7934 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
| 7935 | if test -z "$ac_sed_cmds"; then
|
---|
| 7936 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 7937 | else
|
---|
| 7938 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 7939 | fi
|
---|
| 7940 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
| 7941 | ac_beg=$ac_end
|
---|
| 7942 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
| 7943 | fi
|
---|
| 7944 | done
|
---|
| 7945 | if test -z "$ac_sed_cmds"; then
|
---|
| 7946 | ac_sed_cmds=cat
|
---|
[562] | 7947 | fi
|
---|
[20853] | 7948 | fi # test -n "$CONFIG_FILES"
|
---|
[562] | 7949 |
|
---|
[8756] | 7950 | _ACEOF
|
---|
| 7951 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20853] | 7952 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
| 7953 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 7954 | case $ac_file in
|
---|
| 7955 | - | *:- | *:-:* ) # input from stdin
|
---|
| 7956 | cat >$tmp/stdin
|
---|
| 7957 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 7958 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 7959 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 7960 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 7961 | * ) ac_file_in=$ac_file.in ;;
|
---|
[562] | 7962 | esac
|
---|
| 7963 |
|
---|
[20853] | 7964 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
| 7965 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
[8756] | 7966 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7967 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7968 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[20853] | 7969 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 7970 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 7971 | echo X"$ac_file" |
|
---|
[20853] | 7972 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 7973 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 7974 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 7975 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 7976 | s/.*/./; q'`
|
---|
| 7977 | { if $as_mkdir_p; then
|
---|
| 7978 | mkdir -p "$ac_dir"
|
---|
| 7979 | else
|
---|
| 7980 | as_dir="$ac_dir"
|
---|
[8756] | 7981 | as_dirs=
|
---|
[20853] | 7982 | while test ! -d "$as_dir"; do
|
---|
| 7983 | as_dirs="$as_dir $as_dirs"
|
---|
| 7984 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
[8756] | 7985 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7986 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7987 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[20853] | 7988 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 7989 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 7990 | echo X"$as_dir" |
|
---|
[20853] | 7991 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 7992 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 7993 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 7994 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 7995 | s/.*/./; q'`
|
---|
[8756] | 7996 | done
|
---|
[20853] | 7997 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 7998 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 7999 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
[8756] | 8000 | { (exit 1); exit 1; }; }; }
|
---|
[20853] | 8001 |
|
---|
[8756] | 8002 | ac_builddir=.
|
---|
| 8003 |
|
---|
[20853] | 8004 | if test "$ac_dir" != .; then
|
---|
[8756] | 8005 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20853] | 8006 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 8007 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 8008 | else
|
---|
| 8009 | ac_dir_suffix= ac_top_builddir=
|
---|
| 8010 | fi
|
---|
[8756] | 8011 |
|
---|
| 8012 | case $srcdir in
|
---|
[20853] | 8013 | .) # No --srcdir option. We are building in place.
|
---|
[8756] | 8014 | ac_srcdir=.
|
---|
[20853] | 8015 | if test -z "$ac_top_builddir"; then
|
---|
| 8016 | ac_top_srcdir=.
|
---|
| 8017 | else
|
---|
| 8018 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 8019 | fi ;;
|
---|
| 8020 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
[8756] | 8021 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20853] | 8022 | ac_top_srcdir=$srcdir ;;
|
---|
| 8023 | *) # Relative path.
|
---|
| 8024 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 8025 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
[8756] | 8026 | esac
|
---|
| 8027 |
|
---|
[20853] | 8028 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 8029 | # the directories may not exist.
|
---|
| 8030 | case `pwd` in
|
---|
| 8031 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 8032 | *)
|
---|
| 8033 | case "$ac_dir" in
|
---|
| 8034 | .) ac_abs_builddir=`pwd`;;
|
---|
| 8035 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 8036 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 8037 | esac;;
|
---|
| 8038 | esac
|
---|
| 8039 | case $ac_abs_builddir in
|
---|
| 8040 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8041 | *)
|
---|
| 8042 | case ${ac_top_builddir}. in
|
---|
| 8043 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 8044 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8045 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 8046 | esac;;
|
---|
| 8047 | esac
|
---|
| 8048 | case $ac_abs_builddir in
|
---|
| 8049 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8050 | *)
|
---|
| 8051 | case $ac_srcdir in
|
---|
| 8052 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 8053 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8054 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 8055 | esac;;
|
---|
| 8056 | esac
|
---|
| 8057 | case $ac_abs_builddir in
|
---|
| 8058 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8059 | *)
|
---|
| 8060 | case $ac_top_srcdir in
|
---|
| 8061 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 8062 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8063 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 8064 | esac;;
|
---|
| 8065 | esac
|
---|
[8756] | 8066 |
|
---|
| 8067 |
|
---|
| 8068 | case $INSTALL in
|
---|
| 8069 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[20853] | 8070 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
---|
[8200] | 8071 | esac
|
---|
[562] | 8072 |
|
---|
[20853] | 8073 | if test x"$ac_file" != x-; then
|
---|
| 8074 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 8075 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 8076 | rm -f "$ac_file"
|
---|
| 8077 | fi
|
---|
| 8078 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 8079 | # use $as_me), people would be surprised to read:
|
---|
| 8080 | # /* config.h. Generated by config.status. */
|
---|
| 8081 | if test x"$ac_file" = x-; then
|
---|
| 8082 | configure_input=
|
---|
| 8083 | else
|
---|
| 8084 | configure_input="$ac_file. "
|
---|
| 8085 | fi
|
---|
| 8086 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
| 8087 | sed 's,.*/,,'` by configure."
|
---|
[562] | 8088 |
|
---|
[20853] | 8089 | # First look for the input files in the build tree, otherwise in the
|
---|
| 8090 | # src tree.
|
---|
| 8091 | ac_file_inputs=`IFS=:
|
---|
| 8092 | for f in $ac_file_in; do
|
---|
| 8093 | case $f in
|
---|
| 8094 | -) echo $tmp/stdin ;;
|
---|
| 8095 | [\\/$]*)
|
---|
| 8096 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 8097 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8098 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8099 | { (exit 1); exit 1; }; }
|
---|
| 8100 | echo "$f";;
|
---|
| 8101 | *) # Relative
|
---|
| 8102 | if test -f "$f"; then
|
---|
| 8103 | # Build tree
|
---|
| 8104 | echo "$f"
|
---|
| 8105 | elif test -f "$srcdir/$f"; then
|
---|
| 8106 | # Source tree
|
---|
| 8107 | echo "$srcdir/$f"
|
---|
| 8108 | else
|
---|
| 8109 | # /dev/null tree
|
---|
| 8110 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8111 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8112 | { (exit 1); exit 1; }; }
|
---|
| 8113 | fi;;
|
---|
| 8114 | esac
|
---|
| 8115 | done` || { (exit 1); exit 1; }
|
---|
[8756] | 8116 | _ACEOF
|
---|
| 8117 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8118 | sed "$ac_vpsub
|
---|
| 8119 | $extrasub
|
---|
| 8120 | _ACEOF
|
---|
| 8121 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8122 | :t
|
---|
| 8123 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[20853] | 8124 | s,@configure_input@,$configure_input,;t t
|
---|
| 8125 | s,@srcdir@,$ac_srcdir,;t t
|
---|
| 8126 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
| 8127 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
| 8128 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
| 8129 | s,@builddir@,$ac_builddir,;t t
|
---|
| 8130 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
| 8131 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
| 8132 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
| 8133 | s,@INSTALL@,$ac_INSTALL,;t t
|
---|
| 8134 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
| 8135 | rm -f $tmp/stdin
|
---|
| 8136 | if test x"$ac_file" != x-; then
|
---|
| 8137 | mv $tmp/out $ac_file
|
---|
| 8138 | else
|
---|
| 8139 | cat $tmp/out
|
---|
| 8140 | rm -f $tmp/out
|
---|
| 8141 | fi
|
---|
[8756] | 8142 |
|
---|
[20853] | 8143 | done
|
---|
| 8144 | _ACEOF
|
---|
| 8145 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[8756] | 8146 |
|
---|
[20853] | 8147 | #
|
---|
| 8148 | # CONFIG_HEADER section.
|
---|
| 8149 | #
|
---|
| 8150 |
|
---|
| 8151 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
| 8152 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
| 8153 | #
|
---|
| 8154 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
| 8155 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
| 8156 | ac_dB='[ ].*$,\1#\2'
|
---|
| 8157 | ac_dC=' '
|
---|
| 8158 | ac_dD=',;t'
|
---|
| 8159 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
| 8160 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
| 8161 | ac_uB='$,\1#\2define\3'
|
---|
| 8162 | ac_uC=' '
|
---|
| 8163 | ac_uD=',;t'
|
---|
| 8164 |
|
---|
| 8165 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
| 8166 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
[8756] | 8167 | case $ac_file in
|
---|
[20853] | 8168 | - | *:- | *:-:* ) # input from stdin
|
---|
| 8169 | cat >$tmp/stdin
|
---|
| 8170 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 8171 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 8172 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 8173 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 8174 | * ) ac_file_in=$ac_file.in ;;
|
---|
[687] | 8175 | esac
|
---|
[20853] | 8176 |
|
---|
| 8177 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 8178 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 8179 |
|
---|
| 8180 | # First look for the input files in the build tree, otherwise in the
|
---|
| 8181 | # src tree.
|
---|
| 8182 | ac_file_inputs=`IFS=:
|
---|
| 8183 | for f in $ac_file_in; do
|
---|
| 8184 | case $f in
|
---|
| 8185 | -) echo $tmp/stdin ;;
|
---|
| 8186 | [\\/$]*)
|
---|
| 8187 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 8188 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8189 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8190 | { (exit 1); exit 1; }; }
|
---|
| 8191 | # Do quote $f, to prevent DOS paths from being IFS'd.
|
---|
| 8192 | echo "$f";;
|
---|
| 8193 | *) # Relative
|
---|
| 8194 | if test -f "$f"; then
|
---|
| 8195 | # Build tree
|
---|
| 8196 | echo "$f"
|
---|
| 8197 | elif test -f "$srcdir/$f"; then
|
---|
| 8198 | # Source tree
|
---|
| 8199 | echo "$srcdir/$f"
|
---|
| 8200 | else
|
---|
| 8201 | # /dev/null tree
|
---|
| 8202 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 8203 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 8204 | { (exit 1); exit 1; }; }
|
---|
| 8205 | fi;;
|
---|
| 8206 | esac
|
---|
| 8207 | done` || { (exit 1); exit 1; }
|
---|
| 8208 | # Remove the trailing spaces.
|
---|
| 8209 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
| 8210 |
|
---|
[20842] | 8211 | _ACEOF
|
---|
[562] | 8212 |
|
---|
[20853] | 8213 | # Transform confdefs.h into two sed scripts, `conftest.defines' and
|
---|
| 8214 | # `conftest.undefs', that substitutes the proper values into
|
---|
| 8215 | # config.h.in to produce config.h. The first handles `#define'
|
---|
| 8216 | # templates, and the second `#undef' templates.
|
---|
| 8217 | # And first: Protect against being on the right side of a sed subst in
|
---|
| 8218 | # config.status. Protect against being in an unquoted here document
|
---|
| 8219 | # in config.status.
|
---|
| 8220 | rm -f conftest.defines conftest.undefs
|
---|
| 8221 | # Using a here document instead of a string reduces the quoting nightmare.
|
---|
| 8222 | # Putting comments in sed scripts is not portable.
|
---|
| 8223 | #
|
---|
| 8224 | # `end' is used to avoid that the second main sed command (meant for
|
---|
| 8225 | # 0-ary CPP macros) applies to n-ary macro definitions.
|
---|
| 8226 | # See the Autoconf documentation for `clear'.
|
---|
| 8227 | cat >confdef2sed.sed <<\_ACEOF
|
---|
| 8228 | s/[\\&,]/\\&/g
|
---|
| 8229 | s,[\\$`],\\&,g
|
---|
| 8230 | t clear
|
---|
| 8231 | : clear
|
---|
| 8232 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
---|
| 8233 | t end
|
---|
| 8234 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
---|
| 8235 | : end
|
---|
| 8236 | _ACEOF
|
---|
| 8237 | # If some macros were called several times there might be several times
|
---|
| 8238 | # the same #defines, which is useless. Nevertheless, we may not want to
|
---|
| 8239 | # sort them, since we want the *last* AC-DEFINE to be honored.
|
---|
| 8240 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
---|
| 8241 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
---|
| 8242 | rm -f confdef2sed.sed
|
---|
[687] | 8243 |
|
---|
[20853] | 8244 | # This sed command replaces #undef with comments. This is necessary, for
|
---|
[687] | 8245 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 8246 | # on some systems where configure will not decide to define it.
|
---|
[20853] | 8247 | cat >>conftest.undefs <<\_ACEOF
|
---|
| 8248 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
| 8249 | _ACEOF
|
---|
[687] | 8250 |
|
---|
[20853] | 8251 | # Break up conftest.defines because some shells have a limit on the size
|
---|
| 8252 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 8253 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
---|
| 8254 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
---|
| 8255 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
---|
| 8256 | echo ' :' >>$CONFIG_STATUS
|
---|
| 8257 | rm -f conftest.tail
|
---|
| 8258 | while grep . conftest.defines >/dev/null
|
---|
[8756] | 8259 | do
|
---|
[20853] | 8260 | # Write a limited-size here document to $tmp/defines.sed.
|
---|
| 8261 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 8262 | # Speed up: don't consider the non `#define' lines.
|
---|
| 8263 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
---|
| 8264 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 8265 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 8266 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 8267 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
[8756] | 8268 | echo 'CEOF
|
---|
[20853] | 8269 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
| 8270 | rm -f $tmp/in
|
---|
| 8271 | mv $tmp/out $tmp/in
|
---|
| 8272 | ' >>$CONFIG_STATUS
|
---|
| 8273 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
---|
[8756] | 8274 | rm -f conftest.defines
|
---|
| 8275 | mv conftest.tail conftest.defines
|
---|
| 8276 | done
|
---|
[20853] | 8277 | rm -f conftest.defines
|
---|
| 8278 | echo ' fi # grep' >>$CONFIG_STATUS
|
---|
| 8279 | echo >>$CONFIG_STATUS
|
---|
[687] | 8280 |
|
---|
[20853] | 8281 | # Break up conftest.undefs because some shells have a limit on the size
|
---|
| 8282 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 8283 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
---|
| 8284 | rm -f conftest.tail
|
---|
| 8285 | while grep . conftest.undefs >/dev/null
|
---|
| 8286 | do
|
---|
| 8287 | # Write a limited-size here document to $tmp/undefs.sed.
|
---|
| 8288 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 8289 | # Speed up: don't consider the non `#undef'
|
---|
| 8290 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
---|
| 8291 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 8292 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 8293 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 8294 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
---|
| 8295 | echo 'CEOF
|
---|
| 8296 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
| 8297 | rm -f $tmp/in
|
---|
| 8298 | mv $tmp/out $tmp/in
|
---|
| 8299 | ' >>$CONFIG_STATUS
|
---|
| 8300 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
---|
| 8301 | rm -f conftest.undefs
|
---|
| 8302 | mv conftest.tail conftest.undefs
|
---|
| 8303 | done
|
---|
| 8304 | rm -f conftest.undefs
|
---|
| 8305 |
|
---|
[8756] | 8306 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20853] | 8307 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 8308 | # use $as_me), people would be surprised to read:
|
---|
| 8309 | # /* config.h. Generated by config.status. */
|
---|
| 8310 | if test x"$ac_file" = x-; then
|
---|
| 8311 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
| 8312 | else
|
---|
| 8313 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
| 8314 | fi
|
---|
| 8315 | cat $tmp/in >>$tmp/config.h
|
---|
| 8316 | rm -f $tmp/in
|
---|
[8756] | 8317 | if test x"$ac_file" != x-; then
|
---|
[20853] | 8318 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
[8756] | 8319 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
| 8320 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
| 8321 | else
|
---|
[20853] | 8322 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
| 8323 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8324 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 8325 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 8326 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 8327 | . : '\(.\)' 2>/dev/null ||
|
---|
| 8328 | echo X"$ac_file" |
|
---|
| 8329 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8330 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8331 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8332 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8333 | s/.*/./; q'`
|
---|
| 8334 | { if $as_mkdir_p; then
|
---|
| 8335 | mkdir -p "$ac_dir"
|
---|
| 8336 | else
|
---|
| 8337 | as_dir="$ac_dir"
|
---|
| 8338 | as_dirs=
|
---|
| 8339 | while test ! -d "$as_dir"; do
|
---|
| 8340 | as_dirs="$as_dir $as_dirs"
|
---|
| 8341 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 8342 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8343 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8344 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 8345 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 8346 | . : '\(.\)' 2>/dev/null ||
|
---|
| 8347 | echo X"$as_dir" |
|
---|
| 8348 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8349 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8350 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8351 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8352 | s/.*/./; q'`
|
---|
| 8353 | done
|
---|
| 8354 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 8355 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 8356 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 8357 | { (exit 1); exit 1; }; }; }
|
---|
| 8358 |
|
---|
[8756] | 8359 | rm -f $ac_file
|
---|
[20853] | 8360 | mv $tmp/config.h $ac_file
|
---|
[687] | 8361 | fi
|
---|
[8756] | 8362 | else
|
---|
[20853] | 8363 | cat $tmp/config.h
|
---|
| 8364 | rm -f $tmp/config.h
|
---|
[687] | 8365 | fi
|
---|
[20853] | 8366 | done
|
---|
| 8367 | _ACEOF
|
---|
[8200] | 8368 |
|
---|
[20853] | 8369 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[687] | 8370 |
|
---|
[8756] | 8371 | { (exit 0); exit 0; }
|
---|
| 8372 | _ACEOF
|
---|
[562] | 8373 | chmod +x $CONFIG_STATUS
|
---|
[8756] | 8374 | ac_clean_files=$ac_clean_files_save
|
---|
[562] | 8375 |
|
---|
[8756] | 8376 |
|
---|
| 8377 | # configure is writing to config.log, and then calls config.status.
|
---|
| 8378 | # config.status does its own redirection, appending to config.log.
|
---|
| 8379 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 8380 | # by configure, so config.status won't be able to write to it; its
|
---|
| 8381 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 8382 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 8383 | # appended to by config.status. When coming back to configure, we
|
---|
| 8384 | # need to make the FD available again.
|
---|
| 8385 | if test "$no_create" != yes; then
|
---|
| 8386 | ac_cs_success=:
|
---|
| 8387 | ac_config_status_args=
|
---|
| 8388 | test "$silent" = yes &&
|
---|
| 8389 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 8390 | exec 5>/dev/null
|
---|
| 8391 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 8392 | exec 5>>config.log
|
---|
| 8393 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 8394 | # would make configure fail if this is the last instruction.
|
---|
| 8395 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 8396 | fi
|
---|
| 8397 |
|
---|
| 8398 | #
|
---|
| 8399 | # CONFIG_SUBDIRS section.
|
---|
| 8400 | #
|
---|
[1675] | 8401 | if test "$no_recursion" != yes; then
|
---|
[562] | 8402 |
|
---|
[1675] | 8403 | # Remove --cache-file and --srcdir arguments so they do not pile up.
|
---|
| 8404 | ac_sub_configure_args=
|
---|
| 8405 | ac_prev=
|
---|
[20853] | 8406 | for ac_arg in $ac_configure_args; do
|
---|
[1675] | 8407 | if test -n "$ac_prev"; then
|
---|
| 8408 | ac_prev=
|
---|
| 8409 | continue
|
---|
| 8410 | fi
|
---|
[8756] | 8411 | case $ac_arg in
|
---|
[1675] | 8412 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 8413 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 8414 | ac_prev=cache_file ;;
|
---|
| 8415 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
[8756] | 8416 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 8417 | | --c=*)
|
---|
[1675] | 8418 | ;;
|
---|
[8756] | 8419 | --config-cache | -C)
|
---|
| 8420 | ;;
|
---|
[1675] | 8421 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 8422 | ac_prev=srcdir ;;
|
---|
| 8423 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 8424 | ;;
|
---|
[8756] | 8425 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 8426 | ac_prev=prefix ;;
|
---|
| 8427 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 8428 | ;;
|
---|
[20853] | 8429 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
---|
[1675] | 8430 | esac
|
---|
| 8431 | done
|
---|
[562] | 8432 |
|
---|
[8756] | 8433 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 8434 | # in subdir configurations.
|
---|
[20853] | 8435 | ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
|
---|
[1570] | 8436 |
|
---|
[8756] | 8437 | ac_popdir=`pwd`
|
---|
| 8438 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8439 |
|
---|
[1675] | 8440 | # Do not complain, so a configure script can configure whichever
|
---|
| 8441 | # parts of a large source tree are present.
|
---|
[20853] | 8442 | test -d $srcdir/$ac_dir || continue
|
---|
[1675] | 8443 |
|
---|
[20853] | 8444 | { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
|
---|
| 8445 | echo "$as_me: configuring in $ac_dir" >&6;}
|
---|
| 8446 | { if $as_mkdir_p; then
|
---|
| 8447 | mkdir -p "$ac_dir"
|
---|
| 8448 | else
|
---|
| 8449 | as_dir="$ac_dir"
|
---|
[8756] | 8450 | as_dirs=
|
---|
[20853] | 8451 | while test ! -d "$as_dir"; do
|
---|
| 8452 | as_dirs="$as_dir $as_dirs"
|
---|
| 8453 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
[8756] | 8454 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8455 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8456 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[20853] | 8457 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 8458 | . : '\(.\)' 2>/dev/null ||
|
---|
[8756] | 8459 | echo X"$as_dir" |
|
---|
[20853] | 8460 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 8461 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 8462 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 8463 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 8464 | s/.*/./; q'`
|
---|
[8756] | 8465 | done
|
---|
[20853] | 8466 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 8467 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 8468 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
[8756] | 8469 | { (exit 1); exit 1; }; }; }
|
---|
[20853] | 8470 |
|
---|
[8756] | 8471 | ac_builddir=.
|
---|
[1675] | 8472 |
|
---|
[20853] | 8473 | if test "$ac_dir" != .; then
|
---|
[8756] | 8474 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20853] | 8475 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 8476 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 8477 | else
|
---|
| 8478 | ac_dir_suffix= ac_top_builddir=
|
---|
| 8479 | fi
|
---|
[1675] | 8480 |
|
---|
[8756] | 8481 | case $srcdir in
|
---|
[20853] | 8482 | .) # No --srcdir option. We are building in place.
|
---|
[8756] | 8483 | ac_srcdir=.
|
---|
[20853] | 8484 | if test -z "$ac_top_builddir"; then
|
---|
| 8485 | ac_top_srcdir=.
|
---|
| 8486 | else
|
---|
| 8487 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 8488 | fi ;;
|
---|
| 8489 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
[8756] | 8490 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20853] | 8491 | ac_top_srcdir=$srcdir ;;
|
---|
| 8492 | *) # Relative path.
|
---|
| 8493 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 8494 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
[8756] | 8495 | esac
|
---|
[1675] | 8496 |
|
---|
[20853] | 8497 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 8498 | # the directories may not exist.
|
---|
| 8499 | case `pwd` in
|
---|
| 8500 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 8501 | *)
|
---|
| 8502 | case "$ac_dir" in
|
---|
| 8503 | .) ac_abs_builddir=`pwd`;;
|
---|
| 8504 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 8505 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 8506 | esac;;
|
---|
| 8507 | esac
|
---|
| 8508 | case $ac_abs_builddir in
|
---|
| 8509 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8510 | *)
|
---|
| 8511 | case ${ac_top_builddir}. in
|
---|
| 8512 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 8513 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 8514 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 8515 | esac;;
|
---|
| 8516 | esac
|
---|
| 8517 | case $ac_abs_builddir in
|
---|
| 8518 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8519 | *)
|
---|
| 8520 | case $ac_srcdir in
|
---|
| 8521 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 8522 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 8523 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 8524 | esac;;
|
---|
| 8525 | esac
|
---|
| 8526 | case $ac_abs_builddir in
|
---|
| 8527 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8528 | *)
|
---|
| 8529 | case $ac_top_srcdir in
|
---|
| 8530 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 8531 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 8532 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 8533 | esac;;
|
---|
| 8534 | esac
|
---|
[1675] | 8535 |
|
---|
[8756] | 8536 |
|
---|
[20853] | 8537 | cd $ac_dir
|
---|
| 8538 |
|
---|
[1675] | 8539 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[20853] | 8540 | if test -f $ac_srcdir/configure.gnu; then
|
---|
| 8541 | ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
|
---|
| 8542 | elif test -f $ac_srcdir/configure; then
|
---|
| 8543 | ac_sub_configure="$SHELL '$ac_srcdir/configure'"
|
---|
| 8544 | elif test -f $ac_srcdir/configure.in; then
|
---|
| 8545 | ac_sub_configure=$ac_configure
|
---|
[1675] | 8546 | else
|
---|
[8756] | 8547 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 8548 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[1675] | 8549 | ac_sub_configure=
|
---|
| 8550 | fi
|
---|
| 8551 |
|
---|
| 8552 | # The recursion is here.
|
---|
| 8553 | if test -n "$ac_sub_configure"; then
|
---|
| 8554 | # Make the cache file name correct relative to the subdirectory.
|
---|
[8756] | 8555 | case $cache_file in
|
---|
| 8556 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[20853] | 8557 | *) # Relative path.
|
---|
| 8558 | ac_sub_cache_file=$ac_top_builddir$cache_file ;;
|
---|
[1675] | 8559 | esac
|
---|
| 8560 |
|
---|
[20853] | 8561 | { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
| 8562 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[1675] | 8563 | # The eval makes quoting arguments work.
|
---|
[20853] | 8564 | eval $ac_sub_configure $ac_sub_configure_args \
|
---|
| 8565 | --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
|
---|
[8756] | 8566 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
---|
| 8567 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
---|
| 8568 | { (exit 1); exit 1; }; }
|
---|
[1675] | 8569 | fi
|
---|
| 8570 |
|
---|
[20853] | 8571 | cd $ac_popdir
|
---|
[1675] | 8572 | done
|
---|
| 8573 | fi
|
---|
| 8574 |
|
---|
[8200] | 8575 |
|
---|
| 8576 |
|
---|