| version 1.19 | | version 1.20 |
|---|
| | |
| #! /bin/sh | | #! /bin/sh |
| # From configure.in Id: configure.in. | | |
| # Guess values for system-dependent variables and create Makefiles. | | |
| # Generated by Autoconf 2.52d. | | |
| # | | |
| # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | | |
| # Free Software Foundation, Inc. | | |
| # This configure script is free software; the Free Software Foundation | | |
| # gives unlimited permission to copy, distribute and modify it. | | |
| | | |
| # Avoid depending upon Character Ranges. | | # From configure.in Id: configure.in |
| as_cr_letters='abcdefghijklmnopqrstuvwxyz' | | |
| as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | | |
| as_cr_Letters=$as_cr_letters$as_cr_LETTERS | | |
| as_cr_digits='0123456789' | | |
| as_cr_alnum=$as_cr_Letters$as_cr_digits | | |
| | | |
| # Sed expression to map a string onto a valid variable name. | | |
| as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | | |
| | | |
| # Sed expression to map a string onto a valid CPP name. | | |
| as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | | |
| | | |
| ## --------------------- ## | | |
| ## M4sh Initialization. ## | | |
| ## --------------------- ## | | |
| | | |
| # Be Bourne compatible | | |
| if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | |
| emulate sh | | |
| NULLCMD=: | | |
| elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | | |
| set -o posix | | |
| fi | | |
| | | |
| # Name of the executable. | | |
| as_me=`echo "$0" |sed 's,.*[\\/],,'` | | |
| | | |
| if expr a : '\(a\)' >/dev/null 2>&1; then | | |
| as_expr=expr | | |
| else | | |
| as_expr=false | | |
| fi | | |
| | | |
| rm -f conf$$ conf$$.exe conf$$.file | | |
| echo >conf$$.file | | |
| if ln -s conf$$.file conf$$ 2>/dev/null; then | | |
| # We could just check for DJGPP; but this test a) works b) is more generic | | |
| # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | | |
| if test -f conf$$.exe; then | | |
| # Don't use ln at all; we don't have any links | | |
| as_ln_s='cp -p' | | |
| else | | |
| as_ln_s='ln -s' | | |
| fi | | |
| elif ln conf$$.file conf$$ 2>/dev/null; then | | |
| as_ln_s=ln | | |
| else | | |
| as_ln_s='cp -p' | | |
| fi | | |
| rm -f conf$$ conf$$.exe conf$$.file | | |
| | | |
| as_executable_p="test -f" | | |
| | | |
| # Support unset when possible. | | |
| if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | | |
| as_unset=unset | | |
| else | | |
| as_unset=false | | |
| fi | | |
| | | |
| # NLS nuisances. | | |
| $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | | |
| $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | | |
| $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | | |
| $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | | |
| $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | | |
| $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | | |
| $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | | |
| $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | | |
| | | |
| # IFS | | |
| # We need space, tab and new line, in precisely that order. | | |
| as_nl=' | | |
| ' | | |
| IFS=" $as_nl" | | |
| | | |
| # CDPATH. | | |
| $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } | | |
| | | |
| # Name of the host. | | |
| # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | | |
| # so uname gets run too. | | |
| ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | | |
| | | |
| exec 6>&1 | | |
| | | |
| | | # Guess values for system-dependent variables and create Makefiles. |
| | | # Generated automatically using autoconf version 2.13 |
| | | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
| # | | # |
| # Initializations. | | # This configure script is free software; the Free Software Foundation |
| # | | # gives unlimited permission to copy, distribute and modify it. |
| ac_default_prefix=/usr/local | | |
| cross_compiling=no | | |
| subdirs= | | |
| MFLAGS= MAKEFLAGS= | | |
| SHELL=${CONFIG_SHELL-/bin/sh} | | |
| | | |
| # Maximum number of lines to put in a shell here document. | | |
| # This variable seems obsolete. It should probably be removed, and | | |
| # only ac_max_sed_lines should be used. | | |
| : ${ac_max_here_lines=38} | | |
| | | |
| ac_unique_file="CREDITS" | | # Defaults: |
| | | ac_help= |
| | | ac_default_prefix=/usr/local |
| | | # Any additions from configure.in: |
| ac_default_prefix=/usr/games/crossfire | | ac_default_prefix=/usr/games/crossfire |
| # Factoring default headers for most tests. | | ac_help="$ac_help |
| ac_includes_default="\ | | --enable-old-layout Use the old (0.95.3 and earlier) install layout" |
| #include <stdio.h> | | ac_help="$ac_help |
| #if HAVE_SYS_TYPES_H | | --with-ldflags=dir provide addition linker directives to find libraries " |
| # include <sys/types.h> | | ac_help="$ac_help |
| #endif | | --with-includes=dir provide different compiler options to find headers with " |
| #if HAVE_SYS_STAT_H | | ac_help="$ac_help |
| # include <sys/stat.h> | | --with-x use the X Window System" |
| #endif | | |
| #if STDC_HEADERS | | |
| # include <stdlib.h> | | |
| # include <stddef.h> | | |
| #else | | |
| # if HAVE_STDLIB_H | | |
| # include <stdlib.h> | | |
| # endif | | |
| #endif | | |
| #if HAVE_STRING_H | | |
| # if !STDC_HEADERS && HAVE_MEMORY_H | | |
| # include <memory.h> | | |
| # endif | | |
| # include <string.h> | | |
| #endif | | |
| #if HAVE_STRINGS_H | | |
| # include <strings.h> | | |
| #endif | | |
| #if HAVE_INTTYPES_H | | |
| # include <inttypes.h> | | |
| #else | | |
| # if HAVE_STDINT_H | | |
| # include <stdint.h> | | |
| # endif | | |
| #endif | | |
| #if HAVE_UNISTD_H | | |
| # include <unistd.h> | | |
| #endif" | | |
| | | |
| # Initialize some variables set by options. | | # Initialize some variables set by options. |
| ac_init_help= | | |
| ac_init_version=false | | |
| # The variables have the same names as the options, with | | # The variables have the same names as the options, with |
| # dashes changed to underlines. | | # dashes changed to underlines. |
| cache_file=/dev/null | | build=NONE |
| | | cache_file=./config.cache |
| exec_prefix=NONE | | exec_prefix=NONE |
| | | host=NONE |
| no_create= | | no_create= |
| | | nonopt=NONE |
| no_recursion= | | no_recursion= |
| prefix=NONE | | prefix=NONE |
| program_prefix=NONE | | program_prefix=NONE |
| | |
| silent= | | silent= |
| site= | | site= |
| srcdir= | | srcdir= |
| | | target=NONE |
| verbose= | | verbose= |
| x_includes=NONE | | x_includes=NONE |
| x_libraries=NONE | | x_libraries=NONE |
| | | |
| # Installation directory options. | | |
| # These are left unexpanded so users can "make install exec_prefix=/foo" | | |
| # and all the variables that are supposed to be based on exec_prefix | | |
| # by default will actually change. | | |
| # Use braces instead of parens because sh, perl, etc. also accept them. | | |
| bindir='${exec_prefix}/bin' | | bindir='${exec_prefix}/bin' |
| sbindir='${exec_prefix}/sbin' | | sbindir='${exec_prefix}/sbin' |
| libexecdir='${exec_prefix}/libexec' | | libexecdir='${exec_prefix}/libexec' |
| | |
| infodir='${prefix}/info' | | infodir='${prefix}/info' |
| mandir='${prefix}/man' | | mandir='${prefix}/man' |
| | | |
| # Identity of this package. | | # Initialize some other variables. |
| PACKAGE_NAME= | | subdirs= |
| PACKAGE_TARNAME= | | MFLAGS= MAKEFLAGS= |
| PACKAGE_VERSION= | | SHELL=${CONFIG_SHELL-/bin/sh} |
| PACKAGE_STRING= | | # Maximum number of lines to put in a shell here document. |
| PACKAGE_BUGREPORT= | | ac_max_here_lines=12 |
| | | |
| ac_prev= | | ac_prev= |
| for ac_option | | for ac_option |
| do | | do |
| | | |
| # If the previous option needs an argument, assign it. | | # If the previous option needs an argument, assign it. |
| if test -n "$ac_prev"; then | | if test -n "$ac_prev"; then |
| eval "$ac_prev=\$ac_option" | | eval "$ac_prev=\$ac_option" |
| | |
| continue | | continue |
| fi | | fi |
| | | |
| ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | | case "$ac_option" in |
| | | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
| | | *) ac_optarg= ;; |
| | | esac |
| | | |
| # Accept the important Cygnus configure options, so we can diagnose typos. | | # Accept the important Cygnus configure options, so we can diagnose typos. |
| | | |
| case $ac_option in | | case "$ac_option" in |
| | | |
| -bindir | --bindir | --bindi | --bind | --bin | --bi) | | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| ac_prev=bindir ;; | | ac_prev=bindir ;; |
| -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| bindir=$ac_optarg ;; | | bindir="$ac_optarg" ;; |
| | | |
| -build | --build | --buil | --bui | --bu) | | -build | --build | --buil | --bui | --bu) |
| ac_prev=build_alias ;; | | ac_prev=build ;; |
| -build=* | --build=* | --buil=* | --bui=* | --bu=*) | | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| build_alias=$ac_optarg ;; | | build="$ac_optarg" ;; |
| | | |
| -cache-file | --cache-file | --cache-fil | --cache-fi \ | | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| ac_prev=cache_file ;; | | ac_prev=cache_file ;; |
| -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| cache_file=$ac_optarg ;; | | cache_file="$ac_optarg" ;; |
| | | |
| --config-cache | -C) | | |
| cache_file=config.cache ;; | | |
| | | |
| -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| ac_prev=datadir ;; | | ac_prev=datadir ;; |
| -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| | --da=*) | | | --da=*) |
| datadir=$ac_optarg ;; | | datadir="$ac_optarg" ;; |
| | | |
| -disable-* | --disable-*) | | -disable-* | --disable-*) |
| ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
| # Reject names that are not valid shell variable names. | | # Reject names that are not valid shell variable names. |
| expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
| { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
| { (exit 1); exit 1; }; } | | fi |
| ac_feature=`echo $ac_feature | sed 's/-/_/g'` | | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| eval "enable_$ac_feature=no" ;; | | eval "enable_${ac_feature}=no" ;; |
| | | |
| -enable-* | --enable-*) | | -enable-* | --enable-*) |
| ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
| # Reject names that are not valid shell variable names. | | # Reject names that are not valid shell variable names. |
| expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
| { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
| { (exit 1); exit 1; }; } | | fi |
| ac_feature=`echo $ac_feature | sed 's/-/_/g'` | | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| case $ac_option in | | case "$ac_option" in |
| *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | | *=*) ;; |
| *) ac_optarg=yes ;; | | *) ac_optarg=yes ;; |
| esac | | esac |
| eval "enable_$ac_feature='$ac_optarg'" ;; | | eval "enable_${ac_feature}='$ac_optarg'" ;; |
| | | |
| -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| | |
| -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| | --exec=* | --exe=* | --ex=*) | | | --exec=* | --exe=* | --ex=*) |
| exec_prefix=$ac_optarg ;; | | exec_prefix="$ac_optarg" ;; |
| | | |
| -gas | --gas | --ga | --g) | | -gas | --gas | --ga | --g) |
| # Obsolete; use --with-gas. | | # Obsolete; use --with-gas. |
| with_gas=yes ;; | | with_gas=yes ;; |
| | | |
| -help | --help | --hel | --he | -h) | | -help | --help | --hel | --he) |
| ac_init_help=long ;; | | # Omit some internal or obsolete options to make the list less imposing. |
| -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | | # This message is too long to be a string in the A/UX 3.1 sh. |
| ac_init_help=recursive ;; | | cat << EOF |
| -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | | Usage: configure [options] [host] |
| ac_init_help=short ;; | | Options: [defaults in brackets after descriptions] |
| | | Configuration: |
| | | --cache-file=FILE cache test results in FILE |
| | | --help print this message |
| | | --no-create do not create output files |
| | | --quiet, --silent do not print \`checking...' messages |
| | | --version print the version of autoconf that created configure |
| | | Directory and file names: |
| | | --prefix=PREFIX install architecture-independent files in PREFIX |
| | | [$ac_default_prefix] |
| | | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| | | [same as prefix] |
| | | --bindir=DIR user executables in DIR [EPREFIX/bin] |
| | | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
| | | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
| | | --datadir=DIR read-only architecture-independent data in DIR |
| | | [PREFIX/share] |
| | | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
| | | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
| | | [PREFIX/com] |
| | | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
| | | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
| | | --includedir=DIR C header files in DIR [PREFIX/include] |
| | | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
| | | --infodir=DIR info documentation in DIR [PREFIX/info] |
| | | --mandir=DIR man documentation in DIR [PREFIX/man] |
| | | --srcdir=DIR find the sources in DIR [configure dir or ..] |
| | | --program-prefix=PREFIX prepend PREFIX to installed program names |
| | | --program-suffix=SUFFIX append SUFFIX to installed program names |
| | | --program-transform-name=PROGRAM |
| | | run sed PROGRAM on installed program names |
| | | EOF |
| | | cat << EOF |
| | | Host type: |
| | | --build=BUILD configure for building on BUILD [BUILD=HOST] |
| | | --host=HOST configure for HOST [guessed] |
| | | --target=TARGET configure for TARGET [TARGET=HOST] |
| | | Features and packages: |
| | | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| | | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| | | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| | | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| | | --x-includes=DIR X include files are in DIR |
| | | --x-libraries=DIR X library files are in DIR |
| | | EOF |
| | | if test -n "$ac_help"; then |
| | | echo "--enable and --with options recognized:$ac_help" |
| | | fi |
| | | exit 0 ;; |
| | | |
| -host | --host | --hos | --ho) | | -host | --host | --hos | --ho) |
| ac_prev=host_alias ;; | | ac_prev=host ;; |
| -host=* | --host=* | --hos=* | --ho=*) | | -host=* | --host=* | --hos=* | --ho=*) |
| host_alias=$ac_optarg ;; | | host="$ac_optarg" ;; |
| | | |
| -includedir | --includedir | --includedi | --included | --include \ | | -includedir | --includedir | --includedi | --included | --include \ |
| | --includ | --inclu | --incl | --inc) | | | --includ | --inclu | --incl | --inc) |
| ac_prev=includedir ;; | | ac_prev=includedir ;; |
| -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| | --includ=* | --inclu=* | --incl=* | --inc=*) | | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| includedir=$ac_optarg ;; | | includedir="$ac_optarg" ;; |
| | | |
| -infodir | --infodir | --infodi | --infod | --info | --inf) | | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| ac_prev=infodir ;; | | ac_prev=infodir ;; |
| -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| infodir=$ac_optarg ;; | | infodir="$ac_optarg" ;; |
| | | |
| -libdir | --libdir | --libdi | --libd) | | -libdir | --libdir | --libdi | --libd) |
| ac_prev=libdir ;; | | ac_prev=libdir ;; |
| -libdir=* | --libdir=* | --libdi=* | --libd=*) | | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| libdir=$ac_optarg ;; | | libdir="$ac_optarg" ;; |
| | | |
| -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| | --libexe | --libex | --libe) | | | --libexe | --libex | --libe) |
| ac_prev=libexecdir ;; | | ac_prev=libexecdir ;; |
| -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| | --libexe=* | --libex=* | --libe=*) | | | --libexe=* | --libex=* | --libe=*) |
| libexecdir=$ac_optarg ;; | | libexecdir="$ac_optarg" ;; |
| | | |
| -localstatedir | --localstatedir | --localstatedi | --localstated \ | | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| | --localstate | --localstat | --localsta | --localst \ | | | --localstate | --localstat | --localsta | --localst \ |
| | |
| -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| localstatedir=$ac_optarg ;; | | localstatedir="$ac_optarg" ;; |
| | | |
| -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| ac_prev=mandir ;; | | ac_prev=mandir ;; |
| -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| mandir=$ac_optarg ;; | | mandir="$ac_optarg" ;; |
| | | |
| -nfp | --nfp | --nf) | | -nfp | --nfp | --nf) |
| # Obsolete; use --without-fp. | | # Obsolete; use --without-fp. |
| | |
| -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| oldincludedir=$ac_optarg ;; | | oldincludedir="$ac_optarg" ;; |
| | | |
| -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| ac_prev=prefix ;; | | ac_prev=prefix ;; |
| -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| prefix=$ac_optarg ;; | | prefix="$ac_optarg" ;; |
| | | |
| -program-prefix | --program-prefix | --program-prefi | --program-pref \ | | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| | --program-pre | --program-pr | --program-p) | | | --program-pre | --program-pr | --program-p) |
| ac_prev=program_prefix ;; | | ac_prev=program_prefix ;; |
| -program-prefix=* | --program-prefix=* | --program-prefi=* \ | | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| program_prefix=$ac_optarg ;; | | program_prefix="$ac_optarg" ;; |
| | | |
| -program-suffix | --program-suffix | --program-suffi | --program-suff \ | | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| | --program-suf | --program-su | --program-s) | | | --program-suf | --program-su | --program-s) |
| ac_prev=program_suffix ;; | | ac_prev=program_suffix ;; |
| -program-suffix=* | --program-suffix=* | --program-suffi=* \ | | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| program_suffix=$ac_optarg ;; | | program_suffix="$ac_optarg" ;; |
| | | |
| -program-transform-name | --program-transform-name \ | | -program-transform-name | --program-transform-name \ |
| | --program-transform-nam | --program-transform-na \ | | | --program-transform-nam | --program-transform-na \ |
| | |
| | --program-transfo=* | --program-transf=* \ | | | --program-transfo=* | --program-transf=* \ |
| | --program-trans=* | --program-tran=* \ | | | --program-trans=* | --program-tran=* \ |
| | --progr-tra=* | --program-tr=* | --program-t=*) | | | --progr-tra=* | --program-tr=* | --program-t=*) |
| program_transform_name=$ac_optarg ;; | | program_transform_name="$ac_optarg" ;; |
| | | |
| -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| | -silent | --silent | --silen | --sile | --sil) | | | -silent | --silent | --silen | --sile | --sil) |
| | |
| ac_prev=sbindir ;; | | ac_prev=sbindir ;; |
| -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| | --sbi=* | --sb=*) | | | --sbi=* | --sb=*) |
| sbindir=$ac_optarg ;; | | sbindir="$ac_optarg" ;; |
| | | |
| -sharedstatedir | --sharedstatedir | --sharedstatedi \ | | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| | |
| | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| | --sha=* | --sh=*) | | | --sha=* | --sh=*) |
| sharedstatedir=$ac_optarg ;; | | sharedstatedir="$ac_optarg" ;; |
| | | |
| -site | --site | --sit) | | -site | --site | --sit) |
| ac_prev=site ;; | | ac_prev=site ;; |
| -site=* | --site=* | --sit=*) | | -site=* | --site=* | --sit=*) |
| site=$ac_optarg ;; | | site="$ac_optarg" ;; |
| | | |
| -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| ac_prev=srcdir ;; | | ac_prev=srcdir ;; |
| -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| srcdir=$ac_optarg ;; | | srcdir="$ac_optarg" ;; |
| | | |
| -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| | --syscon | --sysco | --sysc | --sys | --sy) | | | --syscon | --sysco | --sysc | --sys | --sy) |
| ac_prev=sysconfdir ;; | | ac_prev=sysconfdir ;; |
| -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| sysconfdir=$ac_optarg ;; | | sysconfdir="$ac_optarg" ;; |
| | | |
| -target | --target | --targe | --targ | --tar | --ta | --t) | | -target | --target | --targe | --targ | --tar | --ta | --t) |
| ac_prev=target_alias ;; | | ac_prev=target ;; |
| -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| target_alias=$ac_optarg ;; | | target="$ac_optarg" ;; |
| | | |
| -v | -verbose | --verbose | --verbos | --verbo | --verb) | | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| verbose=yes ;; | | verbose=yes ;; |
| | | |
| -version | --version | --versio | --versi | --vers | -V) | | -version | --version | --versio | --versi | --vers) |
| ac_init_version=: ;; | | echo "configure generated by autoconf version 2.13" |
| | | exit 0 ;; |
| | | |
| -with-* | --with-*) | | -with-* | --with-*) |
| ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
| # Reject names that are not valid shell variable names. | | # Reject names that are not valid shell variable names. |
| expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
| { echo "$as_me: error: invalid package name: $ac_package" >&2 | | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
| { (exit 1); exit 1; }; } | | fi |
| ac_package=`echo $ac_package| sed 's/-/_/g'` | | ac_package=`echo $ac_package| sed 's/-/_/g'` |
| case $ac_option in | | case "$ac_option" in |
| *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | | *=*) ;; |
| *) ac_optarg=yes ;; | | *) ac_optarg=yes ;; |
| esac | | esac |
| eval "with_$ac_package='$ac_optarg'" ;; | | eval "with_${ac_package}='$ac_optarg'" ;; |
| | | |
| -without-* | --without-*) | | -without-* | --without-*) |
| ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
| # Reject names that are not valid shell variable names. | | # Reject names that are not valid shell variable names. |
| expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
| { echo "$as_me: error: invalid package name: $ac_package" >&2 | | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
| { (exit 1); exit 1; }; } | | fi |
| ac_package=`echo $ac_package | sed 's/-/_/g'` | | ac_package=`echo $ac_package | sed 's/-/_/g'` |
| eval "with_$ac_package=no" ;; | | eval "with_${ac_package}=no" ;; |
| | | |
| --x) | | --x) |
| # Obsolete; use --with-x. | | # Obsolete; use --with-x. |
| | |
| ac_prev=x_includes ;; | | ac_prev=x_includes ;; |
| -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| x_includes=$ac_optarg ;; | | x_includes="$ac_optarg" ;; |
| | | |
| -x-libraries | --x-libraries | --x-librarie | --x-librari \ | | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| ac_prev=x_libraries ;; | | ac_prev=x_libraries ;; |
| -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| x_libraries=$ac_optarg ;; | | x_libraries="$ac_optarg" ;; |
| | | |
| -*) { echo "$as_me: error: unrecognized option: $ac_option | | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
| Try \`$0 --help' for more information." >&2 | | |
| { (exit 1); exit 1; }; } | | |
| ;; | | ;; |
| | | |
| *=*) | | |
| ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | | |
| # Reject names that are not valid shell variable names. | | |
| expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | | |
| { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | | |
| { (exit 1); exit 1; }; } | | |
| ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | | |
| eval "$ac_envvar='$ac_optarg'" | | |
| export $ac_envvar ;; | | |
| | | |
| *) | | *) |
| # FIXME: should be removed in autoconf 3.0. | | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
| echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
| expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | | fi |
| echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | | if test "x$nonopt" != xNONE; then |
| : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
| | | fi |
| | | nonopt="$ac_option" |
| ;; | | ;; |
| | | |
| esac | | esac |
| done | | done |
| | | |
| if test -n "$ac_prev"; then | | if test -n "$ac_prev"; then |
| ac_option=--`echo $ac_prev | sed 's/_/-/g'` | | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
| { echo "$as_me: error: missing argument to $ac_option" >&2 | | |
| { (exit 1); exit 1; }; } | | |
| fi | | fi |
| | | |
| # Be sure to have absolute paths. | | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
| for ac_var in exec_prefix prefix | | |
| do | | # File descriptor usage: |
| eval ac_val=$`echo $ac_var` | | # 0 standard input |
| case $ac_val in | | # 1 file creation |
| [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | | # 2 errors and warnings |
| *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | | # 3 some systems may open it to /dev/tty |
| { (exit 1); exit 1; }; };; | | # 4 used on the Kubota Titan |
| esac | | # 6 checking for... messages and results |
| done | | # 5 compiler messages saved in config.log |
| | | if test "$silent" = yes; then |
| | | exec 6>/dev/null |
| | | else |
| | | exec 6>&1 |
| | | fi |
| | | exec 5>./config.log |
| | | |
| | | echo "\ |
| | | This file contains any messages produced by compilers while |
| | | running configure, to aid debugging if configure makes a mistake. |
| | | " 1>&5 |
| | | |
| # Be sure to have absolute paths. | | # Strip out --no-create and --no-recursion so they do not pile up. |
| for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | | # Also quote any args containing shell metacharacters. |
| localstatedir libdir includedir oldincludedir infodir mandir | | ac_configure_args= |
| | | for ac_arg |
| do | | do |
| eval ac_val=$`echo $ac_var` | | case "$ac_arg" in |
| case $ac_val in | | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| [\\/$]* | ?:[\\/]* ) ;; | | | --no-cr | --no-c) ;; |
| *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| { (exit 1); exit 1; }; };; | | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
| | | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
| | | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| | | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
| esac | | esac |
| done | | done |
| | | |
| # There might be people who depend on the old broken behavior: `$host' | | # NLS nuisances. |
| # used to hold the argument of --host etc. | | # Only set these to C if already set. These must not be set unconditionally |
| build=$build_alias | | # because not all systems understand e.g. LANG=C (notably SCO). |
| host=$host_alias | | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
| target=$target_alias | | # Non-C LC_CTYPE values break the ctype check. |
| | | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
| # FIXME: should be removed in autoconf 3.0. | | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
| if test "x$host_alias" != x; then | | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
| if test "x$build_alias" = x; then | | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
| cross_compiling=maybe | | |
| echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | | |
| If a cross compiler is detected then cross compile mode will be used." >&2 | | |
| elif test "x$build_alias" != "x$host_alias"; then | | |
| cross_compiling=yes | | |
| fi | | |
| fi | | |
| | | |
| ac_tool_prefix= | | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| test -n "$host_alias" && ac_tool_prefix=$host_alias- | | rm -rf conftest* confdefs.h |
| | | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| | | echo > confdefs.h |
| | | |
| test "$silent" = yes && exec 6>/dev/null | | # A filename unique to this package, relative to the directory that |
| | | # configure is in, which we can look for to find out if srcdir is correct. |
| | | ac_unique_file=CREDITS |
| | | |
| # Find the source files, if location was not specified. | | # Find the source files, if location was not specified. |
| if test -z "$srcdir"; then | | if test -z "$srcdir"; then |
| ac_srcdir_defaulted=yes | | ac_srcdir_defaulted=yes |
| # Try the directory containing this script, then its parent. | | # Try the directory containing this script, then its parent. |
| ac_prog=$0 | | ac_prog=$0 |
| ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` | | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
| test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
| srcdir=$ac_confdir | | srcdir=$ac_confdir |
| if test ! -r $srcdir/$ac_unique_file; then | | if test ! -r $srcdir/$ac_unique_file; then |
| | |
| fi | | fi |
| if test ! -r $srcdir/$ac_unique_file; then | | if test ! -r $srcdir/$ac_unique_file; then |
| if test "$ac_srcdir_defaulted" = yes; then | | if test "$ac_srcdir_defaulted" = yes; then |
| { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
| { (exit 1); exit 1; }; } | | |
| else | | |
| { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | | |
| { (exit 1); exit 1; }; } | | |
| fi | | |
| fi | | |
| srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | | |
| ac_env_build_alias_set=${build_alias+set} | | |
| ac_env_build_alias_value=$build_alias | | |
| ac_cv_env_build_alias_set=${build_alias+set} | | |
| ac_cv_env_build_alias_value=$build_alias | | |
| ac_env_host_alias_set=${host_alias+set} | | |
| ac_env_host_alias_value=$host_alias | | |
| ac_cv_env_host_alias_set=${host_alias+set} | | |
| ac_cv_env_host_alias_value=$host_alias | | |
| ac_env_target_alias_set=${target_alias+set} | | |
| ac_env_target_alias_value=$target_alias | | |
| ac_cv_env_target_alias_set=${target_alias+set} | | |
| ac_cv_env_target_alias_value=$target_alias | | |
| ac_env_CC_set=${CC+set} | | |
| ac_env_CC_value=$CC | | |
| ac_cv_env_CC_set=${CC+set} | | |
| ac_cv_env_CC_value=$CC | | |
| ac_env_CFLAGS_set=${CFLAGS+set} | | |
| ac_env_CFLAGS_value=$CFLAGS | | |
| ac_cv_env_CFLAGS_set=${CFLAGS+set} | | |
| ac_cv_env_CFLAGS_value=$CFLAGS | | |
| ac_env_LDFLAGS_set=${LDFLAGS+set} | | |
| ac_env_LDFLAGS_value=$LDFLAGS | | |
| ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | | |
| ac_cv_env_LDFLAGS_value=$LDFLAGS | | |
| ac_env_CPPFLAGS_set=${CPPFLAGS+set} | | |
| ac_env_CPPFLAGS_value=$CPPFLAGS | | |
| ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | | |
| ac_cv_env_CPPFLAGS_value=$CPPFLAGS | | |
| ac_env_CPP_set=${CPP+set} | | |
| ac_env_CPP_value=$CPP | | |
| ac_cv_env_CPP_set=${CPP+set} | | |
| ac_cv_env_CPP_value=$CPP | | |
| | | |
| # | | |
| # Report the --help message. | | |
| # | | |
| if test "$ac_init_help" = "long"; then | | |
| # Omit some internal or obsolete options to make the list less imposing. | | |
| # This message is too long to be a string in the A/UX 3.1 sh. | | |
| cat <<_ACEOF | | |
| \`configure' configures this package to adapt to many kinds of systems. | | |
| | | |
| Usage: $0 [OPTION]... [VAR=VALUE]... | | |
| | | |
| To assign environment variables (e.g., CC, CFLAGS...), specify them as | | |
| VAR=VALUE. See below for descriptions of some of the useful variables. | | |
| | | |
| Defaults for the options are specified in brackets. | | |
| | | |
| Configuration: | | |
| -h, --help display this help and exit | | |
| --help=short display options specific to this package | | |
| --help=recursive display the short help of all the included packages | | |
| -V, --version display version information and exit | | |
| -q, --quiet, --silent do not print \`checking...' messages | | |
| --cache-file=FILE cache test results in FILE [disabled] | | |
| -C, --config-cache alias for \`--cache-file=config.cache' | | |
| -n, --no-create do not create output files | | |
| --srcdir=DIR find the sources in DIR [configure dir or \`..'] | | |
| | | |
| _ACEOF | | |
| | | |
| cat <<_ACEOF | | |
| Installation directories: | | |
| --prefix=PREFIX install architecture-independent files in PREFIX | | |
| [$ac_default_prefix] | | |
| --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | | |
| [PREFIX] | | |
| | | |
| By default, \`make install' will install all the files in | | |
| \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | | |
| an installation prefix other than \`$ac_default_prefix' using \`--prefix', | | |
| for instance \`--prefix=\$HOME'. | | |
| | | |
| For better control, use the options below. | | |
| | | |
| Fine tuning of the installation directories: | | |
| --bindir=DIR user executables [EPREFIX/bin] | | |
| --sbindir=DIR system admin executables [EPREFIX/sbin] | | |
| --libexecdir=DIR program executables [EPREFIX/libexec] | | |
| --datadir=DIR read-only architecture-independent data [PREFIX/share] | | |
| --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | | |
| --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | | |
| --localstatedir=DIR modifiable single-machine data [PREFIX/var] | | |
| --libdir=DIR object code libraries [EPREFIX/lib] | | |
| --includedir=DIR C header files [PREFIX/include] | | |
| --oldincludedir=DIR C header files for non-gcc [/usr/include] | | |
| --infodir=DIR info documentation [PREFIX/info] | | |
| --mandir=DIR man documentation [PREFIX/man] | | |
| _ACEOF | | |
| | | |
| cat <<\_ACEOF | | |
| | | |
| X features: | | |
| --x-includes=DIR X include files are in DIR | | |
| --x-libraries=DIR X library files are in DIR | | |
| | | |
| System types: | | |
| --build=BUILD configure for building on BUILD [guessed] | | |
| --host=HOST build programs to run on HOST [BUILD] | | |
| --target=TARGET configure for building compilers for TARGET [HOST] | | |
| _ACEOF | | |
| fi | | |
| | | |
| if test -n "$ac_init_help"; then | | |
| | | |
| cat <<\_ACEOF | | |
| | | |
| Optional Features: | | |
| --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | | |
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | | |
| --enable-old-layout Use the old (0.95.3 and earlier) install layout | | |
| | | |
| Optional Packages: | | |
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | | |
| --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | | |
| --with-ldflags=dir provide addition linker directives to find libraries | | |
| --with-includes=dir provide different compiler options to find headers with | | |
| --with-x use the X Window System | | |
| | | |
| Some influential environment variables: | | |
| CC C compiler command | | |
| CFLAGS C compiler flags | | |
| LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | | |
| nonstandard directory <lib dir> | | |
| CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | | |
| headers in a nonstandard directory <include dir> | | |
| CPP C preprocessor | | |
| | | |
| Use these variables to override the choices made by `configure' or to help | | |
| it to find libraries and programs with nonstandard names/locations. | | |
| | | |
| _ACEOF | | |
| fi | | |
| | | |
| if test "$ac_init_help" = "recursive"; then | | |
| # If there are subdirs, report their specific --help. | | |
| ac_popdir=`pwd` | | |
| for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | | |
| cd $ac_dir | | |
| if test "$ac_dir" != .; then | | |
| ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'` | | |
| # A "../" for each directory in $ac_dir_suffix. | | |
| ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` | | |
| else | | |
| ac_dir_suffix= ac_top_builddir= | | |
| fi | | |
| | | |
| case $srcdir in | | |
| .) # No --srcdir option. We are building in place. | | |
| ac_srcdir=. | | |
| if test -z "$ac_top_builddir"; then | | |
| ac_top_srcdir=. | | |
| else | | else |
| ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
| fi ;; | | |
| [\\/]* | ?:[\\/]* ) # Absolute path. | | |
| ac_srcdir=$srcdir$ac_dir_suffix; | | |
| ac_top_srcdir=$srcdir ;; | | |
| *) # Relative path. | | |
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | | |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; | | |
| esac | | |
| | | |
| # Check for guested configure; otherwise get Cygnus style configure. | | |
| if test -f $ac_srcdir/configure.gnu; then | | |
| echo | | |
| $SHELL $ac_srcdir/configure.gnu --help=recursive | | |
| elif test -f $ac_srcdir/configure; then | | |
| echo | | |
| $SHELL $ac_srcdir/configure --help=recursive | | |
| elif test -f $ac_srcdir/configure.ac || | | |
| test -f $ac_srcdir/configure.in; then | | |
| echo | | |
| $ac_configure --help | | |
| else | | |
| echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | | |
| fi | | |
| cd $ac_popdir | | |
| done | | |
| fi | | fi |
| | | |
| test -n "$ac_init_help" && exit 0 | | |
| if $ac_init_version; then | | |
| cat <<\_ACEOF | | |
| | | |
| Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | | |
| Free Software Foundation, Inc. | | |
| This configure script is free software; the Free Software Foundation | | |
| gives unlimited permission to copy, distribute and modify it. | | |
| _ACEOF | | |
| exit 0 | | |
| fi | | fi |
| exec 5>config.log | | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
| cat >&5 <<_ACEOF | | |
| This file contains any messages produced by compilers while | | |
| running configure, to aid debugging if configure makes a mistake. | | |
| | | |
| It was created by $as_me, which was | | |
| generated by GNU Autoconf 2.52d. Invocation command line was | | |
| | | |
| $ $0 $@ | | |
| | | |
| _ACEOF | | |
| { | | |
| cat <<_ASUNAME | | |
| ## --------- ## | | |
| ## Platform. ## | | |
| ## --------- ## | | |
| | | |
| hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | | |
| uname -m = `(uname -m) 2>/dev/null || echo unknown` | | |
| uname -r = `(uname -r) 2>/dev/null || echo unknown` | | |
| uname -s = `(uname -s) 2>/dev/null || echo unknown` | | |
| uname -v = `(uname -v) 2>/dev/null || echo unknown` | | |
| | | |
| /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | | |
| /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | | |
| | | |
| /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | | |
| /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | | |
| /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | | |
| hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | | |
| /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | | |
| /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | | |
| /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | | |
| | | |
| PATH = $PATH | | |
| | | |
| _ASUNAME | | |
| } >&5 | | |
| | | |
| cat >&5 <<_ACEOF | | |
| ## ----------- ## | | |
| ## Core tests. ## | | |
| ## ----------- ## | | |
| | | |
| _ACEOF | | |
| | | |
| # Keep a trace of the command line. | | |
| # Strip out --no-create and --no-recursion so they do not pile up. | | |
| # Also quote any args containing shell meta-characters. | | |
| ac_configure_args= | | |
| ac_sep= | | |
| for ac_arg | | |
| do | | |
| case $ac_arg in | | |
| -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | | |
| | --no-cr | --no-c) ;; | | |
| -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | | |
| | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | | |
| *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | | |
| ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` | | |
| ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | | |
| ac_sep=" " ;; | | |
| *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" | | |
| ac_sep=" " ;; | | |
| esac | | |
| # Get rid of the leading space. | | |
| done | | |
| | | |
| # When interrupted or exit'd, cleanup temporary files, and complete | | |
| # config.log. We remove comments because anyway the quotes in there | | |
| # would cause problems or look ugly. | | |
| # WARNING: Be sure not to use single quotes in there, as some shells, | | |
| # such as our DU 5.0 friend, will then `close' the trap. | | |
| trap 'exit_status=$? | | |
| # Save into config.log some information that might help in debugging. | | |
| { | | |
| echo | | |
| cat <<\_ASBOX | | |
| ## ---------------- ## | | |
| ## Cache variables. ## | | |
| ## ---------------- ## | | |
| _ASBOX | | |
| echo | | |
| # The following way of writing the cache mishandles newlines in values, | | |
| { | | |
| (set) 2>&1 | | | |
| case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | | |
| *ac_space=\ *) | | |
| sed -n \ | | |
| "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | | |
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | | |
| ;; | | |
| *) | | |
| sed -n \ | | |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | | |
| ;; | | |
| esac; | | |
| } | | |
| echo | | |
| if test -s confdefs.h; then | | |
| cat <<\_ASBOX | | |
| ## ----------- ## | | |
| ## confdefs.h. ## | | |
| ## ----------- ## | | |
| _ASBOX | | |
| echo | | |
| sed "/^$/d" confdefs.h | | |
| echo | | |
| fi | | |
| test "$ac_signal" != 0 && | | |
| echo "$as_me: caught signal $ac_signal" | | |
| echo "$as_me: exit $exit_status" | | |
| } >&5 | | |
| rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && | | |
| exit $exit_status | | |
| ' 0 | | |
| for ac_signal in 1 2 13 15; do | | |
| trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | | |
| done | | |
| ac_signal=0 | | |
| | | |
| # confdefs.h avoids OS command line length limits that DEFS can exceed. | | |
| rm -rf conftest* confdefs.h | | |
| # AIX cpp loses on an empty file, so make sure it contains at least a newline. | | |
| echo >confdefs.h | | |
| | | |
| # Let the site file select an alternate cache file if it wants to. | | |
| # Prefer explicitly selected file to automatically selected ones. | | # Prefer explicitly selected file to automatically selected ones. |
| if test -z "$CONFIG_SITE"; then | | if test -z "$CONFIG_SITE"; then |
| if test "x$prefix" != xNONE; then | | if test "x$prefix" != xNONE; then |
| | |
| fi | | fi |
| for ac_site_file in $CONFIG_SITE; do | | for ac_site_file in $CONFIG_SITE; do |
| if test -r "$ac_site_file"; then | | if test -r "$ac_site_file"; then |
| { echo "$as_me:900: loading site script $ac_site_file" >&5 | | echo "loading site script $ac_site_file" |
| echo "$as_me: loading site script $ac_site_file" >&6;} | | |
| sed 's/^/| /' "$ac_site_file" >&5 | | |
| . "$ac_site_file" | | . "$ac_site_file" |
| fi | | fi |
| done | | done |
| | | |
| if test -r "$cache_file"; then | | if test -r "$cache_file"; then |
| # Some versions of bash will fail to source /dev/null (special | | echo "loading cache $cache_file" |
| # files actually), so we avoid doing that. | | . $cache_file |
| if test -f "$cache_file"; then | | |
| { echo "$as_me:911: loading cache $cache_file" >&5 | | |
| echo "$as_me: loading cache $cache_file" >&6;} | | |
| case $cache_file in | | |
| [\\/]* | ?:[\\/]* ) . $cache_file;; | | |
| *) . ./$cache_file;; | | |
| esac | | |
| fi | | |
| else | | else |
| { echo "$as_me:919: creating cache $cache_file" >&5 | | echo "creating cache $cache_file" |
| echo "$as_me: creating cache $cache_file" >&6;} | | |
| >$cache_file | | >$cache_file |
| fi | | fi |
| | | |
| # Check that the precious variables saved in the cache have kept the same | | |
| # value. | | |
| ac_cache_corrupted=false | | |
| for ac_var in `(set) 2>&1 | | | |
| sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | | |
| eval ac_old_set=\$ac_cv_env_${ac_var}_set | | |
| eval ac_new_set=\$ac_env_${ac_var}_set | | |
| eval ac_old_val="\$ac_cv_env_${ac_var}_value" | | |
| eval ac_new_val="\$ac_env_${ac_var}_value" | | |
| case $ac_old_set,$ac_new_set in | | |
| set,) | | |
| { echo "$as_me:935: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | | |
| echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | | |
| ac_cache_corrupted=: ;; | | |
| ,set) | | |
| { echo "$as_me:939: error: \`$ac_var' was not set in the previous run" >&5 | | |
| echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | | |
| ac_cache_corrupted=: ;; | | |
| ,);; | | |
| *) | | |
| if test "x$ac_old_val" != "x$ac_new_val"; then | | |
| { echo "$as_me:945: error: \`$ac_var' has changed since the previous run:" >&5 | | |
| echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | | |
| { echo "$as_me:947: former value: $ac_old_val" >&5 | | |
| echo "$as_me: former value: $ac_old_val" >&2;} | | |
| { echo "$as_me:949: current value: $ac_new_val" >&5 | | |
| echo "$as_me: current value: $ac_new_val" >&2;} | | |
| ac_cache_corrupted=: | | |
| fi;; | | |
| esac | | |
| # Pass precious variables to config.status. It doesn't matter if | | |
| # we pass some twice (in addition to the command line arguments). | | |
| if test "$ac_new_set" = set; then | | |
| case $ac_new_val in | | |
| *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | | |
| ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` | | |
| ac_configure_args="$ac_configure_args '$ac_arg'" | | |
| ;; | | |
| *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" | | |
| ;; | | |
| esac | | |
| fi | | |
| done | | |
| if $ac_cache_corrupted; then | | |
| { echo "$as_me:968: error: changes in the environment can compromise the build" >&5 | | |
| echo "$as_me: error: changes in the environment can compromise the build" >&2;} | | |
| { { echo "$as_me:970: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | | |
| echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi | | |
| | | |
| ac_ext=c | | ac_ext=c |
| | | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| ac_cpp='$CPP $CPPFLAGS' | | ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | | cross_compiling=$ac_cv_prog_cc_cross |
| | | |
| case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | | ac_exeext= |
| *c*,-n*) ECHO_N= ECHO_C=' | | ac_objext=o |
| ' ECHO_T=' ' ;; | | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
| *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
| *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
| esac | | ac_n= ac_c=' |
| echo "#! $SHELL" >conftest.sh | | ' ac_t=' ' |
| echo "exit 0" >>conftest.sh | | else |
| chmod +x conftest.sh | | ac_n=-n ac_c= ac_t= |
| if { (echo "$as_me:990: PATH=\".;.\"; conftest.sh") >&5 | | fi |
| (PATH=".;."; conftest.sh) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:993: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; then | | |
| ac_path_separator=';' | | |
| else | | else |
| ac_path_separator=: | | ac_n= ac_c='\c' ac_t= |
| fi | | fi |
| PATH_SEPARATOR="$ac_path_separator" | | |
| rm -f conftest.sh | | |
| | | |
| ac_config_headers="$ac_config_headers include/autoconf.h" | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| ac_aux_dir= | | ac_aux_dir= |
| for ac_dir in utils/ $srcdir/utils/; do | | for ac_dir in utils/ $srcdir/utils/; do |
| | |
| ac_aux_dir=$ac_dir | | ac_aux_dir=$ac_dir |
| ac_install_sh="$ac_aux_dir/install.sh -c" | | ac_install_sh="$ac_aux_dir/install.sh -c" |
| break | | break |
| elif test -f $ac_dir/shtool; then | | |
| ac_aux_dir=$ac_dir | | |
| ac_install_sh="$ac_aux_dir/shtool install -c" | | |
| break | | |
| fi | | fi |
| done | | done |
| if test -z "$ac_aux_dir"; then | | if test -z "$ac_aux_dir"; then |
| { { echo "$as_me:1021: error: cannot find install-sh or install.sh in utils/ $srcdir/utils/" >&5 | | { echo "configure: error: can not find install-sh or install.sh in utils/ $srcdir/utils/" 1>&2; exit 1; } |
| echo "$as_me: error: cannot find install-sh or install.sh in utils/ $srcdir/utils/" >&2;} | | fi |
| { (exit 1); exit 1; }; } | | ac_config_guess=$ac_aux_dir/config.guess |
| fi | | ac_config_sub=$ac_aux_dir/config.sub |
| ac_config_guess="$SHELL $ac_aux_dir/config.guess" | | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
| ac_config_sub="$SHELL $ac_aux_dir/config.sub" | | |
| ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | | |
| | | |
| # Make sure we can run config.sub. | | |
| $ac_config_sub sun4 >/dev/null 2>&1 || | | |
| { { echo "$as_me:1031: error: cannot run $ac_config_sub" >&5 | | # Do some error checking and defaulting for the host and target type. |
| echo "$as_me: error: cannot run $ac_config_sub" >&2;} | | # The inputs are: |
| { (exit 1); exit 1; }; } | | # configure --host=HOST --target=TARGET --build=BUILD NONOPT |
| | | # |
| echo "$as_me:1035: checking build system type" >&5 | | # The rules are: |
| echo $ECHO_N "checking build system type... $ECHO_C" >&6 | | # 1. You are not allowed to specify --host, --target, and nonopt at the |
| if test "${ac_cv_build+set}" = set; then | | # same time. |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | # 2. Host defaults to nonopt. |
| else | | # 3. If nonopt is not specified, then host defaults to the current host, |
| ac_cv_build_alias=$build_alias | | # as determined by config.guess. |
| test -z "$ac_cv_build_alias" && | | # 4. Target and build default to nonopt. |
| ac_cv_build_alias=`$ac_config_guess` | | # 5. If nonopt is not specified, then target and build default to host. |
| test -z "$ac_cv_build_alias" && | | |
| { { echo "$as_me:1044: error: cannot guess build type; you must specify one" >&5 | | |
| echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | | |
| { { echo "$as_me:1048: error: $ac_config_sub $ac_cv_build_alias failed." >&5 | | |
| echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| | | |
| fi | | |
| echo "$as_me:1053: result: $ac_cv_build" >&5 | | |
| echo "${ECHO_T}$ac_cv_build" >&6 | | |
| build=$ac_cv_build | | |
| build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | | |
| build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | | |
| build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | | |
| | | |
| echo "$as_me:1060: checking host system type" >&5 | | |
| echo $ECHO_N "checking host system type... $ECHO_C" >&6 | | |
| if test "${ac_cv_host+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| ac_cv_host_alias=$host_alias | | |
| test -z "$ac_cv_host_alias" && | | |
| ac_cv_host_alias=$ac_cv_build_alias | | |
| ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | | |
| { { echo "$as_me:1069: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | | |
| echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| | | |
| fi | | |
| echo "$as_me:1074: result: $ac_cv_host" >&5 | | |
| echo "${ECHO_T}$ac_cv_host" >&6 | | |
| host=$ac_cv_host | | |
| host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | | |
| host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | | |
| host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | | |
| | | |
| echo "$as_me:1081: checking target system type" >&5 | | |
| echo $ECHO_N "checking target system type... $ECHO_C" >&6 | | |
| if test "${ac_cv_target+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| ac_cv_target_alias=$target_alias | | |
| test "x$ac_cv_target_alias" = "x" && | | |
| ac_cv_target_alias=$ac_cv_host_alias | | |
| ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | | |
| { { echo "$as_me:1090: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | | |
| echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| | | |
| fi | | |
| echo "$as_me:1095: result: $ac_cv_target" >&5 | | |
| echo "${ECHO_T}$ac_cv_target" >&6 | | |
| target=$ac_cv_target | | |
| target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | | |
| target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | | |
| target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | | |
| | | |
| # The aliases save the names the user supplied, while $host etc. | | # The aliases save the names the user supplied, while $host etc. |
| # will get canonicalized. | | # will get canonicalized. |
| test -n "$target_alias" && | | case $host---$target---$nonopt in |
| | | NONE---*---* | *---NONE---* | *---*---NONE) ;; |
| | | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
| | | esac |
| | | |
| | | |
| | | # Make sure we can run config.sub. |
| | | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
| | | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
| | | fi |
| | | |
| | | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| | | echo "configure:597: checking host system type" >&5 |
| | | |
| | | host_alias=$host |
| | | case "$host_alias" in |
| | | NONE) |
| | | case $nonopt in |
| | | NONE) |
| | | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
| | | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
| | | fi ;; |
| | | *) host_alias=$nonopt ;; |
| | | esac ;; |
| | | esac |
| | | |
| | | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
| | | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| | | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| | | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| | | echo "$ac_t""$host" 1>&6 |
| | | |
| | | echo $ac_n "checking target system type""... $ac_c" 1>&6 |
| | | echo "configure:618: checking target system type" >&5 |
| | | |
| | | target_alias=$target |
| | | case "$target_alias" in |
| | | NONE) |
| | | case $nonopt in |
| | | NONE) target_alias=$host_alias ;; |
| | | *) target_alias=$nonopt ;; |
| | | esac ;; |
| | | esac |
| | | |
| | | target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` |
| | | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| | | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| | | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| | | echo "$ac_t""$target" 1>&6 |
| | | |
| | | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
| | | echo "configure:636: checking build system type" >&5 |
| | | |
| | | build_alias=$build |
| | | case "$build_alias" in |
| | | NONE) |
| | | case $nonopt in |
| | | NONE) build_alias=$host_alias ;; |
| | | *) build_alias=$nonopt ;; |
| | | esac ;; |
| | | esac |
| | | |
| | | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
| | | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| | | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| | | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| | | echo "$ac_t""$build" 1>&6 |
| | | |
| | | test "$host_alias" != "$target_alias" && |
| test "$program_prefix$program_suffix$program_transform_name" = \ | | test "$program_prefix$program_suffix$program_transform_name" = \ |
| NONENONEs,x,x, && | | NONENONEs,x,x, && |
| program_prefix=${target_alias}- | | program_prefix=${target_alias}- |
| ac_ext=c | | |
| ac_cpp='$CPP $CPPFLAGS' | | # Extract the first word of "gcc", so it can be a program name with args. |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | set dummy gcc; ac_word=$2 |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | | echo "configure:661: checking for $ac_word" >&5 |
| if test -n "$ac_tool_prefix"; then | | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | | echo $ac_n "(cached) $ac_c" 1>&6 |
| set dummy ${ac_tool_prefix}gcc; ac_word=$2 | | |
| echo "$as_me:1116: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_CC+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| if test -n "$CC"; then | | if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. | | ac_cv_prog_CC="$CC" # Let the user override the test. |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| $as_executable_p "$ac_dir/$ac_word" || continue | | if test -f $ac_dir/$ac_word; then |
| ac_cv_prog_CC="${ac_tool_prefix}gcc" | | ac_cv_prog_CC="gcc" |
| echo "$as_me:1131: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| fi | | fi |
| fi | | fi |
| CC=$ac_cv_prog_CC | | CC="$ac_cv_prog_CC" |
| if test -n "$CC"; then | | if test -n "$CC"; then |
| echo "$as_me:1139: result: $CC" >&5 | | echo "$ac_t""$CC" 1>&6 |
| echo "${ECHO_T}$CC" >&6 | | |
| else | | else |
| echo "$as_me:1142: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| fi | | if test -z "$CC"; then |
| if test -z "$ac_cv_prog_CC"; then | | # Extract the first word of "cc", so it can be a program name with args. |
| ac_ct_CC=$CC | | set dummy cc; ac_word=$2 |
| # Extract the first word of "gcc", so it can be a program name with args. | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| set dummy gcc; ac_word=$2 | | echo "configure:691: checking for $ac_word" >&5 |
| echo "$as_me:1151: checking for $ac_word" >&5 | | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| if test -n "$ac_ct_CC"; then | | if test -n "$CC"; then |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | ac_cv_prog_CC="$CC" # Let the user override the test. |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| | | ac_prog_rejected=no |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| $as_executable_p "$ac_dir/$ac_word" || continue | | if test -f $ac_dir/$ac_word; then |
| ac_cv_prog_ac_ct_CC="gcc" | | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| echo "$as_me:1166: found $ac_dir/$ac_word" >&5 | | ac_prog_rejected=yes |
| | | continue |
| | | fi |
| | | ac_cv_prog_CC="cc" |
| break | | break |
| | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| | | if test $ac_prog_rejected = yes; then |
| | | # We found a bogon in the path, so make sure we never use it. |
| | | set dummy $ac_cv_prog_CC |
| | | shift |
| | | if test $# -gt 0; then |
| | | # We chose a different compiler from the bogus one. |
| | | # However, it has the same basename, so the bogon will be chosen |
| | | # first if we set CC to just the basename; use the full file name. |
| | | shift |
| | | set dummy "$ac_dir/$ac_word" "$@" |
| | | shift |
| | | ac_cv_prog_CC="$@" |
| fi | | fi |
| fi | | fi |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | | fi |
| if test -n "$ac_ct_CC"; then | | fi |
| echo "$as_me:1174: result: $ac_ct_CC" >&5 | | CC="$ac_cv_prog_CC" |
| echo "${ECHO_T}$ac_ct_CC" >&6 | | if test -n "$CC"; then |
| | | echo "$ac_t""$CC" 1>&6 |
| else | | else |
| echo "$as_me:1177: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | |
| | | |
| CC=$ac_ct_CC | | |
| else | | |
| CC="$ac_cv_prog_CC" | | |
| fi | | fi |
| | | |
| if test -z "$CC"; then | | if test -z "$CC"; then |
| if test -n "$ac_tool_prefix"; then | | case "`uname -s`" in |
| # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | | *win32* | *WIN32*) |
| set dummy ${ac_tool_prefix}cc; ac_word=$2 | | # Extract the first word of "cl", so it can be a program name with args. |
| echo "$as_me:1190: checking for $ac_word" >&5 | | set dummy cl; ac_word=$2 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| if test "${ac_cv_prog_CC+set}" = set; then | | echo "configure:742: checking for $ac_word" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| if test -n "$CC"; then | | if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. | | ac_cv_prog_CC="$CC" # Let the user override the test. |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| $as_executable_p "$ac_dir/$ac_word" || continue | | if test -f $ac_dir/$ac_word; then |
| ac_cv_prog_CC="${ac_tool_prefix}cc" | | ac_cv_prog_CC="cl" |
| echo "$as_me:1205: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| done | | |
| | | |
| fi | | fi |
| fi | | |
| CC=$ac_cv_prog_CC | | |
| if test -n "$CC"; then | | |
| echo "$as_me:1213: result: $CC" >&5 | | |
| echo "${ECHO_T}$CC" >&6 | | |
| else | | |
| echo "$as_me:1216: result: no" >&5 | | |
| echo "${ECHO_T}no" >&6 | | |
| fi | | |
| | | |
| fi | | |
| if test -z "$ac_cv_prog_CC"; then | | |
| ac_ct_CC=$CC | | |
| # Extract the first word of "cc", so it can be a program name with args. | | |
| set dummy cc; ac_word=$2 | | |
| echo "$as_me:1225: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| if test -n "$ac_ct_CC"; then | | |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | |
| else | | |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | |
| ac_dummy="$PATH" | | |
| for ac_dir in $ac_dummy; do | | |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | |
| $as_executable_p "$ac_dir/$ac_word" || continue | | |
| ac_cv_prog_ac_ct_CC="cc" | | |
| echo "$as_me:1240: found $ac_dir/$ac_word" >&5 | | |
| break | | |
| done | | done |
| | | IFS="$ac_save_ifs" |
| fi | | fi |
| fi | | fi |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | | |
| if test -n "$ac_ct_CC"; then | | |
| echo "$as_me:1248: result: $ac_ct_CC" >&5 | | |
| echo "${ECHO_T}$ac_ct_CC" >&6 | | |
| else | | |
| echo "$as_me:1251: result: no" >&5 | | |
| echo "${ECHO_T}no" >&6 | | |
| fi | | |
| | | |
| CC=$ac_ct_CC | | |
| else | | |
| CC="$ac_cv_prog_CC" | | CC="$ac_cv_prog_CC" |
| fi | | |
| | | |
| fi | | |
| if test -z "$CC"; then | | |
| # Extract the first word of "cc", so it can be a program name with args. | | |
| set dummy cc; ac_word=$2 | | |
| echo "$as_me:1264: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_CC+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| if test -n "$CC"; then | | if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. | | echo "$ac_t""$CC" 1>&6 |
| else | | else |
| ac_prog_rejected=no | | echo "$ac_t""no" 1>&6 |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | |
| ac_dummy="$PATH" | | |
| for ac_dir in $ac_dummy; do | | |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | |
| $as_executable_p "$ac_dir/$ac_word" || continue | | |
| if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | | |
| ac_prog_rejected=yes | | |
| continue | | |
| fi | | |
| ac_cv_prog_CC="cc" | | |
| echo "$as_me:1284: found $ac_dir/$ac_word" >&5 | | |
| break | | |
| done | | |
| | | |
| if test $ac_prog_rejected = yes; then | | |
| # We found a bogon in the path, so make sure we never use it. | | |
| set dummy $ac_cv_prog_CC | | |
| shift | | |
| if test $# != 0; then | | |
| # We chose a different compiler from the bogus one. | | |
| # However, it has the same basename, so the bogon will be chosen | | |
| # first if we set CC to just the basename; use the full file name. | | |
| shift | | |
| set dummy "$ac_dir/$ac_word" ${1+"$@"} | | |
| shift | | |
| ac_cv_prog_CC="$@" | | |
| fi | | |
| fi | | |
| fi | | |
| fi | | |
| CC=$ac_cv_prog_CC | | |
| if test -n "$CC"; then | | |
| echo "$as_me:1306: result: $CC" >&5 | | |
| echo "${ECHO_T}$CC" >&6 | | |
| else | | |
| echo "$as_me:1309: result: no" >&5 | | |
| echo "${ECHO_T}no" >&6 | | |
| fi | | |
| | | |
| fi | | |
| if test -z "$CC"; then | | |
| if test -n "$ac_tool_prefix"; then | | |
| for ac_prog in cl | | |
| do | | |
| # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | | |
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | | |
| echo "$as_me:1320: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_CC+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| if test -n "$CC"; then | | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | | |
| else | | |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | |
| ac_dummy="$PATH" | | |
| for ac_dir in $ac_dummy; do | | |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | |
| $as_executable_p "$ac_dir/$ac_word" || continue | | |
| ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | | |
| echo "$as_me:1335: found $ac_dir/$ac_word" >&5 | | |
| break | | |
| done | | |
| | | |
| fi | | |
| fi | | |
| CC=$ac_cv_prog_CC | | |
| if test -n "$CC"; then | | |
| echo "$as_me:1343: result: $CC" >&5 | | |
| echo "${ECHO_T}$CC" >&6 | | |
| else | | |
| echo "$as_me:1346: result: no" >&5 | | |
| echo "${ECHO_T}no" >&6 | | |
| fi | | |
| | | |
| test -n "$CC" && break | | |
| done | | |
| fi | | fi |
| if test -z "$CC"; then | | ;; |
| ac_ct_CC=$CC | | esac |
| for ac_prog in cl | | |
| do | | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | | |
| set dummy $ac_prog; ac_word=$2 | | |
| echo "$as_me:1359: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| if test -n "$ac_ct_CC"; then | | |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | |
| else | | |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | |
| ac_dummy="$PATH" | | |
| for ac_dir in $ac_dummy; do | | |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | |
| $as_executable_p "$ac_dir/$ac_word" || continue | | |
| ac_cv_prog_ac_ct_CC="$ac_prog" | | |
| echo "$as_me:1374: found $ac_dir/$ac_word" >&5 | | |
| break | | |
| done | | |
| | | |
| fi | | |
| fi | | |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | | |
| if test -n "$ac_ct_CC"; then | | |
| echo "$as_me:1382: result: $ac_ct_CC" >&5 | | |
| echo "${ECHO_T}$ac_ct_CC" >&6 | | |
| else | | |
| echo "$as_me:1385: result: no" >&5 | | |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| test -n "$ac_ct_CC" && break | | |
| done | | |
| | | |
| CC=$ac_ct_CC | | |
| fi | | fi |
| | | |
| fi | | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| | | echo "configure:774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| | | |
| test -z "$CC" && { { echo "$as_me:1397: error: no acceptable cc found in \$PATH" >&5 | | ac_ext=c |
| echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| { (exit 1); exit 1; }; } | | ac_cpp='$CPP $CPPFLAGS' |
| | | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| | | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| | | cross_compiling=$ac_cv_prog_cc_cross |
| | | |
| # Provide some information about the compiler. | | cat > conftest.$ac_ext << EOF |
| echo "$as_me:1402:" \ | | |
| "checking for C compiler version" >&5 | | |
| ac_compiler=`set X $ac_compile; echo $2` | | |
| { (eval echo "$as_me:1405: \"$ac_compiler --version </dev/null >&5\"") >&5 | | |
| (eval $ac_compiler --version </dev/null >&5) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1408: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } | | |
| { (eval echo "$as_me:1410: \"$ac_compiler -v </dev/null >&5\"") >&5 | | |
| (eval $ac_compiler -v </dev/null >&5) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1413: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } | | |
| { (eval echo "$as_me:1415: \"$ac_compiler -V </dev/null >&5\"") >&5 | | |
| (eval $ac_compiler -V </dev/null >&5) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1418: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } | | |
| | | |
| cat >conftest.$ac_ext <<_ACEOF | | #line 785 "configure" |
| #line 1422 "configure" | | |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | main(){return(0);} |
| # ifdef __cplusplus | | EOF |
| extern "C" | | if { (eval echo configure:790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| # endif | | ac_cv_prog_cc_works=yes |
| int F77_DUMMY_MAIN() { return 1; } | | # If we can't run a trivial program, we are probably using a cross compiler. |
| #endif | | if (./conftest; exit) 2>/dev/null; then |
| int | | ac_cv_prog_cc_cross=no |
| main () | | |
| { | | |
| | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| ac_clean_files_save=$ac_clean_files | | |
| ac_clean_files="$ac_clean_files a.out a.exe" | | |
| # Try to create an executable without -o first, disregard a.out. | | |
| # It will help us diagnose broken compilers, and finding out an intuition | | |
| # of exeext. | | |
| echo "$as_me:1444: checking for C compiler default output" >&5 | | |
| echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | | |
| ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | | |
| if { (eval echo "$as_me:1447: \"$ac_link_default\"") >&5 | | |
| (eval $ac_link_default) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1450: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; then | | |
| # Find the output, starting from the most likely. This scheme is | | |
| # not robust to junk in `.', hence go to wildcards (a.*) only as a last | | |
| # resort. | | |
| for ac_file in `ls a.exe conftest.exe 2>/dev/null; | | |
| ls a.out conftest 2>/dev/null; | | |
| ls a.* conftest.* 2>/dev/null`; do | | |
| case $ac_file in | | |
| *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | | |
| a.out ) # We found the default executable, but exeext='' is most | | |
| # certainly right. | | |
| break;; | | |
| *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | | |
| # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | | |
| export ac_cv_exeext | | |
| break;; | | |
| * ) break;; | | |
| esac | | |
| done | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | ac_cv_prog_cc_cross=yes |
| cat conftest.$ac_ext >&5 | | fi |
| { { echo "$as_me:1473: error: C compiler cannot create executables" >&5 | | |
| echo "$as_me: error: C compiler cannot create executables" >&2;} | | |
| { (exit 77); exit 77; }; } | | |
| fi | | |
| | | |
| ac_exeext=$ac_cv_exeext | | |
| echo "$as_me:1479: result: $ac_file" >&5 | | |
| echo "${ECHO_T}$ac_file" >&6 | | |
| | | |
| # Check the compiler produces executables we can run. If not, either | | |
| # the compiler is broken, or we cross compile. | | |
| echo "$as_me:1484: checking whether the C compiler works" >&5 | | |
| echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | | |
| # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | | |
| # If not cross compiling, check that we can run a simple program. | | |
| if test "$cross_compiling" != yes; then | | |
| if { ac_try='./$ac_file' | | |
| { (eval echo "$as_me:1490: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1493: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| cross_compiling=no | | |
| else | | |
| if test "$cross_compiling" = maybe; then | | |
| cross_compiling=yes | | |
| else | | |
| { { echo "$as_me:1500: error: cannot run C compiled programs. | | |
| If you meant to cross compile, use \`--host'." >&5 | | |
| echo "$as_me: error: cannot run C compiled programs. | | |
| If you meant to cross compile, use \`--host'." >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi | | |
| fi | | |
| fi | | |
| echo "$as_me:1508: result: yes" >&5 | | |
| echo "${ECHO_T}yes" >&6 | | |
| | | |
| rm -f a.out a.exe conftest$ac_cv_exeext | | |
| ac_clean_files=$ac_clean_files_save | | |
| # Check the compiler produces executables we can run. If not, either | | |
| # the compiler is broken, or we cross compile. | | |
| echo "$as_me:1515: checking whether we are cross compiling" >&5 | | |
| echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | | |
| echo "$as_me:1517: result: $cross_compiling" >&5 | | |
| echo "${ECHO_T}$cross_compiling" >&6 | | |
| | | |
| echo "$as_me:1520: checking for executable suffix" >&5 | | |
| echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | | |
| if { (eval echo "$as_me:1522: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1525: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; then | | |
| # If both `conftest.exe' and `conftest' are `present' (well, observable) | | |
| # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | | |
| # work properly (i.e., refer to `conftest.exe'), while it won't with | | |
| # `rm'. | | |
| for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | | |
| case $ac_file in | | |
| *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | | |
| *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | | |
| export ac_cv_exeext | | |
| break;; | | |
| * ) break;; | | |
| esac | | |
| done | | |
| else | | else |
| { { echo "$as_me:1541: error: cannot compute EXEEXT: cannot compile and link" >&5 | | echo "configure: failed program was:" >&5 |
| echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | | cat conftest.$ac_ext >&5 |
| { (exit 1); exit 1; }; } | | ac_cv_prog_cc_works=no |
| fi | | fi |
| | | rm -fr conftest* |
| | | ac_ext=c |
| | | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| | | ac_cpp='$CPP $CPPFLAGS' |
| | | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| | | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| | | cross_compiling=$ac_cv_prog_cc_cross |
| | | |
| rm -f conftest$ac_cv_exeext | | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| echo "$as_me:1547: result: $ac_cv_exeext" >&5 | | if test $ac_cv_prog_cc_works = no; then |
| echo "${ECHO_T}$ac_cv_exeext" >&6 | | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| | | fi |
| | | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| | | echo "configure:816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| | | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| | | cross_compiling=$ac_cv_prog_cc_cross |
| | | |
| rm -f conftest.$ac_ext | | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| EXEEXT=$ac_cv_exeext | | echo "configure:821: checking whether we are using GNU C" >&5 |
| ac_exeext=$EXEEXT | | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| echo "$as_me:1553: checking for object suffix" >&5 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | | |
| if test "${ac_cv_objext+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.c <<EOF |
| #line 1559 "configure" | | #ifdef __GNUC__ |
| #include "confdefs.h" | | yes; |
| | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | #endif |
| int | | EOF |
| main () | | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| { | | ac_cv_prog_gcc=yes |
| | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.o conftest.obj | | |
| if { (eval echo "$as_me:1577: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1580: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; then | | |
| for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | | |
| case $ac_file in | | |
| *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | | |
| *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | | |
| break;; | | |
| esac | | |
| done | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | ac_cv_prog_gcc=no |
| cat conftest.$ac_ext >&5 | | |
| { { echo "$as_me:1592: error: cannot compute OBJEXT: cannot compile" >&5 | | |
| echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi | | fi |
| | | |
| rm -f conftest.$ac_cv_objext conftest.$ac_ext | | |
| fi | | fi |
| echo "$as_me:1599: result: $ac_cv_objext" >&5 | | |
| echo "${ECHO_T}$ac_cv_objext" >&6 | | |
| OBJEXT=$ac_cv_objext | | |
| ac_objext=$OBJEXT | | |
| echo "$as_me:1603: checking whether we are using the GNU C compiler" >&5 | | |
| echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | | |
| if test "${ac_cv_c_compiler_gnu+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 1609 "configure" | | |
| #include "confdefs.h" | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| #ifndef __GNUC__ | | |
| choke me | | |
| #endif | | |
| | | |
| ; | | if test $ac_cv_prog_gcc = yes; then |
| return 0; | | GCC=yes |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:1630: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1633: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:1636: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1639: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_compiler_gnu=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_compiler_gnu=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| ac_cv_c_compiler_gnu=$ac_compiler_gnu | | |
| | | |
| fi | | |
| echo "$as_me:1651: result: $ac_cv_c_compiler_gnu" >&5 | | |
| echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | | |
| GCC=`test $ac_compiler_gnu = yes && echo yes` | | |
| ac_test_CFLAGS=${CFLAGS+set} | | |
| ac_save_CFLAGS=$CFLAGS | | |
| CFLAGS="-g" | | |
| echo "$as_me:1657: checking whether $CC accepts -g" >&5 | | |
| echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_cc_g+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | GCC= |
| #line 1663 "configure" | | fi |
| #include "confdefs.h" | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| | | |
| ; | | ac_test_CFLAGS="${CFLAGS+set}" |
| return 0; | | ac_save_CFLAGS="$CFLAGS" |
| } | | CFLAGS= |
| _ACEOF | | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| rm -f conftest.$ac_objext | | echo "configure:849: checking whether ${CC-cc} accepts -g" >&5 |
| if { (eval echo "$as_me:1681: \"$ac_compile\"") >&5 | | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| (eval $ac_compile) 2>&5 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| ac_status=$? | | else |
| echo "$as_me:1684: \$? = $ac_status" >&5 | | echo 'void f(){}' > conftest.c |
| (exit $ac_status); } && | | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:1687: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1690: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_prog_cc_g=yes | | ac_cv_prog_cc_g=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_prog_cc_g=no | | ac_cv_prog_cc_g=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| | | |
| fi | | fi |
| echo "$as_me:1700: result: $ac_cv_prog_cc_g" >&5 | | |
| echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| if test "$ac_test_CFLAGS" = set; then | | if test "$ac_test_CFLAGS" = set; then |
| CFLAGS=$ac_save_CFLAGS | | CFLAGS="$ac_save_CFLAGS" |
| elif test $ac_cv_prog_cc_g = yes; then | | elif test $ac_cv_prog_cc_g = yes; then |
| if test "$GCC" = yes; then | | if test "$GCC" = yes; then |
| CFLAGS="-g -O2" | | CFLAGS="-g -O2" |
| | |
| CFLAGS= | | CFLAGS= |
| fi | | fi |
| fi | | fi |
| # Some people use a C++ compiler to compile C. Since we use `exit', | | |
| # in C++ we need to declare it. In case someone uses the same compiler | | |
| # for both compiling C and C++ we need to have the C++ compiler decide | | |
| # the declaration of exit, since it's the most demanding environment. | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #ifndef __cplusplus | | |
| choke me | | |
| #endif | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1730: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:1733: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1736: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| for ac_declaration in \ | | |
| ''\ | | |
| '#include <stdlib.h>' \ | | |
| 'extern "C" void std::exit (int) throw (); using std::exit;' \ | | |
| 'extern "C" void std::exit (int); using std::exit;' \ | | |
| 'extern "C" void exit (int) throw ();' \ | | |
| 'extern "C" void exit (int);' \ | | |
| 'void exit (int);' | | |
| do | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 1748 "configure" | | |
| #include "confdefs.h" | | |
| #include <stdlib.h> | | |
| $ac_declaration | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| exit (42); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:1767: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1770: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:1773: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1776: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| : | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| continue | | |
| fi | | |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 1786 "configure" | | |
| #include "confdefs.h" | | |
| $ac_declaration | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| exit (42); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:1804: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1807: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:1810: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:1813: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| break | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| fi | | |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| done | | |
| rm -f conftest* | | |
| if test -n "$ac_declaration"; then | | |
| echo '#ifdef __cplusplus' >>confdefs.h | | |
| echo $ac_declaration >>confdefs.h | | |
| echo '#endif' >>confdefs.h | | |
| fi | | |
| | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| fi | | |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| ac_ext=c | | |
| ac_cpp='$CPP $CPPFLAGS' | | |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | | |
| | | |
| case "$target" in | | case "$target" in |
| alpha-dec-osf*) | | alpha-dec-osf*) |
| | |
| ;; | | ;; |
| esac | | esac |
| | | |
| ac_ext=c | | |
| ac_cpp='$CPP $CPPFLAGS' | | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | echo "configure:895: checking how to run the C preprocessor" >&5 |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | | |
| echo "$as_me:1857: checking how to run the C preprocessor" >&5 | | |
| echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | | |
| # On Suns, sometimes $CPP names a directory. | | # On Suns, sometimes $CPP names a directory. |
| if test -n "$CPP" && test -d "$CPP"; then | | if test -n "$CPP" && test -d "$CPP"; then |
| CPP= | | CPP= |
| fi | | fi |
| if test -z "$CPP"; then | | if test -z "$CPP"; then |
| if test "${ac_cv_prog_CPP+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| # Double quotes because CPP needs to be expanded | | # This must be in double quotes, not single quotes, because CPP may get |
| for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | | # substituted into the Makefile and "${CC-cc}" will confuse make. |
| do | | CPP="${CC-cc} -E" |
| ac_preproc_ok=false | | |
| for ac_c_preproc_warn_flag in '' yes | | |
| do | | |
| # Use a header file that comes with gcc, so configuring glibc | | |
| # with a fresh cross-compiler works. | | |
| # On the NeXT, cc -E runs the code through the compiler's parser, | | # On the NeXT, cc -E runs the code through the compiler's parser, |
| # not just through cpp. "Syntax error" is here to catch this case. | | # not just through cpp. |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 1878 "configure" | | #line 910 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <assert.h> | | #include <assert.h> |
| Syntax error | | Syntax Error |
| _ACEOF | | EOF |
| if { (eval echo "$as_me:1883: \"$ac_cpp conftest.$ac_ext\"") >&5 | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | { (eval echo configure:916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_status=$? | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | if test -z "$ac_err"; then |
| rm -f conftest.er1 | | |
| cat conftest.err >&5 | | |
| echo "$as_me:1889: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | |
| else | | |
| ac_cpp_err=yes | | |
| fi | | |
| if test -z "$ac_cpp_err"; then | | |
| : | | : |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_err" >&5 |
| | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| # Broken: fails on valid input. | | rm -rf conftest* |
| continue | | CPP="${CC-cc} -E -traditional-cpp" |
| fi | | cat > conftest.$ac_ext <<EOF |
| rm -f conftest.err conftest.$ac_ext | | #line 927 "configure" |
| | | #include "confdefs.h" |
| # OK, works on sane cases. Now check whether non-existent headers | | #include <assert.h> |
| # can be detected and how. | | Syntax Error |
| cat >conftest.$ac_ext <<_ACEOF | | EOF |
| #line 1912 "configure" | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| #include "confdefs.h" | | { (eval echo configure:933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| #include <ac_nonexistent.h> | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| _ACEOF | | if test -z "$ac_err"; then |
| if { (eval echo "$as_me:1916: \"$ac_cpp conftest.$ac_ext\"") >&5 | | : |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | |
| ac_status=$? | | |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | |
| rm -f conftest.er1 | | |
| cat conftest.err >&5 | | |
| echo "$as_me:1922: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | |
| else | | |
| ac_cpp_err=yes | | |
| fi | | |
| if test -z "$ac_cpp_err"; then | | |
| # Broken: success on invalid input. | | |
| continue | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_err" >&5 |
| | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| # Passes both tests. | | rm -rf conftest* |
| ac_preproc_ok=: | | CPP="${CC-cc} -nologo -E" |
| break | | cat > conftest.$ac_ext <<EOF |
| fi | | #line 944 "configure" |
| rm -f conftest.err conftest.$ac_ext | | |
| | | |
| done | | |
| # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | | |
| rm -f conftest.err conftest.$ac_ext | | |
| if $ac_preproc_ok; then | | |
| break | | |
| fi | | |
| | | |
| done | | |
| ac_cv_prog_CPP=$CPP | | |
| | | |
| fi | | |
| CPP=$ac_cv_prog_CPP | | |
| else | | |
| ac_cv_prog_CPP=$CPP | | |
| fi | | |
| echo "$as_me:1959: result: $CPP" >&5 | | |
| echo "${ECHO_T}$CPP" >&6 | | |
| ac_preproc_ok=false | | |
| for ac_c_preproc_warn_flag in '' yes | | |
| do | | |
| # Use a header file that comes with gcc, so configuring glibc | | |
| # with a fresh cross-compiler works. | | |
| # On the NeXT, cc -E runs the code through the compiler's parser, | | |
| # not just through cpp. "Syntax error" is here to catch this case. | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 1969 "configure" | | |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <assert.h> | | #include <assert.h> |
| Syntax error | | Syntax Error |
| _ACEOF | | EOF |
| if { (eval echo "$as_me:1974: \"$ac_cpp conftest.$ac_ext\"") >&5 | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | { (eval echo configure:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_status=$? | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | if test -z "$ac_err"; then |
| rm -f conftest.er1 | | |
| cat conftest.err >&5 | | |
| echo "$as_me:1980: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | |
| else | | |
| ac_cpp_err=yes | | |
| fi | | |
| if test -z "$ac_cpp_err"; then | | |
| : | | : |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_err" >&5 |
| | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| # Broken: fails on valid input. | | rm -rf conftest* |
| continue | | CPP=/lib/cpp |
| fi | | fi |
| rm -f conftest.err conftest.$ac_ext | | rm -f conftest* |
| | | |
| # OK, works on sane cases. Now check whether non-existent headers | | |
| # can be detected and how. | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 2003 "configure" | | |
| #include "confdefs.h" | | |
| #include <ac_nonexistent.h> | | |
| _ACEOF | | |
| if { (eval echo "$as_me:2007: \"$ac_cpp conftest.$ac_ext\"") >&5 | | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | |
| ac_status=$? | | |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | |
| rm -f conftest.er1 | | |
| cat conftest.err >&5 | | |
| echo "$as_me:2013: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | fi |
| else | | rm -f conftest* |
| ac_cpp_err=yes | | |
| fi | | fi |
| if test -z "$ac_cpp_err"; then | | rm -f conftest* |
| # Broken: success on invalid input. | | ac_cv_prog_CPP="$CPP" |
| continue | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| # Passes both tests. | | |
| ac_preproc_ok=: | | |
| break | | |
| fi | | fi |
| rm -f conftest.err conftest.$ac_ext | | CPP="$ac_cv_prog_CPP" |
| | | |
| done | | |
| # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | | |
| rm -f conftest.err conftest.$ac_ext | | |
| if $ac_preproc_ok; then | | |
| : | | |
| else | | else |
| { { echo "$as_me:2041: error: C preprocessor \"$CPP\" fails sanity check" >&5 | | ac_cv_prog_CPP="$CPP" |
| echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi | | fi |
| | | echo "$ac_t""$CPP" 1>&6 |
| | | |
| ac_ext=c | | # Extract the first word of "flex", so it can be a program name with args. |
| ac_cpp='$CPP $CPPFLAGS' | | set dummy flex; ac_word=$2 |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | echo "configure:977: checking for $ac_word" >&5 |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | | if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| for ac_prog in flex lex | | |
| do | | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | | |
| set dummy $ac_prog; ac_word=$2 | | |
| echo "$as_me:2056: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_LEX+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| if test -n "$LEX"; then | | if test -n "$LEX"; then |
| ac_cv_prog_LEX="$LEX" # Let the user override the test. | | ac_cv_prog_LEX="$LEX" # Let the user override the test. |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| $as_executable_p "$ac_dir/$ac_word" || continue | | if test -f $ac_dir/$ac_word; then |
| ac_cv_prog_LEX="$ac_prog" | | ac_cv_prog_LEX="flex" |
| echo "$as_me:2071: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| | | test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" |
| fi | | fi |
| fi | | fi |
| LEX=$ac_cv_prog_LEX | | LEX="$ac_cv_prog_LEX" |
| if test -n "$LEX"; then | | if test -n "$LEX"; then |
| echo "$as_me:2079: result: $LEX" >&5 | | echo "$ac_t""$LEX" 1>&6 |
| echo "${ECHO_T}$LEX" >&6 | | |
| else | | else |
| echo "$as_me:2082: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| test -n "$LEX" && break | | |
| done | | |
| test -n "$LEX" || LEX=":" | | |
| | | |
| if test -z "$LEXLIB" | | if test -z "$LEXLIB" |
| then | | then |
| echo "$as_me:2092: checking for yywrap in -lfl" >&5 | | case "$LEX" in |
| echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | | flex*) ac_lib=fl ;; |
| if test "${ac_cv_lib_fl_yywrap+set}" = set; then | | *) ac_lib=l ;; |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | esac |
| else | | echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
| ac_check_lib_save_LIBS=$LIBS | | echo "configure:1011: checking for yywrap in -l$ac_lib" >&5 |
| LIBS="-lfl $LIBS" | | ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
| cat >conftest.$ac_ext <<_ACEOF | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| #line 2100 "configure" | | echo $ac_n "(cached) $ac_c" 1>&6 |
| | | else |
| | | ac_save_LIBS="$LIBS" |
| | | LIBS="-l$ac_lib $LIBS" |
| | | cat > conftest.$ac_ext <<EOF |
| | | #line 1019 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char yywrap (); | | char yywrap (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| yywrap (); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:2125: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2128: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:2131: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2134: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_fl_yywrap=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_fl_yywrap=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:2145: result: $ac_cv_lib_fl_yywrap" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | | |
| if test $ac_cv_lib_fl_yywrap = yes; then | | |
| LEXLIB="-lfl" | | |
| else | | |
| echo "$as_me:2150: checking for yywrap in -ll" >&5 | | |
| echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | | |
| if test "${ac_cv_lib_l_yywrap+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| ac_check_lib_save_LIBS=$LIBS | | |
| LIBS="-ll $LIBS" | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 2158 "configure" | | |
| #include "confdefs.h" | | |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | int main() { |
| #ifdef __cplusplus | | yywrap() |
| extern "C" | | ; return 0; } |
| #endif | | EOF |
| /* We use char because int might match the return type of a gcc2 | | if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| builtin and then its argument prototype would still apply. */ | | rm -rf conftest* |
| char yywrap (); | | eval "ac_cv_lib_$ac_lib_var=yes" |
| #ifdef F77_DUMMY_MAIN | | else |
| # ifdef __cplusplus | | echo "configure: failed program was:" >&5 |
| extern "C" | | cat conftest.$ac_ext >&5 |
| # endif | | rm -rf conftest* |
| int F77_DUMMY_MAIN() { return 1; } | | eval "ac_cv_lib_$ac_lib_var=no" |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| yywrap (); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:2183: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2186: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:2189: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2192: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_l_yywrap=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_l_yywrap=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:2203: result: $ac_cv_lib_l_yywrap" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | | |
| if test $ac_cv_lib_l_yywrap = yes; then | | |
| LEXLIB="-ll" | | |
| fi | | fi |
| | | rm -f conftest* |
| | | LIBS="$ac_save_LIBS" |
| | | |
| fi | | fi |
| | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | LEXLIB="-l$ac_lib" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| if test "x$LEX" != "x:"; then | | |
| echo "$as_me:2214: checking lex output file root" >&5 | | |
| echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_lex_root+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| # The minimal lex program is just a single line: %%. But some broken lexes | | |
| # (Solaris, I think it was) want two %% lines, so accommodate them. | | |
| cat >conftest.l <<_ACEOF | | |
| %% | | |
| %% | | |
| _ACEOF | | |
| { ac_try='$LEX conftest.l' | | |
| { (eval echo "$as_me:2226: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2229: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; } | | |
| if test -f lex.yy.c; then | | |
| ac_cv_prog_lex_root=lex.yy | | |
| elif test -f lexyy.c; then | | |
| ac_cv_prog_lex_root=lexyy | | |
| else | | |
| { { echo "$as_me:2236: error: cannot find output from $LEX; giving up" >&5 | | |
| echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi | | |
| fi | | |
| echo "$as_me:2241: result: $ac_cv_prog_lex_root" >&5 | | |
| echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | | |
| rm -f conftest.l | | |
| LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | | |
| | | |
| echo "$as_me:2246: checking whether yytext is a pointer" >&5 | | |
| echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| # POSIX says lex can declare yytext either as a pointer or an array; the | | |
| # default is implementation-dependent. Figure out which it is, since | | |
| # not all implementations provide the %pointer and %array declarations. | | |
| ac_cv_prog_lex_yytext_pointer=no | | |
| echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | | |
| ac_save_LIBS=$LIBS | | |
| LIBS="$LIBS $LEXLIB" | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| `cat $LEX_OUTPUT_ROOT.c` | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:2262: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2265: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:2268: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:2271: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_prog_lex_yytext_pointer=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_save_LIBS | | |
| rm -f "${LEX_OUTPUT_ROOT}.c" | | |
| | | |
| fi | | |
| echo "$as_me:2283: result: $ac_cv_prog_lex_yytext_pointer" >&5 | | |
| echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | | |
| if test $ac_cv_prog_lex_yytext_pointer = yes; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define YYTEXT_POINTER 1 | | |
| _ACEOF | | |
| | | |
| fi | | fi |
| | | |
| fi | | |
| for ac_prog in gawk mawk nawk awk | | for ac_prog in gawk mawk nawk awk |
| do | | do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 | | set dummy $ac_prog; ac_word=$2 |
| echo "$as_me:2298: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1057: checking for $ac_word" >&5 |
| if test "${ac_cv_prog_AWK+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| if test -n "$AWK"; then | | if test -n "$AWK"; then |
| ac_cv_prog_AWK="$AWK" # Let the user override the test. | | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| $as_executable_p "$ac_dir/$ac_word" || continue | | if test -f $ac_dir/$ac_word; then |
| ac_cv_prog_AWK="$ac_prog" | | ac_cv_prog_AWK="$ac_prog" |
| echo "$as_me:2313: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| fi | | fi |
| fi | | fi |
| AWK=$ac_cv_prog_AWK | | AWK="$ac_cv_prog_AWK" |
| if test -n "$AWK"; then | | if test -n "$AWK"; then |
| echo "$as_me:2321: result: $AWK" >&5 | | echo "$ac_t""$AWK" 1>&6 |
| echo "${ECHO_T}$AWK" >&6 | | |
| else | | else |
| echo "$as_me:2324: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| test -n "$AWK" && break | | test -n "$AWK" && break |
| | |
| # SunOS /usr/etc/install | | # SunOS /usr/etc/install |
| # IRIX /sbin/install | | # IRIX /sbin/install |
| # AIX /bin/install | | # AIX /bin/install |
| # AmigaOS /C/install, which installs bootblocks on floppy discs | | |
| # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| # AFS /usr/afsws/bin/install, which mishandles nonexistent args | | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # ./install, which can be erroneously created by make from ./install.sh. | | # ./install, which can be erroneously created by make from ./install.sh. |
| echo "$as_me:2343: checking for a BSD compatible install" >&5 | | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | | echo "configure:1098: checking for a BSD compatible install" >&5 |
| if test -z "$INSTALL"; then | | if test -z "$INSTALL"; then |
| if test "${ac_cv_path_install+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| for ac_dir in $PATH; do | | for ac_dir in $PATH; do |
| IFS=$ac_save_IFS | | |
| # Account for people who put trailing slashes in PATH elements. | | # Account for people who put trailing slashes in PATH elements. |
| case $ac_dir/ in | | case "$ac_dir/" in |
| / | ./ | .// | /cC/* \ | | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
| | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | | |
| | /usr/ucb/* ) ;; | | |
| *) | | *) |
| # OSF1 and SCO ODT 3.0 have their own names for install. | | # OSF1 and SCO ODT 3.0 have their own names for install. |
| # Don't use installbsd from OSF since it installs stuff as root | | # Don't use installbsd from OSF since it installs stuff as root |
| # by default. | | # by default. |
| for ac_prog in ginstall scoinst install; do | | for ac_prog in ginstall scoinst install; do |
| if $as_executable_p "$ac_dir/$ac_prog"; then | | if test -f $ac_dir/$ac_prog; then |
| if test $ac_prog = install && | | if test $ac_prog = install && |
| grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then | | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
| # AIX install. It has an incompatible calling convention. | | # AIX install. It has an incompatible calling convention. |
| : | | : |
| elif test $ac_prog = install && | | |
| grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then | | |
| # program-specific install script used by HP pwplus--don't use. | | |
| : | | |
| else | | else |
| ac_cv_path_install="$ac_dir/$ac_prog -c" | | ac_cv_path_install="$ac_dir/$ac_prog -c" |
| break 2 | | break 2 |
| | |
| ;; | | ;; |
| esac | | esac |
| done | | done |
| | | IFS="$ac_save_IFS" |
| | | |
| fi | | fi |
| if test "${ac_cv_path_install+set}" = set; then | | if test "${ac_cv_path_install+set}" = set; then |
| INSTALL=$ac_cv_path_install | | INSTALL="$ac_cv_path_install" |
| else | | else |
| # As a last resort, use the slow shell script. We don't cache a | | # As a last resort, use the slow shell script. We don't cache a |
| # path for INSTALL within a source directory, because that will | | # path for INSTALL within a source directory, because that will |
| # break other packages using the cache if that directory is | | # break other packages using the cache if that directory is |
| # removed, or if the path is relative. | | # removed, or if the path is relative. |
| INSTALL=$ac_install_sh | | INSTALL="$ac_install_sh" |
| fi | | fi |
| fi | | fi |
| echo "$as_me:2392: result: $INSTALL" >&5 | | echo "$ac_t""$INSTALL" 1>&6 |
| echo "${ECHO_T}$INSTALL" >&6 | | |
| | | |
| # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| # It thinks the first close brace ends the variable substitution. | | # It thinks the first close brace ends the variable substitution. |
| test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| | | |
| test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| | | |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| | | |
| echo "$as_me:2403: checking whether ln -s works" >&5 | | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | | echo "configure:1151: checking whether ln -s works" >&5 |
| LN_S=$as_ln_s | | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| if test "$LN_S" = "ln -s"; then | | echo $ac_n "(cached) $ac_c" 1>&6 |
| echo "$as_me:2407: result: yes" >&5 | | else |
| echo "${ECHO_T}yes" >&6 | | rm -f conftestdata |
| else | | if ln -s X conftestdata 2>/dev/null |
| echo "$as_me:2410: result: no, using $LN_S" >&5 | | then |
| echo "${ECHO_T}no, using $LN_S" >&6 | | rm -f conftestdata |
| fi | | ac_cv_prog_LN_S="ln -s" |
| | | else |
| echo "$as_me:2414: checking whether ${MAKE-make} sets \${MAKE}" >&5 | | ac_cv_prog_LN_S=ln |
| echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | | fi |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | | fi |
| if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | | LN_S="$ac_cv_prog_LN_S" |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| | | fi |
| | | |
| | | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| | | echo "configure:1172: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| | | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.make <<\_ACEOF | | cat > conftestmake <<\EOF |
| all: | | all: |
| @echo 'ac_maketemp="${MAKE}"' | | @echo 'ac_maketemp="${MAKE}"' |
| _ACEOF | | EOF |
| # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
| if test -n "$ac_maketemp"; then | | if test -n "$ac_maketemp"; then |
| eval ac_cv_prog_make_${ac_make}_set=yes | | eval ac_cv_prog_make_${ac_make}_set=yes |
| else | | else |
| eval ac_cv_prog_make_${ac_make}_set=no | | eval ac_cv_prog_make_${ac_make}_set=no |
| fi | | fi |
| rm -f conftest.make | | rm -f conftestmake |
| fi | | fi |
| if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| echo "$as_me:2434: result: yes" >&5 | | echo "$ac_t""yes" 1>&6 |
| echo "${ECHO_T}yes" >&6 | | |
| SET_MAKE= | | SET_MAKE= |
| else | | else |
| echo "$as_me:2438: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| SET_MAKE="MAKE=${MAKE-make}" | | SET_MAKE="MAKE=${MAKE-make}" |
| fi | | fi |
| | | |
| if test -n "$ac_tool_prefix"; then | | # Extract the first word of "ranlib", so it can be a program name with args. |
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | | set dummy ranlib; ac_word=$2 |
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "$as_me:2446: checking for $ac_word" >&5 | | echo "configure:1201: checking for $ac_word" >&5 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| if test "${ac_cv_prog_RANLIB+set}" = set; then | | echo $ac_n "(cached) $ac_c" 1>&6 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| if test -n "$RANLIB"; then | | if test -n "$RANLIB"; then |
| ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| else | | else |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| $as_executable_p "$ac_dir/$ac_word" || continue | | if test -f $ac_dir/$ac_word; then |
| ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | | ac_cv_prog_RANLIB="ranlib" |
| echo "$as_me:2461: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| done | | |
| | | |
| fi | | |
| fi | | |
| RANLIB=$ac_cv_prog_RANLIB | | |
| if test -n "$RANLIB"; then | | |
| echo "$as_me:2469: result: $RANLIB" >&5 | | |
| echo "${ECHO_T}$RANLIB" >&6 | | |
| else | | |
| echo "$as_me:2472: result: no" >&5 | | |
| echo "${ECHO_T}no" >&6 | | |
| fi | | |
| | | |
| fi | | fi |
| if test -z "$ac_cv_prog_RANLIB"; then | | |
| ac_ct_RANLIB=$RANLIB | | |
| # Extract the first word of "ranlib", so it can be a program name with args. | | |
| set dummy ranlib; ac_word=$2 | | |
| echo "$as_me:2481: checking for $ac_word" >&5 | | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| if test -n "$ac_ct_RANLIB"; then | | |
| ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | | |
| else | | |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | |
| ac_dummy="$PATH" | | |
| for ac_dir in $ac_dummy; do | | |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | |
| $as_executable_p "$ac_dir/$ac_word" || continue | | |
| ac_cv_prog_ac_ct_RANLIB="ranlib" | | |
| echo "$as_me:2496: found $ac_dir/$ac_word" >&5 | | |
| break | | |
| done | | done |
| | | IFS="$ac_save_ifs" |
| test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
| fi | | fi |
| fi | | fi |
| ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | | RANLIB="$ac_cv_prog_RANLIB" |
| if test -n "$ac_ct_RANLIB"; then | | if test -n "$RANLIB"; then |
| echo "$as_me:2505: result: $ac_ct_RANLIB" >&5 | | echo "$ac_t""$RANLIB" 1>&6 |
| echo "${ECHO_T}$ac_ct_RANLIB" >&6 | | |
| else | | else |
| echo "$as_me:2508: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| RANLIB=$ac_ct_RANLIB | | |
| else | | |
| RANLIB="$ac_cv_prog_RANLIB" | | |
| fi | | |
| | | |
| # Check whether --enable-old-layout or --disable-old-layout was given. | | # Check whether --enable-old-layout or --disable-old-layout was given. |
| if test "${enable_old_layout+set}" = set; then | | if test "${enable_old_layout+set}" = set; then |
| | |
| old_layout=yes | | old_layout=yes |
| else | | else |
| old_layout=no | | old_layout=no |
| fi; | | fi |
| | | |
| | | |
| | | |
| | | |
| # Extract the first word of "mkdir", so it can be a program name with args. | | # Extract the first word of "mkdir", so it can be a program name with args. |
| set dummy mkdir; ac_word=$2 | | set dummy mkdir; ac_word=$2 |
| echo "$as_me:2527: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1243: checking for $ac_word" >&5 |
| if test "${ac_cv_path_MKDIR+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $MKDIR in | | case "$MKDIR" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. | | ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_MKDIR="$ac_dir/$ac_word" | | ac_cv_path_MKDIR="$ac_dir/$ac_word" |
| echo "$as_me:2544: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| MKDIR=$ac_cv_path_MKDIR | | MKDIR="$ac_cv_path_MKDIR" |
| | | |
| if test -n "$MKDIR"; then | | if test -n "$MKDIR"; then |
| echo "$as_me:2555: result: $MKDIR" >&5 | | echo "$ac_t""$MKDIR" 1>&6 |
| echo "${ECHO_T}$MKDIR" >&6 | | |
| else | | else |
| echo "$as_me:2558: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "tar", so it can be a program name with args. | | # Extract the first word of "tar", so it can be a program name with args. |
| set dummy tar; ac_word=$2 | | set dummy tar; ac_word=$2 |
| echo "$as_me:2564: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1278: checking for $ac_word" >&5 |
| if test "${ac_cv_path_TAR+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $TAR in | | case "$TAR" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_TAR="$TAR" # Let the user override the test with a path. | | ac_cv_path_TAR="$TAR" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_TAR="$TAR" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_TAR="$ac_dir/$ac_word" | | ac_cv_path_TAR="$ac_dir/$ac_word" |
| echo "$as_me:2581: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| TAR=$ac_cv_path_TAR | | TAR="$ac_cv_path_TAR" |
| | | |
| if test -n "$TAR"; then | | if test -n "$TAR"; then |
| echo "$as_me:2592: result: $TAR" >&5 | | echo "$ac_t""$TAR" 1>&6 |
| echo "${ECHO_T}$TAR" >&6 | | |
| else | | else |
| echo "$as_me:2595: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "makedepend", so it can be a program name with args. | | # Extract the first word of "makedepend", so it can be a program name with args. |
| set dummy makedepend; ac_word=$2 | | set dummy makedepend; ac_word=$2 |
| echo "$as_me:2601: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1313: checking for $ac_word" >&5 |
| if test "${ac_cv_path_DEPEND+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_DEPEND'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $DEPEND in | | case "$DEPEND" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_DEPEND="$DEPEND" # Let the user override the test with a path. | | ac_cv_path_DEPEND="$DEPEND" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_DEPEND="$DEPEND" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_DEPEND="$ac_dir/$ac_word" | | ac_cv_path_DEPEND="$ac_dir/$ac_word" |
| echo "$as_me:2618: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| DEPEND=$ac_cv_path_DEPEND | | DEPEND="$ac_cv_path_DEPEND" |
| | | |
| if test -n "$DEPEND"; then | | if test -n "$DEPEND"; then |
| echo "$as_me:2629: result: $DEPEND" >&5 | | echo "$ac_t""$DEPEND" 1>&6 |
| echo "${ECHO_T}$DEPEND" >&6 | | |
| else | | else |
| echo "$as_me:2632: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "cp", so it can be a program name with args. | | # Extract the first word of "cp", so it can be a program name with args. |
| set dummy cp; ac_word=$2 | | set dummy cp; ac_word=$2 |
| echo "$as_me:2638: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1348: checking for $ac_word" >&5 |
| if test "${ac_cv_path_CP+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $CP in | | case "$CP" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_CP="$CP" # Let the user override the test with a path. | | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_CP="$CP" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_CP="$ac_dir/$ac_word" | | ac_cv_path_CP="$ac_dir/$ac_word" |
| echo "$as_me:2655: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| CP=$ac_cv_path_CP | | CP="$ac_cv_path_CP" |
| | | |
| if test -n "$CP"; then | | if test -n "$CP"; then |
| echo "$as_me:2666: result: $CP" >&5 | | echo "$ac_t""$CP" 1>&6 |
| echo "${ECHO_T}$CP" >&6 | | |
| else | | else |
| echo "$as_me:2669: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "basename", so it can be a program name with args. | | # Extract the first word of "basename", so it can be a program name with args. |
| set dummy basename; ac_word=$2 | | set dummy basename; ac_word=$2 |
| echo "$as_me:2675: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1383: checking for $ac_word" >&5 |
| if test "${ac_cv_path_BASENAME+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $BASENAME in | | case "$BASENAME" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. | | ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_BASENAME="$ac_dir/$ac_word" | | ac_cv_path_BASENAME="$ac_dir/$ac_word" |
| echo "$as_me:2692: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| BASENAME=$ac_cv_path_BASENAME | | BASENAME="$ac_cv_path_BASENAME" |
| | | |
| if test -n "$BASENAME"; then | | if test -n "$BASENAME"; then |
| echo "$as_me:2703: result: $BASENAME" >&5 | | echo "$ac_t""$BASENAME" 1>&6 |
| echo "${ECHO_T}$BASENAME" >&6 | | |
| else | | else |
| echo "$as_me:2706: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "sed", so it can be a program name with args. | | # Extract the first word of "sed", so it can be a program name with args. |
| set dummy sed; ac_word=$2 | | set dummy sed; ac_word=$2 |
| echo "$as_me:2712: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1418: checking for $ac_word" >&5 |
| if test "${ac_cv_path_SED+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $SED in | | case "$SED" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_SED="$SED" # Let the user override the test with a path. | | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_SED="$SED" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_SED="$ac_dir/$ac_word" | | ac_cv_path_SED="$ac_dir/$ac_word" |
| echo "$as_me:2729: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| SED=$ac_cv_path_SED | | SED="$ac_cv_path_SED" |
| | | |
| if test -n "$SED"; then | | if test -n "$SED"; then |
| echo "$as_me:2740: result: $SED" >&5 | | echo "$ac_t""$SED" 1>&6 |
| echo "${ECHO_T}$SED" >&6 | | |
| else | | else |
| echo "$as_me:2743: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "rm", so it can be a program name with args. | | # Extract the first word of "rm", so it can be a program name with args. |
| set dummy rm; ac_word=$2 | | set dummy rm; ac_word=$2 |
| echo "$as_me:2749: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1453: checking for $ac_word" >&5 |
| if test "${ac_cv_path_RM+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $RM in | | case "$RM" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_RM="$RM" # Let the user override the test with a path. | | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_RM="$RM" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_RM="$ac_dir/$ac_word" | | ac_cv_path_RM="$ac_dir/$ac_word" |
| echo "$as_me:2766: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| RM=$ac_cv_path_RM | | RM="$ac_cv_path_RM" |
| | | |
| if test -n "$RM"; then | | if test -n "$RM"; then |
| echo "$as_me:2777: result: $RM" >&5 | | echo "$ac_t""$RM" 1>&6 |
| echo "${ECHO_T}$RM" >&6 | | |
| else | | else |
| echo "$as_me:2780: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "ar", so it can be a program name with args. | | # Extract the first word of "ar", so it can be a program name with args. |
| set dummy ar; ac_word=$2 | | set dummy ar; ac_word=$2 |
| echo "$as_me:2786: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1488: checking for $ac_word" >&5 |
| if test "${ac_cv_path_AR+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $AR in | | case "$AR" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_AR="$AR" # Let the user override the test with a path. | | ac_cv_path_AR="$AR" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_AR="$AR" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_AR="$ac_dir/$ac_word" | | ac_cv_path_AR="$ac_dir/$ac_word" |
| echo "$as_me:2803: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| AR=$ac_cv_path_AR | | AR="$ac_cv_path_AR" |
| | | |
| if test -n "$AR"; then | | if test -n "$AR"; then |
| echo "$as_me:2814: result: $AR" >&5 | | echo "$ac_t""$AR" 1>&6 |
| echo "${ECHO_T}$AR" >&6 | | |
| else | | else |
| echo "$as_me:2817: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "latex", so it can be a program name with args. | | # Extract the first word of "latex", so it can be a program name with args. |
| set dummy latex; ac_word=$2 | | set dummy latex; ac_word=$2 |
| echo "$as_me:2823: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1523: checking for $ac_word" >&5 |
| if test "${ac_cv_path_LATEX+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_LATEX'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $LATEX in | | case "$LATEX" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path. | | ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_LATEX="$LATEX" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_LATEX="$ac_dir/$ac_word" | | ac_cv_path_LATEX="$ac_dir/$ac_word" |
| echo "$as_me:2840: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| LATEX=$ac_cv_path_LATEX | | LATEX="$ac_cv_path_LATEX" |
| | | |
| if test -n "$LATEX"; then | | if test -n "$LATEX"; then |
| echo "$as_me:2851: result: $LATEX" >&5 | | echo "$ac_t""$LATEX" 1>&6 |
| echo "${ECHO_T}$LATEX" >&6 | | |
| else | | else |
| echo "$as_me:2854: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "gzip", so it can be a program name with args. | | # Extract the first word of "gzip", so it can be a program name with args. |
| set dummy gzip; ac_word=$2 | | set dummy gzip; ac_word=$2 |
| echo "$as_me:2860: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1558: checking for $ac_word" >&5 |
| if test "${ac_cv_path_GZIP+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_GZIP'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $GZIP in | | case "$GZIP" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. | | ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_GZIP="$GZIP" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_GZIP="$ac_dir/$ac_word" | | ac_cv_path_GZIP="$ac_dir/$ac_word" |
| echo "$as_me:2877: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| GZIP=$ac_cv_path_GZIP | | GZIP="$ac_cv_path_GZIP" |
| | | |
| if test -n "$GZIP"; then | | if test -n "$GZIP"; then |
| echo "$as_me:2888: result: $GZIP" >&5 | | echo "$ac_t""$GZIP" 1>&6 |
| echo "${ECHO_T}$GZIP" >&6 | | |
| else | | else |
| echo "$as_me:2891: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "gunzip", so it can be a program name with args. | | # Extract the first word of "gunzip", so it can be a program name with args. |
| set dummy gunzip; ac_word=$2 | | set dummy gunzip; ac_word=$2 |
| echo "$as_me:2897: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1593: checking for $ac_word" >&5 |
| if test "${ac_cv_path_GUNZIP+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_GUNZIP'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $GUNZIP in | | case "$GUNZIP" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_GUNZIP="$GUNZIP" # Let the user override the test with a path. | | ac_cv_path_GUNZIP="$GUNZIP" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_GUNZIP="$GUNZIP" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_GUNZIP="$ac_dir/$ac_word" | | ac_cv_path_GUNZIP="$ac_dir/$ac_word" |
| echo "$as_me:2914: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| GUNZIP=$ac_cv_path_GUNZIP | | GUNZIP="$ac_cv_path_GUNZIP" |
| | | |
| if test -n "$GUNZIP"; then | | if test -n "$GUNZIP"; then |
| echo "$as_me:2925: result: $GUNZIP" >&5 | | echo "$ac_t""$GUNZIP" 1>&6 |
| echo "${ECHO_T}$GUNZIP" >&6 | | |
| else | | else |
| echo "$as_me:2928: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "perl", so it can be a program name with args. | | # Extract the first word of "perl", so it can be a program name with args. |
| set dummy perl; ac_word=$2 | | set dummy perl; ac_word=$2 |
| echo "$as_me:2934: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1628: checking for $ac_word" >&5 |
| if test "${ac_cv_path_PERL+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $PERL in | | case "$PERL" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_PERL="$ac_dir/$ac_word" | | ac_cv_path_PERL="$ac_dir/$ac_word" |
| echo "$as_me:2951: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| PERL=$ac_cv_path_PERL | | PERL="$ac_cv_path_PERL" |
| | | |
| if test -n "$PERL"; then | | if test -n "$PERL"; then |
| echo "$as_me:2962: result: $PERL" >&5 | | echo "$ac_t""$PERL" 1>&6 |
| echo "${ECHO_T}$PERL" >&6 | | |
| else | | else |
| echo "$as_me:2965: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| | | |
| if test -n "$GZIP" -a -z "$GUNZIP" ; then | | if test -n "$GZIP" -a -z "$GUNZIP" ; then |
| echo "Found gzip, but not gunzip - setting GUNZIP to gzip -c"; | | echo "Found gzip, but not gunzip - setting GUNZIP to gzip -c"; |
| GUNZIP="$GZIP -c" | | GUNZIP="$GZIP -c" |
| | |
| if test -z "$COMPRESS" ; then | | if test -z "$COMPRESS" ; then |
| # Extract the first word of "compress", so it can be a program name with args. | | # Extract the first word of "compress", so it can be a program name with args. |
| set dummy compress; ac_word=$2 | | set dummy compress; ac_word=$2 |
| echo "$as_me:2977: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1670: checking for $ac_word" >&5 |
| if test "${ac_cv_path_COMPRESS+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $COMPRESS in | | case "$COMPRESS" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. | | ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_COMPRESS="$ac_dir/$ac_word" | | ac_cv_path_COMPRESS="$ac_dir/$ac_word" |
| echo "$as_me:2994: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| COMPRESS=$ac_cv_path_COMPRESS | | COMPRESS="$ac_cv_path_COMPRESS" |
| | | |
| if test -n "$COMPRESS"; then | | if test -n "$COMPRESS"; then |
| echo "$as_me:3005: result: $COMPRESS" >&5 | | echo "$ac_t""$COMPRESS" 1>&6 |
| echo "${ECHO_T}$COMPRESS" >&6 | | |
| else | | else |
| echo "$as_me:3008: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "uncompress", so it can be a program name with args. | | # Extract the first word of "uncompress", so it can be a program name with args. |
| set dummy uncompress; ac_word=$2 | | set dummy uncompress; ac_word=$2 |
| echo "$as_me:3014: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1705: checking for $ac_word" >&5 |
| if test "${ac_cv_path_UNCOMPRESS+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_UNCOMPRESS'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $UNCOMPRESS in | | case "$UNCOMPRESS" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_UNCOMPRESS="$UNCOMPRESS" # Let the user override the test with a path. | | ac_cv_path_UNCOMPRESS="$UNCOMPRESS" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_UNCOMPRESS="$UNCOMPRESS" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_UNCOMPRESS="$ac_dir/$ac_word" | | ac_cv_path_UNCOMPRESS="$ac_dir/$ac_word" |
| echo "$as_me:3031: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| UNCOMPRESS=$ac_cv_path_UNCOMPRESS | | UNCOMPRESS="$ac_cv_path_UNCOMPRESS" |
| | | |
| if test -n "$UNCOMPRESS"; then | | if test -n "$UNCOMPRESS"; then |
| echo "$as_me:3042: result: $UNCOMPRESS" >&5 | | echo "$ac_t""$UNCOMPRESS" 1>&6 |
| echo "${ECHO_T}$UNCOMPRESS" >&6 | | |
| else | | else |
| echo "$as_me:3045: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| fi | | fi |
| | | |
| # Extract the first word of "bzip2", so it can be a program name with args. | | # Extract the first word of "bzip2", so it can be a program name with args. |
| set dummy bzip2; ac_word=$2 | | set dummy bzip2; ac_word=$2 |
| echo "$as_me:3053: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1742: checking for $ac_word" >&5 |
| if test "${ac_cv_path_BZIP+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_BZIP'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $BZIP in | | case "$BZIP" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_BZIP="$BZIP" # Let the user override the test with a path. | | ac_cv_path_BZIP="$BZIP" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_BZIP="$BZIP" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_BZIP="$ac_dir/$ac_word" | | ac_cv_path_BZIP="$ac_dir/$ac_word" |
| echo "$as_me:3070: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| BZIP=$ac_cv_path_BZIP | | BZIP="$ac_cv_path_BZIP" |
| | | |
| if test -n "$BZIP"; then | | if test -n "$BZIP"; then |
| echo "$as_me:3081: result: $BZIP" >&5 | | echo "$ac_t""$BZIP" 1>&6 |
| echo "${ECHO_T}$BZIP" >&6 | | |
| else | | else |
| echo "$as_me:3084: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| # Extract the first word of "bunzip2", so it can be a program name with args. | | # Extract the first word of "bunzip2", so it can be a program name with args. |
| set dummy bunzip2; ac_word=$2 | | set dummy bunzip2; ac_word=$2 |
| echo "$as_me:3090: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1777: checking for $ac_word" >&5 |
| if test "${ac_cv_path_BUNZIP+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_BUNZIP'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $BUNZIP in | | case "$BUNZIP" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_BUNZIP="$BUNZIP" # Let the user override the test with a path. | | ac_cv_path_BUNZIP="$BUNZIP" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_BUNZIP="$BUNZIP" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_BUNZIP="$ac_dir/$ac_word" | | ac_cv_path_BUNZIP="$ac_dir/$ac_word" |
| echo "$as_me:3107: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| BUNZIP=$ac_cv_path_BUNZIP | | BUNZIP="$ac_cv_path_BUNZIP" |
| | | |
| if test -n "$BUNZIP"; then | | if test -n "$BUNZIP"; then |
| echo "$as_me:3118: result: $BUNZIP" >&5 | | echo "$ac_t""$BUNZIP" 1>&6 |
| echo "${ECHO_T}$BUNZIP" >&6 | | |
| else | | else |
| echo "$as_me:3121: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| | | |
| if test -n "$BZIP" -a -z "$BUNZIP" ; then | | if test -n "$BZIP" -a -z "$BUNZIP" ; then |
| echo "Found bzip2, but not bunzip2 - setting BUNZIP to bzip2 -c"; | | echo "Found bzip2, but not bunzip2 - setting BUNZIP to bzip2 -c"; |
| BUNZIP="$BZIP -c" | | BUNZIP="$BZIP -c" |
| | |
| do | | do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 | | set dummy $ac_prog; ac_word=$2 |
| echo "$as_me:3139: checking for $ac_word" >&5 | | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | | echo "configure:1825: checking for $ac_word" >&5 |
| if test "${ac_cv_path_BOURNE_SHELL+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_path_BOURNE_SHELL'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| case $BOURNE_SHELL in | | case "$BOURNE_SHELL" in |
| [\\/]* | ?:[\\/]*) | | /*) |
| ac_cv_path_BOURNE_SHELL="$BOURNE_SHELL" # Let the user override the test with a path. | | ac_cv_path_BOURNE_SHELL="$BOURNE_SHELL" # Let the user override the test with a path. |
| ;; | | ;; |
| | | ?:/*) |
| | | ac_cv_path_BOURNE_SHELL="$BOURNE_SHELL" # Let the user override the test with a dos path. |
| | | ;; |
| *) | | *) |
| ac_save_IFS=$IFS; IFS=$ac_path_separator | | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| ac_dummy="$PATH" | | ac_dummy="$PATH" |
| for ac_dir in $ac_dummy; do | | for ac_dir in $ac_dummy; do |
| IFS=$ac_save_IFS | | |
| test -z "$ac_dir" && ac_dir=. | | test -z "$ac_dir" && ac_dir=. |
| if $as_executable_p "$ac_dir/$ac_word"; then | | if test -f $ac_dir/$ac_word; then |
| ac_cv_path_BOURNE_SHELL="$ac_dir/$ac_word" | | ac_cv_path_BOURNE_SHELL="$ac_dir/$ac_word" |
| echo "$as_me:3156: found $ac_dir/$ac_word" >&5 | | |
| break | | break |
| fi | | fi |
| done | | done |
| | | IFS="$ac_save_ifs" |
| ;; | | ;; |
| esac | | esac |
| fi | | fi |
| BOURNE_SHELL=$ac_cv_path_BOURNE_SHELL | | BOURNE_SHELL="$ac_cv_path_BOURNE_SHELL" |
| | | |
| if test -n "$BOURNE_SHELL"; then | | if test -n "$BOURNE_SHELL"; then |
| echo "$as_me:3167: result: $BOURNE_SHELL" >&5 | | echo "$ac_t""$BOURNE_SHELL" 1>&6 |
| echo "${ECHO_T}$BOURNE_SHELL" >&6 | | |
| else | | else |
| echo "$as_me:3170: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| fi | | fi |
| | | |
| test -n "$BOURNE_SHELL" && break | | test -n "$BOURNE_SHELL" && break |
| done | | done |
| | | |
| | | |
| | | |
| # Check whether --with-ldflags or --without-ldflags was given. | | # Check whether --with-ldflags or --without-ldflags was given. |
| if test "${with_ldflags+set}" = set; then | | if test "${with_ldflags+set}" = set; then |
| withval="$with_ldflags" | | withval="$with_ldflags" |
| EXTRA_LIB="$withval" | | EXTRA_LIB="$withval" |
| fi; | | fi |
| | | |
| | | |
| # Check whether --with-includes or --without-includes was given. | | # Check whether --with-includes or --without-includes was given. |
| if test "${with_includes+set}" = set; then | | if test "${with_includes+set}" = set; then |
| withval="$with_includes" | | withval="$with_includes" |
| EXTRA_INC="$withval" | | EXTRA_INC="$withval" |
| fi; | | fi |
| | | |
| | | |
| echo "$as_me:3189: checking for main in -lnsl" >&5 | | |
| echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_nsl_main+set}" = set; then | | echo "configure:1878: checking for main in -lnsl" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3197 "configure" | | #line 1886 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:3215: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:3218: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:3221: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:3224: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| ac_cv_lib_nsl_main=yes | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| else | | cat >> confdefs.h <<EOF |
| echo "$as_me: failed program was:" >&5 | | #define $ac_tr_lib 1 |
| cat conftest.$ac_ext >&5 | | EOF |
| ac_cv_lib_nsl_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:3235: result: $ac_cv_lib_nsl_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6 | | |
| if test $ac_cv_lib_nsl_main = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBNSL 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:3246: checking for main in -lsocket" >&5 | | echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6 | | echo "configure:1921: checking for main in -lsocket" >&5 |
| if test "${ac_cv_lib_socket_main+set}" = set; then | | ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lsocket $LIBS" | | LIBS="-lsocket $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3254 "configure" | | #line 1929 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:3272: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:3275: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:3278: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:3281: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| ac_cv_lib_socket_main=yes | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| else | | cat >> confdefs.h <<EOF |
| echo "$as_me: failed program was:" >&5 | | #define $ac_tr_lib 1 |
| cat conftest.$ac_ext >&5 | | EOF |
| ac_cv_lib_socket_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:3292: result: $ac_cv_lib_socket_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_socket_main" >&6 | | |
| if test $ac_cv_lib_socket_main = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBSOCKET 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-lsocket $LIBS" | | LIBS="-lsocket $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:3303: checking for X" >&5 | | |
| echo $ECHO_N "checking for X... $ECHO_C" >&6 | | # If we find X, set shell vars x_includes and x_libraries to the |
| | | # paths, otherwise set no_x=yes. |
| | | # Uses ac_ vars as temps to allow command line to override cache and checks. |
| | | # --without-x overrides everything else, but does not touch the cache. |
| | | echo $ac_n "checking for X""... $ac_c" 1>&6 |
| | | echo "configure:1969: checking for X" >&5 |
| | | |
| # Check whether --with-x or --without-x was given. | | # Check whether --with-x or --without-x was given. |
| if test "${with_x+set}" = set; then | | if test "${with_x+set}" = set; then |
| withval="$with_x" | | withval="$with_x" |
| | | : |
| | | fi |
| | | |
| fi; | | |
| # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
| if test "x$with_x" = xno; then | | if test "x$with_x" = xno; then |
| # The user explicitly disabled X. | | # The user explicitly disabled X. |
| | |
| # Both variables are already set. | | # Both variables are already set. |
| have_x=yes | | have_x=yes |
| else | | else |
| if test "${ac_cv_have_x+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| # One or both of the vars are not set, and there is no cached value. | | # One or both of the vars are not set, and there is no cached value. |
| ac_x_includes=no ac_x_libraries=no | | ac_x_includes=NO ac_x_libraries=NO |
| rm -fr conftest.dir | | rm -fr conftestdir |
| if mkdir conftest.dir; then | | if mkdir conftestdir; then |
| cd conftest.dir | | cd conftestdir |
| # Make sure to not put "make" in the Imakefile rules, since we grep it out. | | # Make sure to not put "make" in the Imakefile rules, since we grep it out. |
| cat >Imakefile <<'_ACEOF' | | cat > Imakefile <<'EOF' |
| acfindx: | | acfindx: |
| @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
| _ACEOF | | EOF |
| if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
| # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
| | |
| # Screen out bogus values from the imake configuration. They are | | # Screen out bogus values from the imake configuration. They are |
| # bogus both because they are the default anyway, and because | | # bogus both because they are the default anyway, and because |
| # using them would break gcc on systems where it needs fixed includes. | | # using them would break gcc on systems where it needs fixed includes. |
| case $ac_im_incroot in | | case "$ac_im_incroot" in |
| /usr/include) ;; | | /usr/include) ;; |
| *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; |
| esac | | esac |
| case $ac_im_usrlibdir in | | case "$ac_im_usrlibdir" in |
| /usr/lib | /lib) ;; | | /usr/lib | /lib) ;; |
| *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | | *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
| esac | | esac |
| fi | | fi |
| cd .. | | cd .. |
| rm -fr conftest.dir | | rm -fr conftestdir |
| fi | | fi |
| | | |
| # Standard set of common directories for X headers. | | if test "$ac_x_includes" = NO; then |
| # Check X11 before X11Rn because it is often a symlink to the current release. | | # Guess where to find include files, by looking for this one X11 .h file. |
| ac_x_header_dirs=' | | test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| /usr/X11/include | | |
| /usr/X11R6/include | | |
| /usr/X11R5/include | | |
| /usr/X11R4/include | | |
| | | |
| /usr/include/X11 | | |
| /usr/include/X11R6 | | |
| /usr/include/X11R5 | | |
| /usr/include/X11R4 | | |
| | | |
| /usr/local/X11/include | | |
| /usr/local/X11R6/include | | |
| /usr/local/X11R5/include | | |
| /usr/local/X11R4/include | | |
| | | |
| /usr/local/include/X11 | | |
| /usr/local/include/X11R6 | | |
| /usr/local/include/X11R5 | | |
| /usr/local/include/X11R4 | | |
| | | |
| /usr/X386/include | | |
| /usr/x386/include | | |
| /usr/XFree86/include/X11 | | |
| | | |
| /usr/include | | |
| /usr/local/include | | |
| /usr/unsupported/include | | |
| /usr/athena/include | | |
| /usr/local/x11r5/include | | |
| /usr/lpp/Xamples/include | | |
| | | |
| /usr/openwin/include | | |
| /usr/openwin/share/include' | | |
| | | |
| if test "$ac_x_includes" = no; then | | |
| # Guess where to find include files, by looking for Intrinsic.h. | | |
| # First, try using that file with no special directory specified. | | # First, try using that file with no special directory specified. |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3400 "configure" | | #line 2031 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <X11/Intrinsic.h> | | #include <$x_direct_test_include> |
| _ACEOF | | EOF |
| if { (eval echo "$as_me:3404: \"$ac_cpp conftest.$ac_ext\"") >&5 | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_status=$? | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | if test -z "$ac_err"; then |
| rm -f conftest.er1 | | rm -rf conftest* |
| cat conftest.err >&5 | | |
| echo "$as_me:3410: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | |
| else | | |
| ac_cpp_err=yes | | |
| fi | | |
| if test -z "$ac_cpp_err"; then | | |
| # We can compile using X headers with no special include directory. | | # We can compile using X headers with no special include directory. |
| ac_x_includes= | | ac_x_includes= |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_err" >&5 |
| | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| for ac_dir in $ac_x_header_dirs; do | | rm -rf conftest* |
| if test -r "$ac_dir/X11/Intrinsic.h"; then | | # Look for the header file in a standard set of common directories. |
| | | # Check X11 before X11Rn because it is often a symlink to the current release. |
| | | for ac_dir in \ |
| | | /usr/X11/include \ |
| | | /usr/X11R6/include \ |
| | | /usr/X11R5/include \ |
| | | /usr/X11R4/include \ |
| | | \ |
| | | /usr/include/X11 \ |
| | | /usr/include/X11R6 \ |
| | | /usr/include/X11R5 \ |
| | | /usr/include/X11R4 \ |
| | | \ |
| | | /usr/local/X11/include \ |
| | | /usr/local/X11R6/include \ |
| | | /usr/local/X11R5/include \ |
| | | /usr/local/X11R4/include \ |
| | | \ |
| | | /usr/local/include/X11 \ |
| | | /usr/local/include/X11R6 \ |
| | | /usr/local/include/X11R5 \ |
| | | /usr/local/include/X11R4 \ |
| | | \ |
| | | /usr/X386/include \ |
| | | /usr/x386/include \ |
| | | /usr/XFree86/include/X11 \ |
| | | \ |
| | | /usr/include \ |
| | | /usr/local/include \ |
| | | /usr/unsupported/include \ |
| | | /usr/athena/include \ |
| | | /usr/local/x11r5/include \ |
| | | /usr/lpp/Xamples/include \ |
| | | \ |
| | | /usr/openwin/include \ |
| | | /usr/openwin/share/include \ |
| | | ; \ |
| | | do |
| | | if test -r "$ac_dir/$x_direct_test_include"; then |
| ac_x_includes=$ac_dir | | ac_x_includes=$ac_dir |
| break | | break |
| fi | | fi |
| done | | done |
| fi | | fi |
| rm -f conftest.err conftest.$ac_ext | | rm -f conftest* |
| fi # $ac_x_includes = no | | fi # $ac_x_includes = NO |
| | | |
| if test "$ac_x_libraries" = no; then | | if test "$ac_x_libraries" = NO; then |
| # Check for the libraries. | | # Check for the libraries. |
| | | |
| | | test -z "$x_direct_test_library" && x_direct_test_library=Xt |
| | | test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc |
| | | |
| # See if we find them without any special options. | | # See if we find them without any special options. |
| # Don't add to $LIBS permanently. | | # Don't add to $LIBS permanently. |
| ac_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lXt $LIBS" | | LIBS="-l$x_direct_test_library $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3443 "configure" | | #line 2105 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <X11/Intrinsic.h> | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | ${x_direct_test_function}() |
| extern "C" | | ; return 0; } |
| # endif | | EOF |
| int F77_DUMMY_MAIN() { return 1; } | | if { (eval echo configure:2112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| #endif | | rm -rf conftest* |
| int | | LIBS="$ac_save_LIBS" |
| main () | | |
| { | | |
| XtMalloc (0) | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3461: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3464: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3467: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3470: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| LIBS=$ac_save_LIBS | | |
| # We can link X programs with no special library path. | | # We can link X programs with no special library path. |
| ac_x_libraries= | | ac_x_libraries= |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| LIBS=$ac_save_LIBS | | rm -rf conftest* |
| for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | | LIBS="$ac_save_LIBS" |
| | | # First see if replacing the include by lib works. |
| | | # Check X11 before X11Rn because it is often a symlink to the current release. |
| | | for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ |
| | | /usr/X11/lib \ |
| | | /usr/X11R6/lib \ |
| | | /usr/X11R5/lib \ |
| | | /usr/X11R4/lib \ |
| | | \ |
| | | /usr/lib/X11 \ |
| | | /usr/lib/X11R6 \ |
| | | /usr/lib/X11R5 \ |
| | | /usr/lib/X11R4 \ |
| | | \ |
| | | /usr/local/X11/lib \ |
| | | /usr/local/X11R6/lib \ |
| | | /usr/local/X11R5/lib \ |
| | | /usr/local/X11R4/lib \ |
| | | \ |
| | | /usr/local/lib/X11 \ |
| | | /usr/local/lib/X11R6 \ |
| | | /usr/local/lib/X11R5 \ |
| | | /usr/local/lib/X11R4 \ |
| | | \ |
| | | /usr/X386/lib \ |
| | | /usr/x386/lib \ |
| | | /usr/XFree86/lib/X11 \ |
| | | \ |
| | | /usr/lib \ |
| | | /usr/local/lib \ |
| | | /usr/unsupported/lib \ |
| | | /usr/athena/lib \ |
| | | /usr/local/x11r5/lib \ |
| | | /usr/lpp/Xamples/lib \ |
| | | /lib/usr/lib/X11 \ |
| | | \ |
| | | /usr/openwin/lib \ |
| | | /usr/openwin/share/lib \ |
| | | ; \ |
| do | | do |
| # Don't even attempt the hair of trying to link an X program! | | |
| for ac_extension in a so sl; do | | for ac_extension in a so sl; do |
| if test -r $ac_dir/libXt.$ac_extension; then | | if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
| ac_x_libraries=$ac_dir | | ac_x_libraries=$ac_dir |
| break 2 | | break 2 |
| fi | | fi |
| done | | done |
| done | | done |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest* |
| fi # $ac_x_libraries = no | | fi # $ac_x_libraries = NO |
| | | |
| if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then | | if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
| # Didn't find X anywhere. Cache the known absence of X. | | # Didn't find X anywhere. Cache the known absence of X. |
| ac_cv_have_x="have_x=no" | | ac_cv_have_x="have_x=no" |
| else | | else |
| | |
| ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
| fi | | fi |
| fi | | fi |
| | | |
| fi | | fi |
| eval "$ac_cv_have_x" | | eval "$ac_cv_have_x" |
| fi # $with_x != no | | fi # $with_x != no |
| | | |
| if test "$have_x" != yes; then | | if test "$have_x" != yes; then |
| echo "$as_me:3508: result: $have_x" >&5 | | echo "$ac_t""$have_x" 1>&6 |
| echo "${ECHO_T}$have_x" >&6 | | |
| no_x=yes | | no_x=yes |
| else | | else |
| # If each of the values was on the command line, it overrides each guess. | | # If each of the values was on the command line, it overrides each guess. |
| | |
| # Update the cache value to reflect the command line values. | | # Update the cache value to reflect the command line values. |
| ac_cv_have_x="have_x=yes \ | | ac_cv_have_x="have_x=yes \ |
| ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
| echo "$as_me:3518: result: libraries $x_libraries, headers $x_includes" >&5 | | echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
| echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | | |
| fi | | fi |
| | | |
| if test "$no_x" = yes; then | | if test "$no_x" = yes; then |
| # Not all programs may use this symbol, but it does not hurt to define it. | | # Not all programs may use this symbol, but it does not hurt to define it. |
| | | cat >> confdefs.h <<\EOF |
| cat >>confdefs.h <<\_ACEOF | | |
| #define X_DISPLAY_MISSING 1 | | #define X_DISPLAY_MISSING 1 |
| _ACEOF | | EOF |
| | | |
| X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= | | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
| else | | else |
| | |
| X_LIBS="$X_LIBS -L$x_libraries" | | X_LIBS="$X_LIBS -L$x_libraries" |
| # For Solaris; some versions of Sun CC require a space after -R and | | # For Solaris; some versions of Sun CC require a space after -R and |
| # others require no space. Words are not sufficient . . . . | | # others require no space. Words are not sufficient . . . . |
| case `(uname -sr) 2>/dev/null` in | | case "`(uname -sr) 2>/dev/null`" in |
| "SunOS 5"*) | | "SunOS 5"*) |
| echo "$as_me:3542: checking whether -R must be followed by a space" >&5 | | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 | | echo "configure:2218: checking whether -R must be followed by a space" >&5 |
| ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" | | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3546 "configure" | | #line 2221 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | ; return 0; } |
| # endif | | EOF |
| int F77_DUMMY_MAIN() { return 1; } | | if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| #endif | | rm -rf conftest* |
| int | | |
| main () | | |
| { | | |
| | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3564: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3567: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3570: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3573: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_R_nospace=yes | | ac_R_nospace=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_R_nospace=no | | ac_R_nospace=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest* |
| if test $ac_R_nospace = yes; then | | if test $ac_R_nospace = yes; then |
| echo "$as_me:3583: result: no" >&5 | | echo "$ac_t""no" 1>&6 |
| echo "${ECHO_T}no" >&6 | | |
| X_LIBS="$X_LIBS -R$x_libraries" | | X_LIBS="$X_LIBS -R$x_libraries" |
| else | | else |
| LIBS="$ac_xsave_LIBS -R $x_libraries" | | LIBS="$ac_xsave_LIBS -R $x_libraries" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3589 "configure" | | #line 2244 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3607: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3610: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3613: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3616: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_R_space=yes | | ac_R_space=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_R_space=no | | ac_R_space=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest* |
| if test $ac_R_space = yes; then | | if test $ac_R_space = yes; then |
| echo "$as_me:3626: result: yes" >&5 | | echo "$ac_t""yes" 1>&6 |
| echo "${ECHO_T}yes" >&6 | | |
| X_LIBS="$X_LIBS -R $x_libraries" | | X_LIBS="$X_LIBS -R $x_libraries" |
| else | | else |
| echo "$as_me:3630: result: neither works" >&5 | | echo "$ac_t""neither works" 1>&6 |
| echo "${ECHO_T}neither works" >&6 | | |
| fi | | fi |
| fi | | fi |
| LIBS=$ac_xsave_LIBS | | LIBS="$ac_xsave_LIBS" |
| esac | | esac |
| fi | | fi |
| | | |
| | |
| if test "$ISC" = yes; then | | if test "$ISC" = yes; then |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" | | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
| else | | else |
| # Martyn Johnson says this is needed for Ultrix, if the X | | # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
| # libraries were built with DECnet support. And Karl Berry says | | # libraries were built with DECnet support. And karl@cs.umb.edu says |
| # the Alpha needs dnet_stub (dnet does not exist). | | # the Alpha needs dnet_stub (dnet does not exist). |
| ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" | | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| cat >conftest.$ac_ext <<_ACEOF | | echo "configure:2283: checking for dnet_ntoa in -ldnet" >&5 |
| #line 3650 "configure" | | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| #include "confdefs.h" | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| /* Override any gcc2 internal prototype to avoid an error. */ | | |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | |
| builtin and then its argument prototype would still apply. */ | | |
| char XOpenDisplay (); | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| XOpenDisplay (); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3675: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3678: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3681: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3684: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| : | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| echo "$as_me:3690: checking for dnet_ntoa in -ldnet" >&5 | | |
| echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | | |
| if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-ldnet $LIBS" | | LIBS="-ldnet $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3698 "configure" | | #line 2291 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char dnet_ntoa (); | | char dnet_ntoa (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | dnet_ntoa() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:2302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| dnet_ntoa (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:3723: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:3726: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3729: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3732: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_dnet_dnet_ntoa=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_dnet_dnet_ntoa=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:3743: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | | |
| if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | | |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" | | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| if test $ac_cv_lib_dnet_dnet_ntoa = no; then | | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| echo "$as_me:3750: checking for dnet_ntoa in -ldnet_stub" >&5 | | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 | | echo "configure:2324: checking for dnet_ntoa in -ldnet_stub" >&5 |
| if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then | | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-ldnet_stub $LIBS" | | LIBS="-ldnet_stub $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3758 "configure" | | #line 2332 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char dnet_ntoa (); | | char dnet_ntoa (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | dnet_ntoa() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| dnet_ntoa (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3783: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3786: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3789: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3792: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_dnet_stub_dnet_ntoa=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_dnet_stub_dnet_ntoa=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:3803: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 | | |
| if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then | | |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" | | |
| fi | | fi |
| | | rm -f conftest* |
| | | LIBS="$ac_save_LIBS" |
| | | |
| fi | | fi |
| | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| | | fi |
| | | |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS="$ac_xsave_LIBS" | | |
| | | |
| # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, | | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
| # to get the SysV transport functions. | | # to get the SysV transport functions. |
| # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) | | # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| # needs -lnsl. | | # needs -lnsl. |
| # The nsl library prevents programs from opening the X display | | # The nsl library prevents programs from opening the X display |
| # on Irix 5.2, according to T.E. Dickey. | | # on Irix 5.2, according to dickey@clark.net. |
| # The functions gethostbyname, getservbyname, and inet_addr are | | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. | | echo "configure:2372: checking for gethostbyname" >&5 |
| echo "$as_me:3822: checking for gethostbyname" >&5 | | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
| echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| if test "${ac_cv_func_gethostbyname+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3828 "configure" | | #line 2377 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char gethostbyname (); below. */ | | which can conflict with char gethostbyname (); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char gethostbyname (); | | char gethostbyname (); |
| char (*f) (); | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) | | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
| choke me | | choke me |
| #else | | #else |
| f = gethostbyname; | | gethostbyname(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_gethostbyname=yes" |
| if { (eval echo "$as_me:3865: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3868: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3871: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3874: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_func_gethostbyname=yes | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| ac_cv_func_gethostbyname=no | | rm -rf conftest* |
| | | eval "ac_cv_func_gethostbyname=no" |
| | | fi |
| | | rm -f conftest* |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| | | if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | : |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| echo "$as_me:3884: result: $ac_cv_func_gethostbyname" >&5 | | |
| echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 | | |
| | | |
| if test $ac_cv_func_gethostbyname = no; then | | if test $ac_cv_func_gethostbyname = no; then |
| echo "$as_me:3888: checking for gethostbyname in -lnsl" >&5 | | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 | | echo "configure:2421: checking for gethostbyname in -lnsl" >&5 |
| if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 3896 "configure" | | #line 2429 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char gethostbyname (); | | char gethostbyname (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| gethostbyname (); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3921: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3924: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3927: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3930: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_nsl_gethostbyname=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_nsl_gethostbyname=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:3941: result: $ac_cv_lib_nsl_gethostbyname" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 | | |
| if test $ac_cv_lib_nsl_gethostbyname = yes; then | | |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" | | |
| fi | | |
| | | |
| if test $ac_cv_lib_nsl_gethostbyname = no; then | | |
| echo "$as_me:3948: checking for gethostbyname in -lbsd" >&5 | | |
| echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 | | |
| if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| ac_check_lib_save_LIBS=$LIBS | | |
| LIBS="-lbsd $LIBS" | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 3956 "configure" | | |
| #include "confdefs.h" | | |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | int main() { |
| #ifdef __cplusplus | | gethostbyname() |
| extern "C" | | ; return 0; } |
| #endif | | EOF |
| /* We use char because int might match the return type of a gcc2 | | if { (eval echo configure:2440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| builtin and then its argument prototype would still apply. */ | | rm -rf conftest* |
| char gethostbyname (); | | eval "ac_cv_lib_$ac_lib_var=yes" |
| #ifdef F77_DUMMY_MAIN | | else |
| # ifdef __cplusplus | | echo "configure: failed program was:" >&5 |
| extern "C" | | cat conftest.$ac_ext >&5 |
| # endif | | rm -rf conftest* |
| int F77_DUMMY_MAIN() { return 1; } | | eval "ac_cv_lib_$ac_lib_var=no" |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| gethostbyname (); | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext conftest$ac_exeext | | |
| if { (eval echo "$as_me:3981: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3984: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:3987: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:3990: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_bsd_gethostbyname=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_bsd_gethostbyname=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4001: result: $ac_cv_lib_bsd_gethostbyname" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 | | |
| if test $ac_cv_lib_bsd_gethostbyname = yes; then | | |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" | | |
| fi | | fi |
| | | rm -f conftest* |
| | | LIBS="$ac_save_LIBS" |
| | | |
| fi | | fi |
| | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| | | fi |
| | | |
| fi | | fi |
| | | |
| # lieder@skyler.mavd.honeywell.com says without -lsocket, | | # lieder@skyler.mavd.honeywell.com says without -lsocket, |
| # socket/setsockopt and other routines are undefined under SCO ODT | | # socket/setsockopt and other routines are undefined under SCO ODT |
| # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
| # on later versions), says Simon Leinen: it contains gethostby* | | # on later versions), says simon@lia.di.epfl.ch: it contains |
| # variants that don't use the nameserver (or something). -lsocket | | # gethostby* variants that don't use the nameserver (or something). |
| # must be given before -lnsl if both are needed. We assume that | | # -lsocket must be given before -lnsl if both are needed. |
| # if connect needs -lnsl, so does gethostbyname. | | # We assume that if connect needs -lnsl, so does gethostbyname. |
| echo "$as_me:4017: checking for connect" >&5 | | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for connect... $ECHO_C" >&6 | | echo "configure:2470: checking for connect" >&5 |
| if test "${ac_cv_func_connect+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4023 "configure" | | #line 2475 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char connect (); below. */ | | which can conflict with char connect (); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char connect (); | | char connect (); |
| char (*f) (); | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_connect) || defined (__stub___connect) | | #if defined (__stub_connect) || defined (__stub___connect) |
| choke me | | choke me |
| #else | | #else |
| f = connect; | | connect(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_connect=yes" |
| if { (eval echo "$as_me:4060: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4063: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4066: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4069: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_func_connect=yes | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| ac_cv_func_connect=no | | rm -rf conftest* |
| | | eval "ac_cv_func_connect=no" |
| | | fi |
| | | rm -f conftest* |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| | | if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | : |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| echo "$as_me:4079: result: $ac_cv_func_connect" >&5 | | |
| echo "${ECHO_T}$ac_cv_func_connect" >&6 | | |
| | | |
| if test $ac_cv_func_connect = no; then | | if test $ac_cv_func_connect = no; then |
| echo "$as_me:4083: checking for connect in -lsocket" >&5 | | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 | | echo "configure:2519: checking for connect in -lsocket" >&5 |
| if test "${ac_cv_lib_socket_connect+set}" = set; then | | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4091 "configure" | | #line 2527 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char connect (); | | char connect (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | connect() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:2538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| connect (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:4116: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:4119: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4122: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4125: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_socket_connect=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_socket_connect=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4136: result: $ac_cv_lib_socket_connect" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 | | |
| if test $ac_cv_lib_socket_connect = yes; then | | |
| X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" | | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| fi | | fi |
| | | |
| # Guillermo Gomez says -lposix is necessary on A/UX. | | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| echo "$as_me:4145: checking for remove" >&5 | | echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for remove... $ECHO_C" >&6 | | echo "configure:2562: checking for remove" >&5 |
| if test "${ac_cv_func_remove+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4151 "configure" | | #line 2567 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char remove (); below. */ | | which can conflict with char remove (); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char remove (); | | char remove (); |
| char (*f) (); | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_remove) || defined (__stub___remove) | | #if defined (__stub_remove) || defined (__stub___remove) |
| choke me | | choke me |
| #else | | #else |
| f = remove; | | remove(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_remove=yes" |
| if { (eval echo "$as_me:4188: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4191: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4194: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4197: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_func_remove=yes | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| ac_cv_func_remove=no | | rm -rf conftest* |
| | | eval "ac_cv_func_remove=no" |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest* |
| | | fi |
| | | |
| | | if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | : |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| echo "$as_me:4207: result: $ac_cv_func_remove" >&5 | | |
| echo "${ECHO_T}$ac_cv_func_remove" >&6 | | |
| | | |
| if test $ac_cv_func_remove = no; then | | if test $ac_cv_func_remove = no; then |
| echo "$as_me:4211: checking for remove in -lposix" >&5 | | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 | | echo "configure:2611: checking for remove in -lposix" >&5 |
| if test "${ac_cv_lib_posix_remove+set}" = set; then | | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lposix $LIBS" | | LIBS="-lposix $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4219 "configure" | | #line 2619 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char remove (); | | char remove (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | remove() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| remove (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:4244: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:4247: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4250: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4253: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_posix_remove=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_posix_remove=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4264: result: $ac_cv_lib_posix_remove" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 | | |
| if test $ac_cv_lib_posix_remove = yes; then | | |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" | | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| fi | | fi |
| | | |
| # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| echo "$as_me:4273: checking for shmat" >&5 | | echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for shmat... $ECHO_C" >&6 | | echo "configure:2654: checking for shmat" >&5 |
| if test "${ac_cv_func_shmat+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4279 "configure" | | #line 2659 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char shmat (); below. */ | | which can conflict with char shmat (); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char shmat (); | | char shmat (); |
| char (*f) (); | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_shmat) || defined (__stub___shmat) | | #if defined (__stub_shmat) || defined (__stub___shmat) |
| choke me | | choke me |
| #else | | #else |
| f = shmat; | | shmat(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_shmat=yes" |
| if { (eval echo "$as_me:4316: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4319: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4322: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4325: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_func_shmat=yes | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| ac_cv_func_shmat=no | | rm -rf conftest* |
| | | eval "ac_cv_func_shmat=no" |
| | | fi |
| | | rm -f conftest* |
| fi | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| | | if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | : |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| echo "$as_me:4335: result: $ac_cv_func_shmat" >&5 | | |
| echo "${ECHO_T}$ac_cv_func_shmat" >&6 | | |
| | | |
| if test $ac_cv_func_shmat = no; then | | if test $ac_cv_func_shmat = no; then |
| echo "$as_me:4339: checking for shmat in -lipc" >&5 | | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 | | echo "configure:2703: checking for shmat in -lipc" >&5 |
| if test "${ac_cv_lib_ipc_shmat+set}" = set; then | | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lipc $LIBS" | | LIBS="-lipc $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4347 "configure" | | #line 2711 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char shmat (); | | char shmat (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | shmat() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| shmat (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:4372: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:4375: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4378: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4381: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_ipc_shmat=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_ipc_shmat=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4392: result: $ac_cv_lib_ipc_shmat" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 | | |
| if test $ac_cv_lib_ipc_shmat = yes; then | | |
| X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" | | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| fi | | fi |
| fi | | fi |
| | | |
| # Check for libraries that X11R6 Xt/Xaw programs need. | | # Check for libraries that X11R6 Xt/Xaw programs need. |
| ac_save_LDFLAGS=$LDFLAGS | | ac_save_LDFLAGS="$LDFLAGS" |
| test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" | | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
| # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to | | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
| # check for ICE first), but we must link in the order -lSM -lICE or | | # check for ICE first), but we must link in the order -lSM -lICE or |
| # we get undefined symbols. So assume we have SM if we have ICE. | | # we get undefined symbols. So assume we have SM if we have ICE. |
| # These have to be linked with before -lX11, unlike the other | | # These have to be linked with before -lX11, unlike the other |
| # libraries we check for below, so use a different variable. | | # libraries we check for below, so use a different variable. |
| # John Interrante, Karl Berry | | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| echo "$as_me:4410: checking for IceConnectionNumber in -lICE" >&5 | | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 | | echo "configure:2755: checking for IceConnectionNumber in -lICE" >&5 |
| if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then | | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lICE $X_EXTRA_LIBS $LIBS" | | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4418 "configure" | | #line 2763 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char IceConnectionNumber (); | | char IceConnectionNumber (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | IceConnectionNumber() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| IceConnectionNumber (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:4443: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:4446: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:4449: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:4452: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_ICE_IceConnectionNumber=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_ICE_IceConnectionNumber=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4463: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 | | |
| if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then | | |
| X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" | | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| LDFLAGS=$ac_save_LDFLAGS | | LDFLAGS="$ac_save_LDFLAGS" |
| | | |
| fi | | fi |
| | | |
| | | |
| CPPFLAGS="$CPPFLAGS $EXTRA_INC" | | CPPFLAGS="$CPPFLAGS $EXTRA_INC" |
| LDFLAGS="$LDFLAGS $EXTRA_LIB" | | LDFLAGS="$LDFLAGS $EXTRA_LIB" |
| | | |
| OLD_LD_FLAGS="$LDFLAGS" | | OLD_LD_FLAGS="$LDFLAGS" |
| LDFLAGS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS" | | LDFLAGS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS" |
| | | |
| echo "$as_me:4479: checking for main in -lX11" >&5 | | echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 | | echo "configure:2806: checking for main in -lX11" >&5 |
| if test "${ac_cv_lib_X11_main+set}" = set; then | | ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lX11 $LIBS" | | LIBS="-lX11 $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4487 "configure" | | #line 2814 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4505: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4508: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4511: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4514: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_X11_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_X11_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4525: result: $ac_cv_lib_X11_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 | | |
| if test $ac_cv_lib_X11_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBX11 1 | | #define HAVE_LIBX11 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lX11" | | X11LIBS="$X11LIBS -lX11" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4534: checking for main in -lICE" >&5 | | |
| echo $ECHO_N "checking for main in -lICE... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lICE""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_ICE_main+set}" = set; then | | echo "configure:2846: checking for main in -lICE" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo ICE'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lICE $LIBS" | | LIBS="-lICE $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4542 "configure" | | #line 2854 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4560: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4563: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4566: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4569: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_ICE_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_ICE_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4580: result: $ac_cv_lib_ICE_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_ICE_main" >&6 | | |
| if test $ac_cv_lib_ICE_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBICE 1 | | #define HAVE_LIBICE 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lICE" | | X11LIBS="$X11LIBS -lICE" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4589: checking for main in -lSM" >&5 | | |
| echo $ECHO_N "checking for main in -lSM... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lSM""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_SM_main+set}" = set; then | | echo "configure:2886: checking for main in -lSM" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo SM'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lSM $X11LIBS $LIBS" | | LIBS="-lSM $X11LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4597 "configure" | | #line 2894 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:2901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4615: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4618: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4621: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4624: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_SM_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_SM_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4635: result: $ac_cv_lib_SM_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_SM_main" >&6 | | |
| if test $ac_cv_lib_SM_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBSM 1 | | #define HAVE_LIBSM 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lSM" | | X11LIBS="$X11LIBS -lSM" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4644: checking for main in -lXext" >&5 | | |
| echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_Xext_main+set}" = set; then | | echo "configure:2926: checking for main in -lXext" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lXext -lX11 $LIBS" | | LIBS="-lXext -lX11 $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4652 "configure" | | #line 2934 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4670: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4673: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4676: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4679: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_Xext_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_Xext_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4690: result: $ac_cv_lib_Xext_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6 | | |
| if test $ac_cv_lib_Xext_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBXEXT 1 | | #define HAVE_LIBXEXT 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lXext" | | X11LIBS="$X11LIBS -lXext" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4699: checking for main in -lXt" >&5 | | |
| echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_Xt_main+set}" = set; then | | echo "configure:2966: checking for main in -lXt" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lXt $X11LIBS $LIBS" | | LIBS="-lXt $X11LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4707 "configure" | | #line 2974 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4725: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4728: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4731: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4734: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_Xt_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_Xt_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4745: result: $ac_cv_lib_Xt_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 | | |
| if test $ac_cv_lib_Xt_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBXT 1 | | #define HAVE_LIBXT 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lXt" | | X11LIBS="$X11LIBS -lXt" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4754: checking for main in -lXmu" >&5 | | |
| echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_Xmu_main+set}" = set; then | | echo "configure:3006: checking for main in -lXmu" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lXmu $X11LIBS $LIBS" | | LIBS="-lXmu $X11LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4762 "configure" | | #line 3014 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4780: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4783: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4786: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4789: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_Xmu_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_Xmu_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4800: result: $ac_cv_lib_Xmu_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6 | | |
| if test $ac_cv_lib_Xmu_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBXMU 1 | | #define HAVE_LIBXMU 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lXmu" | | X11LIBS="$X11LIBS -lXmu" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4809: checking for main in -lXaw" >&5 | | |
| echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_Xaw_main+set}" = set; then | | echo "configure:3046: checking for main in -lXaw" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lXaw $X11LIBS $LIBS" | | LIBS="-lXaw $X11LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4817 "configure" | | #line 3054 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4835: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4838: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4841: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4844: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_Xaw_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_Xaw_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4855: result: $ac_cv_lib_Xaw_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6 | | |
| if test $ac_cv_lib_Xaw_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBXAW 1 | | #define HAVE_LIBXAW 1 |
| _ACEOF | | EOF |
| X11LIBS="-lXaw $X11LIBS" | | X11LIBS="-lXaw $X11LIBS" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| | | |
| LDFLAGS="$OLD_LD_FLAGS" | | LDFLAGS="$OLD_LD_FLAGS" |
| X11LIBS="$X_LIBS $X11LIBS" | | X11LIBS="$X_LIBS $X11LIBS" |
| | | |
| echo "$as_me:4867: checking for main in -lXpm" >&5 | | echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6 | | echo "configure:3089: checking for main in -lXpm" >&5 |
| if test "${ac_cv_lib_Xpm_main+set}" = set; then | | ac_lib_var=`echo Xpm'_'main | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lXpm $X11LIBS $LIBS" | | LIBS="-lXpm $X11LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4875 "configure" | | #line 3097 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4893: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4896: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4899: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4902: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_Xpm_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_Xpm_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4913: result: $ac_cv_lib_Xpm_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6 | | |
| if test $ac_cv_lib_Xpm_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBXPM 1 | | #define HAVE_LIBXPM 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lXpm" | | X11LIBS="$X11LIBS -lXpm" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4922: checking for main in -lm" >&5 | | |
| echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_m_main+set}" = set; then | | echo "configure:3129: checking for main in -lm" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lm $LIBS" | | LIBS="-lm $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4930 "configure" | | #line 3137 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:4948: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:4951: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:4954: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:4957: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| ac_cv_lib_m_main=yes | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| else | | cat >> confdefs.h <<EOF |
| echo "$as_me: failed program was:" >&5 | | #define $ac_tr_lib 1 |
| cat conftest.$ac_ext >&5 | | EOF |
| ac_cv_lib_m_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:4968: result: $ac_cv_lib_m_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | | |
| if test $ac_cv_lib_m_main = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBM 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-lm $LIBS" | | LIBS="-lm $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:4979: checking for main in -lpng" >&5 | | |
| echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lpng""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_png_main+set}" = set; then | | echo "configure:3173: checking for main in -lpng" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo png'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lpng $X11LIBS $LIBS" | | LIBS="-lpng $X11LIBS $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 4987 "configure" | | #line 3181 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:5005: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:5008: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:5011: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:5014: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | cat >> confdefs.h <<\EOF |
| ac_cv_lib_png_main=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_png_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5025: result: $ac_cv_lib_png_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_png_main" >&6 | | |
| if test $ac_cv_lib_png_main = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_LIBPNG 1 | | #define HAVE_LIBPNG 1 |
| _ACEOF | | EOF |
| X11LIBS="$X11LIBS -lpng" | | X11LIBS="$X11LIBS -lpng" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:5034: checking for main in -lcrypt" >&5 | | |
| echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 | | echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_crypt_main+set}" = set; then | | echo "configure:3213: checking for main in -lcrypt" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lcrypt $LIBS" | | LIBS="-lcrypt $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5042 "configure" | | #line 3221 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:5060: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:5063: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:5066: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:5069: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| ac_cv_lib_crypt_main=yes | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| else | | cat >> confdefs.h <<EOF |
| echo "$as_me: failed program was:" >&5 | | #define $ac_tr_lib 1 |
| cat conftest.$ac_ext >&5 | | EOF |
| ac_cv_lib_crypt_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5080: result: $ac_cv_lib_crypt_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 | | |
| if test $ac_cv_lib_crypt_main = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBCRYPT 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-lcrypt $LIBS" | | LIBS="-lcrypt $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:5091: checking for des_crypt in -ldes" >&5 | | echo $ac_n "checking for des_crypt in -ldes""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for des_crypt in -ldes... $ECHO_C" >&6 | | echo "configure:3256: checking for des_crypt in -ldes" >&5 |
| if test "${ac_cv_lib_des_des_crypt+set}" = set; then | | ac_lib_var=`echo des'_'des_crypt | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-ldes $LIBS" | | LIBS="-ldes $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5099 "configure" | | #line 3264 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char des_crypt (); | | char des_crypt (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | des_crypt() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| des_crypt (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:5124: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:5127: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | ac_tr_lib=HAVE_LIB`echo des | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| { (eval echo "$as_me:5130: \"$ac_try\"") >&5 | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| (eval $ac_try) 2>&5 | | cat >> confdefs.h <<EOF |
| ac_status=$? | | #define $ac_tr_lib 1 |
| echo "$as_me:5133: \$? = $ac_status" >&5 | | EOF |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_des_des_crypt=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_des_des_crypt=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5144: result: $ac_cv_lib_des_des_crypt" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_des_des_crypt" >&6 | | |
| if test $ac_cv_lib_des_des_crypt = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBDES 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-ldes $LIBS" | | LIBS="-ldes $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:5155: checking for main in -ldmalloclp" >&5 | | |
| echo $ECHO_N "checking for main in -ldmalloclp... $ECHO_C" >&6 | | |
| if test "${ac_cv_lib_dmalloclp_main+set}" = set; then | | echo $ac_n "checking for main in -ldmalloclp""... $ac_c" 1>&6 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo "configure:3305: checking for main in -ldmalloclp" >&5 |
| | | ac_lib_var=`echo dmalloclp'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-ldmalloclp $LIBS" | | LIBS="-ldmalloclp $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5163 "configure" | | #line 3313 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:5181: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:5184: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:5187: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:5190: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | ac_tr_lib=HAVE_LIB`echo dmalloclp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| ac_cv_lib_dmalloclp_main=yes | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| else | | cat >> confdefs.h <<EOF |
| echo "$as_me: failed program was:" >&5 | | #define $ac_tr_lib 1 |
| cat conftest.$ac_ext >&5 | | EOF |
| ac_cv_lib_dmalloclp_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5201: result: $ac_cv_lib_dmalloclp_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_dmalloclp_main" >&6 | | |
| if test $ac_cv_lib_dmalloclp_main = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBDMALLOCLP 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-ldmalloclp $LIBS" | | LIBS="-ldmalloclp $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| echo "$as_me:5212: checking for main in -ldl" >&5 | | |
| echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6 | | echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 |
| if test "${ac_cv_lib_dl_main+set}" = set; then | | echo "configure:3349: checking for main in -ldl" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` |
| | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-ldl $LIBS" | | LIBS="-ldl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5220 "configure" | | #line 3357 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | ; return 0; } |
| main (); | | EOF |
| ; | | if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=yes" |
| _ACEOF | | else |
| rm -f conftest.$ac_objext conftest$ac_exeext | | echo "configure: failed program was:" >&5 |
| if { (eval echo "$as_me:5238: \"$ac_link\"") >&5 | | cat conftest.$ac_ext >&5 |
| (eval $ac_link) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_lib_$ac_lib_var=no" |
| echo "$as_me:5241: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); } && | | rm -f conftest* |
| { ac_try='test -s conftest$ac_exeext' | | LIBS="$ac_save_LIBS" |
| { (eval echo "$as_me:5244: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$as_me:5247: \$? = $ac_status" >&5 | | echo "$ac_t""yes" 1>&6 |
| (exit $ac_status); }; }; then | | ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| ac_cv_lib_dl_main=yes | | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| else | | cat >> confdefs.h <<EOF |
| echo "$as_me: failed program was:" >&5 | | #define $ac_tr_lib 1 |
| cat conftest.$ac_ext >&5 | | EOF |
| ac_cv_lib_dl_main=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5258: result: $ac_cv_lib_dl_main" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_dl_main" >&6 | | |
| if test $ac_cv_lib_dl_main = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define HAVE_LIBDL 1 | | |
| _ACEOF | | |
| | | |
| LIBS="-ldl $LIBS" | | LIBS="-ldl $LIBS" |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| | | |
| ac_header_dirent=no | | ac_header_dirent=no |
| for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
| as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | | do |
| echo "$as_me:5272: checking for $ac_hdr that defines DIR" >&5 | | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 | | echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | | echo "configure:3397: checking for $ac_hdr that defines DIR" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5278 "configure" | | #line 3402 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/types.h> | | #include <sys/types.h> |
| #include <$ac_hdr> | | #include <$ac_hdr> |
| | | int main() { |
| #ifdef F77_DUMMY_MAIN | | DIR *dirp = 0; |
| # ifdef __cplusplus | | ; return 0; } |
| extern "C" | | EOF |
| # endif | | if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| int F77_DUMMY_MAIN() { return 1; } | | rm -rf conftest* |
| #endif | | eval "ac_cv_header_dirent_$ac_safe=yes" |
| int | | else |
| main () | | echo "configure: failed program was:" >&5 |
| { | | cat conftest.$ac_ext >&5 |
| if ((DIR *) 0) | | rm -rf conftest* |
| return 0; | | eval "ac_cv_header_dirent_$ac_safe=no" |
| ; | | fi |
| return 0; | | rm -f conftest* |
| } | | fi |
| _ACEOF | | if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then |
| rm -f conftest.$ac_objext | | echo "$ac_t""yes" 1>&6 |
| if { (eval echo "$as_me:5299: \"$ac_compile\"") >&5 | | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
| (eval $ac_compile) 2>&5 | | cat >> confdefs.h <<EOF |
| ac_status=$? | | #define $ac_tr_hdr 1 |
| echo "$as_me:5302: \$? = $ac_status" >&5 | | EOF |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:5305: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5308: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| eval "$as_ac_Header=yes" | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| eval "$as_ac_Header=no" | | |
| fi | | |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| fi | | |
| echo "$as_me:5318: result: `eval echo '${'$as_ac_Header'}'`" >&5 | | |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | | |
| if test `eval echo '${'$as_ac_Header'}'` = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | | |
| _ACEOF | | |
| | | |
| ac_header_dirent=$ac_hdr; break | | ac_header_dirent=$ac_hdr; break |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| done | | done |
| # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| if test $ac_header_dirent = dirent.h; then | | if test $ac_header_dirent = dirent.h; then |
| echo "$as_me:5331: checking for opendir in -ldir" >&5 | | echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 | | echo "configure:3435: checking for opendir in -ldir" >&5 |
| if test "${ac_cv_lib_dir_opendir+set}" = set; then | | ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-ldir $LIBS" | | LIBS="-ldir $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5339 "configure" | | #line 3443 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char opendir (); | | char opendir (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | opendir() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| opendir (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:5364: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:5367: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:5370: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5373: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_dir_opendir=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_dir_opendir=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5384: result: $ac_cv_lib_dir_opendir" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 | | |
| if test $ac_cv_lib_dir_opendir = yes; then | | |
| LIBS="$LIBS -ldir" | | LIBS="$LIBS -ldir" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| else | | else |
| echo "$as_me:5391: checking for opendir in -lx" >&5 | | echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 | | echo "configure:3476: checking for opendir in -lx" >&5 |
| if test "${ac_cv_lib_x_opendir+set}" = set; then | | ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lx $LIBS" | | LIBS="-lx $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5399 "configure" | | #line 3484 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char opendir (); | | char opendir (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | opendir() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| opendir (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:5424: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:5427: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | |
| { (eval echo "$as_me:5430: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5433: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_x_opendir=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_x_opendir=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:5444: result: $ac_cv_lib_x_opendir" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 | | |
| if test $ac_cv_lib_x_opendir = yes; then | | |
| LIBS="$LIBS -lx" | | LIBS="$LIBS -lx" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:5452: checking for ANSI C header files" >&5 | | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | | echo "configure:3518: checking for ANSI C header files" >&5 |
| if test "${ac_cv_header_stdc+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5458 "configure" | | #line 3523 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <stdlib.h> | | #include <stdlib.h> |
| #include <stdarg.h> | | #include <stdarg.h> |
| #include <string.h> | | #include <string.h> |
| #include <float.h> | | #include <float.h> |
| | | EOF |
| _ACEOF | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| if { (eval echo "$as_me:5466: \"$ac_cpp conftest.$ac_ext\"") >&5 | | { (eval echo configure:3531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| ac_status=$? | | if test -z "$ac_err"; then |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | rm -rf conftest* |
| rm -f conftest.er1 | | |
| cat conftest.err >&5 | | |
| echo "$as_me:5472: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | |
| else | | |
| ac_cpp_err=yes | | |
| fi | | |
| if test -z "$ac_cpp_err"; then | | |
| ac_cv_header_stdc=yes | | ac_cv_header_stdc=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_err" >&5 |
| | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| fi | | fi |
| rm -f conftest.err conftest.$ac_ext | | rm -f conftest* |
| | | |
| if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
| # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5494 "configure" | | #line 3548 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <string.h> | | #include <string.h> |
| | | EOF |
| _ACEOF | | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| egrep "memchr" >/dev/null 2>&1; then | | egrep "memchr" >/dev/null 2>&1; then |
| : | | : |
| else | | else |
| | | rm -rf conftest* |
| ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| fi | | fi |
| rm -f conftest* | | rm -f conftest* |
| | |
| | | |
| if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
| # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5512 "configure" | | #line 3566 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <stdlib.h> | | #include <stdlib.h> |
| | | EOF |
| _ACEOF | | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| egrep "free" >/dev/null 2>&1; then | | egrep "free" >/dev/null 2>&1; then |
| : | | : |
| else | | else |
| | | rm -rf conftest* |
| ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| fi | | fi |
| rm -f conftest* | | rm -f conftest* |
| | |
| if test "$cross_compiling" = yes; then | | if test "$cross_compiling" = yes; then |
| : | | : |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5533 "configure" | | #line 3587 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <ctype.h> | | #include <ctype.h> |
| #if ((' ' & 0x0FF) == 0x020) | | |
| # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| #else | | |
| # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | | |
| || ('j' <= (c) && (c) <= 'r') \ | | |
| || ('s' <= (c) && (c) <= 'z')) | | |
| # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | | |
| #endif | | |
| | | |
| #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| int | | int main () { int i; for (i = 0; i < 256; i++) |
| main () | | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| { | | exit (0); } |
| int i; | | |
| for (i = 0; i < 256; i++) | | EOF |
| if (XOR (islower (i), ISLOWER (i)) | | if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| || toupper (i) != TOUPPER (i)) | | then |
| exit(2); | | |
| exit (0); | | |
| } | | |
| _ACEOF | | |
| rm -f conftest$ac_exeext | | |
| if { (eval echo "$as_me:5559: \"$ac_link\"") >&5 | | |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5562: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | |
| { (eval echo "$as_me:5564: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5567: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| : | | : |
| else | | else |
| echo "$as_me: program exited with status $ac_status" >&5 | | echo "configure: failed program was:" >&5 |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -fr conftest* |
| ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| fi | | fi |
| rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | rm -fr conftest* |
| fi | | fi |
| | | |
| fi | | fi |
| fi | | fi |
| echo "$as_me:5580: result: $ac_cv_header_stdc" >&5 | | |
| echo "${ECHO_T}$ac_cv_header_stdc" >&6 | | |
| if test $ac_cv_header_stdc = yes; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
| | | if test $ac_cv_header_stdc = yes; then |
| | | cat >> confdefs.h <<\EOF |
| #define STDC_HEADERS 1 | | #define STDC_HEADERS 1 |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| # On IRIX 5.3, sys/types and inttypes.h are conflicting. | | for ac_hdr in fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h |
| | | |
| for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | | |
| inttypes.h stdint.h unistd.h | | |
| do | | do |
| as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| echo "$as_me:5596: checking for $ac_header" >&5 | | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | echo "configure:3625: checking for $ac_hdr" >&5 |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5602 "configure" | | #line 3630 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| $ac_includes_default | | #include <$ac_hdr> |
| | | EOF |
| #include <$ac_header> | | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| _ACEOF | | { (eval echo configure:3635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| rm -f conftest.$ac_objext | | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| if { (eval echo "$as_me:5609: \"$ac_compile\"") >&5 | | if test -z "$ac_err"; then |
| (eval $ac_compile) 2>&5 | | rm -rf conftest* |
| ac_status=$? | | eval "ac_cv_header_$ac_safe=yes" |
| echo "$as_me:5612: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:5615: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5618: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| eval "$as_ac_Header=yes" | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_err" >&5 |
| | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| eval "$as_ac_Header=no" | | rm -rf conftest* |
| fi | | eval "ac_cv_header_$ac_safe=no" |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| fi | | |
| echo "$as_me:5628: result: `eval echo '${'$as_ac_Header'}'`" >&5 | | |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | | |
| if test `eval echo '${'$as_ac_Header'}'` = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | |
| _ACEOF | | |
| | | |
| fi | | |
| | | |
| done | | |
| | | |
| for ac_header in fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h | | |
| do | | |
| as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | | |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | | |
| echo "$as_me:5643: checking for $ac_header" >&5 | | |
| echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| fi | | |
| echo "$as_me:5648: result: `eval echo '${'$as_ac_Header'}'`" >&5 | | |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | | |
| else | | |
| # Is the header compilable? | | |
| echo "$as_me:5652: checking $ac_header usability" >&5 | | |
| echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 5655 "configure" | | |
| #include "confdefs.h" | | |
| $ac_includes_default | | |
| #include <$ac_header> | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:5661: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5664: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:5667: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5670: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_header_compiler=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_header_compiler=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest.$ac_ext | | |
| echo "$as_me:5679: result: $ac_header_compiler" >&5 | | |
| echo "${ECHO_T}$ac_header_compiler" >&6 | | |
| | | |
| # Is the header present? | | |
| echo "$as_me:5683: checking $ac_header presence" >&5 | | |
| echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 5686 "configure" | | |
| #include "confdefs.h" | | |
| #include <$ac_header> | | |
| _ACEOF | | |
| if { (eval echo "$as_me:5690: \"$ac_cpp conftest.$ac_ext\"") >&5 | | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | |
| ac_status=$? | | |
| egrep -v '^ *\+' conftest.er1 >conftest.err | | |
| rm -f conftest.er1 | | |
| cat conftest.err >&5 | | |
| echo "$as_me:5696: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } >/dev/null; then | | |
| if test -s conftest.err; then | | |
| ac_cpp_err=$ac_c_preproc_warn_flag | | |
| else | | |
| ac_cpp_err= | | |
| fi | | |
| else | | |
| ac_cpp_err=yes | | |
| fi | | |
| if test -z "$ac_cpp_err"; then | | |
| ac_header_preproc=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_header_preproc=no | | |
| fi | | |
| rm -f conftest.err conftest.$ac_ext | | |
| echo "$as_me:5714: result: $ac_header_preproc" >&5 | | |
| echo "${ECHO_T}$ac_header_preproc" >&6 | | |
| | | |
| # So? What about this header? | | |
| case $ac_header_compiler:$ac_header_preproc in | | |
| yes:no ) | | |
| { echo "$as_me:5720: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | |
| echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | |
| { echo "$as_me:5722: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | |
| echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | |
| no:yes ) | | |
| { echo "$as_me:5725: WARNING: $ac_header: present but cannot be compiled." >&5 | | |
| echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;} | | |
| { echo "$as_me:5727: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | |
| echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | |
| { echo "$as_me:5729: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | |
| echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | |
| esac | | |
| echo "$as_me:5732: checking for $ac_header" >&5 | | |
| echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| eval "$as_ac_Header=$ac_header_preproc" | | |
| fi | | |
| echo "$as_me:5739: result: `eval echo '${'$as_ac_Header'}'`" >&5 | | |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | | |
| | | |
| fi | | fi |
| if test `eval echo '${'$as_ac_Header'}'` = yes; then | | rm -f conftest* |
| cat >>confdefs.h <<_ACEOF | | |
| #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | |
| _ACEOF | | |
| | | |
| fi | | fi |
| | | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
| | | cat >> confdefs.h <<EOF |
| | | #define $ac_tr_hdr 1 |
| | | EOF |
| | | |
| done | | |
| | | |
| echo "$as_me:5752: checking for $CC option to accept ANSI C" >&5 | | |
| echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | | |
| if test "${ac_cv_prog_cc_stdc+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | |
| ac_cv_prog_cc_stdc=no | | |
| ac_save_CC=$CC | | |
| cat >conftest.$ac_ext <<_ACEOF | | |
| #line 5760 "configure" | | |
| #include "confdefs.h" | | |
| #include <stdarg.h> | | |
| #include <stdio.h> | | |
| #include <sys/types.h> | | |
| #include <sys/stat.h> | | |
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | | |
| struct buf { int x; }; | | |
| FILE * (*rcsopen) (struct buf *, struct stat *, int); | | |
| static char *e (p, i) | | |
| char **p; | | |
| int i; | | |
| { | | |
| return p[i]; | | |
| } | | |
| static char *f (char * (*g) (char **, int), char **p, ...) | | |
| { | | |
| char *s; | | |
| va_list v; | | |
| va_start (v,p); | | |
| s = g (p, va_arg (v,int)); | | |
| va_end (v); | | |
| return s; | | |
| } | | |
| int test (int i, double x); | | |
| struct s1 {int (*f) (int a);}; | | |
| struct s2 {int (*f) (double a);}; | | |
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | | |
| int argc; | | |
| char **argv; | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| # Don't try gcc -ansi; that turns off useful extensions and | | |
| # breaks some systems' header files. | | |
| # AIX -qlanglvl=ansi | | |
| # Ultrix and OSF/1 -std1 | | |
| # HP-UX 10.20 and later -Ae | | |
| # HP-UX older versions -Aa -D_HPUX_SOURCE | | |
| # SVR4 -Xc -D__EXTENSIONS__ | | |
| for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | | |
| do | | |
| CC="$ac_save_CC $ac_arg" | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:5815: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5818: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:5821: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5824: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_prog_cc_stdc=$ac_arg | | |
| break | | |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "$ac_t""no" 1>&6 |
| cat conftest.$ac_ext >&5 | | |
| fi | | fi |
| rm -f conftest.$ac_objext | | |
| done | | done |
| rm -f conftest.$ac_ext conftest.$ac_objext | | |
| CC=$ac_save_CC | | |
| | | |
| fi | | |
| | | |
| case "x$ac_cv_prog_cc_stdc" in | | |
| x|xno) | | |
| echo "$as_me:5841: result: none needed" >&5 | | |
| echo "${ECHO_T}none needed" >&6 ;; | | |
| *) | | |
| echo "$as_me:5844: result: $ac_cv_prog_cc_stdc" >&5 | | |
| echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | | |
| CC="$CC $ac_cv_prog_cc_stdc" ;; | | |
| esac | | |
| | | |
| echo "$as_me:5849: checking for an ANSI C-conforming const" >&5 | | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | | echo "configure:3663: checking for working const" >&5 |
| if test "${ac_cv_c_const+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5855 "configure" | | #line 3668 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* FIXME: Include the comments suggested by Paul. */ | | |
| #ifndef __cplusplus | | |
| /* Ultrix mips cc rejects this. */ | | /* Ultrix mips cc rejects this. */ |
| typedef int charset[2]; | | typedef int charset[2]; const charset x; |
| const charset x; | | |
| /* SunOS 4.1.1 cc rejects this. */ | | /* SunOS 4.1.1 cc rejects this. */ |
| char const *const *ccp; | | char const *const *ccp; |
| char **p; | | char **p; |
| | |
| struct point {int x, y;}; | | struct point {int x, y;}; |
| static struct point const zero = {0,0}; | | static struct point const zero = {0,0}; |
| /* AIX XL C 1.02.0.0 rejects this. | | /* AIX XL C 1.02.0.0 rejects this. |
| It does not let you subtract one const X* pointer from another in | | It does not let you subtract one const X* pointer from another in an arm |
| an arm of an if-expression whose if-part is not a constant | | of an if-expression whose if-part is not a constant expression */ |
| expression */ | | |
| const char *g = "string"; | | const char *g = "string"; |
| ccp = &g + (g ? g-g : 0); | | ccp = &g + (g ? g-g : 0); |
| /* HPUX 7.0 cc rejects these. */ | | /* HPUX 7.0 cc rejects these. */ |
| | |
| { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| const int foo = 10; | | const int foo = 10; |
| } | | } |
| #endif | | |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:3717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:5919: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5922: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:5925: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5928: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_c_const=yes | | ac_cv_c_const=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_cv_c_const=no | | ac_cv_c_const=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | fi |
| echo "$as_me:5938: result: $ac_cv_c_const" >&5 | | |
| echo "${ECHO_T}$ac_cv_c_const" >&6 | | |
| if test $ac_cv_c_const = no; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | echo "$ac_t""$ac_cv_c_const" 1>&6 |
| | | if test $ac_cv_c_const = no; then |
| | | cat >> confdefs.h <<\EOF |
| #define const | | #define const |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:5948: checking for inline" >&5 | | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for inline... $ECHO_C" >&6 | | echo "configure:3738: checking for inline" >&5 |
| if test "${ac_cv_c_inline+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_cv_c_inline=no | | ac_cv_c_inline=no |
| for ac_kw in inline __inline__ __inline; do | | for ac_kw in inline __inline__ __inline; do |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 5956 "configure" | | #line 3745 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #ifndef __cplusplus | | |
| static $ac_kw int static_foo () {return 0; } | | |
| $ac_kw int foo () {return 0; } | | |
| #endif | | |
| | | |
| _ACEOF | | int main() { |
| rm -f conftest.$ac_objext | | } $ac_kw foo() { |
| if { (eval echo "$as_me:5965: \"$ac_compile\"") >&5 | | ; return 0; } |
| (eval $ac_compile) 2>&5 | | EOF |
| ac_status=$? | | if { (eval echo configure:3752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| echo "$as_me:5968: \$? = $ac_status" >&5 | | rm -rf conftest* |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:5971: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:5974: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_c_inline=$ac_kw; break | | ac_cv_c_inline=$ac_kw; break |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| done | | done |
| | | |
| fi | | fi |
| echo "$as_me:5985: result: $ac_cv_c_inline" >&5 | | |
| echo "${ECHO_T}$ac_cv_c_inline" >&6 | | echo "$ac_t""$ac_cv_c_inline" 1>&6 |
| case $ac_cv_c_inline in | | case "$ac_cv_c_inline" in |
| inline | yes) ;; | | inline | yes) ;; |
| no) | | no) cat >> confdefs.h <<\EOF |
| cat >>confdefs.h <<\_ACEOF | | |
| #define inline | | #define inline |
| _ACEOF | | EOF |
| ;; | | ;; |
| *) cat >>confdefs.h <<_ACEOF | | *) cat >> confdefs.h <<EOF |
| #define inline $ac_cv_c_inline | | #define inline $ac_cv_c_inline |
| _ACEOF | | EOF |
| ;; | | ;; |
| esac | | esac |
| | | |
| echo "$as_me:6000: checking for pid_t" >&5 | | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | | echo "configure:3778: checking for pid_t" >&5 |
| if test "${ac_cv_type_pid_t+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6006 "configure" | | #line 3783 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| $ac_includes_default | | #include <sys/types.h> |
| #ifdef F77_DUMMY_MAIN | | #if STDC_HEADERS |
| # ifdef __cplusplus | | #include <stdlib.h> |
| extern "C" | | #include <stddef.h> |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | #endif |
| int | | EOF |
| main () | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| { | | egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| if ((pid_t *) 0) | | rm -rf conftest* |
| return 0; | | |
| if (sizeof (pid_t)) | | |
| return 0; | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6027: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6030: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6033: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6036: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_type_pid_t=yes | | ac_cv_type_pid_t=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | rm -rf conftest* |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_type_pid_t=no | | ac_cv_type_pid_t=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | |
| echo "$as_me:6046: result: $ac_cv_type_pid_t" >&5 | | |
| echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | | |
| if test $ac_cv_type_pid_t = yes; then | | |
| : | | |
| else | | |
| | | |
| cat >>confdefs.h <<_ACEOF | | fi |
| | | echo "$ac_t""$ac_cv_type_pid_t" 1>&6 |
| | | if test $ac_cv_type_pid_t = no; then |
| | | cat >> confdefs.h <<\EOF |
| #define pid_t int | | #define pid_t int |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:6058: checking for size_t" >&5 | | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | | echo "configure:3811: checking for size_t" >&5 |
| if test "${ac_cv_type_size_t+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6064 "configure" | | #line 3816 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| $ac_includes_default | | #include <sys/types.h> |
| #ifdef F77_DUMMY_MAIN | | #if STDC_HEADERS |
| # ifdef __cplusplus | | #include <stdlib.h> |
| extern "C" | | #include <stddef.h> |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | #endif |
| int | | EOF |
| main () | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| { | | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| if ((size_t *) 0) | | rm -rf conftest* |
| return 0; | | |
| if (sizeof (size_t)) | | |
| return 0; | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6085: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6088: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6091: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6094: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_type_size_t=yes | | ac_cv_type_size_t=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | rm -rf conftest* |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_type_size_t=no | | ac_cv_type_size_t=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | |
| echo "$as_me:6104: result: $ac_cv_type_size_t" >&5 | | |
| echo "${ECHO_T}$ac_cv_type_size_t" >&6 | | |
| if test $ac_cv_type_size_t = yes; then | | |
| : | | |
| else | | |
| | | |
| cat >>confdefs.h <<_ACEOF | | fi |
| | | echo "$ac_t""$ac_cv_type_size_t" 1>&6 |
| | | if test $ac_cv_type_size_t = no; then |
| | | cat >> confdefs.h <<\EOF |
| #define size_t unsigned | | #define size_t unsigned |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:6116: checking whether time.h and sys/time.h may both be included" >&5 | | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | | echo "configure:3844: checking whether time.h and sys/time.h may both be included" >&5 |
| if test "${ac_cv_header_time+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6122 "configure" | | #line 3849 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/types.h> | | #include <sys/types.h> |
| #include <sys/time.h> | | #include <sys/time.h> |
| #include <time.h> | | #include <time.h> |
| | | int main() { |
| #ifdef F77_DUMMY_MAIN | | struct tm *tp; |
| # ifdef __cplusplus | | ; return 0; } |
| extern "C" | | EOF |
| # endif | | if { (eval echo configure:3858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| int F77_DUMMY_MAIN() { return 1; } | | rm -rf conftest* |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| if ((struct tm *) 0) | | |
| return 0; | | |
| ; | | |
| return 0; | | |
| } | | |
| _ACEOF | | |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6144: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6147: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6150: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6153: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_header_time=yes | | ac_cv_header_time=yes |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_cv_header_time=no | | ac_cv_header_time=no |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | fi |
| echo "$as_me:6163: result: $ac_cv_header_time" >&5 | | |
| echo "${ECHO_T}$ac_cv_header_time" >&6 | | |
| if test $ac_cv_header_time = yes; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | echo "$ac_t""$ac_cv_header_time" 1>&6 |
| | | if test $ac_cv_header_time = yes; then |
| | | cat >> confdefs.h <<\EOF |
| #define TIME_WITH_SYS_TIME 1 | | #define TIME_WITH_SYS_TIME 1 |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:6173: checking whether struct tm is in sys/time.h or time.h" >&5 | | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | | echo "configure:3879: checking whether struct tm is in sys/time.h or time.h" >&5 |
| if test "${ac_cv_struct_tm+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6179 "configure" | | #line 3884 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/types.h> | | #include <sys/types.h> |
| #include <time.h> | | #include <time.h> |
| | | int main() { |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| struct tm *tp; tp->tm_sec; | | struct tm *tp; tp->tm_sec; |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:3892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6199: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6202: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6205: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6208: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_struct_tm=time.h | | ac_cv_struct_tm=time.h |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_cv_struct_tm=sys/time.h | | ac_cv_struct_tm=sys/time.h |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | fi |
| echo "$as_me:6218: result: $ac_cv_struct_tm" >&5 | | |
| echo "${ECHO_T}$ac_cv_struct_tm" >&6 | | |
| if test $ac_cv_struct_tm = sys/time.h; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | echo "$ac_t""$ac_cv_struct_tm" 1>&6 |
| | | if test $ac_cv_struct_tm = sys/time.h; then |
| | | cat >> confdefs.h <<\EOF |
| #define TM_IN_SYS_TIME 1 | | #define TM_IN_SYS_TIME 1 |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:6228: checking for uid_t in sys/types.h" >&5 | | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 | | echo "configure:3913: checking for uid_t in sys/types.h" >&5 |
| if test "${ac_cv_type_uid_t+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6234 "configure" | | #line 3918 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/types.h> | | #include <sys/types.h> |
| | | EOF |
| _ACEOF | | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| egrep "uid_t" >/dev/null 2>&1; then | | egrep "uid_t" >/dev/null 2>&1; then |
| | | rm -rf conftest* |
| ac_cv_type_uid_t=yes | | ac_cv_type_uid_t=yes |
| else | | else |
| | | rm -rf conftest* |
| ac_cv_type_uid_t=no | | ac_cv_type_uid_t=no |
| fi | | fi |
| rm -f conftest* | | rm -f conftest* |
| | | |
| fi | | fi |
| echo "$as_me:6248: result: $ac_cv_type_uid_t" >&5 | | |
| echo "${ECHO_T}$ac_cv_type_uid_t" >&6 | | |
| if test $ac_cv_type_uid_t = no; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | echo "$ac_t""$ac_cv_type_uid_t" 1>&6 |
| | | if test $ac_cv_type_uid_t = no; then |
| | | cat >> confdefs.h <<\EOF |
| #define uid_t int | | #define uid_t int |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<\_ACEOF | | cat >> confdefs.h <<\EOF |
| #define gid_t int | | #define gid_t int |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| if test $ac_cv_c_compiler_gnu = yes; then | | |
| echo "$as_me:6263: checking whether $CC needs -traditional" >&5 | | if test $ac_cv_prog_gcc = yes; then |
| echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
| if test "${ac_cv_prog_gcc_traditional+set}" = set; then | | echo "configure:3949: checking whether ${CC-cc} needs -traditional" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_pattern="Autoconf.*'x'" | | ac_pattern="Autoconf.*'x'" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6270 "configure" | | #line 3955 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sgtty.h> | | #include <sgtty.h> |
| Autoconf TIOCGETP | | Autoconf TIOCGETP |
| _ACEOF | | EOF |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| egrep "$ac_pattern" >/dev/null 2>&1; then | | egrep "$ac_pattern" >/dev/null 2>&1; then |
| | | rm -rf conftest* |
| ac_cv_prog_gcc_traditional=yes | | ac_cv_prog_gcc_traditional=yes |
| else | | else |
| | | rm -rf conftest* |
| ac_cv_prog_gcc_traditional=no | | ac_cv_prog_gcc_traditional=no |
| fi | | fi |
| rm -f conftest* | | rm -f conftest* |
| | | |
| | | |
| if test $ac_cv_prog_gcc_traditional = no; then | | if test $ac_cv_prog_gcc_traditional = no; then |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6285 "configure" | | #line 3973 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <termio.h> | | #include <termio.h> |
| Autoconf TCGETA | | Autoconf TCGETA |
| _ACEOF | | EOF |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| egrep "$ac_pattern" >/dev/null 2>&1; then | | egrep "$ac_pattern" >/dev/null 2>&1; then |
| | | rm -rf conftest* |
| ac_cv_prog_gcc_traditional=yes | | ac_cv_prog_gcc_traditional=yes |
| fi | | fi |
| rm -f conftest* | | rm -f conftest* |
| | | |
| fi | | fi |
| fi | | fi |
| echo "$as_me:6298: result: $ac_cv_prog_gcc_traditional" >&5 | | |
| echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | | echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 |
| if test $ac_cv_prog_gcc_traditional = yes; then | | if test $ac_cv_prog_gcc_traditional = yes; then |
| CC="$CC -traditional" | | CC="$CC -traditional" |
| fi | | fi |
| fi | | fi |
| | | |
| echo "$as_me:6305: checking for working memcmp" >&5 | | echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | | echo "configure:3995: checking for 8-bit clean memcmp" >&5 |
| if test "${ac_cv_func_memcmp_working+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| if test "$cross_compiling" = yes; then | | if test "$cross_compiling" = yes; then |
| ac_cv_func_memcmp_working=no | | ac_cv_func_memcmp_clean=no |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6314 "configure" | | #line 4003 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | { |
| | | |
| /* Some versions of memcmp are not 8-bit clean. */ | | |
| char c0 = 0x40, c1 = 0x80, c2 = 0x81; | | char c0 = 0x40, c1 = 0x80, c2 = 0x81; |
| if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | | exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); |
| exit (1); | | |
| | | |
| /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | | |
| or more and with at least one buffer not starting on a 4-byte boundary. | | |
| William Lewis provided this test program. */ | | |
| { | | |
| char foo[21]; | | |
| char bar[21]; | | |
| int i; | | |
| for (i = 0; i < 4; i++) | | |
| { | | |
| char *a = foo + i; | | |
| char *b = bar + i; | | |
| strcpy (a, "--------01111111"); | | |
| strcpy (b, "--------10000000"); | | |
| if (memcmp (a, b, 16) >= 0) | | |
| exit (1); | | |
| } | | |
| exit (0); | | |
| } | | } |
| | | |
| ; | | EOF |
| return 0; | | if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| } | | then |
| _ACEOF | | ac_cv_func_memcmp_clean=yes |
| rm -f conftest$ac_exeext | | else |
| if { (eval echo "$as_me:6356: \"$ac_link\"") >&5 | | echo "configure: failed program was:" >&5 |
| (eval $ac_link) 2>&5 | | cat conftest.$ac_ext >&5 |
| ac_status=$? | | rm -fr conftest* |
| echo "$as_me:6359: \$? = $ac_status" >&5 | | ac_cv_func_memcmp_clean=no |
| (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | fi |
| { (eval echo "$as_me:6361: \"$ac_try\"") >&5 | | rm -fr conftest* |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | |
| echo "$as_me:6364: \$? = $ac_status" >&5 | | fi |
| (exit $ac_status); }; }; then | | |
| ac_cv_func_memcmp_working=yes | | echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6 |
| else | | test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" |
| echo "$as_me: program exited with status $ac_status" >&5 | | |
| echo "$as_me: failed program was:" >&5 | | echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 |
| cat conftest.$ac_ext >&5 | | echo "configure:4031: checking whether setpgrp takes no argument" >&5 |
| ac_cv_func_memcmp_working=no | | if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then |
| fi | | echo $ac_n "(cached) $ac_c" 1>&6 |
| rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | |
| fi | | |
| fi | | |
| echo "$as_me:6376: result: $ac_cv_func_memcmp_working" >&5 | | |
| echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | | |
| test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" | | |
| | | |
| echo "$as_me:6380: checking whether setpgrp takes no argument" >&5 | | |
| echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6 | | |
| if test "${ac_cv_func_setpgrp_void+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| if test "$cross_compiling" = yes; then | | if test "$cross_compiling" = yes; then |
| { { echo "$as_me:6386: error: cannot check setpgrp if cross compiling" >&5 | | { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } |
| echo "$as_me: error: cannot check setpgrp if cross compiling" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6391 "configure" | | #line 4039 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #if HAVE_UNISTD_H | | |
| | | #ifdef HAVE_UNISTD_H |
| # include <unistd.h> | | # include <unistd.h> |
| #endif | | #endif |
| | | |
| #ifdef F77_DUMMY_MAIN | | /* |
| # ifdef __cplusplus | | * If this system has a BSD-style setpgrp, which takes arguments, exit |
| extern "C" | | * successfully. |
| # endif | | */ |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | main () |
| { | | { |
| /* If this system has a BSD-style setpgrp, which takes arguments, exit | | if (setpgrp(1,1) == -1) |
| successfully. */ | | exit(0); |
| exit (setpgrp (1,1) == -1); | | else |
| ; | | exit(1); |
| return 0; | | |
| } | | } |
| _ACEOF | | |
| rm -f conftest$ac_exeext | | EOF |
| if { (eval echo "$as_me:6414: \"$ac_link\"") >&5 | | if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| (eval $ac_link) 2>&5 | | then |
| ac_status=$? | | |
| echo "$as_me:6417: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | |
| { (eval echo "$as_me:6419: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6422: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_func_setpgrp_void=no | | ac_cv_func_setpgrp_void=no |
| else | | else |
| echo "$as_me: program exited with status $ac_status" >&5 | | echo "configure: failed program was:" >&5 |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -fr conftest* |
| ac_cv_func_setpgrp_void=yes | | ac_cv_func_setpgrp_void=yes |
| fi | | fi |
| rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | rm -fr conftest* |
| fi | | fi |
| | | |
| | | |
| fi | | fi |
| echo "$as_me:6434: result: $ac_cv_func_setpgrp_void" >&5 | | |
| echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6 | | |
| if test $ac_cv_func_setpgrp_void = yes; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | echo "$ac_t""$ac_cv_func_setpgrp_void" 1>&6 |
| | | if test $ac_cv_func_setpgrp_void = yes; then |
| | | cat >> confdefs.h <<\EOF |
| #define SETPGRP_VOID 1 | | #define SETPGRP_VOID 1 |
| _ACEOF | | EOF |
| | | |
| fi | | fi |
| | | |
| echo "$as_me:6444: checking return type of signal handlers" >&5 | | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | | echo "configure:4083: checking return type of signal handlers" >&5 |
| if test "${ac_cv_type_signal+set}" = set; then | | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6450 "configure" | | #line 4088 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/types.h> | | #include <sys/types.h> |
| #include <signal.h> | | #include <signal.h> |
| | |
| void (*signal ()) (); | | void (*signal ()) (); |
| #endif | | #endif |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| int i; | | int i; |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6478: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6481: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6484: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6487: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_type_signal=void | | ac_cv_type_signal=void |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_cv_type_signal=int | | ac_cv_type_signal=int |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | fi |
| echo "$as_me:6497: result: $ac_cv_type_signal" >&5 | | |
| echo "${ECHO_T}$ac_cv_type_signal" >&6 | | |
| | | |
| cat >>confdefs.h <<_ACEOF | | echo "$ac_t""$ac_cv_type_signal" 1>&6 |
| | | cat >> confdefs.h <<EOF |
| #define RETSIGTYPE $ac_cv_type_signal | | #define RETSIGTYPE $ac_cv_type_signal |
| _ACEOF | | EOF |
| | | |
| for ac_func in strftime | | |
| do | | echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | echo "configure:4124: checking for strftime" >&5 |
| echo "$as_me:6507: checking for $ac_func" >&5 | | if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
| echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| if eval "test \"\${$as_ac_var+set}\" = set"; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6513 "configure" | | #line 4129 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func (); below. */ | | which can conflict with char strftime(); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char $ac_func (); | | char strftime(); |
| char (*f) (); | | |
| | | int main() { |
| | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | | #if defined (__stub_strftime) || defined (__stub___strftime) |
| choke me | | choke me |
| #else | | #else |
| f = $ac_func; | | strftime(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_strftime=yes" |
| if { (eval echo "$as_me:6550: \"$ac_link\"") >&5 | | else |
| (eval $ac_link) 2>&5 | | echo "configure: failed program was:" >&5 |
| ac_status=$? | | cat conftest.$ac_ext >&5 |
| echo "$as_me:6553: \$? = $ac_status" >&5 | | rm -rf conftest* |
| (exit $ac_status); } && | | eval "ac_cv_func_strftime=no" |
| { ac_try='test -s conftest$ac_exeext' | | fi |
| { (eval echo "$as_me:6556: \"$ac_try\"") >&5 | | rm -f conftest* |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | |
| echo "$as_me:6559: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then |
| (exit $ac_status); }; }; then | | echo "$ac_t""yes" 1>&6 |
| eval "$as_ac_var=yes" | | cat >> confdefs.h <<\EOF |
| else | | #define HAVE_STRFTIME 1 |
| echo "$as_me: failed program was:" >&5 | | EOF |
| cat conftest.$ac_ext >&5 | | |
| eval "$as_ac_var=no" | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| fi | | |
| echo "$as_me:6569: result: `eval echo '${'$as_ac_var'}'`" >&5 | | |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | | |
| if test `eval echo '${'$as_ac_var'}'` = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | |
| _ACEOF | | |
| | | |
| else | | else |
| | | echo "$ac_t""no" 1>&6 |
| # strftime is in -lintl on SCO UNIX. | | # strftime is in -lintl on SCO UNIX. |
| echo "$as_me:6578: checking for strftime in -lintl" >&5 | | echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
| echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | | echo "configure:4174: checking for strftime in -lintl" >&5 |
| if test "${ac_cv_lib_intl_strftime+set}" = set; then | | ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| ac_check_lib_save_LIBS=$LIBS | | ac_save_LIBS="$LIBS" |
| LIBS="-lintl $LIBS" | | LIBS="-lintl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6586 "configure" | | #line 4182 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| | | |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char strftime (); | | char strftime (); |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | int main() { |
| extern "C" | | strftime() |
| # endif | | ; return 0; } |
| int F77_DUMMY_MAIN() { return 1; } | | EOF |
| #endif | | if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| int | | rm -rf conftest* |
| main () | | eval "ac_cv_lib_$ac_lib_var=yes" |
| { | | else |
| strftime (); | | echo "configure: failed program was:" >&5 |
| ; | | cat conftest.$ac_ext >&5 |
| return 0; | | rm -rf conftest* |
| } | | eval "ac_cv_lib_$ac_lib_var=no" |
| _ACEOF | | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext | | rm -f conftest* |
| if { (eval echo "$as_me:6611: \"$ac_link\"") >&5 | | LIBS="$ac_save_LIBS" |
| (eval $ac_link) 2>&5 | | |
| ac_status=$? | | fi |
| echo "$as_me:6614: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| (exit $ac_status); } && | | echo "$ac_t""yes" 1>&6 |
| { ac_try='test -s conftest$ac_exeext' | | cat >> confdefs.h <<\EOF |
| { (eval echo "$as_me:6617: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6620: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_lib_intl_strftime=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_lib_intl_strftime=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| LIBS=$ac_check_lib_save_LIBS | | |
| fi | | |
| echo "$as_me:6631: result: $ac_cv_lib_intl_strftime" >&5 | | |
| echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | | |
| if test $ac_cv_lib_intl_strftime = yes; then | | |
| cat >>confdefs.h <<\_ACEOF | | |
| #define HAVE_STRFTIME 1 | | #define HAVE_STRFTIME 1 |
| _ACEOF | | EOF |
| | | |
| LIBS="-lintl $LIBS" | | LIBS="-lintl $LIBS" |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| fi | | fi |
| done | | |
| | | |
| for ac_func in vprintf | | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
| do | | echo "configure:4220: checking for vprintf" >&5 |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
| echo "$as_me:6647: checking for $ac_func" >&5 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | | |
| if eval "test \"\${$as_ac_var+set}\" = set"; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6653 "configure" | | #line 4225 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func (); below. */ | | which can conflict with char vprintf(); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char $ac_func (); | | char vprintf(); |
| char (*f) (); | | |
| | | int main() { |
| | | |
| #ifdef F77_DUMMY_MAIN | | |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | | #if defined (__stub_vprintf) || defined (__stub___vprintf) |
| choke me | | choke me |
| #else | | #else |
| f = $ac_func; | | vprintf(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_vprintf=yes" |
| if { (eval echo "$as_me:6690: \"$ac_link\"") >&5 | | else |
| (eval $ac_link) 2>&5 | | echo "configure: failed program was:" >&5 |
| ac_status=$? | | cat conftest.$ac_ext >&5 |
| echo "$as_me:6693: \$? = $ac_status" >&5 | | rm -rf conftest* |
| (exit $ac_status); } && | | eval "ac_cv_func_vprintf=no" |
| { ac_try='test -s conftest$ac_exeext' | | fi |
| { (eval echo "$as_me:6696: \"$ac_try\"") >&5 | | rm -f conftest* |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | |
| echo "$as_me:6699: \$? = $ac_status" >&5 | | if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then |
| (exit $ac_status); }; }; then | | echo "$ac_t""yes" 1>&6 |
| eval "$as_ac_var=yes" | | cat >> confdefs.h <<\EOF |
| else | | #define HAVE_VPRINTF 1 |
| echo "$as_me: failed program was:" >&5 | | EOF |
| cat conftest.$ac_ext >&5 | | |
| eval "$as_ac_var=no" | | else |
| fi | | echo "$ac_t""no" 1>&6 |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | fi |
| fi | | |
| echo "$as_me:6709: result: `eval echo '${'$as_ac_var'}'`" >&5 | | if test "$ac_cv_func_vprintf" != yes; then |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
| if test `eval echo '${'$as_ac_var'}'` = yes; then | | echo "configure:4272: checking for _doprnt" >&5 |
| cat >>confdefs.h <<_ACEOF | | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
| #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | echo $ac_n "(cached) $ac_c" 1>&6 |
| _ACEOF | | |
| | | |
| echo "$as_me:6716: checking for _doprnt" >&5 | | |
| echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 | | |
| if test "${ac_cv_func__doprnt+set}" = set; then | | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6722 "configure" | | #line 4277 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char _doprnt (); below. */ | | which can conflict with char _doprnt (); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char _doprnt (); | | char _doprnt (); |
| char (*f) (); | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub__doprnt) || defined (__stub____doprnt) | | #if defined (__stub__doprnt) || defined (__stub____doprnt) |
| choke me | | choke me |
| #else | | #else |
| f = _doprnt; | | _doprnt(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func__doprnt=yes" |
| if { (eval echo "$as_me:6759: \"$ac_link\"") >&5 | | else |
| (eval $ac_link) 2>&5 | | echo "configure: failed program was:" >&5 |
| ac_status=$? | | cat conftest.$ac_ext >&5 |
| echo "$as_me:6762: \$? = $ac_status" >&5 | | rm -rf conftest* |
| (exit $ac_status); } && | | eval "ac_cv_func__doprnt=no" |
| { ac_try='test -s conftest$ac_exeext' | | fi |
| { (eval echo "$as_me:6765: \"$ac_try\"") >&5 | | rm -f conftest* |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | |
| echo "$as_me:6768: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_cv_func__doprnt=yes | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| ac_cv_func__doprnt=no | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| fi | | |
| echo "$as_me:6778: result: $ac_cv_func__doprnt" >&5 | | |
| echo "${ECHO_T}$ac_cv_func__doprnt" >&6 | | |
| if test $ac_cv_func__doprnt = yes; then | | |
| | | |
| cat >>confdefs.h <<\_ACEOF | | if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | cat >> confdefs.h <<\EOF |
| #define HAVE_DOPRNT 1 | | #define HAVE_DOPRNT 1 |
| _ACEOF | | EOF |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| | | |
| fi | | fi |
| done | | |
| | | |
| for ac_func in gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir | | for ac_func in gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir |
| do | | do |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "$as_me:6794: checking for $ac_func" >&5 | | echo "configure:4327: checking for $ac_func" >&5 |
| echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| if eval "test \"\${$as_ac_var+set}\" = set"; then | | echo $ac_n "(cached) $ac_c" 1>&6 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6800 "configure" | | #line 4332 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func (); below. */ | | which can conflict with char $ac_func (); below. */ |
| #include <assert.h> | | #include <assert.h> |
| /* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | | |
| extern "C" | | |
| #endif | | |
| /* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
| char $ac_func (); | | char $ac_func (); |
| char (*f) (); | | |
| | | |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| /* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
| something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| choke me | | choke me |
| #else | | #else |
| f = $ac_func; | | $ac_func(); |
| #endif | | #endif |
| | | |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext conftest$ac_exeext | | eval "ac_cv_func_$ac_func=yes" |
| if { (eval echo "$as_me:6837: \"$ac_link\"") >&5 | | else |
| (eval $ac_link) 2>&5 | | echo "configure: failed program was:" >&5 |
| ac_status=$? | | cat conftest.$ac_ext >&5 |
| echo "$as_me:6840: \$? = $ac_status" >&5 | | rm -rf conftest* |
| (exit $ac_status); } && | | eval "ac_cv_func_$ac_func=no" |
| { ac_try='test -s conftest$ac_exeext' | | fi |
| { (eval echo "$as_me:6843: \"$ac_try\"") >&5 | | rm -f conftest* |
| (eval $ac_try) 2>&5 | | fi |
| ac_status=$? | | |
| echo "$as_me:6846: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| eval "$as_ac_var=yes" | | |
| else | | |
| echo "$as_me: failed program was:" >&5 | | |
| cat conftest.$ac_ext >&5 | | |
| eval "$as_ac_var=no" | | |
| fi | | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | |
| fi | | |
| echo "$as_me:6856: result: `eval echo '${'$as_ac_var'}'`" >&5 | | |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | | |
| if test `eval echo '${'$as_ac_var'}'` = yes; then | | |
| cat >>confdefs.h <<_ACEOF | | |
| #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | |
| _ACEOF | | |
| | | |
| | | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
| | | echo "$ac_t""yes" 1>&6 |
| | | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
| | | cat >> confdefs.h <<EOF |
| | | #define $ac_tr_func 1 |
| | | EOF |
| | | |
| | | else |
| | | echo "$ac_t""no" 1>&6 |
| fi | | fi |
| done | | done |
| | | |
| echo "$as_me:6866: checking how many args gettimeofday uses" >&5 | | |
| echo $ECHO_N "checking how many args gettimeofday uses... $ECHO_C" >&6 | | echo $ac_n "checking how many args gettimeofday uses""... $ac_c" 1>&6 |
| if test "${ac_cv_gettimeofday_args+set}" = set; then | | echo "configure:4381: checking how many args gettimeofday uses" >&5 |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | | if eval "test \"`echo '$''{'ac_cv_gettimeofday_args'+set}'`\" = set"; then |
| | | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | | else |
| cat >conftest.$ac_ext <<_ACEOF | | cat > conftest.$ac_ext <<EOF |
| #line 6872 "configure" | | #line 4386 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/time.h> | | #include <sys/time.h> |
| #include <unistd.h> | | #include <unistd.h> |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| struct timeval tv; struct timezone tzp; | | struct timeval tv; struct timezone tzp; |
| gettimeofday(&tv, &tzp); | | gettimeofday(&tv, &tzp); |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6892: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6895: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6898: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6901: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_gettimeofday_args=2 | | ac_gettimeofday_args=2 |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| cat >conftest.$ac_ext <<_ACEOF | | rm -rf conftest* |
| #line 6908 "configure" | | cat > conftest.$ac_ext <<EOF |
| | | #line 4403 "configure" |
| #include "confdefs.h" | | #include "confdefs.h" |
| #include <sys/time.h> | | #include <sys/time.h> |
| #include <unistd.h> | | #include <unistd.h> |
| #ifdef F77_DUMMY_MAIN | | int main() { |
| # ifdef __cplusplus | | |
| extern "C" | | |
| # endif | | |
| int F77_DUMMY_MAIN() { return 1; } | | |
| #endif | | |
| int | | |
| main () | | |
| { | | |
| struct timeval tv; gettimeofday(&tv); | | struct timeval tv; gettimeofday(&tv); |
| ; | | ; return 0; } |
| return 0; | | EOF |
| } | | if { (eval echo configure:4411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| _ACEOF | | rm -rf conftest* |
| rm -f conftest.$ac_objext | | |
| if { (eval echo "$as_me:6927: \"$ac_compile\"") >&5 | | |
| (eval $ac_compile) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6930: \$? = $ac_status" >&5 | | |
| (exit $ac_status); } && | | |
| { ac_try='test -s conftest.$ac_objext' | | |
| { (eval echo "$as_me:6933: \"$ac_try\"") >&5 | | |
| (eval $ac_try) 2>&5 | | |
| ac_status=$? | | |
| echo "$as_me:6936: \$? = $ac_status" >&5 | | |
| (exit $ac_status); }; }; then | | |
| ac_gettimeofday_args=1 | | ac_gettimeofday_args=1 |
| else | | else |
| echo "$as_me: failed program was:" >&5 | | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | | cat conftest.$ac_ext >&5 |
| | | rm -rf conftest* |
| ac_gettimeofday_args=0 | | ac_gettimeofday_args=0 |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| fi | | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest* |
| ac_cv_gettimeofday_args=$ac_gettimeofday_args | | ac_cv_gettimeofday_args=$ac_gettimeofday_args |
| fi | | fi |
| | | |
| | | |
| ac_gettimeofday_args=$ac_cv_gettimeofday_args | | ac_gettimeofday_args=$ac_cv_gettimeofday_args |
| if test $ac_gettimeofday_args = 1 ; then | | if test $ac_gettimeofday_args = 1 ; then |
| cat >>confdefs.h <<\_ACEOF | | cat >> confdefs.h <<\EOF |
| #define HAVE_GETTIMEOFDAY 1 | | #define HAVE_GETTIMEOFDAY 1 |
| _ACEOF | | EOF |
| | | |
| echo "$as_me:6956: result: one argument" >&5 | | echo "$ac_t""one argument" 1>&6 |
| echo "${ECHO_T}one argument" >&6 | | |
| elif test $ac_gettimeofday_args = 2 ; then | | elif test $ac_gettimeofday_args = 2 ; then |
| cat >>confdefs.h <<\_ACEOF | | cat >> confdefs.h <<\EOF |
| #define HAVE_GETTIMEOFDAY 1 | | #define HAVE_GETTIMEOFDAY 1 |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<\_ACEOF | | cat >> confdefs.h <<\EOF |
| #define GETTIMEOFDAY_TWO_ARGS 1 | | #define GETTIMEOFDAY_TWO_ARGS 1 |
| _ACEOF | | EOF |
| | | |
| echo "$as_me:6967: result: two arguments" >&5 | | echo "$ac_t""two arguments" 1>&6 |
| echo "${ECHO_T}two arguments" >&6 | | |
| else | | else |
| echo "$as_me:6970: result: unknown" >&5 | | echo "$ac_t""unknown" 1>&6 |
| echo "${ECHO_T}unknown" >&6 | | |
| fi | | fi |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| test "x$prefix" = xNONE && prefix=$ac_default_prefix | | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| | | |
| nprefix=`eval echo ${prefix}` | | nprefix=`eval echo ${prefix}` |
| | | |
| | | |
| if eval "test x$old_layout = xyes"; then | | if eval "test x$old_layout = xyes"; then |
| ndatadir=`eval echo ${datadir}` | | ndatadir=`eval echo ${datadir}` |
| nlocaldir=`echo ${localstatedir}` | | nlocaldir=`echo ${localstatedir}` |
| | |
| nlocaldir=`eval echo ${localstatedir}`/crossfire | | nlocaldir=`eval echo ${localstatedir}`/crossfire |
| fi | | fi |
| | | |
| | | |
| | | |
| nlibdir=`eval echo ${libdir}` | | nlibdir=`eval echo ${libdir}` |
| nlibdir=`eval echo ${nlibdir}` | | nlibdir=`eval echo ${nlibdir}` |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define LIBDIR "${nlibdir}" | | #define LIBDIR "${nlibdir}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define PREFIXDIR "${nprefix}" | | #define PREFIXDIR "${nprefix}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define DATADIR "${ndatadir}" | | #define DATADIR "${ndatadir}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define LOCALDIR "${nlocaldir}" | | #define LOCALDIR "${nlocaldir}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define COMPRESS "${COMPRESS}" | | #define COMPRESS "${COMPRESS}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define UNCOMPRESS "${UNCOMPRESS}" | | #define UNCOMPRESS "${UNCOMPRESS}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define GZIP "${GZIP}" | | #define GZIP "${GZIP}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define GUNZIP "${GUNZIP}" | | #define GUNZIP "${GUNZIP}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define BZIP "${BZIP}" | | #define BZIP "${BZIP}" |
| _ACEOF | | EOF |
| | | |
| cat >>confdefs.h <<_ACEOF | | cat >> confdefs.h <<EOF |
| #define BUNZIP "${BUNZIP}" | | #define BUNZIP "${BUNZIP}" |
| _ACEOF | | EOF |
| | | |
| | | |
| datadir=${ndatadir} | | datadir=${ndatadir} |
| localstatedir=${nlocaldir} | | localstatedir=${nlocaldir} |
| | | |
| ac_config_files="$ac_config_files Makefile crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile crossedit/Cnv/Makefile crossedit/bitmaps/Makefile doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile doc/spoiler/Makefile doc/spoiler-html/Makefile doc/playbook/Makefile doc/playbook-html/Makefile lib/Makefile random_maps/Makefile socket/Makefile server/Makefile include/Makefile utils/Makefile lib/checkarch.pl lib/collect.pl utils/add_throw.perl utils/crossloop utils/crossloop.pl utils/metaserver.pl common/Makefile" | | trap '' 1 2 15 |
| cat >confcache <<\_ACEOF | | cat > confcache <<\EOF |
| # This file is a shell script that caches the results of configure | | # This file is a shell script that caches the results of configure |
| # tests run on this system so they can be shared between configure | | # tests run on this system so they can be shared between configure |
| # scripts and configure runs, see configure's option --config-cache. | | # scripts and configure runs. It is not useful on other systems. |
| # It is not useful on other systems. If it contains results you don't | | # If it contains results you don't want to keep, you may remove or edit it. |
| # want to keep, you may remove or edit it. | | |
| # | | # |
| # config.status only pays attention to the cache file if you give it | | # By default, configure uses ./config.cache as the cache file, |
| # the --recheck option to rerun configure. | | # creating it if it does not exist already. You can give configure |
| | | # the --cache-file=FILE option to use a different cache file; that is |
| | | # what configure does when it calls configure scripts in |
| | | # subdirectories, so they share the cache. |
| | | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
| | | # config.status only pays attention to the cache file if you give it the |
| | | # --recheck option to rerun configure. |
| # | | # |
| # `ac_cv_env_foo' variables (set or unset) will be overriden when | | EOF |
| # loading this file, other *unset* `ac_cv_foo' will be assigned the | | |
| # following values. | | |
| | | |
| _ACEOF | | |
| | | |
| # The following way of writing the cache mishandles newlines in values, | | # The following way of writing the cache mishandles newlines in values, |
| # but we know of no workaround that is simple, portable, and efficient. | | # but we know of no workaround that is simple, portable, and efficient. |
| # So, don't put newlines in cache variables' values. | | # So, don't put newlines in cache variables' values. |
| # Ultrix sh set writes to stderr and can't be redirected directly, | | # Ultrix sh set writes to stderr and can't be redirected directly, |
| # and sets the high bit in the cache file unless we assign to the vars. | | # and sets the high bit in the cache file unless we assign to the vars. |
| { | | |
| (set) 2>&1 | | | (set) 2>&1 | |
| case `(ac_space=' '; set | grep ac_space) 2>&1` in | | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| *ac_space=\ *) | | *ac_space=\ *) |
| # `set' does not quote correctly, so add quotes (double-quote | | # `set' does not quote correctly, so add quotes (double-quote substitution |
| # substitution turns \\\\ into \\, and sed turns \\ into \). | | # turns \\\\ into \\, and sed turns \\ into \). |
| sed -n \ | | sed -n \ |
| "s/'/'\\\\''/g; | | -e "s/'/'\\\\''/g" \ |
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
| ;; | | ;; |
| *) | | *) |
| # `set' quotes correctly as required by POSIX, so do not add quotes. | | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| sed -n \ | | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | | |
| ;; | | ;; |
| esac; | | esac >> confcache |
| } | | | if cmp -s $cache_file confcache; then |
| sed ' | | : |
| t clear | | else |
| : clear | | |
| s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | | |
| t end | | |
| /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | | |
| : end' >>confcache | | |
| if cmp -s $cache_file confcache; then :; else | | |
| if test -w $cache_file; then | | if test -w $cache_file; then |
| test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | | echo "updating cache $cache_file" |
| cat confcache >$cache_file | | cat confcache >$cache_file |
| else | | else |
| echo "not updating unwritable cache $cache_file" | | echo "not updating unwritable cache $cache_file" |
| | |
| fi | | fi |
| rm -f confcache | | rm -f confcache |
| | | |
| | | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
| | | |
| test "x$prefix" = xNONE && prefix=$ac_default_prefix | | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| # Let make expand exec_prefix. | | # Let make expand exec_prefix. |
| test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| | | |
| # VPATH may cause trouble with some makes, so we remove $(srcdir), | | # Any assignment to VPATH causes Sun make to only execute |
| # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | | # the first set of double-colon rules, so remove it if not needed. |
| # trailing colons and then remove the whole line if VPATH becomes empty | | # If there is a colon in the path, we need to keep it. |
| # (actually we leave an empty line to preserve line numbers). | | |
| if test "x$srcdir" = x.; then | | if test "x$srcdir" = x.; then |
| ac_vpsub='/^[ ]*VPATH[ ]*=/{ | | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
| s/:*\$(srcdir):*/:/; | | |
| s/:*\${srcdir}:*/:/; | | |
| s/:*@srcdir@:*/:/; | | |
| s/^\([^=]*=[ ]*\):*/\1/; | | |
| s/:*$//; | | |
| s/^[^=]*=[ ]*$//; | | |
| }' | | |
| fi | | fi |
| | | |
| | | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
| | | |
| DEFS=-DHAVE_CONFIG_H | | DEFS=-DHAVE_CONFIG_H |
| | | |
| | | # Without the "./", some shells look in PATH for config.status. |
| : ${CONFIG_STATUS=./config.status} | | : ${CONFIG_STATUS=./config.status} |
| ac_clean_files_save=$ac_clean_files | | |
| ac_clean_files="$ac_clean_files $CONFIG_STATUS" | | echo creating $CONFIG_STATUS |
| { echo "$as_me:7117: creating $CONFIG_STATUS" >&5 | | rm -f $CONFIG_STATUS |
| echo "$as_me: creating $CONFIG_STATUS" >&6;} | | cat > $CONFIG_STATUS <<EOF |
| cat >$CONFIG_STATUS <<_ACEOF | | #! /bin/sh |
| #! $SHELL | | # Generated automatically by configure. |
| # Generated automatically by $as_me. | | |
| # Run this file to recreate the current configuration. | | # Run this file to recreate the current configuration. |
| | | # This directory was configured as follows, |
| | | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| | | # |
| | | # $0 $ac_configure_args |
| | | # |
| # Compiler output produced by configure, useful for debugging | | # Compiler output produced by configure, useful for debugging |
| # configure, is in config.log if it exists. | | # configure, is in ./config.log if it exists. |
| | | |
| debug=false | | |
| SHELL=\${CONFIG_SHELL-$SHELL} | | |
| _ACEOF | | |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| | | |
| ## --------------------- ## | | |
| ## M4sh Initialization. ## | | |
| ## --------------------- ## | | |
| | | |
| # Be Bourne compatible | | |
| if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | |
| emulate sh | | |
| NULLCMD=: | | |
| elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | | |
| set -o posix | | |
| fi | | |
| | | |
| # Name of the executable. | | |
| as_me=`echo "$0" |sed 's,.*[\\/],,'` | | |
| | | |
| if expr a : '\(a\)' >/dev/null 2>&1; then | | |
| as_expr=expr | | |
| else | | |
| as_expr=false | | |
| fi | | |
| | | |
| rm -f conf$$ conf$$.exe conf$$.file | | |
| echo >conf$$.file | | |
| if ln -s conf$$.file conf$$ 2>/dev/null; then | | |
| # We could just check for DJGPP; but this test a) works b) is more generic | | |
| # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | | |
| if test -f conf$$.exe; then | | |
| # Don't use ln at all; we don't have any links | | |
| as_ln_s='cp -p' | | |
| else | | |
| as_ln_s='ln -s' | | |
| fi | | |
| elif ln conf$$.file conf$$ 2>/dev/null; then | | |
| as_ln_s=ln | | |
| else | | |
| as_ln_s='cp -p' | | |
| fi | | |
| rm -f conf$$ conf$$.exe conf$$.file | | |
| | | |
| as_executable_p="test -f" | | |
| | | |
| # Support unset when possible. | | |
| if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | | |
| as_unset=unset | | |
| else | | |
| as_unset=false | | |
| fi | | |
| | | |
| # NLS nuisances. | | |
| $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | | |
| $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | | |
| $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | | |
| $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | | |
| $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | | |
| $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | | |
| $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | | |
| $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | | |
| | | |
| # IFS | | |
| # We need space, tab and new line, in precisely that order. | | |
| as_nl=' | | |
| ' | | |
| IFS=" $as_nl" | | |
| | | |
| # CDPATH. | | |
| $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } | | |
| | | |
| exec 6>&1 | | |
| | | |
| # Open the log real soon, to keep \$[0] and so on meaningful, and to | | |
| # report actual input values of CONFIG_FILES etc. instead of their | | |
| # values after options handling. Logging --version etc. is OK. | | |
| exec 5>>config.log | | |
| { | | |
| echo | | |
| sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | | |
| ## Running \$as_me. ## | | |
| _ASBOX | | |
| } >&5 | | |
| cat >&5 <<_CSEOF | | |
| | | |
| This file was extended by $as_me, which was | | |
| generated by GNU Autoconf 2.52d. Invocation command line was | | |
| | | |
| CONFIG_FILES = $CONFIG_FILES | | |
| CONFIG_HEADERS = $CONFIG_HEADERS | | |
| CONFIG_LINKS = $CONFIG_LINKS | | |
| CONFIG_COMMANDS = $CONFIG_COMMANDS | | |
| $ $@ | | |
| | | |
| _CSEOF | | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
| echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | | for ac_option |
| echo >&5 | | |
| _ACEOF | | |
| | | |
| # Files that config.status was made for. | | |
| if test -n "$ac_config_files"; then | | |
| echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | | |
| fi | | |
| | | |
| if test -n "$ac_config_headers"; then | | |
| echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | | |
| fi | | |
| | | |
| if test -n "$ac_config_links"; then | | |
| echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | | |
| fi | | |
| | | |
| if test -n "$ac_config_commands"; then | | |
| echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | | |
| fi | | |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| | | |
| ac_cs_usage="\ | | |
| \`$as_me' instantiates files from templates according to the | | |
| current configuration. | | |
| | | |
| Usage: $0 [OPTIONS] [FILE]... | | |
| | | |
| -h, --help print this help, then exit | | |
| -V, --version print version number, then exit | | |
| -d, --debug don't remove temporary files | | |
| --recheck update $as_me by reconfiguring in the same conditions | | |
| --file=FILE[:TEMPLATE] | | |
| instantiate the configuration file FILE | | |
| --header=FILE[:TEMPLATE] | | |
| instantiate the configuration header FILE | | |
| | | |
| Configuration files: | | |
| $config_files | | |
| | | |
| Configuration headers: | | |
| $config_headers | | |
| | | |
| Report bugs to <bug-autoconf@gnu.org>." | | |
| _ACEOF | | |
| | | |
| cat >>$CONFIG_STATUS <<_ACEOF | | |
| ac_cs_version="\\ | | |
| config.status | | |
| configured by $0, generated by GNU Autoconf 2.52d, | | |
| with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | | |
| | | |
| Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | | |
| Free Software Foundation, Inc. | | |
| This config.status script is free software; the Free Software Foundation | | |
| gives unlimited permission to copy, distribute and modify it." | | |
| srcdir=$srcdir | | |
| INSTALL="$INSTALL" | | |
| _ACEOF | | |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| # If no file are specified by the user, then we need to provide default | | |
| # value. By we need to know if files were specified by the user. | | |
| ac_need_defaults=: | | |
| while test $# != 0 | | |
| do | | do |
| case $1 in | | case "\$ac_option" in |
| --*=*) | | |
| ac_option=`expr "x$1" : 'x\([^=]*\)='` | | |
| ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | | |
| shift | | |
| set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | | |
| shift | | |
| ;; | | |
| -*);; | | |
| *) # This is not an option, so the user has probably given explicit | | |
| # arguments. | | |
| ac_need_defaults=false;; | | |
| esac | | |
| | | |
| case $1 in | | |
| # Handling of the options. | | |
| _ACEOF | | |
| cat >>$CONFIG_STATUS <<_ACEOF | | |
| -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
| exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
| _ACEOF | | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
| cat >>$CONFIG_STATUS <<\_ACEOF | | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
| --version | --vers* | -V ) | | exit 0 ;; |
| echo "$ac_cs_version"; exit 0 ;; | | -help | --help | --hel | --he | --h) |
| --he | --h) | | echo "\$ac_cs_usage"; exit 0 ;; |
| # Conflict between --help and --header | | *) echo "\$ac_cs_usage"; exit 1 ;; |
| { { echo "$as_me:7317: error: ambiguous option: $1 | | |
| Try \`$0 --help' for more information." >&5 | | |
| echo "$as_me: error: ambiguous option: $1 | | |
| Try \`$0 --help' for more information." >&2;} | | |
| { (exit 1); exit 1; }; };; | | |
| --help | --hel | -h ) | | |
| echo "$ac_cs_usage"; exit 0 ;; | | |
| --debug | --d* | -d ) | | |
| debug=: ;; | | |
| --file | --fil | --fi | --f ) | | |
| shift | | |
| CONFIG_FILES="$CONFIG_FILES $1" | | |
| ac_need_defaults=false;; | | |
| --header | --heade | --head | --hea ) | | |
| shift | | |
| CONFIG_HEADERS="$CONFIG_HEADERS $1" | | |
| ac_need_defaults=false;; | | |
| | | |
| # This is an error. | | |
| -*) { { echo "$as_me:7336: error: unrecognized option: $1 | | |
| Try \`$0 --help' for more information." >&5 | | |
| echo "$as_me: error: unrecognized option: $1 | | |
| Try \`$0 --help' for more information." >&2;} | | |
| { (exit 1); exit 1; }; } ;; | | |
| | | |
| *) ac_config_targets="$ac_config_targets $1" ;; | | |
| | | |
| esac | | |
| shift | | |
| done | | |
| | | |
| _ACEOF | | |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| for ac_config_target in $ac_config_targets | | |
| do | | |
| case "$ac_config_target" in | | |
| # Handling of arguments. | | |
| "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | | |
| "crossedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES crossedit/Makefile" ;; | | |
| "crossedit/doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES crossedit/doc/Makefile" ;; | | |
| "crossedit/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES crossedit/include/Makefile" ;; | | |
| "crossedit/Cnv/Makefile" ) CONFIG_FILES="$CONFIG_FILES crossedit/Cnv/Makefile" ;; | | |
| "crossedit/bitmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES crossedit/bitmaps/Makefile" ;; | | |
| "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | | |
| "doc/Developers/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Developers/Makefile" ;; | | |
| "doc/spell-docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/spell-docs/Makefile" ;; | | |
| "doc/spoiler/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/spoiler/Makefile" ;; | | |
| "doc/spoiler-html/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/spoiler-html/Makefile" ;; | | |
| "doc/playbook/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/playbook/Makefile" ;; | | |
| "doc/playbook-html/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/playbook-html/Makefile" ;; | | |
| "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; | | |
| "random_maps/Makefile" ) CONFIG_FILES="$CONFIG_FILES random_maps/Makefile" ;; | | |
| "socket/Makefile" ) CONFIG_FILES="$CONFIG_FILES socket/Makefile" ;; | | |
| "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;; | | |
| "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; | | |
| "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; | | |
| "lib/checkarch.pl" ) CONFIG_FILES="$CONFIG_FILES lib/checkarch.pl" ;; | | |
| "lib/collect.pl" ) CONFIG_FILES="$CONFIG_FILES lib/collect.pl" ;; | | |
| "utils/add_throw.perl" ) CONFIG_FILES="$CONFIG_FILES utils/add_throw.perl" ;; | | |
| "utils/crossloop" ) CONFIG_FILES="$CONFIG_FILES utils/crossloop" ;; | | |
| "utils/crossloop.pl" ) CONFIG_FILES="$CONFIG_FILES utils/crossloop.pl" ;; | | |
| "utils/metaserver.pl" ) CONFIG_FILES="$CONFIG_FILES utils/metaserver.pl" ;; | | |
| "common/Makefile" ) CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; | | |
| "include/autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;; | | |
| *) { { echo "$as_me:7382: error: invalid argument: $ac_config_target" >&5 | | |
| echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | | |
| { (exit 1); exit 1; }; };; | | |
| esac | | esac |
| done | | done |
| | | |
| # If the user did not use the arguments to specify the items to instantiate, | | ac_given_srcdir=$srcdir |
| # then the envvar interface is used. Set only those that are not. | | ac_given_INSTALL="$INSTALL" |
| # We use the long form for the default assignment because of an extremely | | |
| # bizarre bug on SunOS 4.1.3. | | trap 'rm -fr `echo "Makefile |
| if $ac_need_defaults; then | | crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile |
| test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | | crossedit/Cnv/Makefile crossedit/bitmaps/Makefile |
| test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
| fi | | doc/spoiler/Makefile doc/spoiler-html/Makefile |
| | | doc/playbook/Makefile doc/playbook-html/Makefile |
| # Create a temporary directory, and hook for its removal unless debugging. | | lib/Makefile random_maps/Makefile socket/Makefile server/Makefile |
| $debug || | | include/Makefile utils/Makefile lib/checkarch.pl |
| { | | lib/collect.pl utils/add_throw.perl utils/crossloop utils/crossloop.pl |
| trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | | utils/metaserver.pl |
| trap '{ (exit 1); exit 1; }' 1 2 13 15 | | common/Makefile |
| } | | include/autoconf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
| | | EOF |
| # Create a (secure) tmp directory for tmp files. | | cat >> $CONFIG_STATUS <<EOF |
| : ${TMPDIR=/tmp} | | |
| { | | |
| tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | | |
| test -n "$tmp" && test -d "$tmp" | | |
| } || | | |
| { | | |
| tmp=$TMPDIR/cs$$-$RANDOM | | |
| (umask 077 && mkdir $tmp) | | |
| } || | | |
| { | | |
| echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | | |
| { (exit 1); exit 1; } | | |
| } | | |
| | | |
| _ACEOF | | |
| | | |
| cat >>$CONFIG_STATUS <<_ACEOF | | |
| | | |
| # | | |
| # CONFIG_FILES section. | | |
| # | | |
| | | |
| # No need to generate the scripts if there are no CONFIG_FILES. | | |
| # This happens for instance when ./config.status config.h | | |
| if test -n "\$CONFIG_FILES"; then | | |
| # Protect against being on the right side of a sed subst in config.status. | | # Protect against being on the right side of a sed subst in config.status. |
| sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
| s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
| s,@SHELL@,$SHELL,;t t | | $ac_vpsub |
| s,@exec_prefix@,$exec_prefix,;t t | | $extrasub |
| s,@prefix@,$prefix,;t t | | s%@SHELL@%$SHELL%g |
| s,@program_transform_name@,$program_transform_name,;t t | | s%@CFLAGS@%$CFLAGS%g |
| s,@bindir@,$bindir,;t t | | s%@CPPFLAGS@%$CPPFLAGS%g |
| s,@sbindir@,$sbindir,;t t | | s%@CXXFLAGS@%$CXXFLAGS%g |
| s,@libexecdir@,$libexecdir,;t t | | s%@FFLAGS@%$FFLAGS%g |
| s,@datadir@,$datadir,;t t | | s%@DEFS@%$DEFS%g |
| s,@sysconfdir@,$sysconfdir,;t t | | s%@LDFLAGS@%$LDFLAGS%g |
| s,@sharedstatedir@,$sharedstatedir,;t t | | s%@LIBS@%$LIBS%g |
| s,@localstatedir@,$localstatedir,;t t | | s%@exec_prefix@%$exec_prefix%g |
| s,@libdir@,$libdir,;t t | | s%@prefix@%$prefix%g |
| s,@includedir@,$includedir,;t t | | s%@program_transform_name@%$program_transform_name%g |
| s,@oldincludedir@,$oldincludedir,;t t | | s%@bindir@%$bindir%g |
| s,@infodir@,$infodir,;t t | | s%@sbindir@%$sbindir%g |
| s,@mandir@,$mandir,;t t | | s%@libexecdir@%$libexecdir%g |
| s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | | s%@datadir@%$datadir%g |
| s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | | s%@sysconfdir@%$sysconfdir%g |
| s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | | s%@sharedstatedir@%$sharedstatedir%g |
| s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | | s%@localstatedir@%$localstatedir%g |
| s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | | s%@libdir@%$libdir%g |
| s,@build_alias@,$build_alias,;t t | | s%@includedir@%$includedir%g |
| s,@host_alias@,$host_alias,;t t | | s%@oldincludedir@%$oldincludedir%g |
| s,@target_alias@,$target_alias,;t t | | s%@infodir@%$infodir%g |
| s,@ECHO_C@,$ECHO_C,;t t | | s%@mandir@%$mandir%g |
| s,@ECHO_N@,$ECHO_N,;t t | | s%@host@%$host%g |
| s,@ECHO_T@,$ECHO_T,;t t | | s%@host_alias@%$host_alias%g |
| s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | | s%@host_cpu@%$host_cpu%g |
| s,@DEFS@,$DEFS,;t t | | s%@host_vendor@%$host_vendor%g |
| s,@LIBS@,$LIBS,;t t | | s%@host_os@%$host_os%g |
| s,@build@,$build,;t t | | s%@target@%$target%g |
| s,@build_cpu@,$build_cpu,;t t | | s%@target_alias@%$target_alias%g |
| s,@build_vendor@,$build_vendor,;t t | | s%@target_cpu@%$target_cpu%g |
| s,@build_os@,$build_os,;t t | | s%@target_vendor@%$target_vendor%g |
| s,@host@,$host,;t t | | s%@target_os@%$target_os%g |
| s,@host_cpu@,$host_cpu,;t t | | s%@build@%$build%g |
| s,@host_vendor@,$host_vendor,;t t | | s%@build_alias@%$build_alias%g |
| s,@host_os@,$host_os,;t t | | s%@build_cpu@%$build_cpu%g |
| s,@target@,$target,;t t | | s%@build_vendor@%$build_vendor%g |
| s,@target_cpu@,$target_cpu,;t t | | s%@build_os@%$build_os%g |
| s,@target_vendor@,$target_vendor,;t t | | s%@CC@%$CC%g |
| s,@target_os@,$target_os,;t t | | s%@CPP@%$CPP%g |
| s,@CC@,$CC,;t t | | s%@LEX@%$LEX%g |
| s,@CFLAGS@,$CFLAGS,;t t | | s%@LEXLIB@%$LEXLIB%g |
| s,@LDFLAGS@,$LDFLAGS,;t t | | s%@AWK@%$AWK%g |
| s,@CPPFLAGS@,$CPPFLAGS,;t t | | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| s,@ac_ct_CC@,$ac_ct_CC,;t t | | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
| s,@EXEEXT@,$EXEEXT,;t t | | s%@INSTALL_DATA@%$INSTALL_DATA%g |
| s,@OBJEXT@,$OBJEXT,;t t | | s%@LN_S@%$LN_S%g |
| s,@CPP@,$CPP,;t t | | s%@SET_MAKE@%$SET_MAKE%g |
| s,@LEX@,$LEX,;t t | | s%@RANLIB@%$RANLIB%g |
| s,@LEXLIB@,$LEXLIB,;t t | | s%@MKDIR@%$MKDIR%g |
| s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | | s%@TAR@%$TAR%g |
| s,@AWK@,$AWK,;t t | | s%@DEPEND@%$DEPEND%g |
| s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | | s%@CP@%$CP%g |
| s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | | s%@BASENAME@%$BASENAME%g |
| s,@INSTALL_DATA@,$INSTALL_DATA,;t t | | s%@SED@%$SED%g |
| s,@LN_S@,$LN_S,;t t | | s%@RM@%$RM%g |
| s,@SET_MAKE@,$SET_MAKE,;t t | | s%@AR@%$AR%g |
| s,@RANLIB@,$RANLIB,;t t | | s%@LATEX@%$LATEX%g |
| s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | | s%@GZIP@%$GZIP%g |
| s,@MKDIR@,$MKDIR,;t t | | s%@GUNZIP@%$GUNZIP%g |
| s,@TAR@,$TAR,;t t | | s%@PERL@%$PERL%g |
| s,@DEPEND@,$DEPEND,;t t | | s%@COMPRESS@%$COMPRESS%g |
| s,@CP@,$CP,;t t | | s%@UNCOMPRESS@%$UNCOMPRESS%g |
| s,@BASENAME@,$BASENAME,;t t | | s%@BZIP@%$BZIP%g |
| s,@SED@,$SED,;t t | | s%@BUNZIP@%$BUNZIP%g |
| s,@RM@,$RM,;t t | | s%@BOURNE_SHELL@%$BOURNE_SHELL%g |
| s,@AR@,$AR,;t t | | s%@X_CFLAGS@%$X_CFLAGS%g |
| s,@LATEX@,$LATEX,;t t | | s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
| s,@GZIP@,$GZIP,;t t | | s%@X_LIBS@%$X_LIBS%g |
| s,@GUNZIP@,$GUNZIP,;t t | | s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
| s,@PERL@,$PERL,;t t | | s%@LIBOBJS@%$LIBOBJS%g |
| s,@COMPRESS@,$COMPRESS,;t t | | s%@x_includes@%$x_includes%g |
| s,@UNCOMPRESS@,$UNCOMPRESS,;t t | | s%@x_libraries@%$x_libraries%g |
| s,@BZIP@,$BZIP,;t t | | s%@no_x@%$no_x%g |
| s,@BUNZIP@,$BUNZIP,;t t | | s%@X11LIBS@%$X11LIBS%g |
| s,@BOURNE_SHELL@,$BOURNE_SHELL,;t t | | |
| s,@X_CFLAGS@,$X_CFLAGS,;t t | | |
| s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t | | |
| s,@X_LIBS@,$X_LIBS,;t t | | |
| s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t | | |
| s,@LIBOBJS@,$LIBOBJS,;t t | | |
| s,@x_includes@,$x_includes,;t t | | |
| s,@x_libraries@,$x_libraries,;t t | | |
| s,@no_x@,$no_x,;t t | | |
| s,@X11LIBS@,$X11LIBS,;t t | | |
| CEOF | | CEOF |
| | | EOF |
| | | |
| _ACEOF | | cat >> $CONFIG_STATUS <<\EOF |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| # Split the substitutions into bite-sized pieces for seds with | | # Split the substitutions into bite-sized pieces for seds with |
| # small command number limits, like on Digital OSF/1 and HP-UX. | | # small command number limits, like on Digital OSF/1 and HP-UX. |
| ac_max_sed_lines=48 | | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
| ac_sed_frag=1 # Number of current file. | | ac_file=1 # Number of current file. |
| ac_beg=1 # First line for current file. | | ac_beg=1 # First line for current file. |
| ac_end=$ac_max_sed_lines # Line after last line for current file. | | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
| ac_more_lines=: | | ac_more_lines=: |
| ac_sed_cmds= | | ac_sed_cmds="" |
| while $ac_more_lines; do | | while $ac_more_lines; do |
| if test $ac_beg -gt 1; then | | if test $ac_beg -gt 1; then |
| sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
| else | | else |
| sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
| fi | | fi |
| if test ! -s $tmp/subs.frag; then | | if test ! -s conftest.s$ac_file; then |
| ac_more_lines=false | | ac_more_lines=false |
| | | rm -f conftest.s$ac_file |
| else | | else |
| # The purpose of the label and of the branching condition is to | | |
| # speed up the sed processing (if there are no `@' at all, there | | |
| # is no need to browse any of the substitutions). | | |
| # These are the two extra sed commands mentioned above. | | |
| (echo ':t | | |
| /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | | |
| if test -z "$ac_sed_cmds"; then | | if test -z "$ac_sed_cmds"; then |
| ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | | ac_sed_cmds="sed -f conftest.s$ac_file" |
| else | | else |
| ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
| fi | | fi |
| ac_sed_frag=`expr $ac_sed_frag + 1` | | ac_file=`expr $ac_file + 1` |
| ac_beg=$ac_end | | ac_beg=$ac_end |
| ac_end=`expr $ac_end + $ac_max_sed_lines` | | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
| fi | | fi |
| done | | done |
| if test -z "$ac_sed_cmds"; then | | if test -z "$ac_sed_cmds"; then |
| ac_sed_cmds=cat | | ac_sed_cmds=cat |
| fi | | fi |
| fi # test -n "$CONFIG_FILES" | | EOF |
| | | |
| _ACEOF | | cat >> $CONFIG_STATUS <<EOF |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | | |
| # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | | |
| case $ac_file in | | |
| - | *:- | *:-:* ) # input from stdin | | |
| cat >$tmp/stdin | | |
| ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | | |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | | |
| *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | | |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | | |
| * ) ac_file_in=$ac_file.in ;; | | |
| esac | | |
| | | |
| # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | | CONFIG_FILES=\${CONFIG_FILES-"Makefile |
| ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile |
| X"$ac_file" : 'X\(//\)[^/]' \| \ | | crossedit/Cnv/Makefile crossedit/bitmaps/Makefile |
| X"$ac_file" : 'X\(//\)$' \| \ | | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
| X"$ac_file" : 'X\(/\)' \| \ | | doc/spoiler/Makefile doc/spoiler-html/Makefile |
| . : '\(.\)' 2>/dev/null || | | doc/playbook/Makefile doc/playbook-html/Makefile |
| echo X"$ac_file" | | | lib/Makefile random_maps/Makefile socket/Makefile server/Makefile |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | | include/Makefile utils/Makefile lib/checkarch.pl |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | | lib/collect.pl utils/add_throw.perl utils/crossloop utils/crossloop.pl |
| /^X\(\/\/\)$/{ s//\1/; q; } | | utils/metaserver.pl |
| /^X\(\/\).*/{ s//\1/; q; } | | common/Makefile |
| s/.*/./; q'` | | "} |
| { case "$ac_dir" in | | EOF |
| [\\/]* | ?:[\\/]* ) as_incr_dir=;; | | cat >> $CONFIG_STATUS <<\EOF |
| *) as_incr_dir=.;; | | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
| esac | | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| as_dummy="$ac_dir" | | case "$ac_file" in |
| for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
| case $as_mkdir_dir in | | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| # Skip DOS drivespec | | *) ac_file_in="${ac_file}.in" ;; |
| ?:) as_incr_dir=$as_mkdir_dir ;; | | |
| *) | | |
| as_incr_dir=$as_incr_dir/$as_mkdir_dir | | |
| test -d "$as_incr_dir" || | | |
| mkdir "$as_incr_dir" || | | |
| { { echo "$as_me:7602: error: cannot create \"$ac_dir\"" >&5 | | |
| echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| ;; | | |
| esac | | esac |
| done; } | | |
| | | |
| if test "$ac_dir" != .; then | | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
| ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'` | | |
| | | # Remove last slash and all that follows it. Not all systems have dirname. |
| | | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
| | | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
| | | # The file is in a subdirectory. |
| | | test ! -d "$ac_dir" && mkdir "$ac_dir" |
| | | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
| # A "../" for each directory in $ac_dir_suffix. | | # A "../" for each directory in $ac_dir_suffix. |
| ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` | | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
| else | | else |
| ac_dir_suffix= ac_top_builddir= | | ac_dir_suffix= ac_dots= |
| fi | | fi |
| | | |
| case $srcdir in | | case "$ac_given_srcdir" in |
| .) # No --srcdir option. We are building in place. | | .) srcdir=. |
| ac_srcdir=. | | if test -z "$ac_dots"; then top_srcdir=. |
| if test -z "$ac_top_builddir"; then | | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
| ac_top_srcdir=. | | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
| else | | |
| ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | | |
| fi ;; | | |
| [\\/]* | ?:[\\/]* ) # Absolute path. | | |
| ac_srcdir=$srcdir$ac_dir_suffix; | | |
| ac_top_srcdir=$srcdir ;; | | |
| *) # Relative path. | | *) # Relative path. |
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; | | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
| esac | | esac |
| | | |
| case $INSTALL in | | case "$ac_given_INSTALL" in |
| [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
| *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
| esac | | esac |
| | | |
| if test x"$ac_file" != x-; then | | echo creating "$ac_file" |
| { echo "$as_me:7639: creating $ac_file" >&5 | | |
| echo "$as_me: creating $ac_file" >&6;} | | |
| rm -f "$ac_file" | | rm -f "$ac_file" |
| fi | | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
| # Let's still pretend it is `configure' which instantiates (i.e., don't | | case "$ac_file" in |
| # use $as_me), people would be surprised to read: | | *Makefile*) ac_comsub="1i\\ |
| # /* config.h. Generated automatically by config.status. */ | | # $configure_input" ;; |
| configure_input="Generated automatically from `echo $ac_file_in | | | *) ac_comsub= ;; |
| sed 's,.*/,,'` by configure." | | esac |
| | | |
| # First look for the input files in the build tree, otherwise in the | | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
| # src tree. | | sed -e "$ac_comsub |
| ac_file_inputs=`IFS=: | | s%@configure_input@%$configure_input%g |
| for f in $ac_file_in; do | | s%@srcdir@%$srcdir%g |
| case $f in | | s%@top_srcdir@%$top_srcdir%g |
| -) echo $tmp/stdin ;; | | s%@INSTALL@%$INSTALL%g |
| [\\/$]*) | | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
| # Absolute (can't be DOS-style, as IFS=:) | | fi; done |
| test -f "$f" || { { echo "$as_me:7657: error: cannot find input file: $f" >&5 | | rm -f conftest.s* |
| echo "$as_me: error: cannot find input file: $f" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| echo $f;; | | |
| *) # Relative | | |
| if test -f "$f"; then | | |
| # Build tree | | |
| echo $f | | |
| elif test -f "$srcdir/$f"; then | | |
| # Source tree | | |
| echo $srcdir/$f | | |
| else | | |
| # /dev/null tree | | |
| { { echo "$as_me:7670: error: cannot find input file: $f" >&5 | | |
| echo "$as_me: error: cannot find input file: $f" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi;; | | |
| esac | | |
| done` || { (exit 1); exit 1; } | | |
| _ACEOF | | |
| cat >>$CONFIG_STATUS <<_ACEOF | | |
| sed "$ac_vpsub | | |
| $extrasub | | |
| _ACEOF | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| :t | | |
| /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | | |
| s,@configure_input@,$configure_input,;t t | | |
| s,@srcdir@,$ac_srcdir,;t t | | |
| s,@top_srcdir@,$ac_top_srcdir,;t t | | |
| s,@INSTALL@,$ac_INSTALL,;t t | | |
| " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | | |
| rm -f $tmp/stdin | | |
| if test x"$ac_file" != x-; then | | |
| mv $tmp/out $ac_file | | |
| else | | |
| cat $tmp/out | | |
| rm -f $tmp/out | | |
| fi | | |
| | | |
| done | | |
| _ACEOF | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | |
| | | |
| # | | |
| # CONFIG_HEADER section. | | |
| # | | |
| | | |
| # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
| # NAME is the cpp macro being defined and VALUE is the value it is being given. | | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
| # | | # |
| # ac_d sets the value in "#define NAME VALUE" lines. | | # ac_d sets the value in "#define NAME VALUE" lines. |
| ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| ac_dB='[ ].*$,\1#\2' | | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
| ac_dC=' ' | | ac_dC='\3' |
| ac_dD=',;t' | | ac_dD='%g' |
| # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
| ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| ac_uB='$,\1#\2define\3' | | ac_uB='\([ ]\)%\1#\2define\3' |
| ac_uC=' ' | | ac_uC=' ' |
| ac_uD=',;t' | | ac_uD='\4%g' |
| | | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| | | ac_eB='$%\1#\2define\3' |
| | | ac_eC=' ' |
| | | ac_eD='%g' |
| | | |
| | | if test "${CONFIG_HEADERS+set}" != set; then |
| | | EOF |
| | | cat >> $CONFIG_STATUS <<EOF |
| | | CONFIG_HEADERS="include/autoconf.h" |
| | | EOF |
| | | cat >> $CONFIG_STATUS <<\EOF |
| | | fi |
| | | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
| # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| case $ac_file in | | case "$ac_file" in |
| - | *:- | *:-:* ) # input from stdin | | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
| cat >$tmp/stdin | | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | | *) ac_file_in="${ac_file}.in" ;; |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | | |
| *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | | |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | | |
| * ) ac_file_in=$ac_file.in ;; | | |
| esac | | esac |
| | | |
| test x"$ac_file" != x- && { echo "$as_me:7731: creating $ac_file" >&5 | | echo creating $ac_file |
| echo "$as_me: creating $ac_file" >&6;} | | |
| | | |
| # First look for the input files in the build tree, otherwise in the | | rm -f conftest.frag conftest.in conftest.out |
| # src tree. | | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
| ac_file_inputs=`IFS=: | | cat $ac_file_inputs > conftest.in |
| for f in $ac_file_in; do | | |
| case $f in | | EOF |
| -) echo $tmp/stdin ;; | | |
| [\\/$]*) | | # Transform confdefs.h into a sed script conftest.vals that substitutes |
| # Absolute (can't be DOS-style, as IFS=:) | | # the proper values into config.h.in to produce config.h. And first: |
| test -f "$f" || { { echo "$as_me:7742: error: cannot find input file: $f" >&5 | | # Protect against being on the right side of a sed subst in config.status. |
| echo "$as_me: error: cannot find input file: $f" >&2;} | | # Protect against being in an unquoted here document in config.status. |
| { (exit 1); exit 1; }; } | | rm -f conftest.vals |
| echo $f;; | | cat > conftest.hdr <<\EOF |
| *) # Relative | | s/[\\&%]/\\&/g |
| if test -f "$f"; then | | s%[\\$`]%\\&%g |
| # Build tree | | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
| echo $f | | s%ac_d%ac_u%gp |
| elif test -f "$srcdir/$f"; then | | s%ac_u%ac_e%gp |
| # Source tree | | EOF |
| echo $srcdir/$f | | sed -n -f conftest.hdr confdefs.h > conftest.vals |
| else | | rm -f conftest.hdr |
| # /dev/null tree | | |
| { { echo "$as_me:7755: error: cannot find input file: $f" >&5 | | |
| echo "$as_me: error: cannot find input file: $f" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| fi;; | | |
| esac | | |
| done` || { (exit 1); exit 1; } | | |
| # Remove the trailing spaces. | | |
| sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | | |
| | | |
| _ACEOF | | |
| | | |
| # Transform confdefs.h into two sed scripts, `conftest.defines' and | | |
| # `conftest.undefs', that substitutes the proper values into | | |
| # config.h.in to produce config.h. The first handles `#define' | | |
| # templates, and the second `#undef' templates. | | |
| # And first: Protect against being on the right side of a sed subst in | | |
| # config.status. Protect against being in an unquoted here document | | |
| # in config.status. | | |
| rm -f conftest.defines conftest.undefs | | |
| # Using a here document instead of a string reduces the quoting nightmare. | | |
| # Putting comments in sed scripts is not portable. | | |
| # | | |
| # `end' is used to avoid that the second main sed command (meant for | | |
| # 0-ary CPP macros) applies to n-ary macro definitions. | | |
| # See the Autoconf documentation for `clear'. | | |
| cat >confdef2sed.sed <<\_ACEOF | | |
| s/[\\&,]/\\&/g | | |
| s,[\\$`],\\&,g | | |
| t clear | | |
| : clear | | |
| s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp | | |
| t end | | |
| s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | | |
| : end | | |
| _ACEOF | | |
| # If some macros were called several times there might be several times | | |
| # the same #defines, which is useless. Nevertheless, we may not want to | | |
| # sort them, since we want the *last* AC-DEFINE to be honored. | | |
| uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | | |
| sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | | |
| rm -f confdef2sed.sed | | |
| | | |
| # This sed command replaces #undef with comments. This is necessary, for | | # This sed command replaces #undef with comments. This is necessary, for |
| # example, in the case of _POSIX_SOURCE, which is predefined and required | | # example, in the case of _POSIX_SOURCE, which is predefined and required |
| # on some systems where configure will not decide to define it. | | # on some systems where configure will not decide to define it. |
| cat >>conftest.undefs <<\_ACEOF | | cat >> conftest.vals <<\EOF |
| s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
| _ACEOF | | EOF |
| | | |
| # Break up conftest.defines because some shells have a limit on the size | | # Break up conftest.vals because some shells have a limit on |
| # of here documents, and old seds have small limits too (100 cmds). | | # the size of here documents, and old seds have small limits too. |
| echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | | |
| echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | | |
| echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | | |
| echo ' :' >>$CONFIG_STATUS | | |
| rm -f conftest.tail | | |
| while grep . conftest.defines >/dev/null | | |
| do | | |
| # Write a limited-size here document to $tmp/defines.sed. | | |
| echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | | |
| # Speed up: don't consider the non `#define' lines. | | |
| echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | | |
| # Work around the forget-to-reset-the-flag bug. | | |
| echo 't clr' >>$CONFIG_STATUS | | |
| echo ': clr' >>$CONFIG_STATUS | | |
| sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | | |
| echo 'CEOF | | |
| sed -f $tmp/defines.sed $tmp/in >$tmp/out | | |
| rm -f $tmp/in | | |
| mv $tmp/out $tmp/in | | |
| ' >>$CONFIG_STATUS | | |
| sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | | |
| rm -f conftest.defines | | |
| mv conftest.tail conftest.defines | | |
| done | | |
| rm -f conftest.defines | | |
| echo ' fi # egrep' >>$CONFIG_STATUS | | |
| echo >>$CONFIG_STATUS | | |
| | | |
| # Break up conftest.undefs because some shells have a limit on the size | | |
| # of here documents, and old seds have small limits too (100 cmds). | | |
| echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | | |
| rm -f conftest.tail | | rm -f conftest.tail |
| while grep . conftest.undefs >/dev/null | | while : |
| do | | do |
| # Write a limited-size here document to $tmp/undefs.sed. | | ac_lines=`grep -c . conftest.vals` |
| echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | | # grep -c gives empty output for an empty file on some AIX systems. |
| # Speed up: don't consider the non `#undef' | | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
| echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | | # Write a limited-size here document to conftest.frag. |
| # Work around the forget-to-reset-the-flag bug. | | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
| echo 't clr' >>$CONFIG_STATUS | | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
| echo ': clr' >>$CONFIG_STATUS | | |
| sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | | |
| echo 'CEOF | | echo 'CEOF |
| sed -f $tmp/undefs.sed $tmp/in >$tmp/out | | sed -f conftest.frag conftest.in > conftest.out |
| rm -f $tmp/in | | rm -f conftest.in |
| mv $tmp/out $tmp/in | | mv conftest.out conftest.in |
| ' >>$CONFIG_STATUS | | ' >>$CONFIG_STATUS |
| sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
| rm -f conftest.undefs | | rm -f conftest.vals |
| mv conftest.tail conftest.undefs | | mv conftest.tail conftest.vals |
| done | | done |
| rm -f conftest.undefs | | rm -f conftest.vals |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | cat >> $CONFIG_STATUS <<\EOF |
| # Let's still pretend it is `configure' which instantiates (i.e., don't | | rm -f conftest.frag conftest.h |
| # use $as_me), people would be surprised to read: | | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
| # /* config.h. Generated automatically by config.status. */ | | cat conftest.in >> conftest.h |
| if test x"$ac_file" = x-; then | | rm -f conftest.in |
| echo "/* Generated automatically by configure. */" >$tmp/config.h | | if cmp -s $ac_file conftest.h 2>/dev/null; then |
| else | | echo "$ac_file is unchanged" |
| echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h | | rm -f conftest.h |
| fi | | else |
| cat $tmp/in >>$tmp/config.h | | # Remove last slash and all that follows it. Not all systems have dirname. |
| rm -f $tmp/in | | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
| if test x"$ac_file" != x-; then | | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
| if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | | # The file is in a subdirectory. |
| { echo "$as_me:7872: $ac_file is unchanged" >&5 | | test ! -d "$ac_dir" && mkdir "$ac_dir" |
| echo "$as_me: $ac_file is unchanged" >&6;} | | |
| else | | |
| ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | |
| X"$ac_file" : 'X\(//\)[^/]' \| \ | | |
| X"$ac_file" : 'X\(//\)$' \| \ | | |
| X"$ac_file" : 'X\(/\)' \| \ | | |
| . : '\(.\)' 2>/dev/null || | | |
| echo X"$ac_file" | | | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | | |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | | |
| /^X\(\/\/\)$/{ s//\1/; q; } | | |
| /^X\(\/\).*/{ s//\1/; q; } | | |
| s/.*/./; q'` | | |
| { case "$ac_dir" in | | |
| [\\/]* | ?:[\\/]* ) as_incr_dir=;; | | |
| *) as_incr_dir=.;; | | |
| esac | | |
| as_dummy="$ac_dir" | | |
| for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | | |
| case $as_mkdir_dir in | | |
| # Skip DOS drivespec | | |
| ?:) as_incr_dir=$as_mkdir_dir ;; | | |
| *) | | |
| as_incr_dir=$as_incr_dir/$as_mkdir_dir | | |
| test -d "$as_incr_dir" || | | |
| mkdir "$as_incr_dir" || | | |
| { { echo "$as_me:7899: error: cannot create \"$ac_dir\"" >&5 | | |
| echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | | |
| { (exit 1); exit 1; }; } | | |
| ;; | | |
| esac | | |
| done; } | | |
| | | |
| rm -f $ac_file | | |
| mv $tmp/config.h $ac_file | | |
| fi | | fi |
| else | | rm -f $ac_file |
| cat $tmp/config.h | | mv conftest.h $ac_file |
| rm -f $tmp/config.h | | |
| fi | | fi |
| done | | fi; done |
| _ACEOF | | |
| | | EOF |
| | | cat >> $CONFIG_STATUS <<EOF |
| | | |
| cat >>$CONFIG_STATUS <<\_ACEOF | | EOF |
| | | cat >> $CONFIG_STATUS <<\EOF |
| | | |
| { (exit 0); exit 0; } | | exit 0 |
| _ACEOF | | EOF |
| chmod +x $CONFIG_STATUS | | chmod +x $CONFIG_STATUS |
| ac_clean_files=$ac_clean_files_save | | rm -fr confdefs* $ac_clean_files |
| | | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
| | | |
| # configure is writing to config.log, and then calls config.status. | | |
| # config.status does its own redirection, appending to config.log. | | |
| # Unfortunately, on DOS this fails, as config.log is still kept open | | |
| # by configure, so config.status won't be able to write to it; its | | |
| # output is simply discarded. So we exec the FD to /dev/null, | | |
| # effectively closing config.log, so it can be properly (re)opened and | | |
| # appended to by config.status. When coming back to configure, we | | |
| # need to make the FD available again. | | |
| if test "$no_create" != yes; then | | |
| ac_cs_success=: | | |
| exec 5>/dev/null | | |
| $SHELL $CONFIG_STATUS || ac_cs_success=false | | |
| exec 5>>config.log | | |
| # Use ||, not &&, to avoid exiting from the if with $? = 1, which | | |
| # would make configure fail if this is the last instruction. | | |
| $ac_cs_success || { (exit 1); exit 1; } | | |
| fi | | |