configure revision 2c7e99b941c3f1ffa29f9034c710f358c09f13c9
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# From configure.in Revision: 1.26
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Guess values for system-dependent variables and create Makefiles.
15a44745412679c30a6d022733925af70a38b715David Lawrence# Generated automatically using autoconf version 2.12
15a44745412679c30a6d022733925af70a38b715David Lawrence# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
15a44745412679c30a6d022733925af70a38b715David Lawrence# This configure script is free software; the Free Software Foundation
15a44745412679c30a6d022733925af70a38b715David Lawrence# gives unlimited permission to copy, distribute and modify it.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Any additions from configure.in:
0c310d16b05ee94743d33f6920907edee6084fc8Michael Graff --with-mit-pthreads use the mit-pthreads thread library"
de153390f5a1f6d4fa86af91d4cae772d9846ca0Mark Andrews --with-ptl2 use the ptl2 thread library"
822f6cdabb1edd44472c7a758b5cae71376fa9beBrian Wellington# Initialize some variables set by options.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# The variables have the same names as the options, with
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# dashes changed to underlines.
0b056755b2f423ba5f6adac8f7851d78f7d11437David Lawrence# Initialize some other variables.
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence# Maximum number of lines to put in a shell here document.
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence # If the previous option needs an argument, assign it.
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence if test -n "$ac_prev"; then
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence eval "$ac_prev=\$ac_option"
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence # Accept the important Cygnus configure options, so we can diagnose typos.
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson -bindir | --bindir | --bindi | --bind | --bin | --bi)
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson -build | --build | --buil | --bui | --bu)
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -cache-file | --cache-file | --cache-fil | --cache-fi \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence # Reject names that are not valid shell variable names.
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence eval "enable_${ac_feature}=no" ;;
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence # Reject names that are not valid shell variable names.
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence eval "enable_${ac_feature}='$ac_optarg'" ;;
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence # Obsolete; use --with-gas.
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence # Omit some internal or obsolete options to make the list less imposing.
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence # This message is too long to be a string in the A/UX 3.1 sh.
8abddcd3f24476b945419659e7cb73bcb970886bDavid LawrenceUsage: configure [options] [host]
8abddcd3f24476b945419659e7cb73bcb970886bDavid LawrenceOptions: [defaults in brackets after descriptions]
8abddcd3f24476b945419659e7cb73bcb970886bDavid LawrenceConfiguration:
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --cache-file=FILE cache test results in FILE
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --help print this message
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --no-create do not create output files
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --quiet, --silent do not print \`checking...' messages
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --version print the version of autoconf that created configure
8abddcd3f24476b945419659e7cb73bcb970886bDavid LawrenceDirectory and file names:
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --prefix=PREFIX install architecture-independent files in PREFIX
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence [$ac_default_prefix]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence [same as prefix]
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence --bindir=DIR user executables in DIR [EPREFIX/bin]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence --datadir=DIR read-only architecture-independent data in DIR
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence [PREFIX/share]
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --sharedstatedir=DIR modifiable architecture-independent data in DIR
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrews [PREFIX/com]
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrews --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrews --libdir=DIR object code libraries in DIR [EPREFIX/lib]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --includedir=DIR C header files in DIR [PREFIX/include]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence --infodir=DIR info documentation in DIR [PREFIX/info]
7ab0e69f61e61e81d489c95c7ebd981e74e7ef16Andreas Gustafsson --mandir=DIR man documentation in DIR [PREFIX/man]
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --srcdir=DIR find the sources in DIR [configure dir or ..]
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --program-transform-name=PROGRAM
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews run sed PROGRAM on installed program names
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --host=HOST configure for HOST [guessed]
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --target=TARGET configure for TARGET [TARGET=HOST]
2002be4f65776451676df6ee21a2e28f52bcad6dMark AndrewsFeatures and packages:
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --x-includes=DIR X include files are in DIR
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews --x-libraries=DIR X library files are in DIR
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews if test -n "$ac_help"; then
2002be4f65776451676df6ee21a2e28f52bcad6dMark Andrews echo "--enable and --with options recognized:$ac_help"
bed8e84810a80dad3d37870be927d1dfd015f480Mark Andrews -includedir | --includedir | --includedi | --included | --include \
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews -infodir | --infodir | --infodi | --infod | --info | --inf)
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington -libdir=* | --libdir=* | --libdi=* | --libd=*)
613991eef6bb79b9703382aff26cddd0281da915Bob Halley -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington -localstatedir | --localstatedir | --localstatedi | --localstated \
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington | --localstate | --localstat | --localsta | --localst \
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington | --locals | --local | --loca | --loc | --lo)
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington | --localstate=* | --localstat=* | --localsta=* | --localst=* \
87ecd67dae468cf5c9bae213c6fa321449b2ebc2Andreas Gustafsson | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
87ecd67dae468cf5c9bae213c6fa321449b2ebc2Andreas Gustafsson -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews # Obsolete; use --without-fp.
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
bcd7fdf06ca76eb2f6eb157f56b612c503e062a7Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
bcd7fdf06ca76eb2f6eb157f56b612c503e062a7Mark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews -program-prefix | --program-prefix | --program-prefi | --program-pref \
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence | --program-pre | --program-pr | --program-p)
94a537e6ab3069f8d34e12e5ea722250be2b89c8Michael Graff -program-prefix=* | --program-prefix=* | --program-prefi=* \
94a537e6ab3069f8d34e12e5ea722250be2b89c8Michael Graff | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
94a537e6ab3069f8d34e12e5ea722250be2b89c8Michael Graff -program-suffix | --program-suffix | --program-suffi | --program-suff \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -program-suffix=* | --program-suffix=* | --program-suffi=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -program-transform-name | --program-transform-name \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transform-nam | --program-transform-na \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transform-n | --program-transform- \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transform | --program-transfor \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --progr-tra | --program-tr | --program-t)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -program-transform-name=* | --program-transform-name=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transform-nam=* | --program-transform-na=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transform-n=* | --program-transform-=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transform=* | --program-transfor=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --program-transfo=* | --program-transf=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --progr-tra=* | --program-tr=* | --program-t=*)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | -silent | --silent | --silen | --sile | --sil)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -sharedstatedir | --sharedstatedir | --sharedstatedi \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --sharedst | --shareds | --shared | --share | --shar \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews -target | --target | --targe | --targ | --tar | --ta | --t)
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews -v | -verbose | --verbose | --verbos | --verbo | --verb)
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews -version | --version | --versio | --versi | --vers)
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews echo "configure generated by autoconf version 2.12"
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews # Reject names that are not valid shell variable names.
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
389c749a5ee18f1c0d6278ae49f2aae5d5f0d2dcMark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
29c818c7d40fc8898b062903ec703851328a4deaMark Andrews eval "with_${ac_package}='$ac_optarg'" ;;
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews ac_package=`echo $ac_option|sed -e 's/-*without-//'`
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews # Reject names that are not valid shell variable names.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
29c818c7d40fc8898b062903ec703851328a4deaMark Andrews eval "with_${ac_package}=no" ;;
29c818c7d40fc8898b062903ec703851328a4deaMark Andrews # Obsolete; use --with-x.
29c818c7d40fc8898b062903ec703851328a4deaMark Andrews -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrews -x-libraries | --x-libraries | --x-librarie | --x-librari \
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrews | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
d981ca645597116d227a48bf37cc5edc061c854dBob Halley if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews echo "configure: warning: $ac_option: invalid host type" 1>&2
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrewsif test -n "$ac_prev"; then
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrews { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewstrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# File descriptor usage:
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# 0 standard input
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# 1 file creation
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# 2 errors and warnings
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# 3 some systems may open it to /dev/tty
d981ca645597116d227a48bf37cc5edc061c854dBob Halley# 4 used on the Kubota Titan
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# 6 checking for... messages and results
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# 5 compiler messages saved in config.log
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsThis file contains any messages produced by compilers while
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyrunning configure, to aid debugging if configure makes a mistake.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Strip out --no-create and --no-recursion so they do not pile up.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Also quote any args containing shell metacharacters.
19d365e4448f1782611280b020987988b7ac3210Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
19d365e4448f1782611280b020987988b7ac3210Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ac_configure_args="$ac_configure_args '$ac_arg'" ;;
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews *) ac_configure_args="$ac_configure_args $ac_arg" ;;
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# NLS nuisances.
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# Only set these to C if already set. These must not be set unconditionally
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# because not all systems understand e.g. LANG=C (notably SCO).
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Non-C LC_CTYPE values break the ctype check.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif test "${LANG+set}" = set; then LANG=C; export LANG; fi
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrewsif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
19d365e4448f1782611280b020987988b7ac3210Mark Andrews# confdefs.h avoids OS command line length limits that DEFS can exceed.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews# AIX cpp loses on an empty file, so make sure it contains at least a newline.
19d365e4448f1782611280b020987988b7ac3210Mark Andrews# A filename unique to this package, relative to the directory that
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# configure is in, which we can look for to find out if srcdir is correct.
0c310d16b05ee94743d33f6920907edee6084fc8Michael Graff# Find the source files, if location was not specified.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif test -z "$srcdir"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews # Try the directory containing this script, then its parent.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Prefer explicitly selected file to automatically selected ones.
ad7209ea70d346527ffdcda335153831341d9dcfAndreas Gustafssonif test -z "$CONFIG_SITE"; then
d981ca645597116d227a48bf37cc5edc061c854dBob Halley CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews if test -r "$ac_site_file"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews echo "loading site script $ac_site_file"
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrewsif test -r "$cache_file"; then
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews echo "loading cache $cache_file"
f0a5bb8f86631ce638cb2b6c65bbb9bcf9b0cdc0Bob Halley echo "creating cache $cache_file"
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrence# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafssonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafssonac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafssonif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
693ddf84daa745a0ea8ca311a8154dfa03eabc43Andreas Gustafsson if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
52637f592f705ca93fadc218e403fd55e8ce4aeaMark Andrewsfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif test -z "$ac_aux_dir"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# Make sure we can run config.sub.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewselse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrewsecho $ac_n "checking host system type""... $ac_c" 1>&6
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrewsecho "configure:558: checking host system type" >&5
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewshost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewshost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewshost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsecho "configure:580: checking whether ${MAKE-make} sets \${MAKE}" >&5
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews @echo 'ac_maketemp="${MAKE}"'
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewseval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif test -n "$ac_maketemp"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# Extract the first word of "ranlib", so it can be a program name with args.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews if test -n "$RANLIB"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif test -n "$RANLIB"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# Find a good install program. We prefer a C program (faster),
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# so one script is as good as another. But avoid the broken or
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# incompatible versions:
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# AFS /usr/afsws/bin/install, which mishandles nonexistent args
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# ./install, which can be erroneously created by make from ./install.sh.
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrewsecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffecho "configure:646: checking for a BSD compatible install" >&5
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif test -z "$INSTALL"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
f305d86668bfd4d4727c3e0f70e7e97a2fa1b772Bob Halley IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews # Account for people who put trailing slashes in PATH elements.
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews # OSF1 and SCO ODT 3.0 have their own names for install.
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrence for ac_prog in ginstall installbsd scoinst install; do
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews # AIX install. It has an incompatible calling convention.
19d365e4448f1782611280b020987988b7ac3210Mark Andrews # OSF/1 installbsd also uses dspmsg, but is usable.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews if test "${ac_cv_path_install+set}" = set; then
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews # As a last resort, use the slow shell script. We don't cache a
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews # path for INSTALL within a source directory, because that will
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews # break other packages using the cache if that directory is
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews # removed, or if the path is relative.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrews# It thinks the first close brace ends the variable substitution.
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrewstest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrewstest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffecho "configure:725: checking which thread library to use" >&5
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrewsif test "${with_mit_pthreads+set}" = set; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff # Check whether --with-ptl2 or --without-ptl2 was given.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif test "${with_ptl2+set}" = set; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark AndrewsPlease choose a thread library using one of
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews configure --with-mit-pthreads
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews configure --with-ptl2
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrews# Extract the first word of "gcc", so it can be a program name with args.
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff if test -n "$CC"; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence ac_cv_prog_CC="$CC" # Let the user override the test.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7ab0e69f61e61e81d489c95c7ebd981e74e7ef16Andreas Gustafssonif test -n "$CC"; then
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafssonif test -z "$CC"; then
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews # Extract the first word of "cc", so it can be a program name with args.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrenceif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson if test -n "$CC"; then
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson ac_cv_prog_CC="$CC" # Let the user override the test.
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
0c8649cea98afc061dd2938fd315df53b8fc35caAndreas Gustafsson if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews # We found a bogon in the path, so make sure we never use it.
19d365e4448f1782611280b020987988b7ac3210Mark Andrews # We chose a different compiler from the bogus one.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews # However, it has the same basename, so the bogon will be chosen
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews # first if we set CC to just the basename; use the full file name.
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrewsif test -n "$CC"; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsecho "configure:865: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19d365e4448f1782611280b020987988b7ac3210Mark Andrewsac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#line 875 "configure"
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrews#include "confdefs.h"
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrewsmain(){return(0);}
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif { (eval echo configure:879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews # If we can't run a trivial program, we are probably using a cross compiler.
d981ca645597116d227a48bf37cc5edc061c854dBob Halley { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyecho "configure:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrewsecho "configure:904: checking whether we are using GNU C" >&5
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
d981ca645597116d227a48bf37cc5edc061c854dBob Halley#ifdef __GNUC__
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
0513f89e68f82f9ec54e7af9c979a7c43babbe31Bob Halleyecho "configure:928: checking whether ${CC-cc} accepts -g" >&5
0513f89e68f82f9ec54e7af9c979a7c43babbe31Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9916239908343b3eb17f0578de4c3cd6a313d85fMark Andrewsif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff if test "$ac_test_CFLAGS" = set; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson test "${CFLAGS+set}" = set || CFLAGS="-g"
88ba491496daf4463a2c898be8a6c47775a6d048Mark Andrewsecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
88ba491496daf4463a2c898be8a6c47775a6d048Mark Andrewsecho "configure:957: checking how to run the C preprocessor" >&5
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson# On Suns, sometimes $CPP names a directory.
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonif test -z "$CPP"; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson # This must be in double quotes, not single quotes, because CPP may get
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson # substituted into the Makefile and "${CC-cc}" will confuse make.
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson # On the NeXT, cc -E runs the code through the compiler's parser,
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson # not just through cpp.
34b394b43e2207e8f8f3703f0402422121455638David Lawrence#line 972 "configure"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson#include "confdefs.h"
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff#include <assert.h>
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrenceac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence{ (eval echo configure:978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrenceif test -z "$ac_err"; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson echo "configure: failed program was:" >&5
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson#line 989 "configure"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson#include "confdefs.h"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson#include <assert.h>
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson{ (eval echo configure:995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonif test -z "$ac_err"; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson echo "configure: failed program was:" >&5
a98551ef592e9be6008e0141ceeb32efd586c5efMark Andrewsecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16996a04884731d647f43a5eb54f678581f09f68David Lawrenceecho "configure:1018: checking for ANSI C header files" >&5
16996a04884731d647f43a5eb54f678581f09f68David Lawrenceif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16996a04884731d647f43a5eb54f678581f09f68David Lawrence#line 1023 "configure"
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence#include "confdefs.h"
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence#include <stdlib.h>
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence#include <stdarg.h>
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence#include <string.h>
16996a04884731d647f43a5eb54f678581f09f68David Lawrence#include <float.h>
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graffac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff{ (eval echo configure:1031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graffif test -z "$ac_err"; then
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff#line 1048 "configure"
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff#include "confdefs.h"
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff#include <string.h>
a98551ef592e9be6008e0141ceeb32efd586c5efMark Andrews # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff#line 1066 "configure"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#include "confdefs.h"
16996a04884731d647f43a5eb54f678581f09f68David Lawrence#include <stdlib.h>
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
a98551ef592e9be6008e0141ceeb32efd586c5efMark Andrews#line 1087 "configure"
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Graff#include "confdefs.h"
79eec6934923f97a61edb8dbe2641ce56dc30085Bob Halley#include <ctype.h>
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
94a537e6ab3069f8d34e12e5ea722250be2b89c8Michael Graff#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
a98551ef592e9be6008e0141ceeb32efd586c5efMark Andrewsint main () { int i; for (i = 0; i < 256; i++)
94a537e6ab3069f8d34e12e5ea722250be2b89c8Michael Graffif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
94a537e6ab3069f8d34e12e5ea722250be2b89c8Michael Graffif { (eval echo configure:1098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff#define STDC_HEADERS 1
6324997211a5e2d82528dcde98e8981190a35faeMichael Graffecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6324997211a5e2d82528dcde98e8981190a35faeMichael Graffecho "configure:1125: checking for $ac_hdr" >&5
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrewsif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff#line 1130 "configure"
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews#include "confdefs.h"
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington#include <$ac_hdr>
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellingtonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington{ (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a98551ef592e9be6008e0141ceeb32efd586c5efMark Andrewsif test -z "$ac_err"; then
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews eval "ac_cv_header_$ac_safe=yes"
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington eval "ac_cv_header_$ac_safe=no"
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellingtonif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5d83b561ad7eb84885a8ec63dee4c51b335f067aBrian Wellington ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#define $ac_tr_hdr 1
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrenceecho $ac_n "checking for working const""... $ac_c" 1>&6
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrewsecho "configure:1163: checking for working const" >&5
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews#line 1168 "configure"
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff#include "confdefs.h"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson/* Ultrix mips cc rejects this. */
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Grafftypedef int charset[2]; const charset x;
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson/* SunOS 4.1.1 cc rejects this. */
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrewschar const *const *ccp;
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson/* NEC SVR4.0.2 mips cc rejects this. */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonstruct point {int x, y;};
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrewsstatic struct point const zero = {0,0};
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrews/* AIX XL C 1.02.0.0 rejects this.
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff It does not let you subtract one const X* pointer from another in an arm
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson of an if-expression whose if-part is not a constant expression */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonconst char *g = "string";
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonccp = &g + (g ? g-g : 0);
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson/* HPUX 7.0 cc rejects these. */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonp = (char**) ccp;
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrewsccp = (char const *const *) p;
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff{ /* SCO 3.2v4 cc rejects this. */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson char const *s = 0 ? (char *) 0 : (char const *) 0;
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson int x[] = {25, 17};
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson const int *foo = &x[0];
88ba491496daf4463a2c898be8a6c47775a6d048Mark Andrews{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
88ba491496daf4463a2c898be8a6c47775a6d048Mark Andrews typedef const int *iptr;
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson{ /* AIX XL C 1.02.0.0 rejects this saying
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson struct s { int j; const int *ap[3]; };
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson struct s *b; b->j = 5;
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson const int foo = 10;
34b394b43e2207e8f8f3703f0402422121455638David Lawrenceif { (eval echo configure:1217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson echo "configure: failed program was:" >&5
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonecho $ac_n "checking for inline""... $ac_c" 1>&6
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonecho "configure:1238: checking for inline" >&5
54c26ab21c61c6d6b1e484bb88dc3ac263845d17Mark Andrewsif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonfor ac_kw in inline __inline__ __inline; do
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson#line 1245 "configure"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson#include "confdefs.h"
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafsson} $ac_kw foo() {
3ddd92da6651bc72aa79a04195ad389d86fd1a66Andreas Gustafssonif { (eval echo configure:1252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#define inline
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#define inline $ac_cv_c_inline
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsecho $ac_n "checking for size_t""... $ac_c" 1>&6
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff#line 1283 "configure"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include "confdefs.h"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <sys/types.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#if STDC_HEADERS
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <stdlib.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <stddef.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#define size_t unsigned
fe47f41b13620bfafc4f8cf65d5df24f1e568764Bob Halleyecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsecho "configure:1311: checking whether time.h and sys/time.h may both be included" >&5
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#line 1316 "configure"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include "confdefs.h"
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews#include <sys/types.h>
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews#include <sys/time.h>
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews#include <time.h>
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewsstruct tm *tp;
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews; return 0; }
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrenceif { (eval echo configure:1325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#define TIME_WITH_SYS_TIME 1
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewsecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewsecho "configure:1347: checking for pthread_create in -lpthread" >&5
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewsac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews#line 1355 "configure"
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews#include "confdefs.h"
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews/* We use char because int might match the return type of a gcc2
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews builtin and then its argument prototype would still apply. */
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewschar pthread_create();
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewspthread_create()
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews; return 0; }
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrewsif { (eval echo configure:1366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence eval "ac_cv_lib_$ac_lib_var=yes"
7d62ddffbb4d1cc97b8d80b7ee4944554a57523eMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#define $ac_tr_lib 1
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrenceecho "configure:1392: checking for __pthread_create in -lpthread" >&5
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrenceac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
bfb2a81b65579882a80855c279cedc45aebd62e8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff#line 1400 "configure"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include "confdefs.h"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews/* We use char because int might match the return type of a gcc2
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews builtin and then its argument prototype would still apply. */
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewschar __pthread_create();
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews__pthread_create()
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews; return 0; }
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence eval "ac_cv_lib_$ac_lib_var=no"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#define $ac_tr_lib 1
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffecho "configure:1439: checking for __pthread_create_system in -lpthread" >&5
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#line 1447 "configure"
26b0f58b6c4d65bc8b131debf40b8c376c2978bfBob Halley#include "confdefs.h"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews/* We use char because int might match the return type of a gcc2
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews builtin and then its argument prototype would still apply. */
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrencechar __pthread_create_system();
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrews__pthread_create_system()
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews; return 0; }
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffif { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
e4653123ecc6cdbfc0b9eda6e98e44af3b1f9a08Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
34b394b43e2207e8f8f3703f0402422121455638David Lawrence -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#define $ac_tr_lib 1
5a219d878f0bd786e86da2c9b92999260dda3f8dAndreas Gustafssonecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffecho "configure:1490: checking for sigwait in -lpthread" >&5
7c0378745269fe49a05904935afc42b85528f53aDavid Lawrenceac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5466ce3f279d9fa83ce826bcdc9482bc591152aeAndreas Gustafsson#line 1498 "configure"
5466ce3f279d9fa83ce826bcdc9482bc591152aeAndreas Gustafsson#include "confdefs.h"
5466ce3f279d9fa83ce826bcdc9482bc591152aeAndreas Gustafsson/* Override any gcc2 internal prototype to avoid an error. */
5466ce3f279d9fa83ce826bcdc9482bc591152aeAndreas Gustafsson/* We use char because int might match the return type of a gcc2
15330e4fa27c82ac04cc2ce234ec930e4b6b42d3Mark Andrews builtin and then its argument prototype would still apply. */
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewschar sigwait();
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews; return 0; }
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsif { (eval echo configure:1509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence eval "ac_cv_lib_$ac_lib_var=no"
5a219d878f0bd786e86da2c9b92999260dda3f8dAndreas Gustafssonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5a219d878f0bd786e86da2c9b92999260dda3f8dAndreas Gustafsson#define HAVE_SIGWAIT 1
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrewsecho "configure:1531: checking for _Psigwait in -lpthread" >&5
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrewsac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2192b4497348ccab94ca6f3f779cec399c72a8efMark Andrews#line 1539 "configure"
25870d4a37ab4bc8e675502b08335200167cc044Bob Halley#include "confdefs.h"
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
25870d4a37ab4bc8e675502b08335200167cc044Bob Halley/* We use char because int might match the return type of a gcc2
25870d4a37ab4bc8e675502b08335200167cc044Bob Halley builtin and then its argument prototype would still apply. */
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrewschar _Psigwait();
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews; return 0; }
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrewsif { (eval echo configure:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
c0d0a59d1b665423b8a0d1829d0f0da121cb3473Andreas Gustafsson eval "ac_cv_lib_$ac_lib_var=yes"
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff#define HAVE_SIGWAIT 1
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrews#define _POSIX_PTHREAD_SEMANTICS 1
44a966dff66061ac3f266c6b451a70733eb78e82Mark Andrews#define NEED_PTHREAD_INIT 1
904294c0c952227f7778fd0ba2ccea08c097b872Mark Andrews#define HAVE_LINUXTHREADS 1
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrence echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrewsecho "configure:1606: checking for socket in -lsocket" >&5
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrenceac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrenceif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8a17d1e7cdba9fdcf71fb2f821a954a251204105Mark Andrews#line 1614 "configure"
8a17d1e7cdba9fdcf71fb2f821a954a251204105Mark Andrews#include "confdefs.h"
8a17d1e7cdba9fdcf71fb2f821a954a251204105Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrence/* We use char because int might match the return type of a gcc2
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrence builtin and then its argument prototype would still apply. */
47b26abe77184f9bedc68e36bdad03332cf67570David Lawrencechar socket();
8a17d1e7cdba9fdcf71fb2f821a954a251204105Mark Andrews; return 0; }
8a17d1e7cdba9fdcf71fb2f821a954a251204105Mark Andrewsif { (eval echo configure:1625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8a17d1e7cdba9fdcf71fb2f821a954a251204105Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#define $ac_tr_lib 1
15330e4fa27c82ac04cc2ce234ec930e4b6b42d3Mark Andrews echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho "configure:1653: checking for inet_ntoa in -lnsl" >&5
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#line 1661 "configure"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#include "confdefs.h"
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff/* Override any gcc2 internal prototype to avoid an error. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* We use char because int might match the return type of a gcc2
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff builtin and then its argument prototype would still apply. */
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffchar inet_ntoa();
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffif { (eval echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#define $ac_tr_lib 1
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho "configure:1703: checking for inet_ntop" >&5
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#line 1708 "configure"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#include "confdefs.h"
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff/* System header to define __stub macros and hopefully few prototypes,
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews which can conflict with char inet_ntop(); below. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#include <assert.h>
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* We use char because int might match the return type of a gcc2
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews builtin and then its argument prototype would still apply. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewschar inet_ntop();
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* The GNU C library defines this for functions which it implements
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews to always fail with ENOSYS. Some functions are actually named
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews something starting with __ and the normal name is an alias. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence eval "ac_cv_func_inet_ntop=yes"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence eval "ac_cv_func_inet_ntop=no"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrenceif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#define NEED_INET_NTOP 1
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho "configure:1758: checking for inet_pton" >&5
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#line 1763 "configure"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#include "confdefs.h"
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence/* System header to define __stub macros and hopefully few prototypes,
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence which can conflict with char inet_pton(); below. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#include <assert.h>
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* We use char because int might match the return type of a gcc2
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews builtin and then its argument prototype would still apply. */
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrencechar inet_pton();
df8c9ee4819c97089664ccc035eb2aa7569034fdDavid Lawrence/* The GNU C library defines this for functions which it implements
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews to always fail with ENOSYS. Some functions are actually named
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews something starting with __ and the normal name is an alias. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews; return 0; }
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence eval "ac_cv_func_inet_pton=yes"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews eval "ac_cv_func_inet_pton=no"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#define NEED_INET_PTON 1
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsecho "configure:1813: checking for inet_aton" >&5
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#line 1818 "configure"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#include "confdefs.h"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* System header to define __stub macros and hopefully few prototypes,
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews which can conflict with char inet_aton(); below. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#include <assert.h>
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews/* We use char because int might match the return type of a gcc2
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff builtin and then its argument prototype would still apply. */
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewschar inet_aton();
15330e4fa27c82ac04cc2ce234ec930e4b6b42d3Mark Andrews/* The GNU C library defines this for functions which it implements
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence to always fail with ENOSYS. Some functions are actually named
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence something starting with __ and the normal name is an alias. */
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews; return 0; }
83ac7ce833930a5c6cb92ad9c04a58e775579e73Bob Halleyif { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews eval "ac_cv_func_inet_aton=yes"
83ac7ce833930a5c6cb92ad9c04a58e775579e73Bob Halley eval "ac_cv_func_inet_aton=no"
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrewsif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews#define NEED_INET_ATON 1
3a4ec3da9fa14511cbc3660f75817cfacb3f4d1eMark Andrews STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews#define NEED_AF_INET6 1
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence#define NEED_AF_INET6 1
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrewsecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrewsecho "configure:1908: checking for sa_len in struct sockaddr" >&5
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrews#line 1910 "configure"
fd4810861c0c0ccb9aebde94e9d289442b2630dbMark Andrews#include "confdefs.h"
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews#include <sys/socket.h>
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence egrep "sa_len[^a-z0-9_]" >/dev/null 2>&1; then
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews#define HAVE_SA_LEN 1
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# This file is a shell script that caches the results of configure
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# tests run on this system so they can be shared between configure
20b20b23948b90cb2f7d7f402da99d09f837efd0David Lawrence# scripts and configure runs. It is not useful on other systems.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# If it contains results you don't want to keep, you may remove or edit it.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# By default, configure uses ./config.cache as the cache file,
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# creating it if it does not exist already. You can give configure
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# the --cache-file=FILE option to use a different cache file; that is
20b20b23948b90cb2f7d7f402da99d09f837efd0David Lawrence# what configure does when it calls configure scripts in
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# subdirectories, so they share the cache.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# Giving --cache-file=/dev/null disables caching, for debugging configure.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# config.status only pays attention to the cache file if you give it the
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# --recheck option to rerun configure.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# The following way of writing the cache mishandles newlines in values,
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# but we know of no workaround that is simple, portable, and efficient.
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews# So, don't put newlines in cache variables' values.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# Ultrix sh set writes to stderr and can't be redirected directly,
0513f89e68f82f9ec54e7af9c979a7c43babbe31Bob Halley# and sets the high bit in the cache file unless we assign to the vars.
0513f89e68f82f9ec54e7af9c979a7c43babbe31Bob Halley # `set' does not quote correctly, so add quotes (double-quote substitution
ebd68da027cfa8da0fb536c3db11bb88292f41c7Andreas Gustafsson # turns \\\\ into \\, and sed turns \\ into \).
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff -e "s/'/'\\\\''/g" \
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
ebd68da027cfa8da0fb536c3db11bb88292f41c7Andreas Gustafsson # `set' quotes correctly as required by POSIX, so do not add quotes.
ebd68da027cfa8da0fb536c3db11bb88292f41c7Andreas Gustafsson sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff if test -w $cache_file; then
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff echo "updating cache $cache_file"
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff echo "not updating unwritable cache $cache_file"
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Grafftrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrencetest "x$prefix" = xNONE && prefix=$ac_default_prefix
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff# Let make expand exec_prefix.
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Grafftest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff# Any assignment to VPATH causes Sun make to only execute
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff# the first set of double-colon rules, so remove it if not needed.
3bb3b7ac462a90c2b8b1fb783324d800e2ba748cMichael Graff# If there is a colon in the path, we need to keep it.
3bb3b7ac462a90c2b8b1fb783324d800e2ba748cMichael Graffif test "x$srcdir" = x.; then
fa460c223a69449eaac67ddb6abafe74f5e1ff02Michael Grafftrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7ec579cd5d07228c0d6cece58b80694ad8d59de9Michael Graff# Without the "./", some shells look in PATH for config.status.
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# Generated automatically by configure.
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# Run this file to recreate the current configuration.
b469f0321d2bcea3914c57d26fd43319e506c313Andreas Gustafsson# This directory was configured as follows,
b469f0321d2bcea3914c57d26fd43319e506c313Andreas Gustafsson# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence# $0 $ac_configure_args
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# Compiler output produced by configure, useful for debugging
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# configure, is in ./config.log if it exists.
6324997211a5e2d82528dcde98e8981190a35faeMichael Graffac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson case "\$ac_option" in
8abddcd3f24476b945419659e7cb73bcb970886bDavid Lawrence -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson echo "$CONFIG_STATUS generated by autoconf version 2.12"
014892d86d30b7eceb0003d51788f9b5cadfc1bfAndreas Gustafsson -help | --help | --hel | --he | --h)
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