5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Guess values for system-dependent variables and create Makefiles.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Generated automatically using autoconf version 2.13
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# This configure script is free software; the Free Software Foundation
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# gives unlimited permission to copy, distribute and modify it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Any additions from configure.in:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-debug enable debug codes [default=no]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-mdnkit-compat enable mDNkit compatibility mode [default=no]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-extra-ace enable additional ACE converters. [default=no]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-utf8=NAME codeset name for UTF-8 encoding [UTF-8]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-liteonly compile and install lite library only [default=no]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-runidn compile and install runidn [default=no]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-libiconv=IPREFIX GNU libiconv are installed in IPREFIX [PREFIX]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-iconv-include=DIR iconv include files are in DIR []"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-iconv=LIB special library for iconv []"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-iconv-sofile=PATH shared library file for libiconv []"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-shared[=PKGS] build shared libraries [default=yes]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-static[=PKGS] build static libraries [default=yes]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --disable-libtool-lock avoid locking (might break parallel builds)"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Initialize some variables set by options.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# The variables have the same names as the options, with
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# dashes changed to underlines.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Initialize some other variables.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Maximum number of lines to put in a shell here document.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # If the previous option needs an argument, assign it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$ac_prev"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "$ac_prev=\$ac_option"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Accept the important Cygnus configure options, so we can diagnose typos.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -bindir | --bindir | --bindi | --bind | --bin | --bi)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -cache-file | --cache-file | --cache-fil | --cache-fi \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Reject names that are not valid shell variable names.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "enable_${ac_feature}=no" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Reject names that are not valid shell variable names.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "enable_${ac_feature}='$ac_optarg'" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Obsolete; use --with-gas.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Omit some internal or obsolete options to make the list less imposing.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # This message is too long to be a string in the A/UX 3.1 sh.
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsUsage: configure [options] [host]
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsOptions: [defaults in brackets after descriptions]
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsConfiguration:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --cache-file=FILE cache test results in FILE
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --help print this message
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --no-create do not create output files
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --quiet, --silent do not print \`checking...' messages
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --version print the version of autoconf that created configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsDirectory and file names:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --prefix=PREFIX install architecture-independent files in PREFIX
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews [$ac_default_prefix]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews [same as prefix]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --bindir=DIR user executables in DIR [EPREFIX/bin]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --datadir=DIR read-only architecture-independent data in DIR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews [PREFIX/share]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --sharedstatedir=DIR modifiable architecture-independent data in DIR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews [PREFIX/com]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --libdir=DIR object code libraries in DIR [EPREFIX/lib]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --includedir=DIR C header files in DIR [PREFIX/include]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --infodir=DIR info documentation in DIR [PREFIX/info]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --mandir=DIR man documentation in DIR [PREFIX/man]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --srcdir=DIR find the sources in DIR [configure dir or ..]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --program-transform-name=PROGRAM
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews run sed PROGRAM on installed program names
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --host=HOST configure for HOST [guessed]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --target=TARGET configure for TARGET [TARGET=HOST]
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsFeatures and packages:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --x-includes=DIR X include files are in DIR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews --x-libraries=DIR X library files are in DIR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$ac_help"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "--enable and --with options recognized:$ac_help"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -includedir | --includedir | --includedi | --included | --include \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -infodir | --infodir | --infodi | --infod | --info | --inf)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --localstate | --localstat | --localsta | --localst \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --localstate=* | --localstat=* | --localsta=* | --localst=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Obsolete; use --without-fp.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -program-prefix | --program-prefix | --program-prefi | --program-pref \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -program-prefix=* | --program-prefix=* | --program-prefi=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -program-suffix | --program-suffix | --program-suffi | --program-suff \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -program-suffix=* | --program-suffix=* | --program-suffi=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -program-transform-name | --program-transform-name \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-transform-nam | --program-transform-na \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-transform-n | --program-transform- \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -program-transform-name=* | --program-transform-name=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-transform-nam=* | --program-transform-na=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-transform-n=* | --program-transform-=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --program-transform=* | --program-transfor=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --progr-tra=* | --program-tr=* | --program-t=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | -silent | --silent | --silen | --sile | --sil)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -sharedstatedir | --sharedstatedir | --sharedstatedi \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --sharedst | --shareds | --shared | --share | --shar \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -target | --target | --targe | --targ | --tar | --ta | --t)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -v | -verbose | --verbose | --verbos | --verbo | --verb)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -version | --version | --versio | --versi | --vers)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "configure generated by autoconf version 2.13"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Reject names that are not valid shell variable names.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "with_${ac_package}='$ac_optarg'" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_package=`echo $ac_option|sed -e 's/-*without-//'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Reject names that are not valid shell variable names.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "with_${ac_package}=no" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Obsolete; use --with-x.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -x-libraries | --x-libraries | --x-librarie | --x-librari \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "configure: warning: $ac_option: invalid host type" 1>&2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$ac_prev"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# File descriptor usage:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 0 standard input
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 1 file creation
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 2 errors and warnings
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 3 some systems may open it to /dev/tty
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 4 used on the Kubota Titan
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 6 checking for... messages and results
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 5 compiler messages saved in config.log
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsThis file contains any messages produced by compilers while
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsrunning configure, to aid debugging if configure makes a mistake.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Strip out --no-create and --no-recursion so they do not pile up.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Also quote any args containing shell metacharacters.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_configure_args="$ac_configure_args '$ac_arg'" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews *) ac_configure_args="$ac_configure_args $ac_arg" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# NLS nuisances.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Only set these to C if already set. These must not be set unconditionally
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# because not all systems understand e.g. LANG=C (notably SCO).
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Non-C LC_CTYPE values break the ctype check.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${LANG+set}" = set; then LANG=C; export LANG; fi
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# confdefs.h avoids OS command line length limits that DEFS can exceed.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# AIX cpp loses on an empty file, so make sure it contains at least a newline.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# A filename unique to this package, relative to the directory that
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# configure is in, which we can look for to find out if srcdir is correct.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Find the source files, if location was not specified.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$srcdir"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Try the directory containing this script, then its parent.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Prefer explicitly selected file to automatically selected ones.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$CONFIG_SITE"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -r "$ac_site_file"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "loading site script $ac_site_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -r "$cache_file"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "loading cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "creating cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_aux_dir"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Make sure we can run config.sub.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewselse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking host system type""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:582: checking host system type" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewshost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewshost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewshost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewshost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-debug or --disable-debug was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_debug+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-mdnkit-compat or --disable-mdnkit-compat was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_mdnkit_compat+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define ENABLE_MDNKIT_COMPAT 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: You must specify yes or no to --enable-runidn option." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-extra-ace or --disable-extra-ace was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_extra_ace+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define IDN_EXTRA_ACE 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: You must specify yes or no to --enable-extra-ace option." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --with-utf8 or --without-utf8 was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${with_utf8+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: You must specify NAME to --with-utf8 option." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define IDN_UTF8_ENCODING_NAME "$UTF8_NAME"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-liteonly or --disable-liteonly was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_liteonly+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set value \"yes\" to --enable-runidn and --enable-liteonly simultaneously, because runidn requires iconv support of generic libidnkit." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: You must specify yes or no to --enable-liteonly option." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-runidn or --disable-runidn was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_runidn+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set value \"yes\" to --enable-runidn and --enable-liteonly simultaneously, because runidn requires iconv support of generic libidnkit." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: You must specify yes or no to --enable-runidn option." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --with-libiconv or --without-libiconv was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${with_libiconv+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ICONVLIB="-L$libiconv/lib -R$libiconv/lib -liconv"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ICONVLIB="-L$libiconv/lib -R$libiconv/lib -liconv"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --with-iconv-include or --without-iconv-include was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${with_iconv_include+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "configure: warning: You must supply DIR to --with-iconv-include option.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "X$ICONVINC" != X ; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews iconv_include="`echo X$ICONVINC | sed -e 's/^X-I//'`"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test ! -f "$iconv_include/iconv.h" ; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: iconv.h doesn't exist in $iconv_include" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --with-iconv or --without-iconv was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${with_iconv+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "configure: warning: You must supply LIB to --with-iconv option.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --with-iconv-sofile or --without-iconv-sofile was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${with_iconv_sofile+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: You must supply PATH to --with-iconv-sofile option." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking pathname of iconv shared library""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:870: checking pathname of iconv shared library" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -L*) ic_libdir="$ic_libdir `echo $arg | sed s/-L//`" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "configure: warning: use --with-iconv-sofile for specifying iconv shared library file" 1>&2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Standard (and semi-standard) library directories
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ICONVSOFILE=`ls -r $dir/lib$ic_libname.$SO* 2>/dev/null | head -1`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "configure: warning: use --with-iconv-sofile for specifying iconv shared library file" 1>&2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -x /usr/bin/file -a -x /usr/bin/grep ; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Extract the first word of "gcc", so it can be a program name with args.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Extract the first word of "cc", so it can be a program name with args.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # We found a bogon in the path, so make sure we never use it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # We chose a different compiler from the bogus one.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # However, it has the same basename, so the bogon will be chosen
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # first if we set CC to just the basename; use the full file name.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -z "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Extract the first word of "cl", so it can be a program name with args.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1040: checking for $ac_word" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$CC"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1072: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1083 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsmain(){return(0);}
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:1088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # If we can't run a trivial program, we are probably using a cross compiler.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1114: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1119: checking whether we are using GNU C" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#ifdef __GNUC__
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1147: checking whether ${CC-cc} accepts -g" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "$ac_test_CFLAGS" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Find a good install program. We prefer a C program (faster),
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# so one script is as good as another. But avoid the broken or
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# incompatible versions:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# ./install, which can be erroneously created by make from ./install.sh.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1190: checking for a BSD compatible install" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$INSTALL"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Account for people who put trailing slashes in PATH elements.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # OSF1 and SCO ODT 3.0 have their own names for install.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Don't use installbsd from OSF since it installs stuff as root
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # by default.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # AIX install. It has an incompatible calling convention.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "${ac_cv_path_install+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # As a last resort, use the slow shell script. We don't cache a
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # path for INSTALL within a source directory, because that will
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # break other packages using the cache if that directory is
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # removed, or if the path is relative.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# It thinks the first close brace ends the variable substitution.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-shared or --disable-shared was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_shared+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Look at the argument we got. We use all the common list separators.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-static or --disable-static was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_static+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Look at the argument we got. We use all the common list separators.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-fast-install or --disable-fast-install was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_fast_install+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Look at the argument we got. We use all the common list separators.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking build system type""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1312: checking build system type" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsbuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsbuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsbuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Extract the first word of "ranlib", so it can be a program name with args.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1332: checking for $ac_word" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$RANLIB"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$RANLIB"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --with-gnu-ld or --without-gnu-ld was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${with_gnu_ld+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Check if gcc -print-prog-name=ld gives a path.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1371: checking for ld used by GCC" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Accept absolute paths.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews [\\/]* | [A-Za-z]:[\\/]*)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Canonicalize the path of ld
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # If it fails, then pretend we aren't using GCC.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # If it is relative, then search for the first ld in PATH.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1398: checking for non-GNU ld" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -z "$LD"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Check to see if the program is GNU ld. I'd rather use --version,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # but apparently some GNU ld's only accept -v.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Break only if it was the GNU/non-GNU ld that we prefer.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_path_LD="$LD" # Let the user override the test with a path.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$LD"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1433: checking if the linker ($LD) is GNU ld" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1449: checking for BSD-compatible nm" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -n "$NM"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Let the user override the test.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Check to see if the nm accepts a BSD-compat flag.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # nm: unknown option "B" ignored
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews continue # so that we can try to find one that supports BSD flags
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1485: checking whether ln -s works" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check for any special flags to pass to ltconfig.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${enable_libtool_lock+set}" = set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Some flags need to be propagated to the compiler or linker for good
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# libtool support.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Find out which ABI we are using.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo '#line 1534 "configure"' > conftest.$ac_ext
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if { (eval echo configure:1535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1556: checking whether the C compiler needs -belf" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1561 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Save cache, so that ltconfig can load it
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# This file is a shell script that caches the results of configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# tests run on this system so they can be shared between configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# scripts and configure runs. It is not useful on other systems.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# If it contains results you don't want to keep, you may remove or edit it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# By default, configure uses ./config.cache as the cache file,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# creating it if it does not exist already. You can give configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# the --cache-file=FILE option to use a different cache file; that is
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# what configure does when it calls configure scripts in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# subdirectories, so they share the cache.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Giving --cache-file=/dev/null disables caching, for debugging configure.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# config.status only pays attention to the cache file if you give it the
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# --recheck option to rerun configure.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# The following way of writing the cache mishandles newlines in values,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# but we know of no workaround that is simple, portable, and efficient.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# So, don't put newlines in cache variables' values.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Ultrix sh set writes to stderr and can't be redirected directly,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# and sets the high bit in the cache file unless we assign to the vars.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews case `(ac_space=' '; set | grep ac_space) 2>&1` in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # `set' does not quote correctly, so add quotes (double-quote substitution
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # turns \\\\ into \\, and sed turns \\ into \).
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -e "s/'/'\\\\''/g" \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # `set' quotes correctly as required by POSIX, so do not add quotes.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -w $cache_file; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "updating cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "not updating unwritable cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Actually configure libtool. ac_aux_dir is where install-sh is found.
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsCC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsDLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Reload cache, that may have been modified by ltconfig
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -r "$cache_file"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "loading cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "creating cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# This can be used to rebuild libtool when needed
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Always use our own libtool.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Redirect the config.log output again, so that the ltconfig log is not
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# clobbered by the next message.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Extract the first word of "$ac_prog", so it can be a program name with args.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1675: checking for $ac_word" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -n "$PERL"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest -n "$PERL" && break
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1713: checking how to run the C preprocessor" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# On Suns, sometimes $CPP names a directory.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$CPP"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # This must be in double quotes, not single quotes, because CPP may get
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # substituted into the Makefile and "${CC-cc}" will confuse make.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # On the NeXT, cc -E runs the code through the compiler's parser,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # not just through cpp.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1728 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1745 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1762 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsfor ac_hdr in unistd.h locale.h langinfo.h pwd.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1801 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <$ac_hdr>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_header_$ac_safe=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_header_$ac_safe=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_hdr 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1842 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <$ac_hdr>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_header_$ac_safe=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_header_$ac_safe=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_hdr 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for iconv.h""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1885 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <iconv.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_header_$ac_safe=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_header_$ac_safe=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ echo "configure: error: iconv.h doesn't exist" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1916: checking for uid_t in sys/types.h" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1921 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define uid_t int
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define gid_t int
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:1950: checking for ANSI C header files" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1955 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stdlib.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stdarg.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <string.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <float.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews{ (eval echo configure:1963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_err"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1980 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <string.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 1998 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stdlib.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2019 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <ctype.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsint main () { int i; for (i = 0; i < 256; i++)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define STDC_HEADERS 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_type_BOOL'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2059 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if STDC_HEADERS
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stdlib.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews egrep "(^|[^a-zA-Z_0-9])BOOL[^a-zA-Z_0-9]" >/dev/null 2>&1; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define BOOL int
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2089: checking for socket in -lsocket" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2097 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar socket();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_lib 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2136: checking for inet_addr in -lnsl" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2144 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar inet_addr();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_lib 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2183: checking for dlopen in -ldl" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2191 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar dlopen();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define HAVE_LIBDL 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsfor ac_func in vsnprintf setvbuf setlocale nl_langinfo memmove bcopy setenv \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_func""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2236: checking for $ac_func" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2241 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews which can conflict with char $ac_func(); below. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar $ac_func();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* The GNU C library defines this for functions which it implements
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews to always fail with ENOSYS. Some functions are actually named
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews something starting with __ and the normal name is an alias. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_func 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews for ac_func in gethostbyname gethostbyname2 gethostbyaddr
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_func""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2292: checking for $ac_func" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2297 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews which can conflict with char $ac_func(); below. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar $ac_func();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* The GNU C library defines this for functions which it implements
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews to always fail with ENOSYS. Some functions are actually named
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews something starting with __ and the normal name is an alias. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_func 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews for ac_func in gethostbyname_r gethostbyname2_r gethostbyaddr_r
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_func""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2347: checking for $ac_func" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2352 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews which can conflict with char $ac_func(); below. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar $ac_func();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* The GNU C library defines this for functions which it implements
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews to always fail with ENOSYS. Some functions are actually named
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews something starting with __ and the normal name is an alias. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_func 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews for ac_func in getipnodebyname getipnodebyaddr freehostent
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_func""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2402: checking for $ac_func" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2407 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews which can conflict with char $ac_func(); below. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar $ac_func();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* The GNU C library defines this for functions which it implements
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews to always fail with ENOSYS. Some functions are actually named
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews something starting with __ and the normal name is an alias. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_func 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews for ac_func in getaddrinfo freeaddrinfo getnameinfo
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_func""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2457: checking for $ac_func" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2462 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews which can conflict with char $ac_func(); below. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar $ac_func();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* The GNU C library defines this for functions which it implements
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews to always fail with ENOSYS. Some functions are actually named
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews something starting with __ and the normal name is an alias. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_func 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for $ac_func""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2512: checking for $ac_func" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2517 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews which can conflict with char $ac_func(); below. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <assert.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* We use char because int might match the return type of a gcc2
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews builtin and then its argument prototype would still apply. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschar $ac_func();
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews/* The GNU C library defines this for functions which it implements
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews to always fail with ENOSYS. Some functions are actually named
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews something starting with __ and the normal name is an alias. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=yes"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews eval "ac_cv_func_$ac_func=no"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $ac_tr_func 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking flavor of gethostbyaddr""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2568: checking flavor of gethostbyaddr" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_flavor_gethostbyaddr'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2577 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)gethostbyaddr(NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2607 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews struct hostent *gethostbyaddr(const char *addr, size_t len, int type) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)gethostbyaddr(NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2637 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews struct hostent *gethostbyaddr(const char *addr, int len, int type) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)gethostbyaddr(NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$ac_cv_func_gethostbyaddr" = no ; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: can't build runidn, since parameter type list of gethostbyaddr() is unknown to configure." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GHBA_ADDR_T $ac_cv_type_ghba_addr_t
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GHBA_ADDRLEN_T $ac_cv_type_ghba_addrlen_t
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking flavor of getnameinfo""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2697: checking flavor of getnameinfo" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_flavor_getnameinfo'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2706 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews socklen_t hostlen, char *serv, socklen_t servlen,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews unsigned int flags) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2738 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews socklen_t hostlen, char *serv, socklen_t servlen,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int flags) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2770 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews size_t hostlen, char *serv, size_t servlen, int flags) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2801 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews size_t hostlen, char *serv, size_t servlen, int flags) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return NULL;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: can't build runidn, since parameter type list of getnameinfo() is unknown to configure." 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GNI_SALEN_T $ac_cv_type_gni_salen_t
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GNI_HOSTLEN_T $ac_cv_type_gni_hostlen_t
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GNI_SERVLEN_T $ac_cv_type_gni_servlen_t
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GNI_FLAGS_T $ac_cv_type_gni_flags_t
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking flavor of gethostbyname_r""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2883: checking flavor of gethostbyname_r" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif eval "test \"`echo '$''{'ac_cv_flavor_gethost_r'+set}'`\" = set"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 2891 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <sys/types.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <sys/socket.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <netdb.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include <stdio.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int err = 0;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews struct hostent hebuf, *hp;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews char buf[10];
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /* Try resolving a invalid name using glibc flavor. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews (void)gethostbyname_r("@#!", &hebuf, buf, sizeof(buf), &hp, &err);
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if (err != 0)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return 0; /* glibc flavor */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews return 1; /* Sun flavor */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:2913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$ac_cv_flavor_gethost_r" = "glibc"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define GETHOST_R_GLIBC_FLAVOR 1
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for libc shared object""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2938: checking for libc shared object" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -f $shobj_libdir/$shobj_name.$SOEXT; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews shobj_path=`ls -r $shobj_libdir/$shobj_name.$SOEXT* 2>/dev/null | head -1`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$shobj_path" != "" -a -f "$shobj_path"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews shobj_pathsymbol=SOPATH_`echo $shobj_name | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $shobj_pathsymbol "$shobj_path"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho $ac_n "checking for libnsl shared object""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:2977: checking for libnsl shared object" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -f $shobj_libdir/$shobj_name.$SOEXT; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews shobj_path=`ls -r $shobj_libdir/$shobj_name.$SOEXT* 2>/dev/null | head -1`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$shobj_path" != "" -a -f "$shobj_path"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews shobj_pathsymbol=SOPATH_`echo $shobj_name | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#define $shobj_pathsymbol "$shobj_path"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for iconv""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 3023 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <iconv.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews i = iconv_open("ISO-8859-1", "UTF-8");
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews; return 0; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:3035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews { echo "configure: error: iconv function not available" 1>&2; exit 1; }
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo $ac_n "checking for codeset name $UTF8_NAME""... $ac_c" 1>&6
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsecho "configure:3055: checking for codeset name $UTF8_NAME" >&5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#line 3064 "configure"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#include "confdefs.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stddef.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <stdlib.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #include <iconv.h>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #define UTF8_NAME "$UTF8_NAME"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews #define ICONV_FAIL ((iconv_t)(-1))
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /* Check if the codeset name UTF8_NAME is valid by performing iconv_open(). */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews int main() {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /* list of codeset names likely to exist */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews static char *codeset[] = {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews "ASCII", "ISO-8859-1", "ISO8859-1", "iso8859_1", "8859-1",
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews "Shift_JIS", "SJIS", "sjis", NULL,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /* First try null conversion. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if (iconv_open(UTF8_NAME, UTF8_NAME) != ICONV_FAIL) return 0;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /* Unfortunately, above check fails on certain systems, such as Solaris. */
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews for (i = 0; codeset[i] != NULL; i++) {
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if (iconv_open(UTF8_NAME, codeset[i]) != ICONV_FAIL) return 0;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# This file is a shell script that caches the results of configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# tests run on this system so they can be shared between configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# scripts and configure runs. It is not useful on other systems.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# If it contains results you don't want to keep, you may remove or edit it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# By default, configure uses ./config.cache as the cache file,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# creating it if it does not exist already. You can give configure
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# the --cache-file=FILE option to use a different cache file; that is
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# what configure does when it calls configure scripts in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# subdirectories, so they share the cache.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Giving --cache-file=/dev/null disables caching, for debugging configure.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# config.status only pays attention to the cache file if you give it the
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# --recheck option to rerun configure.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# The following way of writing the cache mishandles newlines in values,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# but we know of no workaround that is simple, portable, and efficient.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# So, don't put newlines in cache variables' values.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Ultrix sh set writes to stderr and can't be redirected directly,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# and sets the high bit in the cache file unless we assign to the vars.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews case `(ac_space=' '; set | grep ac_space) 2>&1` in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # `set' does not quote correctly, so add quotes (double-quote substitution
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # turns \\\\ into \\, and sed turns \\ into \).
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -e "s/'/'\\\\''/g" \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # `set' quotes correctly as required by POSIX, so do not add quotes.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -w $cache_file; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "updating cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "not updating unwritable cache $cache_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "x$prefix" = xNONE && prefix=$ac_default_prefix
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Let make expand exec_prefix.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Any assignment to VPATH causes Sun make to only execute
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# the first set of double-colon rules, so remove it if not needed.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# If there is a colon in the path, we need to keep it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "x$srcdir" = x.; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Without the "./", some shells look in PATH for config.status.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Generated automatically by configure.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Run this file to recreate the current configuration.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# This directory was configured as follows,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# $0 $ac_configure_args
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Compiler output produced by configure, useful for debugging
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# configure, is in ./config.log if it exists.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsfor ac_option
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews case "\$ac_option" in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "$CONFIG_STATUS generated by autoconf version 2.13"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -help | --help | --hel | --he | --h)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "\$ac_cs_usage"; exit 0 ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews *) echo "\$ac_cs_usage"; exit 1 ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_given_srcdir=$srcdir
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_given_INSTALL="$INSTALL"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstrap 'rm -fr `echo "Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/idn/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/mdn/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews lib/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews man/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/idnconv/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/runidn/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/runidn/runidn
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews map/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews lib/tests/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Protect against being on the right side of a sed subst in config.status.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@SHELL@%$SHELL%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@CFLAGS@%$CFLAGS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@CPPFLAGS@%$CPPFLAGS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@CXXFLAGS@%$CXXFLAGS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@FFLAGS@%$FFLAGS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@DEFS@%$DEFS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LDFLAGS@%$LDFLAGS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LIBS@%$LIBS%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@exec_prefix@%$exec_prefix%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@prefix@%$prefix%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@program_transform_name@%$program_transform_name%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@bindir@%$bindir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@sbindir@%$sbindir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@libexecdir@%$libexecdir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@datadir@%$datadir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@sysconfdir@%$sysconfdir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@sharedstatedir@%$sharedstatedir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@localstatedir@%$localstatedir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@libdir@%$libdir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@includedir@%$includedir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@oldincludedir@%$oldincludedir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@infodir@%$infodir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@mandir@%$mandir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@host@%$host%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@host_alias@%$host_alias%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@host_cpu@%$host_cpu%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@host_vendor@%$host_vendor%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@host_os@%$host_os%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@COMPAT_TRUE@%$COMPAT_TRUE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@COMPAT_FALSE@%$COMPAT_FALSE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@UTF8_NAME@%$UTF8_NAME%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LITEONLY_TRUE@%$LITEONLY_TRUE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LITEONLY_FALSE@%$LITEONLY_FALSE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@RUNIDN_TRUE@%$RUNIDN_TRUE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@RUNIDN_FALSE@%$RUNIDN_FALSE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@ICONVINC@%$ICONVINC%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@ICONVLIB@%$ICONVLIB%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@ICONVSOFILE@%$ICONVSOFILE%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@PRELOAD_VAR@%$PRELOAD_VAR%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@PRELOAD_SEP@%$PRELOAD_SEP%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@PRELOAD_LAST@%$PRELOAD_LAST%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@INSTALL_DATA@%$INSTALL_DATA%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@build@%$build%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@build_alias@%$build_alias%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@build_cpu@%$build_cpu%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@build_vendor@%$build_vendor%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@build_os@%$build_os%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@RANLIB@%$RANLIB%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LN_S@%$LN_S%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LIBTOOL@%$LIBTOOL%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@PERL@%$PERL%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@CPP@%$CPP%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@LIBDL@%$LIBDL%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Split the substitutions into bite-sized pieces for seds with
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# small command number limits, like on Digital OSF/1 and HP-UX.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsac_end=$ac_max_sed_cmds # Line after last line for current file.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed "${ac_end}q" conftest.subs > conftest.s$ac_file
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -z "$ac_sed_cmds"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test -z "$ac_sed_cmds"; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsCONFIG_FILES=\${CONFIG_FILES-"Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/idn/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews include/mdn/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews lib/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews man/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/idnconv/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/runidn/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews tools/runidn/runidn
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews map/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews lib/tests/Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Remove last slash and all that follows it. Not all systems have dirname.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # The file is in a subdirectory.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # A "../" for each directory in $ac_dir_suffix.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews *) # Relative path.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@configure_input@%$configure_input%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%@top_srcdir@%$top_srcdir%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# NAME is the cpp macro being defined and VALUE is the value it is being given.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# ac_d sets the value in "#define NAME VALUE" lines.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsif test "${CONFIG_HEADERS+set}" != set; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews CONFIG_HEADERS="include/config.h"
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Transform confdefs.h into a sed script conftest.vals that substitutes
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# the proper values into config.h.in to produce config.h. And first:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Protect against being on the right side of a sed subst in config.status.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Protect against being in an unquoted here document in config.status.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss/[\\&%]/\\&/g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%[\\$`]%\\&%g
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssed -n -f conftest.hdr confdefs.h > conftest.vals
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# This sed command replaces #undef with comments. This is necessary, for
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# example, in the case of _POSIX_SOURCE, which is predefined and required
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# on some systems where configure will not decide to define it.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewss%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Break up conftest.vals because some shells have a limit on
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# the size of here documents, and old seds have small limits too.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # grep -c gives empty output for an empty file on some AIX systems.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Write a limited-size here document to conftest.frag.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed -f conftest.frag conftest.in > conftest.out
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if cmp -s $ac_file conftest.h 2>/dev/null; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews # Remove last slash and all that follows it. Not all systems have dirname.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1