configure revision 7c0876aa42e6abaa8779bcb83962ccf20a9f4da3
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#! /bin/sh
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
0b1f1952f4a1c8ddb90dc2dfcab30669903c6e8eBrian Wellington# From configure.in Revision: 1.13
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# Guess values for system-dependent variables and create Makefiles.
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# Generated automatically using autoconf version 2.12
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff#
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff# This configure script is free software; the Free Software Foundation
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff# gives unlimited permission to copy, distribute and modify it.
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff# Defaults:
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffac_help=
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffac_default_prefix=/usr/local
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff# Any additions from configure.in:
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff# Initialize some variables set by options.
52d6c41cfcf21ddd240ddba15f3cdccea2e1ef47Andreas Gustafsson# The variables have the same names as the options, with
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# dashes changed to underlines.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleybuild=NONE
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellingtoncache_file=./config.cache
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyexec_prefix=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyhost=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyno_create=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleynonopt=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyno_recursion=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyprefix=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyprogram_prefix=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyprogram_suffix=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyprogram_transform_name=s,x,x,
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysilent=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysite=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysrcdir=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleytarget=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyverbose=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyx_includes=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyx_libraries=NONE
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleybindir='${exec_prefix}/bin'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysbindir='${exec_prefix}/sbin'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleylibexecdir='${exec_prefix}/libexec'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleydatadir='${prefix}/share'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysysconfdir='${prefix}/etc'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysharedstatedir='${prefix}/com'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleylocalstatedir='${prefix}/var'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleylibdir='${exec_prefix}/lib'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyincludedir='${prefix}/include'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyoldincludedir='/usr/include'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyinfodir='${prefix}/info'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleymandir='${prefix}/man'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Initialize some other variables.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleysubdirs=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyMFLAGS= MAKEFLAGS=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Maximum number of lines to put in a shell here document.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_max_here_lines=12
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_prev=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfor ac_option
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleydo
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # If the previous option needs an argument, assign it.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -n "$ac_prev"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley eval "$ac_prev=\$ac_option"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_prev=
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley continue
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_option" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *) ac_optarg= ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Accept the important Cygnus configure options, so we can diagnose typos.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley case "$ac_option" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -bindir | --bindir | --bindi | --bind | --bin | --bi)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_prev=bindir ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley bindir="$ac_optarg" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -build | --build | --buil | --bui | --bu)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_prev=build ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -build=* | --build=* | --buil=* | --bui=* | --bu=*)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley build="$ac_optarg" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -cache-file | --cache-file | --cache-fil | --cache-fi \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_prev=cache_file ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cache_file="$ac_optarg" ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington ac_prev=datadir ;;
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington | --da=*)
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington datadir="$ac_optarg" ;;
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington -disable-* | --disable-*)
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington # Reject names that are not valid shell variable names.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley fi
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington ac_feature=`echo $ac_feature| sed 's/-/_/g'`
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington eval "enable_${ac_feature}=no" ;;
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington -enable-* | --enable-*)
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington # Reject names that are not valid shell variable names.
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington fi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_feature=`echo $ac_feature| sed 's/-/_/g'`
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson case "$ac_option" in
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson *=*) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_optarg=yes ;;
ece3d6c35693f9e2145434b0bf14e8b752cdeee8Michael Graff esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "enable_${ac_feature}='$ac_optarg'" ;;
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec | --exe | --ex)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=exec_prefix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec=* | --exe=* | --ex=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec_prefix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff -gas | --gas | --ga | --g)
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington # Obsolete; use --with-gas.
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff with_gas=yes ;;
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington -help | --help | --hel | --he)
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington # Omit some internal or obsolete options to make the list less imposing.
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington # This message is too long to be a string in the A/UX 3.1 sh.
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence cat << EOF
23f7ed0b0ce02d69a60eae6db0d032157c03c152Brian WellingtonUsage: configure [options] [host]
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas GustafssonOptions: [defaults in brackets after descriptions]
1706598239da403b86f4befa4c08175d9e101014Andreas GustafssonConfiguration:
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --cache-file=FILE cache test results in FILE
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graff --help print this message
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --no-create do not create output files
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graff --quiet, --silent do not print \`checking...' messages
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --version print the version of autoconf that created configure
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael GraffDirectory and file names:
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --prefix=PREFIX install architecture-independent files in PREFIX
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graff [$ac_default_prefix]
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graff [same as prefix]
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley --bindir=DIR user executables in DIR [EPREFIX/bin]
a5cf3cf61e96e0db9ffe433402783e1ddbb2fbc3Michael Graff --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
7bb707a34778fc4bd9624d6c5de95675424ea59fDavid Lawrence --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
c0ef1acf49b383d8b6d3742cb963f7d08f5762e3Andreas Gustafsson --datadir=DIR read-only architecture-independent data in DIR
8a9b755d32a4f6ace792ac3fd17c968cf96d2487David Lawrence [PREFIX/share]
8a9b755d32a4f6ace792ac3fd17c968cf96d2487David Lawrence --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sharedstatedir=DIR modifiable architecture-independent data in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [PREFIX/com]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --libdir=DIR object code libraries in DIR [EPREFIX/lib]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --includedir=DIR C header files in DIR [PREFIX/include]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --infodir=DIR info documentation in DIR [PREFIX/info]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --mandir=DIR man documentation in DIR [PREFIX/man]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --srcdir=DIR find the sources in DIR [configure dir or ..]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-prefix=PREFIX prepend PREFIX to installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-suffix=SUFFIX append SUFFIX to installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-transform-name=PROGRAM
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley run sed PROGRAM on installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat << EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyHost type:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --build=BUILD configure for building on BUILD [BUILD=HOST]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --host=HOST configure for HOST [guessed]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --target=TARGET configure for TARGET [TARGET=HOST]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyFeatures and packages:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x-includes=DIR X include files are in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x-libraries=DIR X library files are in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$ac_help"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "--enable and --with options recognized:$ac_help"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exit 0 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -host | --host | --hos | --ho)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=host ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -host=* | --host=* | --hos=* | --ho=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley host="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -includedir | --includedir | --includedi | --included | --include \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley | --includ | --inclu | --incl | --inc)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=includedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --includ=* | --inclu=* | --incl=* | --inc=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley includedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -infodir | --infodir | --infodi | --infod | --info | --inf)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=infodir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley infodir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libdir | --libdir | --libdi | --libd)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=libdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libdir=* | --libdir=* | --libdi=* | --libd=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley libdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --libexe | --libex | --libe)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=libexecdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --libexe=* | --libex=* | --libe=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley libexecdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -localstatedir | --localstatedir | --localstatedi | --localstated \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --localstate | --localstat | --localsta | --localst \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --locals | --local | --loca | --loc | --lo)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=localstatedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --localstate=* | --localstat=* | --localsta=* | --localst=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley localstatedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=mandir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mandir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -nfp | --nfp | --nf)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --without-fp.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley with_fp=no ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-cr | --no-c)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley no_create=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley no_recursion=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldin | --oldi | --old | --ol | --o)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=oldincludedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley oldincludedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=prefix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley prefix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-prefix | --program-prefix | --program-prefi | --program-pref \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-pre | --program-pr | --program-p)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=program_prefix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-prefix=* | --program-prefix=* | --program-prefi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley program_prefix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-suffix | --program-suffix | --program-suffi | --program-suff \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-suf | --program-su | --program-s)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=program_suffix ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-suffix=* | --program-suffix=* | --program-suffi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley program_suffix="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-transform-name | --program-transform-name \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-nam | --program-transform-na \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-n | --program-transform- \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform | --program-transfor \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transfo | --program-transf \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-trans | --program-tran \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --progr-tra | --program-tr | --program-t)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=program_transform_name ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-transform-name=* | --program-transform-name=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-nam=* | --program-transform-na=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-n=* | --program-transform-=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform=* | --program-transfor=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transfo=* | --program-transf=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-trans=* | --program-tran=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --progr-tra=* | --program-tr=* | --program-t=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley program_transform_name="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -q | -quiet | --quiet | --quie | --qui | --qu | --q \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | -silent | --silent | --silen | --sile | --sil)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley silent=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=sbindir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sbi=* | --sb=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sbindir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sharedstatedir | --sharedstatedir | --sharedstatedi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedst | --shareds | --shared | --share | --shar \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sha | --sh)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=sharedstatedir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sha=* | --sh=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sharedstatedir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -site | --site | --sit)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=site ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -site=* | --site=* | --sit=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley site="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=srcdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --syscon | --sysco | --sysc | --sys | --sy)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=sysconfdir ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sysconfdir="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -target | --target | --targe | --targ | --tar | --ta | --t)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=target ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley target="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -v | -verbose | --verbose | --verbos | --verbo | --verb)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley verbose=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -version | --version | --versio | --versi | --vers)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure generated by autoconf version 2.12"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exit 0 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -with-* | --with-*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_package| sed 's/-/_/g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_option" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *=*) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_optarg=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "with_${ac_package}='$ac_optarg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -without-* | --without-*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_option|sed -e 's/-*without-//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_package| sed 's/-/_/g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "with_${ac_package}=no" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --with-x.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley with_x=yes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-incl | --x-inc | --x-in | --x-i)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=x_includes ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley x_includes="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-libraries | --x-libraries | --x-librarie | --x-librari \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prev=x_libraries ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley x_libraries="$ac_optarg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: warning: $ac_option: invalid host type" 1>&2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "x$nonopt" != xNONE; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley nonopt="$ac_option"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$ac_prev"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# File descriptor usage:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 0 standard input
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 1 file creation
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 2 errors and warnings
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 3 some systems may open it to /dev/tty
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 4 used on the Kubota Titan
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 6 checking for... messages and results
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 5 compiler messages saved in config.log
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "$silent" = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec 6>/dev/null
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec 6>&1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyexec 5>./config.log
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "\
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyThis file contains any messages produced by compilers while
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrunning configure, to aid debugging if configure makes a mistake.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley" 1>&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Strip out --no-create and --no-recursion so they do not pile up.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Also quote any args containing shell metacharacters.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_configure_args=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_arg
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydo
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_arg" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-cr | --no-c) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_configure_args="$ac_configure_args '$ac_arg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_configure_args="$ac_configure_args $ac_arg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# NLS nuisances.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Only set these to C if already set. These must not be set unconditionally
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# because not all systems understand e.g. LANG=C (notably SCO).
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Non-C LC_CTYPE values break the ctype check.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LANG+set}" = set; then LANG=C; export LANG; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# confdefs.h avoids OS command line length limits that DEFS can exceed.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -rf conftest* confdefs.h
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AIX cpp loses on an empty file, so make sure it contains at least a newline.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho > confdefs.h
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# A filename unique to this package, relative to the directory that
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# configure is in, which we can look for to find out if srcdir is correct.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_unique_file=lib/dns/name.c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find the source files, if location was not specified.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$srcdir"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_srcdir_defaulted=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Try the directory containing this script, then its parent.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prog=$0
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir=$ac_confdir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test ! -r $srcdir/$ac_unique_file; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir=..
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_srcdir_defaulted=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test ! -r $srcdir/$ac_unique_file; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "$ac_srcdir_defaulted" = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# Prefer explicitly selected file to automatically selected ones.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$CONFIG_SITE"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "x$prefix" != xNONE; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_site_file in $CONFIG_SITE; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -r "$ac_site_file"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "loading site script $ac_site_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley . "$ac_site_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -r "$cache_file"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "loading cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley . $cache_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "creating cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley > $cache_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_ext=c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_cpp='$CPP $CPPFLAGS'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycross_compiling=$ac_cv_prog_cc_cross
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_n= ac_c='
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley' ac_t=' '
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_n=-n ac_c= ac_t=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_n= ac_c='\c' ac_t=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_aux_dir=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -f $ac_dir/install-sh; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_aux_dir=$ac_dir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_install_sh="$ac_aux_dir/install-sh -c"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley elif test -f $ac_dir/install.sh; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_aux_dir=$ac_dir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_install_sh="$ac_aux_dir/install.sh -c"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_aux_dir"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_config_guess=$ac_aux_dir/config.guess
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_config_sub=$ac_aux_dir/config.sub
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Make sure we can run config.sub.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif $ac_config_sub sun4 >/dev/null 2>&1; then :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking host system type""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:552: checking host system type" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_alias=$host
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycase "$host_alias" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyNONE)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case $nonopt in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley NONE)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if host_alias=`$ac_config_guess`; then :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) host_alias=$nonopt ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyesac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost=`$ac_config_sub $host_alias`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$host" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Extract the first word of "gcc", so it can be a program name with args.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyset dummy gcc; ac_word=$2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:576: checking for $ac_word" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$CC"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_CC="$CC" # Let the user override the test.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley for ac_dir in $PATH; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test -z "$ac_dir" && ac_dir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -f $ac_dir/$ac_word; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_CC="gcc"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley done
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="$ac_save_ifs"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCC="$ac_cv_prog_CC"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$CC"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""$CC" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$CC"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Extract the first word of "cc", so it can be a program name with args.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyset dummy cc; ac_word=$2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:605: checking for $ac_word" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$CC"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_CC="$CC" # Let the user override the test.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prog_rejected=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley for ac_dir in $PATH; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test -z "$ac_dir" && ac_dir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -f $ac_dir/$ac_word; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_prog_rejected=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley continue
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_CC="cc"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley done
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="$ac_save_ifs"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_prog_rejected = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # We found a bogon in the path, so make sure we never use it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley set dummy $ac_cv_prog_CC
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley shift
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test $# -gt 0; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # We chose a different compiler from the bogus one.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # However, it has the same basename, so the bogon will be chosen
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # first if we set CC to just the basename; use the full file name.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley shift
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley set dummy "$ac_dir/$ac_word" "$@"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley shift
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_CC="$@"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCC="$ac_cv_prog_CC"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$CC"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""$CC" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:653: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_ext=c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_cpp='$CPP $CPPFLAGS'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycross_compiling=$ac_cv_prog_cc_cross
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 663 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleymain(){return(0);}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_cc_works=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # If we can't run a trivial program, we are probably using a cross compiler.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if (./conftest; exit) 2>/dev/null; then
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence ac_cv_prog_cc_cross=no
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_cc_cross=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_cc_works=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -fr conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$ac_cv_prog_cc_works" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_prog_cc_works = no; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:687: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$ac_cv_prog_cc_cross" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycross_compiling=$ac_cv_prog_cc_cross
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:692: checking whether we are using GNU C" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.c <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#ifdef __GNUC__
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley yes;
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington#endif
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_gcc=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_gcc=no
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$ac_cv_prog_gcc" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test $ac_cv_prog_gcc = yes; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley GCC=yes
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_test_CFLAGS="${CFLAGS+set}"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_save_CFLAGS="$CFLAGS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CFLAGS=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:716: checking whether ${CC-cc} accepts -g" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo 'void f(){}' > conftest.c
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellingtonif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_prog_cc_g=yes
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_prog_cc_g=no
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffrm -f conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho "$ac_t""$ac_cv_prog_cc_g" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff if test "$ac_test_CFLAGS" = set; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CFLAGS="$ac_save_CFLAGS"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff elif test $ac_cv_prog_cc_g = yes; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CFLAGS="-g -O2"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff else
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CFLAGS="-O2"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff fi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff GCC=
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff test "${CFLAGS+set}" = set || CFLAGS="-g"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho "configure:745: checking how to run the C preprocessor" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# On Suns, sometimes $CPP names a directory.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -n "$CPP" && test -d "$CPP"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CPP=
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellingtonif test -z "$CPP"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # This must be in double quotes, not single quotes, because CPP may get
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # substituted into the Makefile and "${CC-cc}" will confuse make.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CPP="${CC-cc} -E"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # On the NeXT, cc -E runs the code through the compiler's parser,
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # not just through cpp.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat > conftest.$ac_ext <<EOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#line 760 "configure"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include "confdefs.h"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include <assert.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffSyntax Error
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffEOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff{ (eval echo configure:766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffac_err=`grep -v '^ *+' conftest.out`
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -z "$ac_err"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff :
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_err" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "configure: failed program was:" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff cat conftest.$ac_ext >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff rm -rf conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CPP="${CC-cc} -E -traditional-cpp"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff cat > conftest.$ac_ext <<EOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#line 777 "configure"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include "confdefs.h"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include <assert.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffSyntax Error
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffEOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff{ (eval echo configure:783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyac_err=`grep -v '^ *+' conftest.out`
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -z "$ac_err"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff :
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_err" >&5
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington echo "configure: failed program was:" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff cat conftest.$ac_ext >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff rm -rf conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CPP=/lib/cpp
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffrm -f conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_prog_CPP="$CPP"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff CPP="$ac_cv_prog_CPP"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ac_cv_prog_CPP="$CPP"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "$ac_t""$CPP" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffecho "configure:806: checking for ANSI C header files" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff cat > conftest.$ac_ext <<EOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#line 811 "configure"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include "confdefs.h"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include <stdlib.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include <stdarg.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include <string.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#include <float.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffEOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff{ (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffac_err=`grep -v '^ *+' conftest.out`
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test -z "$ac_err"; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff rm -rf conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_header_stdc=yes
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "$ac_err" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff echo "configure: failed program was:" >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff cat conftest.$ac_ext >&5
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff rm -rf conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_header_stdc=no
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Grafffi
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffrm -f conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif test $ac_cv_header_stdc = yes; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffcat > conftest.$ac_ext <<EOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff#line 836 "configure"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include "confdefs.h"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include <string.h>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffEOF
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff egrep "memchr" >/dev/null 2>&1; then
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff :
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graffelse
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff rm -rf conftest*
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff ac_cv_header_stdc=no
3d776d762914d1b675b4fd49728ce353ccf6f77eBrian Wellingtonfi
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencerm -f conftest*
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencefi
b0ebef19b382c4bc19591bbd387fcd64fb5ecaf5Brian Wellington
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif test $ac_cv_header_stdc = yes; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencecat > conftest.$ac_ext <<EOF
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#line 854 "configure"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#include "confdefs.h"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#include <stdlib.h>
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid LawrenceEOF
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence egrep "free" >/dev/null 2>&1; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence :
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceelse
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence rm -rf conftest*
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence ac_cv_header_stdc=no
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Grafffi
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencerm -f conftest*
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrencefi
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif test $ac_cv_header_stdc = yes; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif test "$cross_compiling" = yes; then
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence :
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceelse
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence cat > conftest.$ac_ext <<EOF
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#line 875 "configure"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#include "confdefs.h"
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#include <ctype.h>
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceint main () { int i; for (i = 0; i < 256; i++)
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrenceexit (0); }
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid LawrenceEOF
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafssonif { (eval echo configure:886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafssonthen
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson :
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafssonelse
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson echo "configure: failed program was:" >&5
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence cat conftest.$ac_ext >&5
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence rm -fr conftest*
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff ac_cv_header_stdc=no
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrencefi
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrencerm -fr conftest*
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrencefi
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrencefi
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrencefi
f855bad4a1bf282fdddc59d89c33ff6813ab2800David Lawrence
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyecho "$ac_t""$ac_cv_header_stdc" 1>&6
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyif test $ac_cv_header_stdc = yes; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley cat >> confdefs.h <<\EOF
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff#define STDC_HEADERS 1
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael GraffEOF
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Grafffi
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyfor ac_hdr in fcntl.h sys/time.h unistd.h
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffdo
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffecho "configure:913: checking for $ac_hdr" >&5
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo $ac_n "(cached) $ac_c" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffelse
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff cat > conftest.$ac_ext <<EOF
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff#line 918 "configure"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff#include "confdefs.h"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff#include <$ac_hdr>
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael GraffEOF
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff{ (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffac_err=`grep -v '^ *+' conftest.out`
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffif test -z "$ac_err"; then
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff rm -rf conftest*
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff eval "ac_cv_header_$ac_safe=yes"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffelse
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo "$ac_err" >&5
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo "configure: failed program was:" >&5
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff cat conftest.$ac_ext >&5
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff rm -rf conftest*
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff eval "ac_cv_header_$ac_safe=no"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Grafffi
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffrm -f conftest*
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Grafffi
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff echo "$ac_t""yes" 1>&6
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff cat >> confdefs.h <<EOF
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff#define $ac_tr_hdr 1
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael GraffEOF
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyelse
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley echo "$ac_t""no" 1>&6
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyfi
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleydone
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyecho $ac_n "checking for working const""... $ac_c" 1>&6
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyecho "configure:951: checking for working const" >&5
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyelse
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley cat > conftest.$ac_ext <<EOF
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley#line 956 "configure"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley#include "confdefs.h"
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graffint main() {
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson/* Ultrix mips cc rejects this. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssontypedef int charset[2]; const charset x;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson/* SunOS 4.1.1 cc rejects this. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonchar const *const *ccp;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonchar **p;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson/* NEC SVR4.0.2 mips cc rejects this. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonstruct point {int x, y;};
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleystatic struct point const zero = {0,0};
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson/* AIX XL C 1.02.0.0 rejects this.
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson It does not let you subtract one const X* pointer from another in an arm
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson of an if-expression whose if-part is not a constant expression */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonconst char *g = "string";
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonccp = &g + (g ? g-g : 0);
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson/* HPUX 7.0 cc rejects these. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson++ccp;
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffp = (char**) ccp;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafssonccp = (char const *const *) p;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson{ /* SCO 3.2v4 cc rejects this. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson char *t;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson char const *s = 0 ? (char *) 0 : (char const *) 0;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff *t++ = 0;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson}
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson int x[] = {25, 17};
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson const int *foo = &x[0];
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ++foo;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson}
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson typedef const int *iptr;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson iptr p = 0;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson ++p;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson}
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson{ /* AIX XL C 1.02.0.0 rejects this saying
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson struct s { int j; const int *ap[3]; };
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson struct s *b; b->j = 5;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson}
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson const int foo = 10;
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson}
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas Gustafsson; return 0; }
3ecf3394e37dc2848a09ffc643565d454e9e6974Andreas GustafssonEOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif { (eval echo configure:1005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence rm -rf conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_c_const=yes
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo "configure: failed program was:" >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence cat conftest.$ac_ext >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence rm -rf conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_c_const=no
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencerm -f conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho "$ac_t""$ac_cv_c_const" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif test $ac_cv_c_const = no; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence cat >> confdefs.h <<\EOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence#define const
90839d60d218503da04c4a0bfe57a81c33aa2241David LawrenceEOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceecho $ac_n "checking for inline""... $ac_c" 1>&6
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceecho "configure:1026: checking for inline" >&5
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence echo $ac_n "(cached) $ac_c" 1>&6
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceelse
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence ac_cv_c_inline=no
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrencefor ac_kw in inline __inline__ __inline; do
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence cat > conftest.$ac_ext <<EOF
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence#line 1033 "configure"
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence#include "confdefs.h"
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrenceint main() {
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence} $ac_kw foo() {
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David Lawrence; return 0; }
ae4cbb69eef32ced103fe4561e8d2031ee4c3497David LawrenceEOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif { (eval echo configure:1040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence rm -rf conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_c_inline=$ac_kw; break
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo "configure: failed program was:" >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence cat conftest.$ac_ext >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencefi
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencerm -f conftest*
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrencedone
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrencefi
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho "$ac_t""$ac_cv_c_inline" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrencecase "$ac_cv_c_inline" in
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence inline | yes) ;;
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff no) cat >> confdefs.h <<\EOF
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence#define inline
6a976322f097bce06ef164f9bf99e51c5df1827bMichael GraffEOF
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence ;;
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence *) cat >> confdefs.h <<EOF
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence#define inline $ac_cv_c_inline
0293ad13207aa29bd5844cdc87d085ffc009d749David LawrenceEOF
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence ;;
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrenceesac
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrence
0293ad13207aa29bd5844cdc87d085ffc009d749David Lawrenceecho $ac_n "checking for size_t""... $ac_c" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceecho "configure:1066: checking for size_t" >&5
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence echo $ac_n "(cached) $ac_c" 1>&6
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence cat > conftest.$ac_ext <<EOF
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence#line 1071 "configure"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence#include "confdefs.h"
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence#include <sys/types.h>
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#if STDC_HEADERS
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#include <stdlib.h>
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#include <stddef.h>
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#endif
657ce0b9d84fbd66514df53d61a087e8f1161187Michael GraffEOF
1ce985ab3c6670662d555c108b35fed84a6a1001David Lawrenceif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence rm -rf conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_type_size_t=yes
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrenceelse
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence rm -rf conftest*
90839d60d218503da04c4a0bfe57a81c33aa2241David Lawrence ac_cv_type_size_t=no
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrencefi
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrencerm -f conftest*
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrencefi
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceecho "$ac_t""$ac_cv_type_size_t" 1>&6
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceif test $ac_cv_type_size_t = no; then
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence cat >> confdefs.h <<\EOF
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence#define size_t unsigned
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid LawrenceEOF
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrencefi
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceecho "configure:1099: checking whether time.h and sys/time.h may both be included" >&5
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrenceif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
4bcaefbcd3ced942139fdc830e007c6ea2b8d2feDavid Lawrence echo $ac_n "(cached) $ac_c" 1>&6
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffelse
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff cat > conftest.$ac_ext <<EOF
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#line 1104 "configure"
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#include "confdefs.h"
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#include <sys/types.h>
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#include <sys/time.h>
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff#include <time.h>
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffint main() {
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graffstruct tm *tp;
657ce0b9d84fbd66514df53d61a087e8f1161187Michael Graff; return 0; }
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffEOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif { (eval echo configure:1113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff rm -rf conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_header_time=yes
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "configure: failed program was:" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff cat conftest.$ac_ext >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff rm -rf conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_cv_header_time=no
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffrm -f conftest*
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyfi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "$ac_t""$ac_cv_header_time" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif test $ac_cv_header_time = yes; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff cat >> confdefs.h <<\EOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#define TIME_WITH_SYS_TIME 1
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffEOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "configure:1135: checking for pthread_create in -lpthread" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_save_LIBS="$LIBS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffLIBS="-lpthread $LIBS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffcat > conftest.$ac_ext <<EOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#line 1143 "configure"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#include "confdefs.h"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff/* Override any gcc2 internal prototype to avoid an error. */
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff/* We use char because int might match the return type of a gcc2
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff builtin and then its argument prototype would still apply. */
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffchar pthread_create();
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffint main() {
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffpthread_create()
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff; return 0; }
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffEOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff rm -rf conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff eval "ac_cv_lib_$ac_lib_var=yes"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "configure: failed program was:" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff cat conftest.$ac_ext >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff rm -rf conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff eval "ac_cv_lib_$ac_lib_var=no"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffrm -f conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffLIBS="$ac_save_LIBS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Grafffi
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "$ac_t""yes" 1>&6
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff cat >> confdefs.h <<EOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#define $ac_tr_lib 1
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffEOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff LIBS="-lpthread $LIBS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "$ac_t""no" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffecho "configure:1180: checking for __pthread_create in -lpthread" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo $ac_n "(cached) $ac_c" 1>&6
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff ac_save_LIBS="$LIBS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffLIBS="-lpthread $LIBS"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffcat > conftest.$ac_ext <<EOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#line 1188 "configure"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff#include "confdefs.h"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff/* Override any gcc2 internal prototype to avoid an error. */
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff/* We use char because int might match the return type of a gcc2
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff builtin and then its argument prototype would still apply. */
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffchar __pthread_create();
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffint main() {
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff__pthread_create()
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff; return 0; }
90407942d3afe50f04ccea361de3b164a5a1702dMichael GraffEOF
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffif { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff rm -rf conftest*
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff eval "ac_cv_lib_$ac_lib_var=yes"
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffelse
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff echo "configure: failed program was:" >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff cat conftest.$ac_ext >&5
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff rm -rf conftest*
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff eval "ac_cv_lib_$ac_lib_var=no"
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Grafffi
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffrm -f conftest*
5f9e583552f53de12062bfff12e47250abce378fBrian WellingtonLIBS="$ac_save_LIBS"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Grafffi
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff echo "$ac_t""yes" 1>&6
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington cat >> confdefs.h <<EOF
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff#define $ac_tr_lib 1
6a976322f097bce06ef164f9bf99e51c5df1827bMichael GraffEOF
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff LIBS="-lpthread $LIBS"
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonelse
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington echo "$ac_t""no" 1>&6
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonfi
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graff echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
08a768e82ad64ede97f640c88e02984b59122753Michael Graffecho "configure:1227: checking for __pthread_create_system in -lpthread" >&5
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington echo $ac_n "(cached) $ac_c" 1>&6
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonelse
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington ac_save_LIBS="$LIBS"
5f9e583552f53de12062bfff12e47250abce378fBrian WellingtonLIBS="-lpthread $LIBS"
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtoncat > conftest.$ac_ext <<EOF
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington#line 1235 "configure"
d6230d416b9fd6cdd22bd3918073ed0f847c247eBrian Wellington#include "confdefs.h"
d6230d416b9fd6cdd22bd3918073ed0f847c247eBrian Wellington/* Override any gcc2 internal prototype to avoid an error. */
d6230d416b9fd6cdd22bd3918073ed0f847c247eBrian Wellington/* We use char because int might match the return type of a gcc2
d6230d416b9fd6cdd22bd3918073ed0f847c247eBrian Wellington builtin and then its argument prototype would still apply. */
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonchar __pthread_create_system();
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonint main() {
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington__pthread_create_system()
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington; return 0; }
5f9e583552f53de12062bfff12e47250abce378fBrian WellingtonEOF
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonif { (eval echo configure:1246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington rm -rf conftest*
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington eval "ac_cv_lib_$ac_lib_var=yes"
5f9e583552f53de12062bfff12e47250abce378fBrian Wellingtonelse
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington echo "configure: failed program was:" >&5
d6230d416b9fd6cdd22bd3918073ed0f847c247eBrian Wellington cat conftest.$ac_ext >&5
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington rm -rf conftest*
5f9e583552f53de12062bfff12e47250abce378fBrian Wellington eval "ac_cv_lib_$ac_lib_var=no"
e915367e40b579d18ac13c9c58c15fec614d9890Michael Grafffi
e915367e40b579d18ac13c9c58c15fec614d9890Michael Graffrm -f conftest*
e915367e40b579d18ac13c9c58c15fec614d9890Michael GraffLIBS="$ac_save_LIBS"
08a768e82ad64ede97f640c88e02984b59122753Michael Graff
08a768e82ad64ede97f640c88e02984b59122753Michael Grafffi
08a768e82ad64ede97f640c88e02984b59122753Michael Graffif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
08a768e82ad64ede97f640c88e02984b59122753Michael Graff echo "$ac_t""yes" 1>&6
08a768e82ad64ede97f640c88e02984b59122753Michael Graff ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
08a768e82ad64ede97f640c88e02984b59122753Michael Graff -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
08a768e82ad64ede97f640c88e02984b59122753Michael Graff cat >> confdefs.h <<EOF
08a768e82ad64ede97f640c88e02984b59122753Michael Graff#define $ac_tr_lib 1
08a768e82ad64ede97f640c88e02984b59122753Michael GraffEOF
08a768e82ad64ede97f640c88e02984b59122753Michael Graff
08a768e82ad64ede97f640c88e02984b59122753Michael Graff LIBS="-lpthread $LIBS"
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonelse
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington echo "$ac_t""no" 1>&6
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonfi
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonfi
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonecho $ac_n "checking for socket in -lxnet""... $ac_c" 1>&6
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonecho "configure:1277: checking for socket in -lxnet" >&5
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonac_lib_var=`echo xnet'_'socket | sed 'y%./+-%__p_%'`
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington echo $ac_n "(cached) $ac_c" 1>&6
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonelse
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington ac_save_LIBS="$LIBS"
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian WellingtonLIBS="-lxnet $LIBS"
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtoncat > conftest.$ac_ext <<EOF
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington#line 1285 "configure"
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington#include "confdefs.h"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington/* Override any gcc2 internal prototype to avoid an error. */
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington/* We use char because int might match the return type of a gcc2
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington builtin and then its argument prototype would still apply. */
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonchar socket();
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonint main() {
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonsocket()
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington; return 0; }
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian WellingtonEOF
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonif { (eval echo configure:1296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington rm -rf conftest*
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington eval "ac_cv_lib_$ac_lib_var=yes"
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellingtonelse
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington echo "configure: failed program was:" >&5
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington cat conftest.$ac_ext >&5
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington rm -rf conftest*
3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7Brian Wellington eval "ac_cv_lib_$ac_lib_var=no"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonfi
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonrm -f conftest*
a14613fce99dee3cad5bf842fd6be78f8e463582Brian WellingtonLIBS="$ac_save_LIBS"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyfi
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington echo "$ac_t""yes" 1>&6
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington ac_tr_lib=HAVE_LIB`echo xnet | sed -e 's/[^a-zA-Z0-9_]/_/g' \
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington cat >> confdefs.h <<EOF
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington#define $ac_tr_lib 1
a14613fce99dee3cad5bf842fd6be78f8e463582Brian WellingtonEOF
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington LIBS="-lxnet $LIBS"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonelse
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington echo "$ac_t""no" 1>&6
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonecho $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonecho "configure:1322: checking for socket in -lsocket" >&5
529ff4b4959fb157194f985394951108ff5286e4Brian Wellingtonac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington echo $ac_n "(cached) $ac_c" 1>&6
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonelse
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington ac_save_LIBS="$LIBS"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian WellingtonLIBS="-lsocket $LIBS"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtoncat > conftest.$ac_ext <<EOF
529ff4b4959fb157194f985394951108ff5286e4Brian Wellington#line 1330 "configure"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington#include "confdefs.h"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington/* Override any gcc2 internal prototype to avoid an error. */
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington/* We use char because int might match the return type of a gcc2
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington builtin and then its argument prototype would still apply. */
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonchar socket();
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonint main() {
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonsocket()
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington; return 0; }
a14613fce99dee3cad5bf842fd6be78f8e463582Brian WellingtonEOF
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonif { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington rm -rf conftest*
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington eval "ac_cv_lib_$ac_lib_var=yes"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonelse
529ff4b4959fb157194f985394951108ff5286e4Brian Wellington echo "configure: failed program was:" >&5
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington cat conftest.$ac_ext >&5
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington rm -rf conftest*
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellington eval "ac_cv_lib_$ac_lib_var=no"
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonfi
a14613fce99dee3cad5bf842fd6be78f8e463582Brian Wellingtonrm -f conftest*
a14613fce99dee3cad5bf842fd6be78f8e463582Brian WellingtonLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_lib 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley LIBS="-lsocket $LIBS"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1369: checking for inet_ntoa in -lnsl" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_save_LIBS="$LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="-lnsl $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1377 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar inet_ntoa();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyinet_ntoa()
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_lib_$ac_lib_var=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley eval "ac_cv_lib_$ac_lib_var=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyLIBS="$ac_save_LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_lib 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LIBS="-lnsl $LIBS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1420: checking for inet_ntop" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1425 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* System header to define __stub macros and hopefully few prototypes,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley which can conflict with char inet_ntop(); below. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <assert.h>
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* We use char because int might match the return type of a gcc2
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley builtin and then its argument prototype would still apply. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleychar inet_ntop();
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyint main() {
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* The GNU C library defines this for functions which it implements
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley to always fail with ENOSYS. Some functions are actually named
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley something starting with __ and the normal name is an alias. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleychoke me
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyinet_ntop();
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#endif
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley; return 0; }
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley eval "ac_cv_func_inet_ntop=yes"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "configure: failed program was:" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley cat conftest.$ac_ext >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley eval "ac_cv_func_inet_ntop=no"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "$ac_t""yes" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley :
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.o"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley#define NEED_INET_NTOP 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1475: checking for inet_pton" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley cat > conftest.$ac_ext <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1480 "configure"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* System header to define __stub macros and hopefully few prototypes,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley which can conflict with char inet_pton(); below. */
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley#include <assert.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* We use char because int might match the return type of a gcc2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley builtin and then its argument prototype would still apply. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar inet_pton();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* The GNU C library defines this for functions which it implements
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley to always fail with ENOSYS. Some functions are actually named
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley something starting with __ and the normal name is an alias. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychoke me
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#else
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyinet_pton();
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#endif
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley; return 0; }
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif { (eval echo configure:1503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_func_inet_pton=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -rf conftest*
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley eval "ac_cv_func_inet_pton=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""yes" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_pton.o"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define NEED_INET_PTON 1
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1530: checking for inet_aton" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat > conftest.$ac_ext <<EOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#line 1535 "configure"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include "confdefs.h"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* System header to define __stub macros and hopefully few prototypes,
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley which can conflict with char inet_aton(); below. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include <assert.h>
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* Override any gcc2 internal prototype to avoid an error. */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley/* We use char because int might match the return type of a gcc2
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley builtin and then its argument prototype would still apply. */
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleychar inet_aton();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* The GNU C library defines this for functions which it implements
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley to always fail with ENOSYS. Some functions are actually named
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley something starting with __ and the normal name is an alias. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychoke me
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinet_aton();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#endif
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley eval "ac_cv_func_inet_aton=yes"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: failed program was:" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat conftest.$ac_ext >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley rm -rf conftest*
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_func_inet_aton=no"
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrm -f conftest*
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo "$ac_t""yes" 1>&6
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister :
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerelse
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister echo "$ac_t""no" 1>&6
13494a4d4bead37f22eb6c4779c73310109f7e4aJames BristerISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.o"
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister cat >> confdefs.h <<\EOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister#define NEED_INET_ATON 1
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob HalleyEOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "configure:1586: checking whether ${MAKE-make} sets \${MAKE}" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister echo $ac_n "(cached) $ac_c" 1>&6
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerelse
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister cat > conftestmake <<\EOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerall:
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister @echo 'ac_maketemp="${MAKE}"'
13494a4d4bead37f22eb6c4779c73310109f7e4aJames BristerEOF
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristereval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$ac_maketemp"; then
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister eval ac_cv_prog_make_${ac_make}_set=yes
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerelse
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister eval ac_cv_prog_make_${ac_make}_set=no
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerfi
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerrm -f conftestmake
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerfi
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister echo "$ac_t""yes" 1>&6
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister SET_MAKE=
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Bristerelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley SET_MAKE="MAKE=${MAKE-make}"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Extract the first word of "ranlib", so it can be a program name with args.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyset dummy ranlib; ac_word=$2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1615: checking for $ac_word" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$RANLIB"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley for ac_dir in $PATH; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test -z "$ac_dir" && ac_dir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -f $ac_dir/$ac_word; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley ac_cv_prog_RANLIB="ranlib"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley done
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="$ac_save_ifs"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleyfi
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyRANLIB="$ac_cv_prog_RANLIB"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$RANLIB"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""$RANLIB" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$ac_t""no" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find a good install program. We prefer a C program (faster),
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# so one script is as good as another. But avoid the broken or
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley# incompatible versions:
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister# SysV /etc/install, /usr/sbin/install
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister# SunOS /usr/etc/install
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister# IRIX /sbin/install
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister# AIX /bin/install
13494a4d4bead37f22eb6c4779c73310109f7e4aJames Brister# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley# ./install, which can be erroneously created by make from ./install.sh.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyecho "configure:1652: checking for a BSD compatible install" >&5
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test -z "$INSTALL"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley echo $ac_n "(cached) $ac_c" 1>&6
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyelse
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley for ac_dir in $PATH; do
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # Account for people who put trailing slashes in PATH elements.
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley case "$ac_dir/" in
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley *)
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley # OSF1 and SCO ODT 3.0 have their own names for install.
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley for ac_prog in ginstall installbsd scoinst install; do
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley if test -f $ac_dir/$ac_prog; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley if test $ac_prog = install &&
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # AIX install. It has an incompatible calling convention.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # OSF/1 installbsd also uses dspmsg, but is usable.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_path_install="$ac_dir/$ac_prog -c"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley break 2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley done
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley done
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley IFS="$ac_save_IFS"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "${ac_cv_path_install+set}" = set; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley INSTALL="$ac_cv_path_install"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # As a last resort, use the slow shell script. We don't cache a
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # path for INSTALL within a source directory, because that will
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # break other packages using the cache if that directory is
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # removed, or if the path is relative.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley INSTALL="$ac_install_sh"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "$ac_t""$INSTALL" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley# It thinks the first close brace ends the variable substitution.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyif test "X$GCC" = "Xyes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley STD_CINCLUDES=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley STD_CDEFINES=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley STD_CWARNINGS="-W -Wall -Wmissing-prototypes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$host" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-sun-solaris*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LIBS="$LIBS -lthread"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley STD_CINCLUDES=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley STD_CDEFINES=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley STD_CWARNINGS=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$host" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-dec-osf*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CC="$CC -pthread"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-sun-solaris*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CC="$CC -mt"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-hp-hpux*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CC="$CC"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycase "$host" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-sun-solaris*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define NEED_AF_INET6 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *-hp-hpux*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat >> confdefs.h <<\EOF
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley#define NEED_AF_INET6 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyesac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyBIND9_MAKE_RULES=make/rules
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyBIND9_VERSION=$srcdir/version
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytrap '' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > confcache <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# This file is a shell script that caches the results of configure
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# tests run on this system so they can be shared between configure
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# scripts and configure runs. It is not useful on other systems.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# If it contains results you don't want to keep, you may remove or edit it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# By default, configure uses ./config.cache as the cache file,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# creating it if it does not exist already. You can give configure
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley# the --cache-file=FILE option to use a different cache file; that is
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# what configure does when it calls configure scripts in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# subdirectories, so they share the cache.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Giving --cache-file=/dev/null disables caching, for debugging configure.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# config.status only pays attention to the cache file if you give it the
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# --recheck option to rerun configure.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# The following way of writing the cache mishandles newlines in values,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# but we know of no workaround that is simple, portable, and efficient.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# So, don't put newlines in cache variables' values.
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley# Ultrix sh set writes to stderr and can't be redirected directly,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# and sets the high bit in the cache file unless we assign to the vars.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley(set) 2>&1 |
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case `(ac_space=' '; set) 2>&1` in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *ac_space=\ *)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # `set' does not quote correctly, so add quotes (double-quote substitution
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # turns \\\\ into \\, and sed turns \\ into \).
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sed -n \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e "s/'/'\\\\''/g" \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # `set' quotes correctly as required by POSIX, so do not add quotes.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac >> confcache
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif cmp -s $cache_file confcache; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -w $cache_file; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "updating cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley cat confcache > $cache_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
0adde9f4f9369b23c67b9a29e824dda09b19022fDavid Lawrence echo "not updating unwritable cache $cache_file"
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f confcache
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleytrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest "x$prefix" = xNONE && prefix=$ac_default_prefix
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Let make expand exec_prefix.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Any assignment to VPATH causes Sun make to only execute
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# the first set of double-colon rules, so remove it if not needed.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# If there is a colon in the path, we need to keep it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "x$srcdir" = x.; then
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyfi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyDEFS=-DHAVE_CONFIG_H
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Without the "./", some shells look in PATH for config.status.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley: ${CONFIG_STATUS=./config.status}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho creating $CONFIG_STATUS
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrm -f $CONFIG_STATUS
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat > $CONFIG_STATUS <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#! /bin/sh
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Generated automatically by configure.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Run this file to recreate the current configuration.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# This directory was configured as follows,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# $0 $ac_configure_args
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff#
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Compiler output produced by configure, useful for debugging
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# configure, is in ./config.log if it exists.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_option
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydo
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "\$ac_option" in
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "$CONFIG_STATUS generated by autoconf version 2.12"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley exit 0 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -help | --help | --hel | --he | --h)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "\$ac_cs_usage"; exit 0 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) echo "\$ac_cs_usage"; exit 1 ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_given_srcdir=$srcdir
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_given_INSTALL="$INSTALL"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytrap 'rm -fr `echo "make/rules
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley make/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/include/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/unix/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/unix/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/unix/include/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/pthreads/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/pthreads/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/pthreads/include/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/dns/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/dns/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/dns/include/dns/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bin/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bin/tests/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bin/named/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat >> $CONFIG_STATUS <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Protect against being on the right side of a sed subst in config.status.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley$ac_vpsub
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley$extrasub
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@CFLAGS@%$CFLAGS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@CPPFLAGS@%$CPPFLAGS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@CXXFLAGS@%$CXXFLAGS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@DEFS@%$DEFS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@LDFLAGS@%$LDFLAGS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@LIBS@%$LIBS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@exec_prefix@%$exec_prefix%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@prefix@%$prefix%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@program_transform_name@%$program_transform_name%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@bindir@%$bindir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@sbindir@%$sbindir%g
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleys%@libexecdir@%$libexecdir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@datadir@%$datadir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@sysconfdir@%$sysconfdir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@sharedstatedir@%$sharedstatedir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@localstatedir@%$localstatedir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@libdir@%$libdir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@includedir@%$includedir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@oldincludedir@%$oldincludedir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@infodir@%$infodir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@mandir@%$mandir%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@host@%$host%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@host_alias@%$host_alias%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@host_cpu@%$host_cpu%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@host_vendor@%$host_vendor%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@host_os@%$host_os%g
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graffs%@CC@%$CC%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@CPP@%$CPP%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@SET_MAKE@%$SET_MAKE%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@RANLIB@%$RANLIB%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleys%@INSTALL_DATA@%$INSTALL_DATA%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@STD_CINCLUDES@%$STD_CINCLUDES%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@STD_CDEFINES@%$STD_CDEFINES%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@STD_CWARNINGS@%$STD_CWARNINGS%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleys%@BIND9_MAKE_RULES@%%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/@BIND9_VERSION@/r $BIND9_VERSION
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halleys%@BIND9_VERSION@%%g
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat >> $CONFIG_STATUS <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley# Split the substitutions into bite-sized pieces for seds with
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# small command number limits, like on Digital OSF/1 and HP-UX.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_file=1 # Number of current file.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_beg=1 # First line for current file.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_end=$ac_max_sed_cmds # Line after last line for current file.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_more_lines=:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_sed_cmds=""
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleywhile $ac_more_lines; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test $ac_beg -gt 1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley sed "${ac_end}q" conftest.subs > conftest.s$ac_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test ! -s conftest.s$ac_file; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_more_lines=false
6a976322f097bce06ef164f9bf99e51c5df1827bMichael Graff rm -f conftest.s$ac_file
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -z "$ac_sed_cmds"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_sed_cmds="sed -f conftest.s$ac_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_file=`expr $ac_file + 1`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_beg=$ac_end
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_end=`expr $ac_end + $ac_max_sed_cmds`
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydone
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_sed_cmds"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_sed_cmds=cat
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfi
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat >> $CONFIG_STATUS <<EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCONFIG_FILES=\${CONFIG_FILES-"make/rules
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley make/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/Makefile
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley lib/isc/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/include/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/unix/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/unix/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/unix/include/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/pthreads/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/pthreads/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/isc/pthreads/include/isc/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/dns/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/dns/include/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley lib/dns/include/dns/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bin/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bin/tests/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley bin/named/Makefile
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley"}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyEOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleycat >> $CONFIG_STATUS <<\EOF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley case "$ac_file" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_file_in="${ac_file}.in" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Remove last slash and all that follows it. Not all systems have dirname.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # The file is in a subdirectory.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test ! -d "$ac_dir" && mkdir "$ac_dir"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley # A "../" for each directory in $ac_dir_suffix.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_dir_suffix= ac_dots=
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_given_srcdir" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley .) srcdir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -z "$ac_dots"; then top_srcdir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) # Relative path.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley top_srcdir="$ac_dots$ac_given_srcdir" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley case "$ac_given_INSTALL" in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [/$]*) INSTALL="$ac_given_INSTALL" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley esac
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews echo creating "$ac_file"
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews rm -f "$ac_file"
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews case "$ac_file" in
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews *Makefile*) ac_comsub="1i\\
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews# $configure_input" ;;
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews *) ac_comsub= ;;
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews esac
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews sed -e "$ac_comsub
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewss%@configure_input@%$configure_input%g
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewss%@srcdir@%$srcdir%g
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewss%@top_srcdir@%$top_srcdir%g
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewss%@INSTALL@%$INSTALL%g
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsfi; done
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsrm -f conftest.s*
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews# NAME is the cpp macro being defined and VALUE is the value it is being given.
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews#
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews# ac_d sets the value in "#define NAME VALUE" lines.
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_dC='\3'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_dD='%g'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_uB='\([ ]\)%\1#\2define\3'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_uC=' '
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_uD='\4%g'
d3ea05978f26c409ff66b42a0dff222110e2c1e6Mark Andrews# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_eB='$%\1#\2define\3'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_eC=' '
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsac_eD='%g'
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsif test "${CONFIG_HEADERS+set}" != set; then
7817a6f41b9e16da0325252ec24226b40f15a923Mark AndrewsEOF
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewscat >> $CONFIG_STATUS <<EOF
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews CONFIG_HEADERS="config.h"
7817a6f41b9e16da0325252ec24226b40f15a923Mark AndrewsEOF
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewscat >> $CONFIG_STATUS <<\EOF
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsfi
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
d3ea05978f26c409ff66b42a0dff222110e2c1e6Mark Andrews # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews case "$ac_file" in
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews *) ac_file_in="${ac_file}.in" ;;
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews esac
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence echo creating $ac_file
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence rm -f conftest.frag conftest.in conftest.out
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence cat $ac_file_inputs > conftest.in
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence
7817a6f41b9e16da0325252ec24226b40f15a923Mark AndrewsEOF
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence# Transform confdefs.h into a sed script conftest.vals that substitutes
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence# the proper values into config.h.in to produce config.h. And first:
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence# Protect against being on the right side of a sed subst in config.status.
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence# Protect against being in an unquoted here document in config.status.
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrencerm -f conftest.vals
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrencecat > conftest.hdr <<\EOF
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrences/[\\&%]/\\&/g
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrences%[\\$`]%\\&%g
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrences%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrences%ac_d%ac_u%gp
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrences%ac_u%ac_e%gp
9a2574531e3d2ced31072200b416467fdee0c29cDavid LawrenceEOF
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrencesed -n -f conftest.hdr confdefs.h > conftest.vals
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrencerm -f conftest.hdr
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence
d3ea05978f26c409ff66b42a0dff222110e2c1e6Mark Andrews# This sed command replaces #undef with comments. This is necessary, for
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence# example, in the case of _POSIX_SOURCE, which is predefined and required
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence# on some systems where configure will not decide to define it.
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrencecat >> conftest.vals <<\EOF
9ce476812c93a1bb8b416adbe707ee5000a015f1Andreas Gustafssons%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas GustafssonEOF
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson# Break up conftest.vals because some shells have a limit on
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson# the size of here documents, and old seds have small limits too.
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssonrm -f conftest.tail
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssonwhile :
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssondo
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson ac_lines=`grep -c . conftest.vals`
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson # grep -c gives empty output for an empty file on some AIX systems.
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson # Write a limited-size here document to conftest.frag.
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson echo 'CEOF
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrews sed -f conftest.frag conftest.in > conftest.out
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson rm -f conftest.in
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson mv conftest.out conftest.in
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson' >> $CONFIG_STATUS
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson rm -f conftest.vals
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson mv conftest.tail conftest.vals
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafssondone
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafssonrm -f conftest.vals
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafssoncat >> $CONFIG_STATUS <<\EOF
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson rm -f conftest.frag conftest.h
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson cat conftest.in >> conftest.h
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson rm -f conftest.in
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson if cmp -s $ac_file conftest.h 2>/dev/null; then
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson echo "$ac_file is unchanged"
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson rm -f conftest.h
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson else
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson # Remove last slash and all that follows it. Not all systems have dirname.
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson # The file is in a subdirectory.
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson test ! -d "$ac_dir" && mkdir "$ac_dir"
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson fi
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson rm -f $ac_file
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson mv conftest.h $ac_file
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson fi
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssonfi; done
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas GustafssonEOF
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssoncat >> $CONFIG_STATUS <<EOF
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafsson
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas GustafssonEOF
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssoncat >> $CONFIG_STATUS <<\EOF
9ceaa92a8ca8a0270ba296d44599e94d95033759Andreas Gustafsson
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas Gustafssonexit 0
a1884b96ef53efc8b4e14be173aaee552ca0213aAndreas GustafssonEOF
ce7994d137a013133e874b92604183923267fc94Brian Wellingtonchmod +x $CONFIG_STATUS
7817a6f41b9e16da0325252ec24226b40f15a923Mark Andrewsrm -fr confdefs* $ac_clean_files
ce7994d137a013133e874b92604183923267fc94Brian Wellingtontest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence
9a2574531e3d2ced31072200b416467fdee0c29cDavid Lawrence