configure revision 7c0876aa42e6abaa8779bcb83962ccf20a9f4da3
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# From configure.in Revision: 1.13
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews# Guess values for system-dependent variables and create Makefiles.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# Generated automatically using autoconf version 2.12
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# This configure script is free software; the Free Software Foundation
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# gives unlimited permission to copy, distribute and modify it.
281bfa2a98f1d1721538086e1b550185559f1d8bMark Andrews# Any additions from configure.in:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Initialize some variables set by options.
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# The variables have the same names as the options, with
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# dashes changed to underlines.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Initialize some other variables.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Maximum number of lines to put in a shell here document.
5506903c9215faf42586307c2288942fd804c579Evan Hunt # If the previous option needs an argument, assign it.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "$ac_prev"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "$ac_prev=\$ac_option"
5506903c9215faf42586307c2288942fd804c579Evan Hunt -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Accept the important Cygnus configure options, so we can diagnose typos.
5506903c9215faf42586307c2288942fd804c579Evan Hunt -bindir | --bindir | --bindi | --bind | --bin | --bi)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8b7d3aeda264513ca83961fb752703cc3c85451dMark Andrews -cache-file | --cache-file | --cache-fil | --cache-fi \
8b7d3aeda264513ca83961fb752703cc3c85451dMark Andrews | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
30c76944175c52f947d268329ff815aadeea6306Mark Andrews -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews # Reject names that are not valid shell variable names.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews eval "enable_${ac_feature}=no" ;;
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews # Reject names that are not valid shell variable names.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews eval "enable_${ac_feature}='$ac_optarg'" ;;
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Obsolete; use --with-gas.
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Omit some internal or obsolete options to make the list less imposing.
5506903c9215faf42586307c2288942fd804c579Evan Hunt # This message is too long to be a string in the A/UX 3.1 sh.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark AndrewsUsage: configure [options] [host]
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark AndrewsOptions: [defaults in brackets after descriptions]
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark AndrewsConfiguration:
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews --cache-file=FILE cache test results in FILE
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews --help print this message
5506903c9215faf42586307c2288942fd804c579Evan Hunt --no-create do not create output files
5506903c9215faf42586307c2288942fd804c579Evan Hunt --quiet, --silent do not print \`checking...' messages
5506903c9215faf42586307c2288942fd804c579Evan Hunt --version print the version of autoconf that created configure
5506903c9215faf42586307c2288942fd804c579Evan HuntDirectory and file names:
5506903c9215faf42586307c2288942fd804c579Evan Hunt --prefix=PREFIX install architecture-independent files in PREFIX
5506903c9215faf42586307c2288942fd804c579Evan Hunt [$ac_default_prefix]
5506903c9215faf42586307c2288942fd804c579Evan Hunt --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5506903c9215faf42586307c2288942fd804c579Evan Hunt [same as prefix]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --bindir=DIR user executables in DIR [EPREFIX/bin]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --datadir=DIR read-only architecture-independent data in DIR
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews [PREFIX/share]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --sharedstatedir=DIR modifiable architecture-independent data in DIR
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews [PREFIX/com]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --libdir=DIR object code libraries in DIR [EPREFIX/lib]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --includedir=DIR C header files in DIR [PREFIX/include]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --infodir=DIR info documentation in DIR [PREFIX/info]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --mandir=DIR man documentation in DIR [PREFIX/man]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --srcdir=DIR find the sources in DIR [configure dir or ..]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --program-transform-name=PROGRAM
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews run sed PROGRAM on installed program names
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --host=HOST configure for HOST [guessed]
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews --target=TARGET configure for TARGET [TARGET=HOST]
5506903c9215faf42586307c2288942fd804c579Evan HuntFeatures and packages:
5506903c9215faf42586307c2288942fd804c579Evan Hunt --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5506903c9215faf42586307c2288942fd804c579Evan Hunt --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5506903c9215faf42586307c2288942fd804c579Evan Hunt --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
5506903c9215faf42586307c2288942fd804c579Evan Hunt --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
5506903c9215faf42586307c2288942fd804c579Evan Hunt --x-includes=DIR X include files are in DIR
5506903c9215faf42586307c2288942fd804c579Evan Hunt --x-libraries=DIR X library files are in DIR
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "$ac_help"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "--enable and --with options recognized:$ac_help"
5506903c9215faf42586307c2288942fd804c579Evan Hunt -includedir | --includedir | --includedi | --included | --include \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -infodir | --infodir | --infodi | --infod | --info | --inf)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews | --localstate | --localstat | --localsta | --localst \
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --localstate=* | --localstat=* | --localsta=* | --localst=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Obsolete; use --without-fp.
5506903c9215faf42586307c2288942fd804c579Evan Hunt -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -program-prefix | --program-prefix | --program-prefi | --program-pref \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -program-prefix=* | --program-prefix=* | --program-prefi=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews -program-suffix | --program-suffix | --program-suffi | --program-suff \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews -program-suffix=* | --program-suffix=* | --program-suffi=* \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews -program-transform-name | --program-transform-name \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews | --program-transform-nam | --program-transform-na \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews | --program-transform-n | --program-transform- \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews -program-transform-name=* | --program-transform-name=* \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews | --program-transform-nam=* | --program-transform-na=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --program-transform-n=* | --program-transform-=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -q | -quiet | --quiet | --quie | --qui | --qu | --q \
c0a76b3c0b42a110e14eb56103973944900400c4Mark Andrews | -silent | --silent | --silen | --sile | --sil)
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -sharedstatedir | --sharedstatedir | --sharedstatedi \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --sharedst | --shareds | --shared | --share | --shar \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -target | --target | --targe | --targ | --tar | --ta | --t)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -v | -verbose | --verbose | --verbos | --verbo | --verb)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -version | --version | --versio | --versi | --vers)
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "configure generated by autoconf version 2.12"
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Reject names that are not valid shell variable names.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "with_${ac_package}='$ac_optarg'" ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_package=`echo $ac_option|sed -e 's/-*without-//'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Reject names that are not valid shell variable names.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "with_${ac_package}=no" ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Obsolete; use --with-x.
5506903c9215faf42586307c2288942fd804c579Evan Hunt -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -x-libraries | --x-libraries | --x-librarie | --x-librari \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5506903c9215faf42586307c2288942fd804c579Evan Hunt -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews echo "configure: warning: $ac_option: invalid host type" 1>&2
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -n "$ac_prev"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Hunttrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5506903c9215faf42586307c2288942fd804c579Evan Hunt# File descriptor usage:
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 0 standard input
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 1 file creation
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 2 errors and warnings
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 3 some systems may open it to /dev/tty
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 4 used on the Kubota Titan
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 6 checking for... messages and results
5506903c9215faf42586307c2288942fd804c579Evan Hunt# 5 compiler messages saved in config.log
5506903c9215faf42586307c2288942fd804c579Evan HuntThis file contains any messages produced by compilers while
5506903c9215faf42586307c2288942fd804c579Evan Huntrunning configure, to aid debugging if configure makes a mistake.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Strip out --no-create and --no-recursion so they do not pile up.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Also quote any args containing shell metacharacters.
5506903c9215faf42586307c2288942fd804c579Evan Hunt -no-create | --no-create | --no-creat | --no-crea | --no-cre \
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5506903c9215faf42586307c2288942fd804c579Evan Hunt | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews ac_configure_args="$ac_configure_args '$ac_arg'" ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt *) ac_configure_args="$ac_configure_args $ac_arg" ;;
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# NLS nuisances.
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# Only set these to C if already set. These must not be set unconditionally
5506903c9215faf42586307c2288942fd804c579Evan Hunt# because not all systems understand e.g. LANG=C (notably SCO).
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Non-C LC_CTYPE values break the ctype check.
5506903c9215faf42586307c2288942fd804c579Evan Huntif test "${LANG+set}" = set; then LANG=C; export LANG; fi
c0a76b3c0b42a110e14eb56103973944900400c4Mark Andrewsif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewsif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewsif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# confdefs.h avoids OS command line length limits that DEFS can exceed.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# AIX cpp loses on an empty file, so make sure it contains at least a newline.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# A filename unique to this package, relative to the directory that
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# configure is in, which we can look for to find out if srcdir is correct.
30c76944175c52f947d268329ff815aadeea6306Mark Andrews# Find the source files, if location was not specified.
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$srcdir"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Try the directory containing this script, then its parent.
30c76944175c52f947d268329ff815aadeea6306Mark Andrews test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewssrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews# Prefer explicitly selected file to automatically selected ones.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewsif test -z "$CONFIG_SITE"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
5506903c9215faf42586307c2288942fd804c579Evan Hunt CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews if test -r "$ac_site_file"; then
30c76944175c52f947d268329ff815aadeea6306Mark Andrews echo "loading site script $ac_site_file"
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -r "$cache_file"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "loading cache $cache_file"
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "creating cache $cache_file"
5506903c9215faf42586307c2288942fd804c579Evan Hunt# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5506903c9215faf42586307c2288942fd804c579Evan Huntac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5506903c9215faf42586307c2288942fd804c579Evan Huntac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5506903c9215faf42586307c2288942fd804c579Evan Huntif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$ac_aux_dir"; then
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Huntac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Make sure we can run config.sub.
5506903c9215faf42586307c2288942fd804c579Evan Huntelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking host system type""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:552: checking host system type" >&5
5506903c9215faf42586307c2288942fd804c579Evan Hunt else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Hunthost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunthost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunthost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
30c76944175c52f947d268329ff815aadeea6306Mark Andrews# Extract the first word of "gcc", so it can be a program name with args.
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "$CC"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_cv_prog_CC="$CC" # Let the user override the test.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrewsif test -n "$CC"; then
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrewsif test -z "$CC"; then
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews # Extract the first word of "cc", so it can be a program name with args.
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt if test -n "$CC"; then
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt ac_cv_prog_CC="$CC" # Let the user override the test.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews # We found a bogon in the path, so make sure we never use it.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews # We chose a different compiler from the bogus one.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews # However, it has the same basename, so the bogon will be chosen
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews # first if we set CC to just the basename; use the full file name.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewsif test -n "$CC"; then
30c76944175c52f947d268329ff815aadeea6306Mark Andrews test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:653: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5506903c9215faf42586307c2288942fd804c579Evan Hunt# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5506903c9215faf42586307c2288942fd804c579Evan Huntac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5506903c9215faf42586307c2288942fd804c579Evan Huntac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 663 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Huntmain(){return(0);}
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # If we can't run a trivial program, we are probably using a cross compiler.
5506903c9215faf42586307c2288942fd804c579Evan Hunt { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:687: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:692: checking whether we are using GNU C" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#ifdef __GNUC__
5506903c9215faf42586307c2288942fd804c579Evan Huntif { 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
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:716: checking whether ${CC-cc} accepts -g" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test "$ac_test_CFLAGS" = set; then
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:745: checking how to run the C preprocessor" >&5
5506903c9215faf42586307c2288942fd804c579Evan Hunt# On Suns, sometimes $CPP names a directory.
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$CPP"; then
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # This must be in double quotes, not single quotes, because CPP may get
5506903c9215faf42586307c2288942fd804c579Evan Hunt # substituted into the Makefile and "${CC-cc}" will confuse make.
5506903c9215faf42586307c2288942fd804c579Evan Hunt # On the NeXT, cc -E runs the code through the compiler's parser,
5506903c9215faf42586307c2288942fd804c579Evan Hunt # not just through cpp.
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 760 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <assert.h>
5506903c9215faf42586307c2288942fd804c579Evan Huntac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5506903c9215faf42586307c2288942fd804c579Evan Hunt{ (eval echo configure:766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$ac_err"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 777 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <assert.h>
5506903c9215faf42586307c2288942fd804c579Evan Huntac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5506903c9215faf42586307c2288942fd804c579Evan Hunt{ (eval echo configure:783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$ac_err"; then
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntecho "configure:806: checking for ANSI C header files" >&5
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#line 811 "configure"
acbb301e648b82fcc38b876a44403cf0fe539cc9Evan Hunt#include "confdefs.h"
acbb301e648b82fcc38b876a44403cf0fe539cc9Evan Hunt#include <stdlib.h>
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#include <stdarg.h>
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#include <string.h>
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#include <float.h>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt{ (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
36a06fc2d6ee3b054af65a9c19bdc6e2f96851e1Mark Andrewsif test -z "$ac_err"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 836 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <string.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 854 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <stdlib.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 875 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <ctype.h>
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5506903c9215faf42586307c2288942fd804c579Evan Huntint main () { int i; for (i = 0; i < 256; i++)
5506903c9215faf42586307c2288942fd804c579Evan Huntif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewsif { (eval echo configure:886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define STDC_HEADERS 1
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 918 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <$ac_hdr>
5506903c9215faf42586307c2288942fd804c579Evan Huntac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5506903c9215faf42586307c2288942fd804c579Evan Hunt{ (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$ac_err"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_header_$ac_safe=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_header_$ac_safe=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define $ac_tr_hdr 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for working const""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:951: checking for working const" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 956 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
8975f3305e88cb60d8cba47dcb0e2f47035177e1Tinderbox User/* Ultrix mips cc rejects this. */
5506903c9215faf42586307c2288942fd804c579Evan Hunttypedef int charset[2]; const charset x;
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* SunOS 4.1.1 cc rejects this. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar const *const *ccp;
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* NEC SVR4.0.2 mips cc rejects this. */
5506903c9215faf42586307c2288942fd804c579Evan Huntstruct point {int x, y;};
5506903c9215faf42586307c2288942fd804c579Evan Huntstatic struct point const zero = {0,0};
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* AIX XL C 1.02.0.0 rejects this.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews It does not let you subtract one const X* pointer from another in an arm
5506903c9215faf42586307c2288942fd804c579Evan Hunt of an if-expression whose if-part is not a constant expression */
5506903c9215faf42586307c2288942fd804c579Evan Huntconst char *g = "string";
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewsccp = &g + (g ? g-g : 0);
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* HPUX 7.0 cc rejects these. */
5506903c9215faf42586307c2288942fd804c579Evan Huntp = (char**) ccp;
1cefb9df3fa34d08734f29005cfafa6be5cf3e93Mark Andrewsccp = (char const *const *) p;
5506903c9215faf42586307c2288942fd804c579Evan Hunt{ /* SCO 3.2v4 cc rejects this. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt char const *s = 0 ? (char *) 0 : (char const *) 0;
5506903c9215faf42586307c2288942fd804c579Evan Hunt{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8cbf3b6fc35091abde426930f2eadb8f53476c98Evan Hunt int x[] = {25, 17};
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt const int *foo = &x[0];
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt typedef const int *iptr;
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt{ /* AIX XL C 1.02.0.0 rejects this saying
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt struct s { int j; const int *ap[3]; };
5506903c9215faf42586307c2288942fd804c579Evan Hunt struct s *b; b->j = 5;
5506903c9215faf42586307c2288942fd804c579Evan Hunt{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5506903c9215faf42586307c2288942fd804c579Evan Hunt const int foo = 10;
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define const
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1033 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt} $ac_kw foo() {
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define inline
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define inline $ac_cv_c_inline
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellingtonecho "configure:1066: checking for size_t" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1071 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <sys/types.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt#if STDC_HEADERS
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <stdlib.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <stddef.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define size_t unsigned
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:1099: checking whether time.h and sys/time.h may both be included" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1104 "configure"
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews#include "confdefs.h"
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews#include <sys/types.h>
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews#include <sys/time.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <time.h>
5506903c9215faf42586307c2288942fd804c579Evan Huntstruct tm *tp;
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define TIME_WITH_SYS_TIME 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrewsecho "configure:1135: checking for pthread_create in -lpthread" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1143 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
e19a1c3cd91e22996e829eb776dafe6783a967b0Mark Andrews builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar pthread_create();
5506903c9215faf42586307c2288942fd804c579Evan Huntpthread_create()
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define $ac_tr_lib 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:1180: checking for __pthread_create in -lpthread" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1188 "configure"
e19a1c3cd91e22996e829eb776dafe6783a967b0Mark Andrews#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar __pthread_create();
5506903c9215faf42586307c2288942fd804c579Evan Hunt__pthread_create()
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define $ac_tr_lib 1
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellingtonecho "configure:1227: checking for __pthread_create_system in -lpthread" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1235 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar __pthread_create_system();
5506903c9215faf42586307c2288942fd804c579Evan Hunt__pthread_create_system()
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define $ac_tr_lib 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for socket in -lxnet""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:1277: checking for socket in -lxnet" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntac_lib_var=`echo xnet'_'socket | sed 'y%./+-%__p_%'`
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1285 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar socket();
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_tr_lib=HAVE_LIB`echo xnet | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define $ac_tr_lib 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:1322: checking for socket in -lsocket" >&5
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellingtonac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1330 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar socket();
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=no"
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellingtonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington#define $ac_tr_lib 1
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntecho "configure:1369: checking for inet_ntoa in -lnsl" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews#line 1377 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrewschar inet_ntoa();
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_lib_$ac_lib_var=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define $ac_tr_lib 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellingtonecho "configure:1420: checking for inet_ntop" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1425 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews/* System header to define __stub macros and hopefully few prototypes,
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews which can conflict with char inet_ntop(); below. */
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews#include <assert.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* Override any gcc2 internal prototype to avoid an error. */
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrews/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar inet_ntop();
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews/* The GNU C library defines this for functions which it implements
7829fad4093f2c1985b1efb7cea00287ff015d2bckb to always fail with ENOSYS. Some functions are actually named
5506903c9215faf42586307c2288942fd804c579Evan Hunt something starting with __ and the normal name is an alias. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb eval "ac_cv_func_inet_ntop=yes"
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews eval "ac_cv_func_inet_ntop=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define NEED_INET_NTOP 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1480 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* System header to define __stub macros and hopefully few prototypes,
5506903c9215faf42586307c2288942fd804c579Evan Hunt which can conflict with char inet_pton(); below. */
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews#include <assert.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar inet_pton();
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* The GNU C library defines this for functions which it implements
5506903c9215faf42586307c2288942fd804c579Evan Hunt to always fail with ENOSYS. Some functions are actually named
5506903c9215faf42586307c2288942fd804c579Evan Hunt something starting with __ and the normal name is an alias. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_func_inet_pton=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_func_inet_pton=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#define NEED_INET_PTON 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt#line 1535 "configure"
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include "confdefs.h"
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* System header to define __stub macros and hopefully few prototypes,
5506903c9215faf42586307c2288942fd804c579Evan Hunt which can conflict with char inet_aton(); below. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt#include <assert.h>
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* Override any gcc2 internal prototype to avoid an error. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* We use char because int might match the return type of a gcc2
5506903c9215faf42586307c2288942fd804c579Evan Hunt builtin and then its argument prototype would still apply. */
5506903c9215faf42586307c2288942fd804c579Evan Huntchar inet_aton();
5506903c9215faf42586307c2288942fd804c579Evan Hunt/* The GNU C library defines this for functions which it implements
5506903c9215faf42586307c2288942fd804c579Evan Hunt to always fail with ENOSYS. Some functions are actually named
5506903c9215faf42586307c2288942fd804c579Evan Hunt something starting with __ and the normal name is an alias. */
5506903c9215faf42586307c2288942fd804c579Evan Hunt#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
5506903c9215faf42586307c2288942fd804c579Evan Hunt; return 0; }
5506903c9215faf42586307c2288942fd804c579Evan Huntif { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_func_inet_aton=yes"
5506903c9215faf42586307c2288942fd804c579Evan Hunt eval "ac_cv_func_inet_aton=no"
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian WellingtonISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.o"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb#define NEED_INET_ATON 1
5506903c9215faf42586307c2288942fd804c579Evan Huntecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
c0a76b3c0b42a110e14eb56103973944900400c4Mark Andrewsecho "configure:1586: checking whether ${MAKE-make} sets \${MAKE}" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt @echo 'ac_maketemp="${MAKE}"'
5506903c9215faf42586307c2288942fd804c579Evan Hunt# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5506903c9215faf42586307c2288942fd804c579Evan Hunteval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrewsif test -n "$ac_maketemp"; then
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Extract the first word of "ranlib", so it can be a program name with args.
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -n "$RANLIB"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -n "$RANLIB"; then
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# Find a good install program. We prefer a C program (faster),
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# so one script is as good as another. But avoid the broken or
5506903c9215faf42586307c2288942fd804c579Evan Hunt# incompatible versions:
5506903c9215faf42586307c2288942fd804c579Evan Hunt# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5506903c9215faf42586307c2288942fd804c579Evan Hunt# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# ./install, which can be erroneously created by make from ./install.sh.
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Huntecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Huntecho "configure:1652: checking for a BSD compatible install" >&5
5506903c9215faf42586307c2288942fd804c579Evan Huntif test -z "$INSTALL"; then
5506903c9215faf42586307c2288942fd804c579Evan Huntif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Account for people who put trailing slashes in PATH elements.
5506903c9215faf42586307c2288942fd804c579Evan Hunt /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt # OSF1 and SCO ODT 3.0 have their own names for install.
5506903c9215faf42586307c2288942fd804c579Evan Hunt for ac_prog in ginstall installbsd scoinst install; do
5506903c9215faf42586307c2288942fd804c579Evan Hunt grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # AIX install. It has an incompatible calling convention.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt # OSF/1 installbsd also uses dspmsg, but is usable.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test "${ac_cv_path_install+set}" = set; then
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews # As a last resort, use the slow shell script. We don't cache a
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt # path for INSTALL within a source directory, because that will
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt # break other packages using the cache if that directory is
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews # removed, or if the path is relative.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# It thinks the first close brace ends the variable substitution.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewstest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewstest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14bf4702f37cc707ede64a097f7d4aa671265492Evan Hunt#define NEED_AF_INET6 1
14bf4702f37cc707ede64a097f7d4aa671265492Evan Hunt#define NEED_AF_INET6 1
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# This file is a shell script that caches the results of configure
5506903c9215faf42586307c2288942fd804c579Evan Hunt# tests run on this system so they can be shared between configure
5506903c9215faf42586307c2288942fd804c579Evan Hunt# scripts and configure runs. It is not useful on other systems.
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington# If it contains results you don't want to keep, you may remove or edit it.
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# By default, configure uses ./config.cache as the cache file,
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# creating it if it does not exist already. You can give configure
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# the --cache-file=FILE option to use a different cache file; that is
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# what configure does when it calls configure scripts in
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# subdirectories, so they share the cache.
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# Giving --cache-file=/dev/null disables caching, for debugging configure.
682d0209e8a67d53594fb524b5d9ae4141bcc9b2Evan Hunt# config.status only pays attention to the cache file if you give it the
5506903c9215faf42586307c2288942fd804c579Evan Hunt# --recheck option to rerun configure.
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington# The following way of writing the cache mishandles newlines in values,
5506903c9215faf42586307c2288942fd804c579Evan Hunt# but we know of no workaround that is simple, portable, and efficient.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# So, don't put newlines in cache variables' values.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Ultrix sh set writes to stderr and can't be redirected directly,
5506903c9215faf42586307c2288942fd804c579Evan Hunt# and sets the high bit in the cache file unless we assign to the vars.
c0a76b3c0b42a110e14eb56103973944900400c4Mark Andrews # `set' does not quote correctly, so add quotes (double-quote substitution
5506903c9215faf42586307c2288942fd804c579Evan Hunt # turns \\\\ into \\, and sed turns \\ into \).
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e "s/'/'\\\\''/g" \
5506903c9215faf42586307c2288942fd804c579Evan Hunt -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5506903c9215faf42586307c2288942fd804c579Evan Hunt # `set' quotes correctly as required by POSIX, so do not add quotes.
5506903c9215faf42586307c2288942fd804c579Evan Hunt sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test -w $cache_file; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "updating cache $cache_file"
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "not updating unwritable cache $cache_file"
5506903c9215faf42586307c2288942fd804c579Evan Hunttrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5506903c9215faf42586307c2288942fd804c579Evan Hunttest "x$prefix" = xNONE && prefix=$ac_default_prefix
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Let make expand exec_prefix.
5506903c9215faf42586307c2288942fd804c579Evan Hunttest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Any assignment to VPATH causes Sun make to only execute
5506903c9215faf42586307c2288942fd804c579Evan Hunt# the first set of double-colon rules, so remove it if not needed.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# If there is a colon in the path, we need to keep it.
c0a76b3c0b42a110e14eb56103973944900400c4Mark Andrewsif test "x$srcdir" = x.; then
5506903c9215faf42586307c2288942fd804c579Evan Hunttrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Without the "./", some shells look in PATH for config.status.
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington# Generated automatically by configure.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Run this file to recreate the current configuration.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# This directory was configured as follows,
5506903c9215faf42586307c2288942fd804c579Evan Hunt# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# $0 $ac_configure_args
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# Compiler output produced by configure, useful for debugging
5506903c9215faf42586307c2288942fd804c579Evan Hunt# configure, is in ./config.log if it exists.
5506903c9215faf42586307c2288942fd804c579Evan Huntac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5506903c9215faf42586307c2288942fd804c579Evan Huntfor ac_option
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington case "\$ac_option" in
5506903c9215faf42586307c2288942fd804c579Evan Hunt -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5506903c9215faf42586307c2288942fd804c579Evan Hunt exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "$CONFIG_STATUS generated by autoconf version 2.12"
5506903c9215faf42586307c2288942fd804c579Evan Hunt -help | --help | --hel | --he | --h)
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "\$ac_cs_usage"; exit 0 ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt *) echo "\$ac_cs_usage"; exit 1 ;;
5506903c9215faf42586307c2288942fd804c579Evan Huntac_given_srcdir=$srcdir
5506903c9215faf42586307c2288942fd804c579Evan Huntac_given_INSTALL="$INSTALL"
5506903c9215faf42586307c2288942fd804c579Evan Hunttrap 'rm -fr `echo "make/rules
5506903c9215faf42586307c2288942fd804c579Evan Hunt make/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/include/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/unix/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/unix/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/unix/include/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/pthreads/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/pthreads/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/pthreads/include/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/dns/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/dns/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/dns/include/dns/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt bin/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt bin/tests/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt bin/named/Makefile
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellington config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Protect against being on the right side of a sed subst in config.status.
c16aed9c469a986f1b84e457db4a8c4d2da01ca3Mark Andrewssed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5506903c9215faf42586307c2288942fd804c579Evan Hunt s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@CFLAGS@%$CFLAGS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@CPPFLAGS@%$CPPFLAGS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@CXXFLAGS@%$CXXFLAGS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@DEFS@%$DEFS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@LDFLAGS@%$LDFLAGS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@LIBS@%$LIBS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@exec_prefix@%$exec_prefix%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@prefix@%$prefix%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@program_transform_name@%$program_transform_name%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@bindir@%$bindir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@sbindir@%$sbindir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@libexecdir@%$libexecdir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@datadir@%$datadir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@sysconfdir@%$sysconfdir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@sharedstatedir@%$sharedstatedir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@localstatedir@%$localstatedir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@libdir@%$libdir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@includedir@%$includedir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@oldincludedir@%$oldincludedir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@infodir@%$infodir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@mandir@%$mandir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@host@%$host%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@host_alias@%$host_alias%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@host_cpu@%$host_cpu%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@host_vendor@%$host_vendor%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@host_os@%$host_os%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@CPP@%$CPP%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@SET_MAKE@%$SET_MAKE%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@RANLIB@%$RANLIB%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
b4ec020a0cd1f0437a0fdaab8659f00337079287Brian Wellingtons%@INSTALL_DATA@%$INSTALL_DATA%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@STD_CINCLUDES@%$STD_CINCLUDES%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@STD_CDEFINES@%$STD_CDEFINES%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@STD_CWARNINGS@%$STD_CWARNINGS%g
5506903c9215faf42586307c2288942fd804c579Evan Hunt/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@BIND9_MAKE_RULES@%%g
5506903c9215faf42586307c2288942fd804c579Evan Hunt/@BIND9_VERSION@/r $BIND9_VERSION
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@BIND9_VERSION@%%g
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews# Split the substitutions into bite-sized pieces for seds with
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews# small command number limits, like on Digital OSF/1 and HP-UX.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewsac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewsac_end=$ac_max_sed_cmds # Line after last line for current file.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews sed "${ac_end}q" conftest.subs > conftest.s$ac_file
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews if test -z "$ac_sed_cmds"; then
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewsif test -z "$ac_sed_cmds"; then
5506903c9215faf42586307c2288942fd804c579Evan HuntCONFIG_FILES=\${CONFIG_FILES-"make/rules
5506903c9215faf42586307c2288942fd804c579Evan Hunt make/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/include/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/unix/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/unix/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/unix/include/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/pthreads/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/pthreads/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/isc/pthreads/include/isc/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/dns/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/dns/include/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt lib/dns/include/dns/Makefile
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews bin/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt bin/tests/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Hunt bin/named/Makefile
5506903c9215faf42586307c2288942fd804c579Evan Huntfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5506903c9215faf42586307c2288942fd804c579Evan Hunt *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Remove last slash and all that follows it. Not all systems have dirname.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # The file is in a subdirectory.
5506903c9215faf42586307c2288942fd804c579Evan Hunt # A "../" for each directory in $ac_dir_suffix.
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
5506903c9215faf42586307c2288942fd804c579Evan Hunt *) # Relative path.
5506903c9215faf42586307c2288942fd804c579Evan Hunt configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@configure_input@%$configure_input%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%@top_srcdir@%$top_srcdir%g
5506903c9215faf42586307c2288942fd804c579Evan Hunt" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
5506903c9215faf42586307c2288942fd804c579Evan Hunt# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5506903c9215faf42586307c2288942fd804c579Evan Hunt# NAME is the cpp macro being defined and VALUE is the value it is being given.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# ac_d sets the value in "#define NAME VALUE" lines.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5506903c9215faf42586307c2288942fd804c579Evan Hunt# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5506903c9215faf42586307c2288942fd804c579Evan Huntif test "${CONFIG_HEADERS+set}" != set; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt CONFIG_HEADERS="config.h"
5506903c9215faf42586307c2288942fd804c579Evan Huntfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5506903c9215faf42586307c2288942fd804c579Evan Hunt *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5506903c9215faf42586307c2288942fd804c579Evan Hunt ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Transform confdefs.h into a sed script conftest.vals that substitutes
5506903c9215faf42586307c2288942fd804c579Evan Hunt# the proper values into config.h.in to produce config.h. And first:
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Protect against being on the right side of a sed subst in config.status.
5506903c9215faf42586307c2288942fd804c579Evan Hunt# Protect against being in an unquoted here document in config.status.
5506903c9215faf42586307c2288942fd804c579Evan Hunts/[\\&%]/\\&/g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%[\\$`]%\\&%g
5506903c9215faf42586307c2288942fd804c579Evan Hunts%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5506903c9215faf42586307c2288942fd804c579Evan Hunt# This sed command replaces #undef with comments. This is necessary, for
5506903c9215faf42586307c2288942fd804c579Evan Hunt# example, in the case of _POSIX_SOURCE, which is predefined and required
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews# on some systems where configure will not decide to define it.
5506903c9215faf42586307c2288942fd804c579Evan Hunts%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews# Break up conftest.vals because some shells have a limit on
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews# the size of here documents, and old seds have small limits too.
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews # grep -c gives empty output for an empty file on some AIX systems.
b123b265e3a3d9b72a14230b6517e0f6fdb5c5b5Mark Andrews if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews # Write a limited-size here document to conftest.frag.
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5506903c9215faf42586307c2288942fd804c579Evan Hunt sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5506903c9215faf42586307c2288942fd804c579Evan Hunt sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5506903c9215faf42586307c2288942fd804c579Evan Hunt echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5506903c9215faf42586307c2288942fd804c579Evan Hunt if cmp -s $ac_file conftest.h 2>/dev/null; then
5506903c9215faf42586307c2288942fd804c579Evan Hunt # Remove last slash and all that follows it. Not all systems have dirname.
5506903c9215faf42586307c2288942fd804c579Evan Hunt if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrewstest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1