configure revision 8d4257cff01b3821abcb9a21f46c6c6a43bb1e72
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# From configure.in Revision: 1.24
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Guess values for system-dependent variables and create Makefiles.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Generated automatically using autoconf version 2.12
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This configure script is free software; the Free Software Foundation
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# gives unlimited permission to copy, distribute and modify it.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Any additions from configure.in:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --with-mit-pthreads use the mit-pthreads thread library"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --with-ptl2 use the ptl2 thread library"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Initialize some variables set by options.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The variables have the same names as the options, with
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# dashes changed to underlines.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Initialize some other variables.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Maximum number of lines to put in a shell here document.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # If the previous option needs an argument, assign it.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "$ac_prev"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe eval "$ac_prev=\$ac_option"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Accept the important Cygnus configure options, so we can diagnose typos.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -bindir | --bindir | --bindi | --bind | --bin | --bi)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -build=* | --build=* | --buil=* | --bui=* | --bu=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -cache-file | --cache-file | --cache-fil | --cache-fi \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Reject names that are not valid shell variable names.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe eval "enable_${ac_feature}=no" ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Reject names that are not valid shell variable names.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe eval "enable_${ac_feature}='$ac_optarg'" ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Obsolete; use --with-gas.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Omit some internal or obsolete options to make the list less imposing.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # This message is too long to be a string in the A/UX 3.1 sh.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweUsage: configure [options] [host]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweOptions: [defaults in brackets after descriptions]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweConfiguration:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --cache-file=FILE cache test results in FILE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --help print this message
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --no-create do not create output files
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --quiet, --silent do not print \`checking...' messages
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --version print the version of autoconf that created configure
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweDirectory and file names:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --prefix=PREFIX install architecture-independent files in PREFIX
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe [$ac_default_prefix]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe [same as prefix]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --bindir=DIR user executables in DIR [EPREFIX/bin]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --datadir=DIR read-only architecture-independent data in DIR
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe [PREFIX/share]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --sharedstatedir=DIR modifiable architecture-independent data in DIR
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe [PREFIX/com]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --libdir=DIR object code libraries in DIR [EPREFIX/lib]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --includedir=DIR C header files in DIR [PREFIX/include]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --infodir=DIR info documentation in DIR [PREFIX/info]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --mandir=DIR man documentation in DIR [PREFIX/man]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --srcdir=DIR find the sources in DIR [configure dir or ..]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --program-prefix=PREFIX prepend PREFIX to installed program names
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --program-suffix=SUFFIX append SUFFIX to installed program names
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --program-transform-name=PROGRAM
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe run sed PROGRAM on installed program names
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --build=BUILD configure for building on BUILD [BUILD=HOST]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --host=HOST configure for HOST [guessed]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --target=TARGET configure for TARGET [TARGET=HOST]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweFeatures and packages:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --x-includes=DIR X include files are in DIR
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe --x-libraries=DIR X library files are in DIR
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "$ac_help"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe echo "--enable and --with options recognized:$ac_help"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -includedir | --includedir | --includedi | --included | --include \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -infodir | --infodir | --infodi | --infod | --info | --inf)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -localstatedir | --localstatedir | --localstatedi | --localstated \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --localstate | --localstat | --localsta | --localst \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --localstate=* | --localstat=* | --localsta=* | --localst=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Obsolete; use --without-fp.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -no-create | --no-create | --no-creat | --no-crea | --no-cre \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -no-recursion | --no-recursion | --no-recursio | --no-recursi \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -program-prefix | --program-prefix | --program-prefi | --program-pref \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -program-prefix=* | --program-prefix=* | --program-prefi=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -program-suffix | --program-suffix | --program-suffi | --program-suff \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -program-suffix=* | --program-suffix=* | --program-suffi=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -program-transform-name | --program-transform-name \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-transform-nam | --program-transform-na \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-transform-n | --program-transform- \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -program-transform-name=* | --program-transform-name=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-transform-nam=* | --program-transform-na=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-transform-n=* | --program-transform-=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --program-transform=* | --program-transfor=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --progr-tra=* | --program-tr=* | --program-t=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -q | -quiet | --quiet | --quie | --qui | --qu | --q \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | -silent | --silent | --silen | --sile | --sil)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -sharedstatedir | --sharedstatedir | --sharedstatedi \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --sharedst | --shareds | --shared | --share | --shar \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -target | --target | --targe | --targ | --tar | --ta | --t)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -v | -verbose | --verbose | --verbos | --verbo | --verb)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -version | --version | --versio | --versi | --vers)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe echo "configure generated by autoconf version 2.12"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Reject names that are not valid shell variable names.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe eval "with_${ac_package}='$ac_optarg'" ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ac_package=`echo $ac_option|sed -e 's/-*without-//'`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Reject names that are not valid shell variable names.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe eval "with_${ac_package}=no" ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Obsolete; use --with-x.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -x-libraries | --x-libraries | --x-librarie | --x-librari \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe echo "configure: warning: $ac_option: invalid host type" 1>&2
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test -n "$ac_prev"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# File descriptor usage:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 0 standard input
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 1 file creation
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 2 errors and warnings
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 3 some systems may open it to /dev/tty
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 4 used on the Kubota Titan
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 6 checking for... messages and results
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 5 compiler messages saved in config.log
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweThis file contains any messages produced by compilers while
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowerunning configure, to aid debugging if configure makes a mistake.
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov# Strip out --no-create and --no-recursion so they do not pile up.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Also quote any args containing shell metacharacters.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -no-create | --no-create | --no-creat | --no-crea | --no-cre \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -no-recursion | --no-recursion | --no-recursio | --no-recursi \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ac_configure_args="$ac_configure_args '$ac_arg'" ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe *) ac_configure_args="$ac_configure_args $ac_arg" ;;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# NLS nuisances.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Only set these to C if already set. These must not be set unconditionally
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# because not all systems understand e.g. LANG=C (notably SCO).
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Non-C LC_CTYPE values break the ctype check.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test "${LANG+set}" = set; then LANG=C; export LANG; fi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# confdefs.h avoids OS command line length limits that DEFS can exceed.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# AIX cpp loses on an empty file, so make sure it contains at least a newline.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# A filename unique to this package, relative to the directory that
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# configure is in, which we can look for to find out if srcdir is correct.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Find the source files, if location was not specified.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test -z "$srcdir"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Try the directory containing this script, then its parent.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowesrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Prefer explicitly selected file to automatically selected ones.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test -z "$CONFIG_SITE"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if test -r "$ac_site_file"; then
ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2abYuri Pankov echo "loading site script $ac_site_file"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif test -r "$cache_file"; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe echo "loading cache $cache_file"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe echo "creating cache $cache_file"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
# Make sure we can run config.sub.
NONE)
NONE)
all:
if test -n "$ac_maketemp"; then
if test -n "$RANLIB"; then
if test -n "$RANLIB"; then
# ./install, which can be erroneously created by make from ./install.sh.
if test -z "$INSTALL"; then
*-netbsd*)
if test -n "$CC"; then
if test -n "$CC"; then
if test -z "$CC"; then
if test -n "$CC"; then
if test -n "$CC"; then
ac_ext=c
if { (eval echo configure:881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:901: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if test "$ac_test_CFLAGS" = set; then
GCC=
CPP=
if test -z "$CPP"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
if { (eval echo configure:1100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test "x$srcdir" = x.; then
# Without the "./", some shells look in PATH for config.status.
while $ac_more_lines; do
ac_more_lines=false
if test -z "$ac_sed_cmds"; then
if test -z "$ac_sed_cmds"; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
.) srcdir=.
# $configure_input" ;;
*) ac_comsub= ;;
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
cat >> conftest.vals <<\EOF
# Break up conftest.vals because some shells have a limit on
rm -f conftest.tail
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
rm -f conftest.vals
rm -f conftest.vals
cat >> $CONFIG_STATUS <<\EOF
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
rm -f conftest.h
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<\EOF