From: Harlan Stenn Date: Tue, 16 May 2000 00:54:26 +0000 (-0000) Subject: config.h.in, configure, configure.in: X-Git-Tag: NTP_4_0_99_J~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79489cdfb14dda02fcedf53e64b5c794f8790cf1;p=thirdparty%2Fntp.git config.h.in, configure, configure.in: Autoconf changes bk: 39209c42aq63_rmI50kdfuQVCtJ-iw --- diff --git a/config.h.in b/config.h.in index afd9757eb..19b09ca77 100644 --- a/config.h.in +++ b/config.h.in @@ -1,9 +1,4 @@ /* config.h.in. Generated automatically from configure.in by autoheader. */ -/* Package */ -#undef PACKAGE - -/* Version */ -#undef VERSION /* debugging code */ #undef DEBUG @@ -11,9 +6,6 @@ /* Minutes per DST adjustment */ #undef DSTMINUTES -/* MD5 authentication */ -#undef MD5 - /* DES authentication (COCOM only) */ #undef DES @@ -269,9 +261,6 @@ /* can we use SIGPOLL for tty IO? */ #undef USE_TTY_SIGPOLL -/* should we use clock_settime()? */ -#undef USE_CLOCK_SETTIME - /* do we want the CHU driver? */ #undef CLOCK_CHU @@ -299,9 +288,6 @@ /* do we need an s_char typedef? */ #undef NEED_S_CHAR_TYPEDEF -/* include the GDT Surveying code? */ -#undef GDT_SURVEYING - /* does SIOCGIFCONF return size in the buffer? */ #undef SIZE_RETURNED_IN_BUFFER @@ -387,10 +373,6 @@ /* Do we have support for SHMEM_STATUS? */ #undef ONCORE_SHMEM_STATUS -/***/ - -/* Which way should we declare... */ - /* adjtime()? */ #undef DECL_ADJTIME_0 @@ -412,9 +394,6 @@ /* memmove()? */ #undef DECL_MEMMOVE_0 -/* memset()? */ -#undef DECL_MEMSET_0 - /* mkstemp()? */ #undef DECL_MKSTEMP_0 @@ -934,7 +913,7 @@ # undef __CHAR_UNSIGNED__ #endif -/* Define to empty if `const' does not conform to ANSI C. */ +/* Define to empty if the keyword `const' is not conform to ANSI C. */ #undef const /* Define to `int' if doesn't define. */ diff --git a/configure b/configure index 53347f18b..9fcdf75ca 100755 --- a/configure +++ b/configure @@ -1,32 +1,17 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.14a. +# Generated automatically using Autoconf version 2.14a +# Copyright (C) 1992, 93, 94, 95, 96, 98, 1999 Free Software Foundation, Inc. # -# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000 -# Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. -# -# Initializations. -# +# Defaults: +ac_arg_with_help= +ac_arg_enable_help= +ac_arg_var_help= ac_default_prefix=/usr/local -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -: ${ac_max_here_lines=48} -# Sed expression to map a string onto a valid sh and CPP variable names. -ac_tr_sh='sed -e y%*+%pp%;s%[^a-zA-Z0-9_]%_%g' -ac_tr_cpp='sed -e y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g' - -# By default always use an empty string as the executable extension. -# Only change it if the script calls AC_EXEEXT. -ac_exeext= -# By default assume that objects files use an extension of .o. Only -# change it if the script calls AC_OBJEXT. -ac_objext=o -# Factoring default headers for most tests. +# Factorizing default headers for most tests. ac_includes_default="\ #include #include @@ -48,22 +33,149 @@ ac_includes_default="\ # include # endif #endif -#if HAVE_INTTYPES_H -# include -#endif #if HAVE_UNISTD_H # include #endif" -ac_unique_file="ntpd/ntp_refclock.c" +# Any additions from configure.in: +ac_arg_enable_help="$ac_arg_enable_help + --disable-dependency-tracking Speeds up one-time builds + --enable-dependency-tracking Do not reject slow dependency extractors" +ac_arg_var_help="$ac_arg_var_help + CFLAGS Extra flags for the C compiler" +ac_arg_enable_help="$ac_arg_enable_help + --enable-debugging + include debugging code" +ac_arg_enable_help="$ac_arg_enable_help + --enable-dst-minutes=60 + minutes per DST adjustment" +ac_arg_enable_help="$ac_arg_enable_help + --enable-BANCOMM - Datum/Bancomm bc635/VME interface" +ac_arg_enable_help="$ac_arg_enable_help + --enable-GPSVME - TrueTime GPS receiver/VME interface" +ac_arg_enable_help="$ac_arg_enable_help + --enable-SHM - SHM clock attached thru shared memory" +ac_arg_enable_help="$ac_arg_enable_help + --enable-all-clocks + include all suitable non-PARSE clocks:" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ACTS + ACTS modem service" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ARBITER + Arbiter 1088A/B GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ARCRON-MSF + Arcron MSF receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-AS2201 + Austron 2200A/2201A GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ATOM + PPS interface" +ac_arg_enable_help="$ac_arg_enable_help + --enable-CHU - CHU modem/decoder" +ac_arg_enable_help="$ac_arg_enable_help + --enable-AUDIO-CHU s CHU audio/decoder" +ac_arg_enable_help="$ac_arg_enable_help + --enable-DATUM s Datum Programmable Time System" +ac_arg_enable_help="$ac_arg_enable_help + --enable-FG + Forum Graphic GPS" +ac_arg_enable_help="$ac_arg_enable_help + --enable-HEATH s Heath GC-1000 WWV/WWVH receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-HPGPS + HP 58503A GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-IRIG s Sun IRIG audio decoder" +ac_arg_enable_help="$ac_arg_enable_help + --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-LOCAL-CLOCK + local clock reference" +ac_arg_enable_help="$ac_arg_enable_help + --enable-MSFEES + EES M201 MSF receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-MX4200 s Magnavox MX4200 GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-NMEA + NMEA GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ONCORE + Motorola VP/UT Oncore GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-PALISADE + Palisade clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-PST + PST/Traconex 1020 WWV/WWVH receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-JUPITER s Rockwell Jupiter GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-PTBACTS s PTB modem service" +ac_arg_enable_help="$ac_arg_enable_help + --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface" +ac_arg_enable_help="$ac_arg_enable_help + --enable-TRAK + TRAK 8810 GPS receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-CHRONOLOG + Chrono-log K-series WWVB receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-PCF + Conrad parallel port radio clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-TRUETIME s Kinemetrics/TrueTime receivers" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ULINK + Ultralink WWVB receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-WWV + WWV Audio receiver" +ac_arg_enable_help="$ac_arg_enable_help + --enable-USNO s USNO modem service" +ac_arg_enable_help="$ac_arg_enable_help + --enable-parse-clocks - include all suitable PARSE clocks:" +ac_arg_enable_help="$ac_arg_enable_help + --enable-COMPUTIME s Diem Computime Radio Clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-DCF7000 s ELV/DCF7000 clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-HOPF6021 s HOPF 6021 clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-MEINBERG s Meinberg clocks" +ac_arg_enable_help="$ac_arg_enable_help + --enable-RAWDCF s DCF77 raw time code" +ac_arg_enable_help="$ac_arg_enable_help + --enable-RCC8000 s RCC 8000 clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-SCHMID s Schmid DCF77 clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol" +ac_arg_enable_help="$ac_arg_enable_help + --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol" +ac_arg_enable_help="$ac_arg_enable_help + --enable-WHARTON s WHARTON 400A Series clock" +ac_arg_enable_help="$ac_arg_enable_help + --enable-VARITEXT s VARITEXT clock" +ac_arg_with_help="$ac_arg_with_help + --with-crypto + ={md5,autokey,rsaref}" +ac_arg_enable_help="$ac_arg_enable_help + --enable-kmem s read /dev/kmem for tick and/or tickadj" +ac_arg_enable_help="$ac_arg_enable_help + --enable-accurate-adjtime + s the adjtime() call is accurate" +ac_arg_enable_help="$ac_arg_enable_help + --enable-tick=VALUE s force a value for 'tick'" +ac_arg_enable_help="$ac_arg_enable_help + --enable-tickadj=VALUE s force a value for 'tickadj'" +ac_arg_enable_help="$ac_arg_enable_help + --enable-udp-wildcard s use UDP wildcard delivery" +ac_arg_enable_help="$ac_arg_enable_help + --enable-slew-always s always slew the time" +ac_arg_enable_help="$ac_arg_enable_help + --enable-step-slew s step and slew the time" +ac_arg_enable_help="$ac_arg_enable_help + --enable-ntpdate-step s if ntpdate should step the time" +ac_arg_enable_help="$ac_arg_enable_help + --enable-hourly-todr-sync + s if we should sync TODR hourly" +ac_arg_enable_help="$ac_arg_enable_help + --enable-kernel-fll-bug s if we should avoid a kernel FLL bug" # Initialize some variables set by options. -ac_init_help= -ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. -cache_file=/dev/null +build=NONE +cache_file=./config.cache exec_prefix=NONE +host=NONE no_create= +nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE @@ -72,6 +184,7 @@ program_transform_name=s,x,x, silent= site= srcdir= +target=NONE verbose= x_includes=NONE x_libraries=NONE @@ -88,6 +201,16 @@ oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +: ${ac_max_here_lines=12} +# Sed expression to map a string onto a valid sh and CPP variable names. +ac_tr_sh='sed -e y%*+%pp%;s%[^a-zA-Z0-9_]%_%g' +ac_tr_cpp='sed -e y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g' + ac_prev= for ac_option do @@ -107,31 +230,31 @@ do -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; + bindir="$ac_optarg" ;; -build | --build | --buil | --bui | --bu) ac_prev=build ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build=$ac_optarg ;; + build="$ac_optarg" ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; + cache_file="$ac_optarg" ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) - datadir=$ac_optarg ;; + datadir="$ac_optarg" ;; -disable-* | --disable-*) ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'` # Reject names that are not valid shell variable names. if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then - { echo "configure: error: invalid feature: $ac_feature" >&2; exit 1; } + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval "enable_${ac_feature}=no" ;; @@ -140,7 +263,7 @@ do ac_feature=`echo "$ac_option"|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then - { echo "configure: error: invalid feature: $ac_feature" >&2; exit 1; } + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case "$ac_option" in @@ -156,47 +279,113 @@ do -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; + exec_prefix="$ac_optarg" ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<\EOF +`configure' configures software source code packages to adapt to many kinds +of systems. + +Usage: configure [OPTION]... [VAR=VALUE]... [HOST] + +To safely assign special values to environment variables (e.g., CC, +CFLAGS...), give to `configure' the definition as VAR=VALUE. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help print this message + --version print the version of autoconf that created configure + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE + -n, --no-create do not create output files + +Directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM + run sed PROGRAM on installed program names + +EOF + cat <<\EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] + +X features: + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + test -n "$ac_arg_enable_help" && echo " +Optional features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]\ +$ac_arg_enable_help" + test -n "$ac_arg_with_help" && echo " +Optional packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)\ +$ac_arg_with_help" + test -n "$ac_arg_var_help" && echo " +Some influent environment variables:$ac_arg_var_help" + exit 0 ;; -host | --host | --hos | --ho) ac_prev=host ;; -host=* | --host=* | --hos=* | --ho=*) - host=$ac_optarg ;; + host="$ac_optarg" ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; + includedir="$ac_optarg" ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; + infodir="$ac_optarg" ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; + libdir="$ac_optarg" ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; + libexecdir="$ac_optarg" ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ @@ -205,12 +394,12 @@ do -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir=$ac_optarg ;; + localstatedir="$ac_optarg" ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; + mandir="$ac_optarg" ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. @@ -231,26 +420,26 @@ do -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; + oldincludedir="$ac_optarg" ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; + prefix="$ac_optarg" ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; + program_prefix="$ac_optarg" ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; + program_suffix="$ac_optarg" ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ @@ -267,7 +456,7 @@ do | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; + program_transform_name="$ac_optarg" ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) @@ -277,7 +466,7 @@ do ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; + sbindir="$ac_optarg" ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ @@ -288,41 +477,42 @@ do | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; + sharedstatedir="$ac_optarg" ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) - site=$ac_optarg ;; + site="$ac_optarg" ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; + srcdir="$ac_optarg" ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; + sysconfdir="$ac_optarg" ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target=$ac_optarg ;; + target="$ac_optarg" ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.14a" + exit 0 ;; -with-* | --with-*) ac_package=`echo "$ac_option"|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. - if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then - { echo "configure: error: invalid package: $ac_package" >&2; exit 1; } + if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` case "$ac_option" in @@ -334,8 +524,8 @@ do -without-* | --without-*) ac_package=`echo "$ac_option"|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names. - if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then - { echo "configure: error: invalid package: $ac_package" >&2; exit 1; } + if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; @@ -349,316 +539,47 @@ do ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; + x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; + x_libraries="$ac_optarg" ;; - -*) { echo "configure: error: unrecognized option: $ac_option -Try \`configure --help' for more information." >&2; exit 1; } + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } ;; *=*) ac_envvar=`echo "$ac_option" | sed -e 's/=.*//'` # Reject names that are not valid shell variable names. if echo "$ac_envvar" | grep '[^a-zA-Z0-9_]' >/dev/null 2>&1; then - { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; } + { echo "configure: error: $ac_envvar: invalid variable name" 1>&2; exit 1; } fi ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) - if echo "$ac_option" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then - echo "configure: warning: invalid host type: $ac_option" >&2 + if echo "$ac_feature" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } fi - echo "configure: warning: you should use --build, --host, --target" >&2 - : ${build=$ac_option} ${host=$ac_option} ${target=$ac_option} + nonopt="$ac_option" ;; esac done if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --\`echo $ac_prev | sed 's/_/-/g'\`" >&2; exit 1; } -fi - -# Be sure to have absolute paths. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir \ - exec_prefix prefix -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* ) ;; - NONE ) ;; - *) { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };; - esac -done - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; } - else - { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; } - fi -fi -srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'` - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <&2; exit 1; } fi -if test -n "$ac_init_help"; then - - cat <<\EOF - -Optional Features: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking Speeds up one-time builds - --enable-dependency-tracking Do not reject slow dependency extractors - --enable-debugging + include debugging code - --enable-dst-minutes=60 + minutes per DST adjustment - --enable-BANCOMM - Datum/Bancomm bc635/VME interface - --enable-GPSVME - TrueTime GPS receiver/VME interface - --enable-SHM - SHM clock attached thru shared memory - --enable-all-clocks + include all suitable non-PARSE clocks: - --enable-ACTS + ACTS modem service - --enable-ARBITER + Arbiter 1088A/B GPS receiver - --enable-ARCRON-MSF + Arcron MSF receiver - --enable-AS2201 + Austron 2200A/2201A GPS receiver - --enable-ATOM + PPS interface - --enable-CHU - CHU modem/decoder - --enable-AUDIO-CHU s CHU audio/decoder - --enable-DATUM s Datum Programmable Time System - --enable-FG + Forum Graphic GPS - --enable-HEATH s Heath GC-1000 WWV/WWVH receiver - --enable-HPGPS + HP 58503A GPS receiver - --enable-IRIG s Sun IRIG audio decoder - --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver - --enable-LOCAL-CLOCK + local clock reference - --enable-MSFEES + EES M201 MSF receiver - --enable-MX4200 s Magnavox MX4200 GPS receiver - --enable-NMEA + NMEA GPS receiver - --enable-ONCORE + Motorola VP/UT Oncore GPS receiver - --enable-PALISADE + Palisade clock - --enable-PST + PST/Traconex 1020 WWV/WWVH receiver - --enable-JUPITER s Rockwell Jupiter GPS receiver - --enable-PTBACTS s PTB modem service - --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface - --enable-TRAK + TRAK 8810 GPS receiver - --enable-CHRONOLOG + Chrono-log K-series WWVB receiver - --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock - --enable-PCF + Conrad parallel port radio clock - --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver - --enable-TRUETIME s Kinemetrics/TrueTime receivers - --enable-ULINK + Ultralink WWVB receiver - --enable-WWV + WWV Audio receiver - --enable-USNO s USNO modem service - --enable-parse-clocks - include all suitable PARSE clocks: - --enable-COMPUTIME s Diem Computime Radio Clock - --enable-DCF7000 s ELV/DCF7000 clock - --enable-HOPF6021 s HOPF 6021 clock - --enable-MEINBERG s Meinberg clocks - --enable-RAWDCF s DCF77 raw time code - --enable-RCC8000 s RCC 8000 clock - --enable-SCHMID s Schmid DCF77 clock - --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol - --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol - --enable-WHARTON s WHARTON 400A Series clock - --enable-VARITEXT s VARITEXT clock - --enable-kmem s read /dev/kmem for tick and/or tickadj - --enable-accurate-adjtime - s the adjtime() call is accurate - --enable-tick=VALUE s force a value for 'tick' - --enable-tickadj=VALUE s force a value for 'tickadj' - --enable-udp-wildcard s use UDP wildcard delivery - --enable-slew-always s always slew the time - --enable-step-slew s step and slew the time - --enable-ntpdate-step s if ntpdate should step the time - --enable-hourly-todr-sync - s if we should sync TODR hourly - --enable-kernel-fll-bug s if we should avoid a kernel FLL bug - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-crypto + ={md5,autokey,rsaref} - -Some influent environment variables: - CFLAGS Extra flags for the C compiler -EOF -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - ac_popdir=`pwd` - for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue - cd $ac_subdir - # A "../" for each directory in /$ac_subdir. - ac_dots=`echo $ac_subdir | - sed -e 's%^\./%%;s%[^/]$%&/%;s%[^/]*/%../%g'` - - case "$srcdir" in - .) # No --srcdir option. We are building in place. - ac_sub_srcdir=$srcdir ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_sub_srcdir=$srcdir/$ac_subdir ;; - *) # Relative path. - ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; - esac - - # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_sub_srcdir/configure; then - echo - $SHELL $ac_sub_srcdir/configure --help=recursive - elif test -f $ac_sub_srcdir/configure.in; then - echo - $ac_configure --help - else - echo "configure: warning: no configuration information is in $ac_subdir" >&2 - fi - cd $ac_popdir - done -fi - -test -n "$ac_init_help" && exit 0 -if $ac_init_version; then - cat <<\EOF - -Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000 -Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -EOF - exit 0 -fi -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi - -# IFS -# We need space, tab and new line, in precisely that order. -ac_nl=' -' -IFS=" $ac_nl" - trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell meta-characters. -ac_configure_args= -ac_sep= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" - ac_sep=" " ;; - *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" - ac_sep=" " ;; - esac - # Get rid of the leading space. -done - # File descriptor usage: # 0 standard input # 1 file creation @@ -677,16 +598,67 @@ exec 5>./config.log echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. +" 1>&5 -It was created by configure 2.14a, executed with - > $0 $ac_configure_args -" >&5 +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell meta-characters. +ac_configure_args= +for ac_arg +do + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=ntpd/ntp_refclock.c + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then its parent. + ac_prog=$0 + ac_confdir=`echo "$ac_prog"|sed 's%/[^/][^/]*$%%'` + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + srcdir=$ac_confdir + if test ! -r $srcdir/$ac_unique_file; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r $srcdir/$ac_unique_file; then + if test "$ac_srcdir_defaulted" = yes; then + { echo "configure: error: cannot find sources in $ac_confdir or .." 1>&2; exit 1; } + else + { echo "configure: error: cannot find sources in $srcdir" 1>&2; exit 1; } + fi +fi +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then @@ -703,7 +675,7 @@ for ac_site_file in $CONFIG_SITE; do done if test -r "$cache_file"; then - test "x$cache_file" != "x/dev/null" && echo "loading cache $cache_file" + echo "loading cache $cache_file" test -f "$cache_file" && . $cache_file else echo "creating cache $cache_file" @@ -713,20 +685,22 @@ fi ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross +ac_exeext= +ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says Kaveh R. Ghazi. + # Stardent Vistra SVR4 grep lacks -e, says Kaveh Ghazi if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ECHO_N= ECHO_C=' -' ECHO_T=' ' + ac_n= ac_c=' +' ac_t=' ' else - ECHO_N=-n ECHO_C= ECHO_T= + ac_n=-n ac_c= ac_t= fi else - ECHO_N= ECHO_C='\c' ECHO_T= + ac_n= ac_c='\c' ac_t= fi ac_aux_dir= @@ -746,92 +720,143 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do fi done if test -z "$ac_aux_dir"; then - { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; } + { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. -# Make sure we can run config.sub. -$ac_config_sub sun4 >/dev/null 2>&1 || - { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; } +echo $ac_n "checking host system type... $ac_c" 1>&6 +echo "configure:731: checking host system type" 1>&5 +if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then -echo "configure:670: checking build system type" >&5 -echo $ECHO_N "checking build system type... $ECHO_C" >&6 -if test "x$ac_cv_build" = "x" || - (test "x$build" != "x" && test "x$build" != "x$ac_cv_build_alias"); then + # Make sure we can run config.sub. + if $ac_config_sub sun4 >/dev/null 2>&1; then :; else + { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; } + fi - ac_cv_build_alias=$build - test "x$ac_cv_build_alias" = "x" && - { ac_cv_build_alias=`$ac_config_guess` || - { echo "configure: error: cannot guess build (this machine) type; you must specify one" >&2; exit 1; }; } + ac_cv_host_alias=$host + case "$ac_cv_host_alias" in + NONE) + case $nonopt in + NONE) + if ac_cv_host_alias=`$ac_config_guess`; then : + else { echo "configure: error: cannot guess host type; you must specify one" 1>&2; exit 1; } + fi ;; *) ac_cv_host_alias=$nonopt ;; + esac ;; + esac + + ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1 + ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` else - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 fi -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1 -ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -build=$ac_cv_build -build_alias=$ac_cv_build_alias -build_cpu=$ac_cv_build_cpu -build_vendor=$ac_cv_build_vendor -build_os=$ac_cv_build_os -echo "configure:690: result: $ac_cv_build" >&5 -echo "${ECHO_T}$ac_cv_build" >&6 -echo "configure:692: checking host system type" >&5 -echo $ECHO_N "checking host system type... $ECHO_C" >&6 -if test "x$ac_cv_host" = "x" || - (test "x$host" != "x" && test "x$host" != "x$ac_cv_host_alias"); then +echo "$ac_t""$ac_cv_host" 1>&6 - ac_cv_host_alias=$host - test "x$ac_cv_host_alias" = "x" && - ac_cv_host_alias=$build_alias -else - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1 -ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` host=$ac_cv_host host_alias=$ac_cv_host_alias host_cpu=$ac_cv_host_cpu host_vendor=$ac_cv_host_vendor host_os=$ac_cv_host_os -echo "configure:711: result: $ac_cv_host" >&5 -echo "${ECHO_T}$ac_cv_host" >&6 -echo "configure:713: checking target system type" >&5 -echo $ECHO_N "checking target system type... $ECHO_C" >&6 -if test "x$ac_cv_target" = "x" || - (test "x$target" != "x" && test "x$target" != "x$ac_cv_target_alias"); then +echo $ac_n "checking target system type... $ac_c" 1>&6 +echo "configure:767: checking target system type" 1>&5 +if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then + + # Make sure we can run config.sub. + if $ac_config_sub sun4 >/dev/null 2>&1; then :; else + { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; } + fi ac_cv_target_alias=$target - test "x$ac_cv_target_alias" = "x" && - ac_cv_target_alias=$host_alias + case "$ac_cv_target_alias" in + NONE) + case $nonopt in + NONE) + ac_cv_target_alias=$host_alias ;; + *) ac_cv_target_alias=$nonopt ;; + esac ;; + esac + + ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || exit 1 + ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` else - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 fi -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || exit 1 -ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +echo "$ac_t""$ac_cv_target" 1>&6 + target=$ac_cv_target target_alias=$ac_cv_target_alias target_cpu=$ac_cv_target_cpu target_vendor=$ac_cv_target_vendor target_os=$ac_cv_target_os -echo "configure:732: result: $ac_cv_target" >&5 -echo "${ECHO_T}$ac_cv_target" >&6 +echo $ac_n "checking build system type... $ac_c" 1>&6 +echo "configure:802: checking build system type" 1>&5 +if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then + + # Make sure we can run config.sub. + if $ac_config_sub sun4 >/dev/null 2>&1; then :; else + { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; } + fi + + ac_cv_build_alias=$build + case "$ac_cv_build_alias" in + NONE) + case $nonopt in + NONE) + ac_cv_build_alias=$host_alias ;; + *) ac_cv_build_alias=$nonopt ;; + esac ;; + esac + + ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1 + ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +else + echo $ac_n "(cached) $ac_c" 1>&6 +fi + +echo "$ac_t""$ac_cv_build" 1>&6 + +build=$ac_cv_build +build_alias=$ac_cv_build_alias +build_cpu=$ac_cv_build_cpu +build_vendor=$ac_cv_build_vendor +build_os=$ac_cv_build_os + +# Do some error checking and defaulting for the host and target type. +# The inputs are: +# configure --host=HOST --target=TARGET --build=BUILD NONOPT +# +# The rules are: +# 1. You are not allowed to specify --host, --target, and nonopt at the +# same time. +# 2. Host defaults to nonopt. +# 3. If nonopt is not specified, then host defaults to the current host, +# as determined by config.guess. +# 4. Target and build default to nonopt. +# 5. If nonopt is not specified, then target and build default to host. + # The aliases save the names the user supplied, while $host etc. # will get canonicalized. +case $host---$target---$nonopt in +NONE---*---* | *---NONE---* | *---*---NONE) ;; +*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; +esac + test "$host_alias" != "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- + cat >>confdefs.h <conftestsed + cat <<\EOF_SED >conftestsed s,\\,\\\\,g; s,\$,$$,g -EOF - program_transform_name=`echo $program_transform_name | sed -f conftestsed` +EOF_SED + program_transform_name=`echo $program_transform_name|sed -f conftestsed` rm -f conftestsed fi test "$program_prefix" != NONE && @@ -853,7 +878,7 @@ test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},;$program_transform_name" # sed with no file args requires a program. -test -z "$program_transform_name" && program_transform_name="s,x,x," +test "$program_transform_name" = "" && program_transform_name="s,x,x," # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -866,13 +891,13 @@ test -z "$program_transform_name" && program_transform_name="s,x,x," # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "configure:771: checking for a BSD compatible install" >&5 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 +echo $ac_n "checking for a BSD compatible install... $ac_c" 1>&6 +echo "configure:896: checking for a BSD compatible install" 1>&5 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_IFS=$IFS; IFS=':' + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in @@ -900,21 +925,20 @@ else ;; esac done - IFS=$ac_save_IFS + IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install + INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. - INSTALL=$ac_install_sh + INSTALL="$ac_install_sh" fi fi -echo "configure:817: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6 +echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -924,8 +948,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo "configure:824: checking whether build environment is sane" >&5 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 +echo $ac_n "checking whether build environment is sane... $ac_c" 1>&6 +echo "configure:953: checking whether build environment is sane" 1>&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -948,7 +972,7 @@ if ( # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { echo "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&2; exit 1; } +alias in your environment" 1>&2; exit 1; } fi test "$2" = conftestfile @@ -958,11 +982,10 @@ then : else { echo "configure: error: newly created file is older than distributed files! -Check your system clock" >&2; exit 1; } +Check your system clock" 1>&2; exit 1; } fi rm -f conftest* -echo "configure:859: result: yes" >&5 -echo "${ECHO_T}yes" >&6 +echo "$ac_t""yes" 1>&6 test x"${MISSING+set}" = xset || \ MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing" @@ -971,53 +994,48 @@ if eval "$MISSING --run :"; then else am_missing_run= am_backtick='`' - echo "configure: warning: ${am_backtick}missing' script is too old or missing" >&2 + echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2 fi for ac_prog in mawk gawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "configure:874: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1006: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AWK+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else - for ac_path in `ac_save_ifs=$IFS; IFS=':' -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - echo "$ac_dir/$ac_word" - fi -done -IFS=$ac_save_ifs -`; do - ac_cv_prog_AWK="$ac_prog" - break + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_AWK="$ac_prog" + break + fi done + IFS="$ac_save_ifs" fi fi -AWK=$ac_cv_prog_AWK +AWK="$ac_cv_prog_AWK" if test -n "$AWK"; then - echo "configure:899: result: $AWK" >&5 -echo "${ECHO_T}$AWK" >&6 + echo "$ac_t""$AWK" 1>&6 else - echo "configure:902: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi test -n "$AWK" && break done -echo "configure:907: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}... $ac_c" 1>&6 +echo "configure:1036: checking whether ${MAKE-make} sets \${MAKE}" 1>&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftestmake <<\EOF all: @@ -1033,20 +1051,19 @@ fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "configure:927: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + echo "$ac_t""yes" 1>&6 SET_MAKE= else - echo "configure:931: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" - + : fi + if test "x$enable_dependency_tracking" = xno; then AMDEP="#" else @@ -1076,9 +1093,8 @@ VERSION=4.0.99i9 if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; } + { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } fi - cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1142: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - for ac_path in `ac_save_ifs=$IFS; IFS=':' -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - echo "$ac_dir/$ac_word" - fi -done -IFS=$ac_save_ifs -`; do - ac_cv_prog_CC="gcc" - break + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="gcc" + break + fi done + IFS="$ac_save_ifs" fi fi -CC=$ac_cv_prog_CC +CC="$ac_cv_prog_CC" if test -n "$CC"; then - echo "configure:1016: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 + echo "$ac_t""$CC" 1>&6 else - echo "configure:1019: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "configure:1025: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1172: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - for ac_path in `ac_save_ifs=$IFS; IFS=':' -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - echo "$ac_dir/$ac_word" - fi -done -IFS=$ac_save_ifs -`; do - if test "$ac_path" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + break fi - ac_cv_prog_CC="cc" - break done + IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC @@ -1187,20 +1199,18 @@ if test $ac_prog_rejected = yes; then # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - set dummy "$ac_path" ${1+"$@"} + set dummy "$ac_dir/$ac_word" "$@" shift ac_cv_prog_CC="$@" fi fi fi fi -CC=$ac_cv_prog_CC +CC="$ac_cv_prog_CC" if test -n "$CC"; then - echo "configure:1069: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 + echo "$ac_t""$CC" 1>&6 else - echo "configure:1072: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then @@ -1208,36 +1218,31 @@ fi do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "configure:1080: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1223: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - for ac_path in `ac_save_ifs=$IFS; IFS=':' -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - echo "$ac_dir/$ac_word" - fi -done -IFS=$ac_save_ifs -`; do - ac_cv_prog_CC="$ac_prog" - break + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="$ac_prog" + break + fi done + IFS="$ac_save_ifs" fi fi -CC=$ac_cv_prog_CC +CC="$ac_cv_prog_CC" if test -n "$CC"; then - echo "configure:1105: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 + echo "$ac_t""$CC" 1>&6 else - echo "configure:1108: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi test -n "$CC" && break @@ -1246,23 +1251,26 @@ done fi fi -test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; } +test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } + +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ac_c" 1>&6 +echo "configure:1258: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 -echo "configure:1116: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 -echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" >&6 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1275,42 +1283,40 @@ else cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi -rm -f conftest* +rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross -echo "configure:1149: result: $ac_cv_prog_cc_works" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_works" >&6 + +echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." >&2; exit 77; } + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; } fi -echo "configure:1154: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" >&6 -echo "configure:1156: result: $ac_cv_prog_cc_cross" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_cross" >&6 +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ac_c" 1>&6 +echo "configure:1300: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 +echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross -echo "configure:1159: checking whether we are using GNU C" >&5 -echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6 +echo $ac_n "checking whether we are using GNU C... $ac_c" 1>&6 +echo "configure:1305: checking whether we are using GNU C" 1>&5 if test "${ac_cv_prog_gcc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no fi fi -echo "configure:1175: result: $ac_cv_prog_gcc" >&5 -echo "${ECHO_T}$ac_cv_prog_gcc" >&6 +echo "$ac_t""$ac_cv_prog_gcc" 1>&6 if test $ac_cv_prog_gcc = yes; then GCC=yes @@ -1318,13 +1324,13 @@ else GCC= fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" CFLAGS= -echo "configure:1185: checking whether ${CC-cc} accepts -g" >&5 -echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6 +echo $ac_n "checking whether ${CC-cc} accepts -g... $ac_c" 1>&6 +echo "configure:1332: checking whether ${CC-cc} accepts -g" 1>&5 if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else echo 'void f(){}' >conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then @@ -1335,10 +1341,9 @@ fi rm -f conftest* fi -echo "configure:1198: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS + CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" @@ -1353,15 +1358,15 @@ else fi fi -echo "configure:1215: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +echo $ac_n "checking how to run the C preprocessor... $ac_c" 1>&6 +echo "configure:1363: checking how to run the C preprocessor" 1>&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. @@ -1369,13 +1374,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1237: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1383,15 +1388,16 @@ else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1253: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1399,15 +1405,16 @@ else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* CPP="${CC-cc} -nologo -E" cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1269: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1415,6 +1422,7 @@ else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* CPP=/lib/cpp fi rm -f conftest* @@ -1422,23 +1430,22 @@ fi rm -f conftest* fi rm -f conftest* - ac_cv_prog_CPP=$CPP + ac_cv_prog_CPP="$CPP" fi - CPP=$ac_cv_prog_CPP + CPP="$ac_cv_prog_CPP" else - ac_cv_prog_CPP=$CPP + ac_cv_prog_CPP="$CPP" fi -echo "configure:1290: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6 +echo "$ac_t""$CPP" 1>&6 depcc="$CC" depcpp="$CPP" -echo "configure:1294: checking dependency style of $depcc" >&5 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 +echo $ac_n "checking dependency style of $depcc... $ac_c" 1>&6 +echo "configure:1445: checking dependency style of $depcc" 1>&5 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - + if test -z "$AMDEP"; then echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h @@ -1474,19 +1481,18 @@ fi fi -echo "configure:1330: result: $am_cv_CC_dependencies_compiler_type" >&5 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 +echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type" -echo "configure:1333: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +echo $ac_n "checking how to run the C preprocessor... $ac_c" 1>&6 +echo "configure:1489: checking how to run the C preprocessor" 1>&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. @@ -1494,13 +1500,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1355: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1508,15 +1514,16 @@ else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1371: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1524,15 +1531,16 @@ else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* CPP="${CC-cc} -nologo -E" cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1387: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1540,6 +1548,7 @@ else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* CPP=/lib/cpp fi rm -f conftest* @@ -1547,14 +1556,13 @@ fi rm -f conftest* fi rm -f conftest* - ac_cv_prog_CPP=$CPP + ac_cv_prog_CPP="$CPP" fi - CPP=$ac_cv_prog_CPP + CPP="$ac_cv_prog_CPP" else - ac_cv_prog_CPP=$CPP + ac_cv_prog_CPP="$CPP" fi -echo "configure:1408: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6 +echo "$ac_t""$CPP" 1>&6 case "$target" in *-pc-cygwin*) @@ -1583,7 +1591,7 @@ case "$host" in *-*-vxworks*) # Quick and dirty sanity check case "$VX_KERNEL" in - '') { echo "configure: error: Please follow the directions in html/vxworks.html!" >&2; exit 1; } + '') { echo "configure: error: Please follow the directions in html/vxworks.html!" 1>&2; exit 1; } ;; esac CFLAGS="$CFLAGS -DSYS_VXWORKS" @@ -1596,46 +1604,41 @@ for ac_prog in mawk gawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "configure:1448: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1609: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AWK+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else - for ac_path in `ac_save_ifs=$IFS; IFS=':' -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - echo "$ac_dir/$ac_word" - fi -done -IFS=$ac_save_ifs -`; do - ac_cv_prog_AWK="$ac_prog" - break + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_AWK="$ac_prog" + break + fi done + IFS="$ac_save_ifs" fi fi -AWK=$ac_cv_prog_AWK +AWK="$ac_cv_prog_AWK" if test -n "$AWK"; then - echo "configure:1473: result: $AWK" >&5 -echo "${ECHO_T}$AWK" >&6 + echo "$ac_t""$AWK" 1>&6 else - echo "configure:1476: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi test -n "$AWK" && break done -echo "configure:1481: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}... $ac_c" 1>&6 +echo "configure:1639: checking whether ${MAKE-make} sets \${MAKE}" 1>&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftestmake <<\EOF all: @@ -1651,12 +1654,10 @@ fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "configure:1501: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + echo "$ac_t""yes" 1>&6 SET_MAKE= else - echo "configure:1505: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi @@ -1674,10 +1675,10 @@ case "$GCC" in # CFLAGS="$CFLAGS -Wcast-align" CFLAGS="$CFLAGS -Wstrict-prototypes" - echo "configure:1521: checking whether ${CC-cc} -pipe works" >&5 -echo $ECHO_N "checking whether ${CC-cc} -pipe works... $ECHO_C" >&6 + echo $ac_n "checking whether ${CC-cc} -pipe works... $ac_c" 1>&6 +echo "configure:1680: checking whether ${CC-cc} -pipe works" 1>&5 if test "${ac_cv_prog_cc_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -pipe -c conftest.c 2>&1`" -a -s conftest.o; then @@ -1686,10 +1687,9 @@ else ac_cv_prog_cc_pipe=no fi rm -f conftest* - + fi -echo "configure:1534: result: $ac_cv_prog_cc_pipe" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_pipe" >&6 +echo "$ac_t""$ac_cv_prog_cc_pipe" 1>&6 case "$ac_cv_prog_cc_pipe" in yes) @@ -1738,17 +1738,17 @@ case "$ac_busted_vpath_in_make$srcdir" in yes.) ;; *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in '') - { echo "configure: error: building outside of the main directory requires GNU make" >&2; exit 1; } + { echo "configure: error: building outside of the main directory requires GNU make" 1>&2; exit 1; } ;; *) ;; esac ;; esac -echo "configure:1586: checking whether ln -s works" >&5 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 +echo $ac_n "checking whether ln -s works... $ac_c" 1>&6 +echo "configure:1750: checking whether ln -s works" 1>&5 if test "${ac_cv_prog_LN_S+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else rm -f conftestdata if ln -s X conftestdata 2>/dev/null @@ -1759,62 +1759,62 @@ else ac_cv_prog_LN_S=ln fi fi -LN_S=$ac_cv_prog_LN_S +LN_S="$ac_cv_prog_LN_S" if test "$ac_cv_prog_LN_S" = "ln -s"; then - echo "configure:1602: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + echo "$ac_t""yes" 1>&6 else - echo "configure:1605: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi if test $ac_cv_prog_gcc = yes; then - echo "configure:1609: checking whether ${CC-cc} needs -traditional" >&5 -echo $ECHO_N "checking whether ${CC-cc} needs -traditional... $ECHO_C" >&6 + echo $ac_n "checking whether ${CC-cc} needs -traditional... $ac_c" 1>&6 +echo "configure:1772: checking whether ${CC-cc} needs -traditional" 1>&5 if test "${ac_cv_prog_gcc_traditional+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat >conftest.$ac_ext < Autoconf TIOCGETP EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_prog_gcc_traditional=yes else + rm -rf conftest* ac_cv_prog_gcc_traditional=no fi rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext < Autoconf TCGETA EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_prog_gcc_traditional=yes fi rm -f conftest* fi fi -echo "configure:1642: result: $ac_cv_prog_gcc_traditional" >&5 -echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi -echo "configure:1648: checking for AIX" >&5 -echo $ECHO_N "checking for AIX... $ECHO_C" >&6 +echo $ac_n "checking for AIX... $ac_c" 1>&6 +echo "configure:1816: checking for AIX" 1>&5 cat >conftest.$ac_ext <conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then - echo "configure:1659: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + rm -rf conftest* + echo "$ac_t""yes" 1>&6 cat >>confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF else - echo "configure:1665: result: no" >&5 -echo "${ECHO_T}no" >&6 + rm -rf conftest* + echo "$ac_t""no" 1>&6 fi rm -f conftest* -echo "configure:1669: checking for minix/config.h" >&5 -echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 +echo $ac_n "checking for minix/config.h... $ac_c" 1>&6 +echo "configure:1840: checking for minix/config.h" 1>&5 if test "${ac_cv_header_minix_config_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1680: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* ac_cv_header_minix_config_h=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_minix_config_h=no fi rm -f conftest* fi -echo "configure:1692: result: $ac_cv_header_minix_config_h" >&5 -echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 +echo "$ac_t""$ac_cv_header_minix_config_h" 1>&6 if test $ac_cv_header_minix_config_h = yes; then MINIX=yes else @@ -1868,31 +1869,28 @@ else fi if test "$MINIX" = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define _POSIX_1_SOURCE 2 EOF -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define _MINIX 1 EOF fi -echo "configure:1710: checking for POSIXized ISC" >&5 -echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 +echo $ac_n "checking for POSIXized ISC... $ac_c" 1>&6 +echo "configure:1888: checking for POSIXized ISC" 1>&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then - echo "configure:1715: result: yes" >&5 -echo "${ECHO_T}yes" >&6 + echo "$ac_t""yes" 1>&6 ISC=yes # If later tests want to check for ISC. - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF @@ -1902,116 +1900,106 @@ EOF CC="$CC -Xp" fi else - echo "configure:1727: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 ISC= fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -echo "configure:1733: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1911: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - for ac_path in `ac_save_ifs=$IFS; IFS=':' -ac_dummy="$PATH" -for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - echo "$ac_dir/$ac_word" - fi -done -IFS=$ac_save_ifs -`; do - ac_cv_prog_RANLIB="ranlib" - break + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_RANLIB="ranlib" + break + fi done + IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi -RANLIB=$ac_cv_prog_RANLIB +RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then - echo "configure:1759: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6 + echo "$ac_t""$RANLIB" 1>&6 else - echo "configure:1762: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi # Extract the first word of "sh", so it can be a program name with args. set dummy sh; ac_word=$2 -echo "configure:1767: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1941: checking for $ac_word" 1>&5 if test "${ac_cv_path_PATH_SH+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$PATH_SH" in - [\\/]* | ?:[\\/]*) + /* | ?:/*) ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path. ;; *) - ac_save_ifs=$IFS; IFS=':' + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_word"; then - ac_cv_path_PATH_SH=$ac_dir/$ac_word + ac_cv_path_PATH_SH="$ac_dir/$ac_word" break fi done - IFS=$ac_save_ifs + IFS="$ac_save_ifs" ;; esac fi -PATH_SH=$ac_cv_path_PATH_SH +PATH_SH="$ac_cv_path_PATH_SH" if test -n "$PATH_SH"; then - echo "configure:1792: result: $PATH_SH" >&5 -echo "${ECHO_T}$PATH_SH" >&6 + echo "$ac_t""$PATH_SH" 1>&6 else - echo "configure:1795: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 -echo "configure:1800: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +echo $ac_n "checking for $ac_word... $ac_c" 1>&6 +echo "configure:1973: checking for $ac_word" 1>&5 if test "${ac_cv_path_PATH_PERL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$PATH_PERL" in - [\\/]* | ?:[\\/]*) + /* | ?:/*) ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path. ;; *) - ac_save_ifs=$IFS; IFS=':' + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_word"; then - ac_cv_path_PATH_PERL=$ac_dir/$ac_word + ac_cv_path_PATH_PERL="$ac_dir/$ac_word" break fi done - IFS=$ac_save_ifs + IFS="$ac_save_ifs" ;; esac fi -PATH_PERL=$ac_cv_path_PATH_PERL +PATH_PERL="$ac_cv_path_PATH_PERL" if test -n "$PATH_PERL"; then - echo "configure:1825: result: $PATH_PERL" >&5 -echo "${ECHO_T}$PATH_PERL" >&6 + echo "$ac_t""$PATH_PERL" 1>&6 else - echo "configure:1828: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 fi cat >conftest.$ac_ext <&5 | egrep "Circus" >/dev/null 2>&1; then + rm -rf conftest* cat >>confdefs.h <<\EOF #define ULONG_CONST(a) a ## UL EOF else + rm -rf conftest* cat >conftest.$ac_ext <&5 | egrep "Reiser" >/dev/null 2>&1; then + rm -rf conftest* cat >>confdefs.h <<\EOF #define ULONG_CONST(a) a/**/L EOF else - { echo "configure: error: How do we create an unsigned long constant?" >&2; exit 1; } + rm -rf conftest* + { echo "configure: error: How do we create an unsigned long constant?" 1>&2; exit 1; } fi rm -f conftest* @@ -2062,13 +2054,13 @@ esac # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "configure:1876: checking for a BSD compatible install" >&5 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 +echo $ac_n "checking for a BSD compatible install... $ac_c" 1>&6 +echo "configure:2059: checking for a BSD compatible install" 1>&5 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_IFS=$IFS; IFS=':' + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in @@ -2096,21 +2088,20 @@ else ;; esac done - IFS=$ac_save_IFS + IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install + INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. - INSTALL=$ac_install_sh + INSTALL="$ac_install_sh" fi fi -echo "configure:1922: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6 +echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -2122,38 +2113,39 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' case "$target" in *-pc-cygwin*) - -echo "configure:1931: checking for main in -ladvapi32" >&5 -echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6 + echo $ac_n "checking for main in -ladvapi32... $ac_c" 1>&6 +echo "configure:2118: checking for main in -ladvapi32" 1>&5 if test "${ac_cv_lib_advapi32_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-ladvapi32 $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_advapi32_main=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_advapi32_main=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:1959: result: $ac_cv_lib_advapi32_main" >&5 -echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6 +echo "$ac_t""$ac_cv_lib_advapi32_main" 1>&6 if test $ac_cv_lib_advapi32_main = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6 +echo $ac_n "checking for nlist in -lelf... $ac_c" 1>&6 +echo "configure:2162: checking for nlist in -lelf" 1>&5 if test "${ac_cv_lib_elf_nlist+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lelf $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_elf_nlist=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_elf_nlist=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2004: result: $ac_cv_lib_elf_nlist" >&5 -echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6 +echo "$ac_t""$ac_cv_lib_elf_nlist" 1>&6 if test $ac_cv_lib_elf_nlist = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6 +echo $ac_n "checking for main in -lkvm... $ac_c" 1>&6 +echo "configure:2208: checking for main in -lkvm" 1>&5 if test "${ac_cv_lib_kvm_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lkvm $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_kvm_main=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_kvm_main=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2040: result: $ac_cv_lib_kvm_main" >&5 -echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6 +echo "$ac_t""$ac_cv_lib_kvm_main" 1>&6 if test $ac_cv_lib_kvm_main = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for nlist in -lld... $ECHO_C" >&6 + echo $ac_n "checking for nlist in -lld... $ac_c" 1>&6 +echo "configure:2249: checking for nlist in -lld" 1>&5 if test "${ac_cv_lib_ld_nlist+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lld $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_ld_nlist=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_ld_nlist=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2084: result: $ac_cv_lib_ld_nlist" >&5 -echo "${ECHO_T}$ac_cv_lib_ld_nlist" >&6 +echo "$ac_t""$ac_cv_lib_ld_nlist" 1>&6 if test $ac_cv_lib_ld_nlist = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for nlist in -lmld... $ECHO_C" >&6 +echo $ac_n "checking for nlist in -lmld... $ac_c" 1>&6 +echo "configure:2295: checking for nlist in -lmld" 1>&5 if test "${ac_cv_lib_mld_nlist+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lmld $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_mld_nlist=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_mld_nlist=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2127: result: $ac_cv_lib_mld_nlist" >&5 -echo "${ECHO_T}$ac_cv_lib_mld_nlist" >&6 +echo "$ac_t""$ac_cv_lib_mld_nlist" 1>&6 if test $ac_cv_lib_mld_nlist = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for gethostent... $ECHO_C" >&6 +echo $ac_n "checking for gethostent... $ac_c" 1>&6 +echo "configure:2341: checking for gethostent" 1>&5 if test "${ac_cv_func_gethostent+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char gethostent(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -2384,59 +2370,59 @@ f = gethostent; return 0; } EOF -if { (eval echo configure:2169: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_func_gethostent=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_func_gethostent=no fi rm -f conftest* + fi -echo "configure:2178: result: $ac_cv_func_gethostent" >&5 -echo "${ECHO_T}$ac_cv_func_gethostent" >&6 +echo "$ac_t""$ac_cv_func_gethostent" 1>&6 if test $ac_cv_func_gethostent = yes; then : else - -echo "configure:2183: checking for gethostent in -lnsl" >&5 -echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6 + echo $ac_n "checking for gethostent in -lnsl... $ac_c" 1>&6 +echo "configure:2391: checking for gethostent in -lnsl" 1>&5 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lnsl -lsocket $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_nsl_gethostent=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_nsl_gethostent=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2218: result: $ac_cv_lib_nsl_gethostent" >&5 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6 +echo "$ac_t""$ac_cv_lib_nsl_gethostent" 1>&6 if test $ac_cv_lib_nsl_gethostent = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for openlog... $ECHO_C" >&6 +echo $ac_n "checking for openlog... $ac_c" 1>&6 +echo "configure:2439: checking for openlog" 1>&5 if test "${ac_cv_func_openlog+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char openlog(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -2485,59 +2468,59 @@ f = openlog; return 0; } EOF -if { (eval echo configure:2261: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_func_openlog=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_func_openlog=no fi rm -f conftest* + fi -echo "configure:2270: result: $ac_cv_func_openlog" >&5 -echo "${ECHO_T}$ac_cv_func_openlog" >&6 +echo "$ac_t""$ac_cv_func_openlog" 1>&6 if test $ac_cv_func_openlog = yes; then : else - -echo "configure:2275: checking for openlog in -lgen" >&5 -echo $ECHO_N "checking for openlog in -lgen... $ECHO_C" >&6 + echo $ac_n "checking for openlog in -lgen... $ac_c" 1>&6 +echo "configure:2489: checking for openlog in -lgen" 1>&5 if test "${ac_cv_lib_gen_openlog+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lgen $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_gen_openlog=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_gen_openlog=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2310: result: $ac_cv_lib_gen_openlog" >&5 -echo "${ECHO_T}$ac_cv_lib_gen_openlog" >&6 +echo "$ac_t""$ac_cv_lib_gen_openlog" 1>&6 if test $ac_cv_lib_gen_openlog = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6 +echo $ac_n "checking for sched_setscheduler in -lrt... $ac_c" 1>&6 +echo "configure:2537: checking for sched_setscheduler in -lrt" 1>&5 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lrt $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_rt_sched_setscheduler=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_rt_sched_setscheduler=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2354: result: $ac_cv_lib_rt_sched_setscheduler" >&5 -echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6 +echo "$ac_t""$ac_cv_lib_rt_sched_setscheduler" 1>&6 if test $ac_cv_lib_rt_sched_setscheduler = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6 + echo $ac_n "checking for sched_setscheduler in -lposix4... $ac_c" 1>&6 +echo "configure:2582: checking for sched_setscheduler in -lposix4" 1>&5 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lposix4 $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_posix4_sched_setscheduler=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_posix4_sched_setscheduler=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2397: result: $ac_cv_lib_posix4_sched_setscheduler" >&5 -echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6 +echo "$ac_t""$ac_cv_lib_posix4_sched_setscheduler" 1>&6 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 +echo $ac_n "checking for setsockopt... $ac_c" 1>&6 +echo "configure:2630: checking for setsockopt" 1>&5 if test "${ac_cv_func_setsockopt+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char setsockopt(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -2682,59 +2659,59 @@ f = setsockopt; return 0; } EOF -if { (eval echo configure:2440: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_func_setsockopt=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_func_setsockopt=no fi rm -f conftest* + fi -echo "configure:2449: result: $ac_cv_func_setsockopt" >&5 -echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 +echo "$ac_t""$ac_cv_func_setsockopt" 1>&6 if test $ac_cv_func_setsockopt = yes; then : else - -echo "configure:2454: checking for setsockopt in -lsocket" >&5 -echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 + echo $ac_n "checking for setsockopt in -lsocket... $ac_c" 1>&6 +echo "configure:2680: checking for setsockopt in -lsocket" 1>&5 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - ac_save_LIBS=$LIBS + ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* ac_cv_lib_socket_setsockopt=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_lib_socket_setsockopt=no fi rm -f conftest* -LIBS=$ac_save_LIBS + +LIBS="$ac_save_LIBS" fi -echo "configure:2489: result: $ac_cv_lib_socket_setsockopt" >&5 -echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 +echo "$ac_t""$ac_cv_lib_socket_setsockopt" 1>&6 if test $ac_cv_lib_socket_setsockopt = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +echo $ac_n "checking for ANSI C header files... $ac_c" 1>&6 +echo "configure:2728: checking for ANSI C header files" 1>&5 if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #include @@ -2761,14 +2738,16 @@ else EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2512: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* ac_cv_header_stdc=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -2776,7 +2755,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext < @@ -2785,6 +2764,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -2794,7 +2774,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext < @@ -2803,6 +2783,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -2815,7 +2796,7 @@ if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext < #if ((' ' & 0x0FF) == 0x020) @@ -2840,24 +2821,24 @@ main () exit (0); } EOF -if { (eval echo configure:2583: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:2825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_header_stdc=no fi -rm -f conftest* +rm -fr conftest* + fi fi fi -echo "configure:2595: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 +echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define STDC_HEADERS 1 EOF @@ -2866,180 +2847,185 @@ fi for ac_header in bstring.h errno.h fcntl.h ieeefp.h memory.h netdb.h poll.h do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "configure:2605: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:2852: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2616: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2628: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:2890: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2650: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2662: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:2928: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2684: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2696: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:2966: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2718: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2730: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3004: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2752: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2764: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3045: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2789: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2801: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3083: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2823: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2835: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3123: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2860: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2872: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3163: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2896: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2908: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3201: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2930: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2942: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3241: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2966: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:2978: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3281: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3002: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3014: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3319: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3036: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3048: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3357: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3070: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3082: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <conftest.$ac_ext < #ifdef PPS_API_VERS_1 @@ -3407,41 +3398,42 @@ yes EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then - -for ac_header in sys/timepps.h + rm -rf conftest* + for ac_header in sys/timepps.h do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "configure:3103: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3407: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3114: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3126: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3448: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3150: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3162: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 +echo $ac_n "checking whether time.h and sys/time.h may both be included... $ac_c" 1>&6 +echo "configure:3483: checking whether time.h and sys/time.h may both be included" 1>&5 if test "${ac_cv_header_time+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #include @@ -3505,20 +3498,20 @@ struct tm *tp; return 0; } EOF -if { (eval echo configure:3189: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_header_time=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_time=no fi rm -f conftest* fi -echo "configure:3198: result: $ac_cv_header_time" >&5 -echo "${ECHO_T}$ac_cv_header_time" >&6 +echo "$ac_t""$ac_cv_header_time" 1>&6 if test $ac_cv_header_time = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define TIME_WITH_SYS_TIME 1 EOF @@ -3526,125 +3519,126 @@ fi case "$target" in *-convex-*) - -for ac_header in /sys/sync/queue.h /sys/sync/sema.h + for ac_header in /sys/sync/queue.h /sys/sync/sema.h do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "configure:3210: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3527: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3221: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3233: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3567: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3257: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3269: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6 +echo $ac_n "checking for nlist.h... $ac_c" 1>&6 +echo "configure:3605: checking for nlist.h" 1>&5 if test "${ac_cv_header_nlist_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3290: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* ac_cv_header_nlist_h=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_nlist_h=no fi rm -f conftest* fi -echo "configure:3302: result: $ac_cv_header_nlist_h" >&5 -echo "${ECHO_T}$ac_cv_header_nlist_h" >&6 +echo "$ac_t""$ac_cv_header_nlist_h" 1>&6 if test $ac_cv_header_nlist_h = yes; then cat >>confdefs.h <<\EOF #define NLIST_STRUCT 1 EOF -echo "configure:3308: checking for n_un in struct nlist" >&5 -echo $ECHO_N "checking for n_un in struct nlist... $ECHO_C" >&6 +echo $ac_n "checking for n_un in struct nlist... $ac_c" 1>&6 +echo "configure:3637: checking for n_un in struct nlist" 1>&5 if test "${ac_cv_struct_nlist_n_un+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < int @@ -3655,17 +3649,18 @@ struct nlist n; n.n_un.n_name = 0; return 0; } EOF -if { (eval echo configure:3325: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_nlist_n_un=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_nlist_n_un=no fi rm -f conftest* fi -echo "configure:3334: result: $ac_cv_struct_nlist_n_un" >&5 -echo "${ECHO_T}$ac_cv_struct_nlist_n_un" >&6 +echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&6 if test $ac_cv_struct_nlist_n_un = yes; then cat >>confdefs.h <<\EOF #define NLIST_NAME_UNION 1 @@ -3675,13 +3670,13 @@ fi fi -echo "configure:3342: checking for basic volatile support" >&5 -echo $ECHO_N "checking for basic volatile support... $ECHO_C" >&6 +echo $ac_n "checking for basic volatile support... $ac_c" 1>&6 +echo "configure:3675: checking for basic volatile support" 1>&5 if test "${ac_cv_c_volatile+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_c_volatile=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_c_volatile=no fi rm -f conftest* fi -echo "configure:3367: result: $ac_cv_c_volatile" >&5 -echo "${ECHO_T}$ac_cv_c_volatile" >&6 +echo "$ac_t""$ac_cv_c_volatile" 1>&6 case "$ac_cv_c_volatile" in yes) ;; *) cat >>confdefs.h <<\EOF -#define volatile +#define volatile EOF ;; @@ -3720,11 +3716,12 @@ case "$target" in # Assume that solaris2 is Ansi C... ;; *) + -echo "configure:3382: checking for ${CC-cc} option to accept ANSI C" >&5 -echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 +echo $ac_n "checking for ${CC-cc} option to accept ANSI C... $ac_c" 1>&6 +echo "configure:3723: checking for ${CC-cc} option to accept ANSI C" 1>&5 if test "${am_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else am_cv_prog_cc_stdc=no ac_save_CC="$CC" @@ -3739,7 +3736,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO do CC="$ac_save_CC $ac_arg" cat >conftest.$ac_ext < #include @@ -3780,7 +3777,8 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; return 0; } EOF -if { (eval echo configure:3438: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* am_cv_prog_cc_stdc="$ac_arg"; break else echo "configure: failed program was:" >&5 @@ -3793,40 +3791,35 @@ CC="$ac_save_CC" fi if test -z "$am_cv_prog_cc_stdc"; then - echo "configure:3449: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 + echo "$ac_t""none needed" 1>&6 else - echo "configure:3452: result: $am_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6 + echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 fi case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; esac -echo "configure:3459: checking for function prototypes" >&5 -echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 +echo $ac_n "checking for function prototypes... $ac_c" 1>&6 +echo "configure:3805: checking for function prototypes" 1>&5 if test "$am_cv_prog_cc_stdc" != no; then - echo "configure:3462: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - -cat >>confdefs.h <<\EOF + echo "$ac_t""yes" 1>&6 + cat >>confdefs.h <<\EOF #define PROTOTYPES 1 EOF U= ANSI2KNR= else - echo "configure:3469: result: no" >&5 -echo "${ECHO_T}no" >&6 + echo "$ac_t""no" 1>&6 U=_ ANSI2KNR=./ansi2knr # Ensure some checks needed by ansi2knr itself. - echo "configure:3473: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 + echo $ac_n "checking for ANSI C header files... $ac_c" 1>&6 +echo "configure:3818: checking for ANSI C header files" 1>&5 if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #include @@ -3835,14 +3828,16 @@ else EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3487: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* ac_cv_header_stdc=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -3850,7 +3845,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext < @@ -3859,6 +3854,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -3868,7 +3864,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext < @@ -3877,6 +3873,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else + rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -3889,7 +3886,7 @@ if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext < #if ((' ' & 0x0FF) == 0x020) @@ -3914,63 +3911,64 @@ main () exit (0); } EOF -if { (eval echo configure:3558: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_header_stdc=no fi -rm -f conftest* +rm -fr conftest* + fi fi fi -echo "configure:3570: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 +echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define STDC_HEADERS 1 EOF fi -for ac_header in string.h + for ac_header in string.h do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "configure:3580: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +echo $ac_n "checking for $ac_header... $ac_c" 1>&6 +echo "configure:3942: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3591: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* eval "$ac_ac_Header=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_Header=no" fi rm -f conftest* fi -echo "configure:3603: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking if C compiler permits function prototypes... $ECHO_C" >&6 +echo $ac_n "checking if C compiler permits function prototypes... $ac_c" 1>&6 +echo "configure:3981: checking if C compiler permits function prototypes" 1>&5 if test "${ac_cv_have_prototypes+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_have_prototypes=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_have_prototypes=no fi rm -f conftest* fi -echo "configure:3641: result: $ac_cv_have_prototypes" >&5 -echo "${ECHO_T}$ac_cv_have_prototypes" >&6 +echo "$ac_t""$ac_cv_have_prototypes" 1>&6 if test "$ac_cv_have_prototypes" = yes; then cat >>confdefs.h <<\EOF #define HAVE_PROTOTYPES 1 @@ -4017,13 +4016,13 @@ EOF fi -echo "configure:3648: checking for ${CC-cc} option to accept ANSI C" >&5 -echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 +echo $ac_n "checking for ${CC-cc} option to accept ANSI C... $ac_c" 1>&6 +echo "configure:4021: checking for ${CC-cc} option to accept ANSI C" 1>&5 if test "${ac_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_prog_cc_stdc=no -ac_save_CC=$CC +ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi @@ -4035,7 +4034,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO do CC="$ac_save_CC $ac_arg" cat >conftest.$ac_ext < #include @@ -4073,35 +4072,34 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; return 0; } EOF -if { (eval echo configure:3704: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then - ac_cv_prog_cc_stdc=$ac_arg; break +if { (eval echo configure:4076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_prog_cc_stdc="$ac_arg"; break else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* done -CC=$ac_save_CC +CC="$ac_save_CC" fi case "x$ac_cv_prog_cc_stdc" in x|xno) - echo "configure:3716: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 ;; + echo "$ac_t""none needed" 1>&6 ;; *) - echo "configure:3719: result: $ac_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac -echo "configure:3723: checking for an ANSI C-conforming const" >&5 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 +echo $ac_n "checking for an ANSI C conforming const... $ac_c" 1>&6 +echo "configure:4098: checking for an ANSI C conforming const" 1>&5 if test "${ac_cv_c_const+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_c_const=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_c_const=no fi rm -f conftest* fi -echo "configure:3792: result: $ac_cv_c_const" >&5 -echo "${ECHO_T}$ac_cv_c_const" >&6 +echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\EOF -#define const + cat >>confdefs.h <<\EOF +#define const EOF fi case "$host" in $target) - echo "configure:3801: checking whether byte ordering is bigendian" >&5 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 + echo $ac_n "checking whether byte ordering is bigendian... $ac_c" 1>&6 +echo "configure:4182: checking whether byte ordering is bigendian" 1>&5 if test "${ac_cv_c_bigendian+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext < #include @@ -4203,10 +4201,11 @@ main () return 0; } EOF -if { (eval echo configure:3823: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext < #include @@ -4222,11 +4221,13 @@ main () return 0; } EOF -if { (eval echo configure:3840: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_c_bigendian=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_c_bigendian=no fi rm -f conftest* @@ -4237,10 +4238,10 @@ fi rm -f conftest* if test $ac_cv_c_bigendian = unknown; then if test "$cross_compiling" = yes; then - { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; } + { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; } else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_c_bigendian=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_c_bigendian=yes fi -rm -f conftest* +rm -fr conftest* + fi fi fi -echo "configure:3885: result: $ac_cv_c_bigendian" >&5 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6 +echo "$ac_t""$ac_cv_c_bigendian" 1>&6 if test $ac_cv_c_bigendian = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define WORDS_BIGENDIAN 1 EOF @@ -4289,18 +4290,18 @@ fi EOF ;; - *) { echo "configure: error: Cross-compiling needs explicit byte order" >&2; exit 1; } + *) { echo "configure: error: Cross-compiling needs explicit byte order" 1>&2; exit 1; } ;; esac ;; esac -echo "configure:3907: checking return type of signal handlers" >&5 -echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 +echo $ac_n "checking return type of signal handlers... $ac_c" 1>&6 +echo "configure:4300: checking return type of signal handlers" 1>&5 if test "${ac_cv_type_signal+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #include @@ -4321,29 +4322,29 @@ int i; return 0; } EOF -if { (eval echo configure:3933: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_type_signal=void else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_type_signal=int fi rm -f conftest* fi -echo "configure:3942: result: $ac_cv_type_signal" >&5 -echo "${ECHO_T}$ac_cv_type_signal" >&6 - +echo "$ac_t""$ac_cv_type_signal" 1>&6 cat >>confdefs.h <&5 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6 +echo $ac_n "checking for off_t... $ac_c" 1>&6 +echo "configure:4343: checking for off_t" 1>&5 if test "${ac_cv_type_off_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_type_off_t=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_type_off_t=no fi rm -f conftest* fi -echo "configure:3976: result: $ac_cv_type_off_t" >&5 -echo "${ECHO_T}$ac_cv_type_off_t" >&6 +echo "$ac_t""$ac_cv_type_off_t" 1>&6 if test $ac_cv_type_off_t = yes; then : else - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6 +echo $ac_n "checking for size_t... $ac_c" 1>&6 +echo "configure:4384: checking for size_t" 1>&5 if test "${ac_cv_type_size_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_type_size_t=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_type_size_t=no fi rm -f conftest* fi -echo "configure:4014: result: $ac_cv_type_size_t" >&5 -echo "${ECHO_T}$ac_cv_type_size_t" >&6 +echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = yes; then : else - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for time_t... $ECHO_C" >&6 +echo $ac_n "checking for time_t... $ac_c" 1>&6 +echo "configure:4425: checking for time_t" 1>&5 if test "${ac_cv_type_time_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_type_time_t=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_type_time_t=no fi rm -f conftest* fi -echo "configure:4052: result: $ac_cv_type_time_t" >&5 -echo "${ECHO_T}$ac_cv_type_time_t" >&6 +echo "$ac_t""$ac_cv_type_time_t" 1>&6 if test $ac_cv_type_time_t = yes; then : else - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 +echo $ac_n "checking whether struct tm is in sys/time.h or time.h... $ac_c" 1>&6 +echo "configure:4466: checking whether struct tm is in sys/time.h or time.h" 1>&5 if test "${ac_cv_struct_tm+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #include @@ -4479,29 +4480,29 @@ struct tm *tp; tp->tm_sec; return 0; } EOF -if { (eval echo configure:4079: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_tm=time.h else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_tm=sys/time.h fi rm -f conftest* fi -echo "configure:4088: result: $ac_cv_struct_tm" >&5 -echo "${ECHO_T}$ac_cv_struct_tm" >&6 +echo "$ac_t""$ac_cv_struct_tm" 1>&6 if test $ac_cv_struct_tm = sys/time.h; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define TM_IN_SYS_TIME 1 EOF fi -echo "configure:4095: checking for a fallback value for HZ" >&5 -echo $ECHO_N "checking for a fallback value for HZ... $ECHO_C" >&6 +echo $ac_n "checking for a fallback value for HZ... $ac_c" 1>&6 +echo "configure:4504: checking for a fallback value for HZ" 1>&5 if test "${ac_cv_var_default_hz+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_var_default_hz=100 case "$target" in @@ -4513,16 +4514,15 @@ case "$target" in ;; esac fi -echo "configure:4110: result: $ac_cv_var_default_hz" >&5 -echo "${ECHO_T}$ac_cv_var_default_hz" >&6 +echo "$ac_t""$ac_cv_var_default_hz" 1>&6 cat >>confdefs.h <&5 -echo $ECHO_N "checking if we need to override the system's value for HZ... $ECHO_C" >&6 +echo $ac_n "checking if we need to override the system's value for HZ... $ac_c" 1>&6 +echo "configure:4524: checking if we need to override the system's value for HZ" 1>&5 if test "${ac_cv_var_override_hz+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_var_override_hz=no case "$target" in @@ -4540,8 +4540,7 @@ case "$target" in ;; esac fi -echo "configure:4136: result: $ac_cv_var_override_hz" >&5 -echo "${ECHO_T}$ac_cv_var_override_hz" >&6 +echo "$ac_t""$ac_cv_var_override_hz" 1>&6 case "$ac_cv_var_override_hz" in yes) cat >>confdefs.h <<\EOF @@ -4551,14 +4550,14 @@ EOF ;; esac -echo "configure:4145: checking struct sigaction for sa_sigaction" >&5 -echo $ECHO_N "checking struct sigaction for sa_sigaction... $ECHO_C" >&6 +echo $ac_n "checking struct sigaction for sa_sigaction... $ac_c" 1>&6 +echo "configure:4555: checking struct sigaction for sa_sigaction" 1>&5 if test "${ac_cv_struct_sigaction_has_sa_sigaction+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else - + cat >conftest.$ac_ext < int @@ -4569,19 +4568,21 @@ struct sigaction act; act.sa_sigaction = 0; return 0; } EOF -if { (eval echo configure:4162: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_sigaction_has_sa_sigaction=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_sigaction_has_sa_sigaction=no - + fi rm -f conftest* + fi -echo "configure:4171: result: $ac_cv_struct_sigaction_has_sa_sigaction" >&5 -echo "${ECHO_T}$ac_cv_struct_sigaction_has_sa_sigaction" >&6 +echo "$ac_t""$ac_cv_struct_sigaction_has_sa_sigaction" 1>&6 if test $ac_cv_struct_sigaction_has_sa_sigaction = yes; then cat >>confdefs.h <<\EOF #define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1 @@ -4589,13 +4590,13 @@ EOF fi -echo "configure:4178: checking for struct ppsclockev" >&5 -echo $ECHO_N "checking for struct ppsclockev... $ECHO_C" >&6 +echo $ac_n "checking for struct ppsclockev... $ac_c" 1>&6 +echo "configure:4595: checking for struct ppsclockev" 1>&5 if test "${ac_cv_struct_ppsclockev+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -4618,18 +4619,19 @@ return pce->serial; return 0; } EOF -if { (eval echo configure:4205: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_ppsclockev=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_ppsclockev=no fi rm -f conftest* fi -echo "configure:4214: result: $ac_cv_struct_ppsclockev" >&5 -echo "${ECHO_T}$ac_cv_struct_ppsclockev" >&6 +echo "$ac_t""$ac_cv_struct_ppsclockev" 1>&6 if test $ac_cv_struct_ppsclockev = yes; then cat >>confdefs.h <<\EOF #define HAVE_STRUCT_PPSCLOCKEV 1 @@ -4637,13 +4639,13 @@ EOF fi -echo "configure:4221: checking struct sockaddr for sa_len" >&5 -echo $ECHO_N "checking struct sockaddr for sa_len... $ECHO_C" >&6 +echo $ac_n "checking struct sockaddr for sa_len... $ac_c" 1>&6 +echo "configure:4644: checking struct sockaddr for sa_len" 1>&5 if test "${ac_cv_struct_sockaddr_has_sa_len+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -4658,18 +4660,19 @@ return ps->sa_len; return 0; } EOF -if { (eval echo configure:4240: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_sockaddr_has_sa_len=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_sockaddr_has_sa_len=no fi rm -f conftest* fi -echo "configure:4249: result: $ac_cv_struct_sockaddr_has_sa_len" >&5 -echo "${ECHO_T}$ac_cv_struct_sockaddr_has_sa_len" >&6 +echo "$ac_t""$ac_cv_struct_sockaddr_has_sa_len" 1>&6 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then cat >>confdefs.h <<\EOF #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1 @@ -4677,13 +4680,13 @@ EOF fi -echo "configure:4256: checking struct clockinfo for hz" >&5 -echo $ECHO_N "checking struct clockinfo for hz... $ECHO_C" >&6 +echo $ac_n "checking struct clockinfo for hz... $ac_c" 1>&6 +echo "configure:4685: checking struct clockinfo for hz" 1>&5 if test "${ac_cv_struct_clockinfo_has_hz+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -4697,18 +4700,19 @@ return pc->hz; return 0; } EOF -if { (eval echo configure:4274: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_clockinfo_has_hz=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_clockinfo_has_hz=no fi rm -f conftest* fi -echo "configure:4283: result: $ac_cv_struct_clockinfo_has_hz" >&5 -echo "${ECHO_T}$ac_cv_struct_clockinfo_has_hz" >&6 +echo "$ac_t""$ac_cv_struct_clockinfo_has_hz" 1>&6 if test $ac_cv_struct_clockinfo_has_hz = yes; then cat >>confdefs.h <<\EOF #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1 @@ -4716,13 +4720,13 @@ EOF fi -echo "configure:4290: checking struct clockinfo for tickadj" >&5 -echo $ECHO_N "checking struct clockinfo for tickadj... $ECHO_C" >&6 +echo $ac_n "checking struct clockinfo for tickadj... $ac_c" 1>&6 +echo "configure:4725: checking struct clockinfo for tickadj" 1>&5 if test "${ac_cv_struct_clockinfo_has_tickadj+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -4736,18 +4740,19 @@ return pc->tickadj; return 0; } EOF -if { (eval echo configure:4308: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_clockinfo_has_tickadj=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_clockinfo_has_tickadj=no fi rm -f conftest* fi -echo "configure:4317: result: $ac_cv_struct_clockinfo_has_tickadj" >&5 -echo "${ECHO_T}$ac_cv_struct_clockinfo_has_tickadj" >&6 +echo "$ac_t""$ac_cv_struct_clockinfo_has_tickadj" 1>&6 if test $ac_cv_struct_clockinfo_has_tickadj = yes; then cat >>confdefs.h <<\EOF #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1 @@ -4755,13 +4760,13 @@ EOF fi -echo "configure:4324: checking for struct ntptimeval" >&5 -echo $ECHO_N "checking for struct ntptimeval... $ECHO_C" >&6 +echo $ac_n "checking for struct ntptimeval... $ac_c" 1>&6 +echo "configure:4765: checking for struct ntptimeval" 1>&5 if test "${ac_cv_struct_ntptimeval+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -4774,32 +4779,32 @@ struct ntptimeval n; return 0; } EOF -if { (eval echo configure:4342: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_ntptimeval=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_ntptimeval=no fi rm -f conftest* fi -echo "configure:4351: result: $ac_cv_struct_ntptimeval" >&5 -echo "${ECHO_T}$ac_cv_struct_ntptimeval" >&6 +echo "$ac_t""$ac_cv_struct_ntptimeval" 1>&6 if test $ac_cv_struct_ntptimeval = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define HAVE_STRUCT_NTPTIMEVAL 1 EOF fi -echo "configure:4358: checking struct ntptimeval for time.tv_nsec" >&5 -echo $ECHO_N "checking struct ntptimeval for time.tv_nsec... $ECHO_C" >&6 +echo $ac_n "checking struct ntptimeval for time.tv_nsec... $ac_c" 1>&6 +echo "configure:4803: checking struct ntptimeval for time.tv_nsec" 1>&5 if test "${ac_cv_struct_ntptimeval_tv_nsec+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <time.tv_nsec; return 0; } EOF -if { (eval echo configure:4389: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_ntptimeval_tv_nsec=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_ntptimeval_tv_nsec=no fi rm -f conftest* fi -echo "configure:4398: result: $ac_cv_struct_ntptimeval_tv_nsec" >&5 -echo "${ECHO_T}$ac_cv_struct_ntptimeval_tv_nsec" >&6 +echo "$ac_t""$ac_cv_struct_ntptimeval_tv_nsec" 1>&6 if test "$ac_cv_struct_ntptimeval_tv_nsec" = "yes"; then cat >>confdefs.h <<\EOF #define HAVE_TV_NSEC_IN_NTPTIMEVAL 1 @@ -4845,13 +4851,13 @@ EOF fi -echo "configure:4405: checking for struct timespec in struct ntptimeval" >&5 -echo $ECHO_N "checking for struct timespec in struct ntptimeval... $ECHO_C" >&6 +echo $ac_n "checking for struct timespec in struct ntptimeval... $ac_c" 1>&6 +echo "configure:4856: checking for struct timespec in struct ntptimeval" 1>&5 if test "${ac_cv_struct_ntptimeval_timespec+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #include @@ -4863,41 +4869,49 @@ struct ntptimeval n; n.time.tv_nsec = 0; return 0; } EOF -if { (eval echo configure:4423: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_struct_ntptimeval_timespec=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_struct_ntptimeval_timespec=no fi rm -f conftest* fi -echo "configure:4432: result: $ac_cv_struct_ntptimeval_timespec" >&5 -echo "${ECHO_T}$ac_cv_struct_ntptimeval_timespec" >&6 +echo "$ac_t""$ac_cv_struct_ntptimeval_timespec" 1>&6 if test $ac_cv_struct_ntptimeval_timespec = yes; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define TIMESPEC_IN_NTPTIMEVAL 1 EOF fi -echo "configure:4439: checking for inline" >&5 -echo $ECHO_N "checking for inline... $ECHO_C" >&6 +echo $ac_n "checking for inline... $ac_c" 1>&6 +echo "configure:4893: checking for inline" 1>&5 if test "${ac_cv_c_inline+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_c_inline=$ac_kw; break else echo "configure: failed program was:" >&5 @@ -4907,13 +4921,11 @@ rm -f conftest* done fi -echo "configure:4462: result: $ac_cv_c_inline" >&5 -echo "${ECHO_T}$ac_cv_c_inline" >&6 +echo "$ac_t""$ac_cv_c_inline" 1>&6 case "$ac_cv_c_inline" in inline | yes) ;; - no) -cat >>confdefs.h <<\EOF -#define inline + no) cat >>confdefs.h <<\EOF +#define inline EOF ;; *) cat >>confdefs.h <&5 -echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6 +echo $ac_n "checking whether char is unsigned... $ac_c" 1>&6 +echo "configure:4939: checking whether char is unsigned" 1>&5 if test "${ac_cv_c_char_unsigned+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$GCC" = yes; then # GCC predefines this symbol on systems where it applies. cat >conftest.$ac_ext <conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_c_char_unsigned=yes else + rm -rf conftest* ac_cv_c_char_unsigned=no fi rm -f conftest* else if test "$cross_compiling" = yes; then - { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; } + { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; } else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_c_char_unsigned=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_c_char_unsigned=no fi -rm -f conftest* +rm -fr conftest* + fi fi fi -echo "configure:4527: result: $ac_cv_c_char_unsigned" >&5 -echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6 +echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then cat >>confdefs.h <<\EOF #define __CHAR_UNSIGNED__ 1 @@ -4986,16 +5001,16 @@ EOF fi case "$host" in $target) - echo "configure:4536: checking size of signed char" >&5 -echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + echo $ac_n "checking size of signed char... $ac_c" 1>&6 +echo "configure:5006: checking size of signed char" 1>&5 if test "${ac_cv_sizeof_signed_char+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then - { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; } + { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; } else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_sizeof_signed_char=`cat conftestval` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_sizeof_signed_char=0 fi -rm -f conftest* -fi +rm -fr conftest* fi -echo "configure:4569: result: $ac_cv_sizeof_signed_char" >&5 -echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 +fi +echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6 cat >>confdefs.h <&5 -echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + echo $ac_n "checking size of signed char... $ac_c" 1>&6 +echo "configure:5050: checking size of signed char" 1>&5 if test "${ac_cv_sizeof_signed_char+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_sizeof_signed_char=1 else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_sizeof_signed_char=`cat conftestval` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_sizeof_signed_char=0 fi -rm -f conftest* -fi +rm -fr conftest* fi -echo "configure:4610: result: $ac_cv_sizeof_signed_char" >&5 -echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 +fi +echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6 cat >>confdefs.h <&2; exit 1; } + *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" 1>&2; exit 1; } ;; esac ;; @@ -5080,16 +5095,16 @@ esac case "$host" in $target) - echo "configure:4623: checking size of int" >&5 -echo $ECHO_N "checking size of int... $ECHO_C" >&6 + echo $ac_n "checking size of int... $ac_c" 1>&6 +echo "configure:5100: checking size of int" 1>&5 if test "${ac_cv_sizeof_int+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then - { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; } + { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; } else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_sizeof_int=`cat conftestval` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_sizeof_int=0 fi -rm -f conftest* -fi +rm -fr conftest* fi -echo "configure:4656: result: $ac_cv_sizeof_int" >&5 -echo "${ECHO_T}$ac_cv_sizeof_int" >&6 +fi +echo "$ac_t""$ac_cv_sizeof_int" 1>&6 cat >>confdefs.h <&5 -echo $ECHO_N "checking size of int... $ECHO_C" >&6 + echo $ac_n "checking size of int... $ac_c" 1>&6 +echo "configure:5144: checking size of int" 1>&5 if test "${ac_cv_sizeof_int+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_sizeof_int=4 else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_sizeof_int=`cat conftestval` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_sizeof_int=0 fi -rm -f conftest* -fi +rm -fr conftest* fi -echo "configure:4697: result: $ac_cv_sizeof_int" >&5 -echo "${ECHO_T}$ac_cv_sizeof_int" >&6 +fi +echo "$ac_t""$ac_cv_sizeof_int" 1>&6 cat >>confdefs.h <&2; exit 1; } + *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_INT" 1>&2; exit 1; } ;; esac ;; @@ -5174,16 +5189,16 @@ esac case "$host" in $target) - echo "configure:4710: checking size of long" >&5 -echo $ECHO_N "checking size of long... $ECHO_C" >&6 + echo $ac_n "checking size of long... $ac_c" 1>&6 +echo "configure:5194: checking size of long" 1>&5 if test "${ac_cv_sizeof_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then - { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; } + { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; } else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_sizeof_long=`cat conftestval` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_sizeof_long=0 fi -rm -f conftest* -fi +rm -fr conftest* fi -echo "configure:4743: result: $ac_cv_sizeof_long" >&5 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6 +fi +echo "$ac_t""$ac_cv_sizeof_long" 1>&6 cat >>confdefs.h <&5 -echo $ECHO_N "checking size of long... $ECHO_C" >&6 + echo $ac_n "checking size of long... $ac_c" 1>&6 +echo "configure:5238: checking size of long" 1>&5 if test "${ac_cv_sizeof_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_sizeof_long=4 else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && - test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then +if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then ac_cv_sizeof_long=`cat conftestval` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -fr conftest* ac_cv_sizeof_long=0 fi -rm -f conftest* -fi +rm -fr conftest* fi -echo "configure:4784: result: $ac_cv_sizeof_long" >&5 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6 +fi +echo "$ac_t""$ac_cv_sizeof_long" 1>&6 cat >>confdefs.h <&2; exit 1; } + *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_LONG" 1>&2; exit 1; } ;; esac ;; esac -echo "configure:4795: checking for s_char" >&5 -echo $ECHO_N "checking for s_char... $ECHO_C" >&6 +echo $ac_n "checking for s_char... $ac_c" 1>&6 +echo "configure:5286: checking for s_char" 1>&5 if test "${ac_cv_type_s_char+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_type_s_char=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_type_s_char=no fi rm -f conftest* fi -echo "configure:4824: result: $ac_cv_type_s_char" >&5 -echo "${ECHO_T}$ac_cv_type_s_char" >&6 +echo "$ac_t""$ac_cv_type_s_char" 1>&6 if test $ac_cv_type_s_char = yes; then - -cat >>confdefs.h <>confdefs.h <&2; exit 1; } + { echo "configure: error: No way to specify a signed character!" 1>&2; exit 1; } ;; yes1no) # We have unsigned chars, can say 'signed char', no s_char typedef. @@ -5335,35 +5350,35 @@ EOF ;; esac -echo "configure:4858: checking for uid_t in sys/types.h" >&5 -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 +echo $ac_n "checking for uid_t in sys/types.h... $ac_c" 1>&6 +echo "configure:5355: checking for uid_t in sys/types.h" 1>&5 if test "${ac_cv_type_uid_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "uid_t" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_type_uid_t=yes else + rm -rf conftest* ac_cv_type_uid_t=no fi rm -f conftest* fi -echo "configure:4876: result: $ac_cv_type_uid_t" >&5 -echo "${ECHO_T}$ac_cv_type_uid_t" >&6 +echo "$ac_t""$ac_cv_type_uid_t" 1>&6 if test $ac_cv_type_uid_t = no; then - -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define uid_t int EOF -cat >>confdefs.h <<\EOF + cat >>confdefs.h <<\EOF #define gid_t int EOF @@ -5371,32 +5386,28 @@ fi case "$target" in *-*-linux*) - -for ac_func in __adjtimex __ntp_gettime + for ac_func in __adjtimex __ntp_gettime do ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` -echo "configure:4891: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5394: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5412,22 +5423,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:4925: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:4934: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5462: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5482,53 +5491,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:4990: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:4999: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5522: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5544,50 +5551,49 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5046: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5055: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5580: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5603,54 +5609,52 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5100: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5109: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5641: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5666,53 +5670,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5158: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5167: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5701: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5728,22 +5730,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5214: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5223: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5763: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5792,53 +5792,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5273: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5282: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5823: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5854,22 +5852,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5329: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5338: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h < # Not easy to test for - cheat. - -for ac_func in memlk + for ac_func in memlk do ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` -echo "configure:5364: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5896: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5929,17 +5925,19 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5398: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5407: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:5954: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -5988,52 +5983,50 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5453: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5462: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6013: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6049,53 +6042,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5509: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5518: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6073: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6111,22 +6102,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5565: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5574: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6135: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6176,53 +6164,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5624: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5633: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6195: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6238,53 +6224,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5680: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5689: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6255: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6300,22 +6284,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5737: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5746: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6324: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6371,53 +6353,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5803: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5812: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6384: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6433,50 +6413,49 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5859: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5868: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6442: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6492,50 +6471,49 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5913: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5922: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6500: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6551,50 +6529,49 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:5967: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:5976: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6558: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6610,22 +6587,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:6021: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:6030: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6628: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6683,22 +6657,24 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:6088: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:6097: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6692: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6749,53 +6721,51 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:6149: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:6158: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +echo $ac_n "checking for $ac_func... $ac_c" 1>&6 +echo "configure:6752: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ + builtin and then its argument prototype would still apply. */ char $ac_func(); char (*f)(); int -main () +main() { /* The GNU C library defines this for functions which it implements @@ -6811,32 +6781,34 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:6205: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* eval "$ac_ac_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* eval "$ac_ac_var=no" fi rm -f conftest* + fi -echo "configure:6214: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking number of arguments to gettimeofday()... $ECHO_C" >&6 +echo $ac_n "checking number of arguments to gettimeofday()... $ac_c" 1>&6 +echo "configure:6807: checking number of arguments to gettimeofday()" 1>&5 if test "${ac_cv_func_Xettimeofday_nargs+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < int @@ -6850,18 +6822,19 @@ settimeofday((struct timeval*)0,(struct timezone*)0); return 0; } EOF -if { (eval echo configure:6240: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_func_Xettimeofday_nargs=2 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_func_Xettimeofday_nargs=1 fi rm -f conftest* fi -echo "configure:6249: result: $ac_cv_func_Xettimeofday_nargs" >&5 -echo "${ECHO_T}$ac_cv_func_Xettimeofday_nargs" >&6 +echo "$ac_t""$ac_cv_func_Xettimeofday_nargs" 1>&6 if test $ac_cv_func_Xettimeofday_nargs = 1; then cat >>confdefs.h <<\EOF #define SYSV_TIMEOFDAY 1 @@ -6869,13 +6842,13 @@ EOF fi -echo "configure:6256: checking number of arguments taken by setpgrp()" >&5 -echo $ECHO_N "checking number of arguments taken by setpgrp()... $ECHO_C" >&6 +echo $ac_n "checking number of arguments taken by setpgrp()... $ac_c" 1>&6 +echo "configure:6847: checking number of arguments taken by setpgrp()" 1>&5 if test "${ac_cv_func_setpgrp_nargs+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_func_setpgrp_nargs=2 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_func_setpgrp_nargs=0 fi rm -f conftest* fi -echo "configure:6287: result: $ac_cv_func_setpgrp_nargs" >&5 -echo "${ECHO_T}$ac_cv_func_setpgrp_nargs" >&6 +echo "$ac_t""$ac_cv_func_setpgrp_nargs" 1>&6 if test $ac_cv_func_setpgrp_nargs = 0; then cat >>confdefs.h <<\EOF #define HAVE_SETPGRP_0 1 @@ -6915,13 +6889,13 @@ fi save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -I$srcdir/include" -echo "configure:6296: checking argument pointer type of qsort()'s compare function and base" >&5 -echo $ECHO_N "checking argument pointer type of qsort()'s compare function and base... $ECHO_C" >&6 +echo $ac_n "checking argument pointer type of qsort()'s compare function and base... $ac_c" 1>&6 +echo "configure:6894: checking argument pointer type of qsort()'s compare function and base" 1>&5 if test "${ac_cv_func_qsort_argtype+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_func_qsort_argtype=void else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_func_qsort_argtype=char fi rm -f conftest* fi -echo "configure:6332: result: $ac_cv_func_qsort_argtype" >&5 -echo "${ECHO_T}$ac_cv_func_qsort_argtype" >&6 +echo "$ac_t""$ac_cv_func_qsort_argtype" 1>&6 case "$ac_cv_func_qsort_argtype" in void) cat >>confdefs.h <<\EOF @@ -6971,13 +6946,13 @@ esac CFLAGS=$save_CFLAGS -echo "configure:6342: checking if we need to declare 'errno'" >&5 -echo $ECHO_N "checking if we need to declare 'errno'... $ECHO_C" >&6 +echo $ac_n "checking if we need to declare 'errno'... $ac_c" 1>&6 +echo "configure:6951: checking if we need to declare 'errno'" 1>&5 if test "${ac_cv_decl_errno+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -6990,17 +6965,18 @@ errno = 0; return 0; } EOF -if { (eval echo configure:6361: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_decl_errno=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_decl_errno=yes fi rm -f conftest* fi -echo "configure:6370: result: $ac_cv_decl_errno" >&5 -echo "${ECHO_T}$ac_cv_decl_errno" >&6 +echo "$ac_t""$ac_cv_decl_errno" 1>&6 case "$ac_cv_decl_errno" in yes) cat >>confdefs.h <<\EOF #define DECL_ERRNO 1 @@ -7008,13 +6984,13 @@ EOF ;; esac -echo "configure:6378: checking if we may declare 'h_errno'" >&5 -echo $ECHO_N "checking if we may declare 'h_errno'... $ECHO_C" >&6 +echo $ac_n "checking if we may declare 'h_errno'... $ac_c" 1>&6 +echo "configure:6989: checking if we may declare 'h_errno'" 1>&5 if test "${ac_cv_decl_h_errno+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef HAVE_NETINET_IN_H @@ -7037,17 +7013,18 @@ extern int h_errno; return 0; } EOF -if { (eval echo configure:6407: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_decl_h_errno=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_decl_h_errno=no fi rm -f conftest* fi -echo "configure:6416: result: $ac_cv_decl_h_errno" >&5 -echo "${ECHO_T}$ac_cv_decl_h_errno" >&6 +echo "$ac_t""$ac_cv_decl_h_errno" 1>&6 case "$ac_cv_decl_h_errno" in yes) cat >>confdefs.h <<\EOF #define DECL_H_ERRNO 1 @@ -7055,13 +7032,13 @@ EOF ;; esac -echo "configure:6424: checking if declaring 'char *sys_errlist[]' is ok" >&5 -echo $ECHO_N "checking if declaring 'char *sys_errlist[]' is ok... $ECHO_C" >&6 +echo $ac_n "checking if declaring 'char *sys_errlist[]' is ok... $ac_c" 1>&6 +echo "configure:7037: checking [if declaring 'char *sys_errlist[]' is ok]" 1>&5 if test "${ac_cv_decl_sys_errlist+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef HAVE_ERRNO_H @@ -7076,17 +7053,18 @@ extern char *sys_errlist[]; return 0; } EOF -if { (eval echo configure:6444: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_decl_sys_errlist=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_decl_sys_errlist=no fi rm -f conftest* fi -echo "configure:6453: result: $ac_cv_decl_sys_errlist" >&5 -echo "${ECHO_T}$ac_cv_decl_sys_errlist" >&6 +echo "$ac_t""$ac_cv_decl_sys_errlist" 1>&6 case "$ac_cv_decl_sys_errlist" in yes) cat >>confdefs.h <<\EOF #define CHAR_SYS_ERRLIST 1 @@ -7094,13 +7072,13 @@ EOF ;; esac -echo "configure:6461: checking if declaring 'syscall()' is ok" >&5 -echo $ECHO_N "checking if declaring 'syscall()' is ok... $ECHO_C" >&6 +echo $ac_n "checking if declaring 'syscall()' is ok... $ac_c" 1>&6 +echo "configure:7077: checking if declaring 'syscall()' is ok" 1>&5 if test "${ac_cv_decl_syscall+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_decl_syscall=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_decl_syscall=no fi rm -f conftest* fi -echo "configure:6497: result: $ac_cv_decl_syscall" >&5 -echo "${ECHO_T}$ac_cv_decl_syscall" >&6 +echo "$ac_t""$ac_cv_decl_syscall" 1>&6 case "$ac_cv_decl_syscall" in yes) cat >>confdefs.h <<\EOF #define DECL_SYSCALL 1 @@ -7407,20 +7386,19 @@ EOF ;; esac -echo "configure:6709: checking if we should use a streams device for ifconfig" >&5 -echo $ECHO_N "checking if we should use a streams device for ifconfig... $ECHO_C" >&6 +echo $ac_n "checking if we should use a streams device for ifconfig... $ac_c" 1>&6 +echo "configure:7391: checking if we should use a streams device for ifconfig" 1>&5 if test "${ac_cv_var_use_streams_device_for_ifconfig+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_var_use_streams_device_for_ifconfig=no fi -echo "configure:6716: result: $ac_cv_var_use_streams_device_for_ifconfig" >&5 -echo "${ECHO_T}$ac_cv_var_use_streams_device_for_ifconfig" >&6 +echo "$ac_t""$ac_cv_var_use_streams_device_for_ifconfig" 1>&6 -echo "configure:6718: checking if we need extra room for SO_RCVBUF" >&5 -echo $ECHO_N "checking if we need extra room for SO_RCVBUF... $ECHO_C" >&6 +echo $ac_n "checking if we need extra room for SO_RCVBUF... $ac_c" 1>&6 +echo "configure:7400: checking if we need extra room for SO_RCVBUF" 1>&5 if test "${ac_cv_var_rcvbuf_slop+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -7430,8 +7408,7 @@ case "$target" in esac ac_cv_var_rcvbuf_slop=$ans fi -echo "configure:6731: result: $ac_cv_var_rcvbuf_slop" >&5 -echo "${ECHO_T}$ac_cv_var_rcvbuf_slop" >&6 +echo "$ac_t""$ac_cv_var_rcvbuf_slop" 1>&6 case "$ac_cv_var_rcvbuf_slop" in yes) cat >>confdefs.h <<\EOF #define NEED_RCVBUF_SLOP 1 @@ -7439,10 +7416,10 @@ EOF ;; esac -echo "configure:6739: checking if we will open the broadcast socket" >&5 -echo $ECHO_N "checking if we will open the broadcast socket... $ECHO_C" >&6 +echo $ac_n "checking if we will open the broadcast socket... $ac_c" 1>&6 +echo "configure:7421: checking if we will open the broadcast socket" 1>&5 if test "${ac_cv_var_open_bcast_socket+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=yes case "$target" in @@ -7455,8 +7432,7 @@ case "$target" in esac ac_cv_var_open_bcast_socket=$ans fi -echo "configure:6755: result: $ac_cv_var_open_bcast_socket" >&5 -echo "${ECHO_T}$ac_cv_var_open_bcast_socket" >&6 +echo "$ac_t""$ac_cv_var_open_bcast_socket" 1>&6 case "$ac_cv_var_open_bcast_socket" in yes) cat >>confdefs.h <<\EOF #define OPEN_BCAST_SOCKET 1 @@ -7464,10 +7440,10 @@ EOF ;; esac -echo "configure:6763: checking if we want the HPUX version of FindConfig()" >&5 -echo $ECHO_N "checking if we want the HPUX version of FindConfig()... $ECHO_C" >&6 +echo $ac_n "checking if we want the HPUX version of FindConfig()... $ac_c" 1>&6 +echo "configure:7445: checking if we want the HPUX version of FindConfig()" 1>&5 if test "${ac_cv_var_hpux_findconfig+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -7477,8 +7453,7 @@ case "$target" in esac ac_cv_var_hpux_findconfig=$ans fi -echo "configure:6776: result: $ac_cv_var_hpux_findconfig" >&5 -echo "${ECHO_T}$ac_cv_var_hpux_findconfig" >&6 +echo "$ac_t""$ac_cv_var_hpux_findconfig" 1>&6 case "$ac_cv_var_hpux_findconfig" in yes) cat >>confdefs.h <<\EOF #define NEED_HPUX_FINDCONFIG 1 @@ -7486,10 +7461,10 @@ EOF ;; esac -echo "configure:6784: checking if process groups are set with -pid" >&5 -echo $ECHO_N "checking if process groups are set with -pid... $ECHO_C" >&6 +echo $ac_n "checking if process groups are set with -pid... $ac_c" 1>&6 +echo "configure:7466: checking if process groups are set with -pid" 1>&5 if test "${ac_cv_arg_setpgrp_negpid+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$target" in *-*-hpux[567]*) @@ -7513,8 +7488,7 @@ else esac ac_cv_arg_setpgrp_negpid=$ans fi -echo "configure:6811: result: $ac_cv_arg_setpgrp_negpid" >&5 -echo "${ECHO_T}$ac_cv_arg_setpgrp_negpid" >&6 +echo "$ac_t""$ac_cv_arg_setpgrp_negpid" 1>&6 case "$ac_cv_arg_setpgrp_negpid" in yes) cat >>confdefs.h <<\EOF #define UDP_BACKWARDS_SETOWN 1 @@ -7522,10 +7496,10 @@ EOF ;; esac -echo "configure:6819: checking if we need a ctty for F_SETOWN" >&5 -echo $ECHO_N "checking if we need a ctty for F_SETOWN... $ECHO_C" >&6 +echo $ac_n "checking if we need a ctty for F_SETOWN... $ac_c" 1>&6 +echo "configure:7501: checking if we need a ctty for F_SETOWN" 1>&5 if test "${ac_cv_func_ctty_for_f_setown+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$target" in *-*-bsdi2*) @@ -7548,8 +7522,7 @@ else esac ac_cv_func_ctty_for_f_setown=$ans fi -echo "configure:6845: result: $ac_cv_func_ctty_for_f_setown" >&5 -echo "${ECHO_T}$ac_cv_func_ctty_for_f_setown" >&6 +echo "$ac_t""$ac_cv_func_ctty_for_f_setown" 1>&6 case "$ac_cv_func_ctty_for_f_setown" in yes) cat >>confdefs.h <<\EOF #define USE_FSETOWNCTTY 1 @@ -7558,8 +7531,8 @@ EOF esac ntp_warning='GRONK' -echo "configure:6854: checking if we'll use clock_settime or settimeofday or stime" >&5 -echo $ECHO_N "checking if we'll use clock_settime or settimeofday or stime... $ECHO_C" >&6 +echo $ac_n "checking if we'll use clock_settime or settimeofday or stime... $ac_c" 1>&6 +echo "configure:7536: checking if we'll use clock_settime or settimeofday or stime" 1>&5 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in yes*) ntp_warning='' @@ -7573,25 +7546,24 @@ case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in ntp_warning='Which is the worst of the three' ans='stime()' ;; - *) + *) case "$host" in $target) ntp_warning='Which leaves us with nothing to use!' ans=none ;; esac esac -echo "configure:6876: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 case "$ntp_warning" in '') ;; - *) echo "configure: warning: *** $ntp_warning ***" >&2 + *) echo "configure: warning: *** $ntp_warning ***" 1>&2 ;; esac -echo "configure:6883: checking if we have a losing syscall()" >&5 -echo $ECHO_N "checking if we have a losing syscall()... $ECHO_C" >&6 +echo $ac_n "checking if we have a losing syscall()... $ac_c" 1>&6 +echo "configure:7565: checking if we have a losing syscall()" 1>&5 if test "${ac_cv_var_syscall_bug+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$target" in *-*-solaris2.4*) @@ -7602,8 +7574,7 @@ else esac ac_cv_var_syscall_bug=$ans fi -echo "configure:6897: result: $ac_cv_var_syscall_bug" >&5 -echo "${ECHO_T}$ac_cv_var_syscall_bug" >&6 +echo "$ac_t""$ac_cv_var_syscall_bug" 1>&6 case "$ac_cv_var_syscall_bug" in yes) cat >>confdefs.h <<\EOF #define SYSCALL_BUG 1 @@ -7611,10 +7582,10 @@ EOF ;; esac -echo "configure:6905: checking for Streams/TLI" >&5 -echo $ECHO_N "checking for Streams/TLI... $ECHO_C" >&6 +echo $ac_n "checking for Streams/TLI... $ac_c" 1>&6 +echo "configure:7587: checking for Streams/TLI" 1>&5 if test "${ac_cv_var_streams_tli+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$ac_cv_header_sys_stropts_h" in yes) @@ -7629,8 +7600,7 @@ else esac ac_cv_var_streams_tli=$ans fi -echo "configure:6923: result: $ac_cv_var_streams_tli" >&5 -echo "${ECHO_T}$ac_cv_var_streams_tli" >&6 +echo "$ac_t""$ac_cv_var_streams_tli" 1>&6 case "$ac_cv_var_streams_tli" in yes) cat >>confdefs.h <<\EOF @@ -7640,36 +7610,37 @@ EOF ;; esac -echo "configure:6932: checking for SIGIO" >&5 -echo $ECHO_N "checking for SIGIO... $ECHO_C" >&6 +echo $ac_n "checking for SIGIO... $ac_c" 1>&6 +echo "configure:7615: checking for SIGIO" 1>&5 if test "${ac_cv_hdr_def_sigio+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef SIGIO yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_hdr_def_sigio=yes else + rm -rf conftest* ac_cv_hdr_def_sigio=no fi rm -f conftest* fi -echo "configure:6953: result: $ac_cv_hdr_def_sigio" >&5 -echo "${ECHO_T}$ac_cv_hdr_def_sigio" >&6 +echo "$ac_t""$ac_cv_hdr_def_sigio" 1>&6 -echo "configure:6955: checking if we want to use signalled IO" >&5 -echo $ECHO_N "checking if we want to use signalled IO... $ECHO_C" >&6 +echo $ac_n "checking if we want to use signalled IO... $ac_c" 1>&6 +echo "configure:7642: checking if we want to use signalled IO" 1>&5 if test "${ac_cv_var_signalled_io+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$ac_cv_hdr_def_sigio" in @@ -7708,8 +7679,7 @@ case "$ac_cv_hdr_def_sigio" in esac ac_cv_var_signalled_io=$ans fi -echo "configure:6997: result: $ac_cv_var_signalled_io" >&5 -echo "${ECHO_T}$ac_cv_var_signalled_io" >&6 +echo "$ac_t""$ac_cv_var_signalled_io" 1>&6 case "$ac_cv_var_signalled_io" in yes) cat >>confdefs.h <<\EOF #define HAVE_SIGNALED_IO 1 @@ -7717,62 +7687,64 @@ EOF ;; esac -echo "configure:7005: checking for SIGPOLL" >&5 -echo $ECHO_N "checking for SIGPOLL... $ECHO_C" >&6 +echo $ac_n "checking for SIGPOLL... $ac_c" 1>&6 +echo "configure:7692: checking for SIGPOLL" 1>&5 if test "${ac_cv_hdr_def_sigpoll+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef SIGPOLL yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_hdr_def_sigpoll=yes else + rm -rf conftest* ac_cv_hdr_def_sigpoll=no fi rm -f conftest* fi -echo "configure:7026: result: $ac_cv_hdr_def_sigpoll" >&5 -echo "${ECHO_T}$ac_cv_hdr_def_sigpoll" >&6 +echo "$ac_t""$ac_cv_hdr_def_sigpoll" 1>&6 -echo "configure:7028: checking for SIGSYS" >&5 -echo $ECHO_N "checking for SIGSYS... $ECHO_C" >&6 +echo $ac_n "checking for SIGSYS... $ac_c" 1>&6 +echo "configure:7719: checking for SIGSYS" 1>&5 if test "${ac_cv_hdr_def_sigsys+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef SIGSYS yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_hdr_def_sigsys=yes else + rm -rf conftest* ac_cv_hdr_def_sigsys=no fi rm -f conftest* fi -echo "configure:7049: result: $ac_cv_hdr_def_sigsys" >&5 -echo "${ECHO_T}$ac_cv_hdr_def_sigsys" >&6 +echo "$ac_t""$ac_cv_hdr_def_sigsys" 1>&6 -echo "configure:7051: checking if we can use SIGPOLL for UDP I/O" >&5 -echo $ECHO_N "checking if we can use SIGPOLL for UDP I/O... $ECHO_C" >&6 +echo $ac_n "checking if we can use SIGPOLL for UDP I/O... $ac_c" 1>&6 +echo "configure:7746: checking if we can use SIGPOLL for UDP I/O" 1>&5 if test "${ac_cv_var_use_udp_sigpoll+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$ac_cv_hdr_def_sigpoll" in @@ -7815,8 +7787,7 @@ case "$ac_cv_hdr_def_sigpoll" in esac ac_cv_var_use_udp_sigpoll=$ans fi -echo "configure:7097: result: $ac_cv_var_use_udp_sigpoll" >&5 -echo "${ECHO_T}$ac_cv_var_use_udp_sigpoll" >&6 +echo "$ac_t""$ac_cv_var_use_udp_sigpoll" 1>&6 case "$ac_cv_var_use_udp_sigpoll" in yes) cat >>confdefs.h <<\EOF #define USE_UDP_SIGPOLL 1 @@ -7824,10 +7795,10 @@ EOF ;; esac -echo "configure:7105: checking if we can use SIGPOLL for TTY I/O" >&5 -echo $ECHO_N "checking if we can use SIGPOLL for TTY I/O... $ECHO_C" >&6 +echo $ac_n "checking if we can use SIGPOLL for TTY I/O... $ac_c" 1>&6 +echo "configure:7800: checking if we can use SIGPOLL for TTY I/O" 1>&5 if test "${ac_cv_var_use_tty_sigpoll+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$ac_cv_hdr_def_sigpoll" in @@ -7870,8 +7841,7 @@ case "$ac_cv_hdr_def_sigpoll" in esac ac_cv_var_use_tty_sigpoll=$ans fi -echo "configure:7151: result: $ac_cv_var_use_tty_sigpoll" >&5 -echo "${ECHO_T}$ac_cv_var_use_tty_sigpoll" >&6 +echo "$ac_t""$ac_cv_var_use_tty_sigpoll" 1>&6 case "$ac_cv_var_use_tty_sigpoll" in yes) cat >>confdefs.h <<\EOF #define USE_TTY_SIGPOLL 1 @@ -7881,31 +7851,32 @@ esac case "$ac_cv_header_sys_sio_h" in yes) - echo "configure:7161: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5 -echo $ECHO_N "checking sys/sio.h for TIOCDCDTIMESTAMP... $ECHO_C" >&6 + echo $ac_n "checking sys/sio.h for TIOCDCDTIMESTAMP... $ac_c" 1>&6 +echo "configure:7856: checking sys/sio.h for TIOCDCDTIMESTAMP" 1>&5 if test "${ac_cv_hdr_def_tiocdcdtimestamp+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef TIOCDCDTIMESTAMP yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_hdr_def_tiocdcdtimestamp=yes else + rm -rf conftest* ac_cv_hdr_def_tiocdcdtimestamp=no fi rm -f conftest* fi -echo "configure:7182: result: $ac_cv_hdr_def_tiocdcdtimestamp" >&5 -echo "${ECHO_T}$ac_cv_hdr_def_tiocdcdtimestamp" >&6 +echo "$ac_t""$ac_cv_hdr_def_tiocdcdtimestamp" 1>&6 ;; esac @@ -7915,10 +7886,10 @@ case "$ac_cv_hdr_def_tiocdcdtimestamp" in ;; esac -echo "configure:7191: checking if nlist() values might require extra indirection" >&5 -echo $ECHO_N "checking if nlist() values might require extra indirection... $ECHO_C" >&6 +echo $ac_n "checking if nlist() values might require extra indirection... $ac_c" 1>&6 +echo "configure:7891: checking if nlist() values might require extra indirection" 1>&5 if test "${ac_cv_var_nlist_extra_indirection+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -7928,8 +7899,7 @@ case "$target" in esac ac_cv_var_nlist_extra_indirection=$ans fi -echo "configure:7204: result: $ac_cv_var_nlist_extra_indirection" >&5 -echo "${ECHO_T}$ac_cv_var_nlist_extra_indirection" >&6 +echo "$ac_t""$ac_cv_var_nlist_extra_indirection" 1>&6 case "$ac_cv_var_nlist_extra_indirection" in yes) cat >>confdefs.h <<\EOF #define NLIST_EXTRA_INDIRECTION 1 @@ -7937,10 +7907,10 @@ EOF ;; esac -echo "configure:7212: checking for a minimum recommended value of tickadj" >&5 -echo $ECHO_N "checking for a minimum recommended value of tickadj... $ECHO_C" >&6 +echo $ac_n "checking for a minimum recommended value of tickadj... $ac_c" 1>&6 +echo "configure:7912: checking for a minimum recommended value of tickadj" 1>&5 if test "${ac_cv_var_min_rec_tickadj+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -7950,8 +7920,7 @@ case "$target" in esac ac_cv_var_min_rec_tickadj=$ans fi -echo "configure:7225: result: $ac_cv_var_min_rec_tickadj" >&5 -echo "${ECHO_T}$ac_cv_var_min_rec_tickadj" >&6 +echo "$ac_t""$ac_cv_var_min_rec_tickadj" 1>&6 case "$ac_cv_var_min_rec_tickadj" in ''|no) ;; *) cat >>confdefs.h <&5 -echo $ECHO_N "checking if the TTY code permits PARENB and IGNPAR... $ECHO_C" >&6 +echo $ac_n "checking if the TTY code permits PARENB and IGNPAR... $ac_c" 1>&6 +echo "configure:7934: checking if the TTY code permits PARENB and IGNPAR" 1>&5 if test "${ac_cv_var_no_parenb_ignpar+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -7976,8 +7945,7 @@ case "$target" in esac ac_cv_var_no_parenb_ignpar=$ans fi -echo "configure:7250: result: $ac_cv_var_no_parenb_ignpar" >&5 -echo "${ECHO_T}$ac_cv_var_no_parenb_ignpar" >&6 +echo "$ac_t""$ac_cv_var_no_parenb_ignpar" 1>&6 case "$ac_cv_var_no_parenb_ignpar" in yes) cat >>confdefs.h <<\EOF #define NO_PARENB_IGNPAR 1 @@ -7985,8 +7953,8 @@ EOF ;; esac -echo "configure:7258: checking if we're including debugging code" >&5 -echo $ECHO_N "checking if we're including debugging code... $ECHO_C" >&6 +echo $ac_n "checking if we're including debugging code... $ac_c" 1>&6 +echo "configure:7958: checking if we're including debugging code" 1>&5 # Check whether --enable-debugging or --disable-debugging was given. if test "${enable_debugging+set}" = set; then enableval="$enable_debugging" @@ -7994,17 +7962,17 @@ if test "${enable_debugging+set}" = set; then else ntp_ok=yes fi + if test "$ntp_ok" = "yes"; then cat >>confdefs.h <<\EOF #define DEBUG 1 EOF fi -echo "configure:7272: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:7274: checking for a the number of minutes in a DST adjustment" >&5 -echo $ECHO_N "checking for a the number of minutes in a DST adjustment... $ECHO_C" >&6 +echo $ac_n "checking for a the number of minutes in a DST adjustment... $ac_c" 1>&6 +echo "configure:7976: checking for a the number of minutes in a DST adjustment" 1>&5 # Check whether --enable-dst_minutes or --disable-dst_minutes was given. if test "${enable_dst_minutes+set}" = set; then enableval="$enable_dst_minutes" @@ -8012,24 +7980,23 @@ if test "${enable_dst_minutes+set}" = set; then else ans=60 fi + cat >>confdefs.h <&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:7288: checking if we have the tty_clk line discipline/streams module" >&5 -echo $ECHO_N "checking if we have the tty_clk line discipline/streams module... $ECHO_C" >&6 +echo $ac_n "checking if we have the tty_clk line discipline/streams module... $ac_c" 1>&6 +echo "configure:7992: checking if we have the tty_clk line discipline/streams module" 1>&5 if test "${ac_cv_var_tty_clk+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$ac_cv_header_sys_clkdefs_h$ac_cv_hdr_def_tiocdcdtimestamp" in *yes*) ac_cv_var_tty_clk=yes ;; esac fi -echo "configure:7297: result: $ac_cv_var_tty_clk" >&5 -echo "${ECHO_T}$ac_cv_var_tty_clk" >&6 +echo "$ac_t""$ac_cv_var_tty_clk" 1>&6 case "$ac_cv_var_tty_clk" in yes) cat >>confdefs.h <<\EOF #define TTYCLK 1 @@ -8037,15 +8004,14 @@ EOF ;; esac -echo "configure:7305: checking for the ppsclock streams module" >&5 -echo $ECHO_N "checking for the ppsclock streams module... $ECHO_C" >&6 +echo $ac_n "checking for the ppsclock streams module... $ac_c" 1>&6 +echo "configure:8009: checking for the ppsclock streams module" 1>&5 if test "${ac_cv_var_ppsclock+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_var_ppsclock=$ac_cv_struct_ppsclockev fi -echo "configure:7312: result: $ac_cv_var_ppsclock" >&5 -echo "${ECHO_T}$ac_cv_var_ppsclock" >&6 +echo "$ac_t""$ac_cv_var_ppsclock" 1>&6 case "$ac_cv_var_ppsclock" in yes) cat >>confdefs.h <<\EOF #define PPS 1 @@ -8053,33 +8019,33 @@ EOF ;; esac -echo "configure:7320: checking for kernel multicast support" >&5 -echo $ECHO_N "checking for kernel multicast support... $ECHO_C" >&6 +echo $ac_n "checking for kernel multicast support... $ac_c" 1>&6 +echo "configure:8024: checking for kernel multicast support" 1>&5 if test "${ac_cv_var_mcast+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_var_mcast=no case "$target" in i386-sequent-sysv4) ;; *) cat >conftest.$ac_ext < #ifdef IP_ADD_MEMBERSHIP yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_var_mcast=yes fi rm -f conftest* ;; esac fi -echo "configure:7344: result: $ac_cv_var_mcast" >&5 -echo "${ECHO_T}$ac_cv_var_mcast" >&6 +echo "$ac_t""$ac_cv_var_mcast" 1>&6 case "$ac_cv_var_mcast" in yes) cat >>confdefs.h <<\EOF #define MCAST 1 @@ -8087,10 +8053,10 @@ EOF ;; esac -echo "configure:7352: checking availability of ntp_{adj,get}time()" >&5 -echo $ECHO_N "checking availability of ntp_{adj,get}time()... $ECHO_C" >&6 +echo $ac_n "checking availability of ntp_{adj,get}time()... $ac_c" 1>&6 +echo "configure:8058: checking [availability of ntp_{adj,get}time()]" 1>&5 if test "${ac_cv_var_ntp_syscalls+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_var_ntp_syscalls=no case "$ac_cv_func___adjtimex" in @@ -8102,16 +8068,17 @@ else ac_cv_var_ntp_syscalls=libc ;; *) cat >conftest.$ac_ext < #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime) yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_var_ntp_syscalls=kernel fi rm -f conftest* @@ -8121,8 +8088,7 @@ rm -f conftest* ;; esac fi -echo "configure:7384: result: $ac_cv_var_ntp_syscalls" >&5 -echo "${ECHO_T}$ac_cv_var_ntp_syscalls" >&6 +echo "$ac_t""$ac_cv_var_ntp_syscalls" 1>&6 case "$ac_cv_var_ntp_syscalls" in libc) cat >>confdefs.h <<\EOF @@ -8140,36 +8106,37 @@ EOF ;; esac -echo "configure:7400: checking if sys/timex.h has STA_FLL" >&5 -echo $ECHO_N "checking if sys/timex.h has STA_FLL... $ECHO_C" >&6 +echo $ac_n "checking if sys/timex.h has STA_FLL... $ac_c" 1>&6 +echo "configure:8111: checking if sys/timex.h has STA_FLL" 1>&5 if test "${ac_cv_var_sta_fll+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < #ifdef STA_FLL yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ac_cv_var_sta_fll=yes else + rm -rf conftest* ac_cv_var_sta_fll=no fi rm -f conftest* fi -echo "configure:7421: result: $ac_cv_var_sta_fll" >&5 -echo "${ECHO_T}$ac_cv_var_sta_fll" >&6 +echo "$ac_t""$ac_cv_var_sta_fll" 1>&6 -echo "configure:7423: checking if we have kernel PLL support" >&5 -echo $ECHO_N "checking if we have kernel PLL support... $ECHO_C" >&6 +echo $ac_n "checking if we have kernel PLL support... $ac_c" 1>&6 +echo "configure:8138: checking if we have kernel PLL support" 1>&5 if test "${ac_cv_var_kernel_pll+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$ac_cv_header_sys_timex_h$ac_cv_struct_ntptimeval$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in *no*) @@ -8179,8 +8146,7 @@ else ;; esac fi -echo "configure:7436: result: $ac_cv_var_kernel_pll" >&5 -echo "${ECHO_T}$ac_cv_var_kernel_pll" >&6 +echo "$ac_t""$ac_cv_var_kernel_pll" 1>&6 case "$ac_cv_var_kernel_pll" in yes) cat >>confdefs.h <<\EOF @@ -8190,10 +8156,10 @@ EOF ;; esac -echo "configure:7445: checking if SIOCGIFCONF returns buffer size in the buffer" >&5 -echo $ECHO_N "checking if SIOCGIFCONF returns buffer size in the buffer... $ECHO_C" >&6 +echo $ac_n "checking if SIOCGIFCONF returns buffer size in the buffer... $ac_c" 1>&6 +echo "configure:8161: checking if SIOCGIFCONF returns buffer size in the buffer" 1>&5 if test "${ac_cv_var_size_returned_in_buffer+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -8209,8 +8175,7 @@ else esac ac_cv_var_size_returned_in_buffer=$ans fi -echo "configure:7464: result: $ac_cv_var_size_returned_in_buffer" >&5 -echo "${ECHO_T}$ac_cv_var_size_returned_in_buffer" >&6 +echo "$ac_t""$ac_cv_var_size_returned_in_buffer" 1>&6 case "$ac_cv_var_size_returned_in_buffer" in yes) cat >>confdefs.h <<\EOF #define SIZE_RETURNED_IN_BUFFER 1 @@ -8219,22 +8184,24 @@ EOF esac # Check for ioctls TIOCGPPSEV -echo "configure:7473: checking ioctl TIOCGPPSEV" >&5 -echo $ECHO_N "checking ioctl TIOCGPPSEV... $ECHO_C" >&6 +echo $ac_n "checking ioctl TIOCGPPSEV... $ac_c" 1>&6 +echo "configure:8189: checking ioctl TIOCGPPSEV" 1>&5 if test "$ac_cv_header_termios_h" = "yes"; then cat >conftest.$ac_ext < #ifdef TIOCGPPSEV yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=yes else + rm -rf conftest* ntp_ok=no fi rm -f conftest* @@ -8249,26 +8216,27 @@ EOF ac_cv_var_oncore_ok=yes fi -echo "configure:7501: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Check for ioctls TIOCSPPS -echo "configure:7504: checking ioctl TIOCSPPS" >&5 -echo $ECHO_N "checking ioctl TIOCSPPS... $ECHO_C" >&6 +echo $ac_n "checking ioctl TIOCSPPS... $ac_c" 1>&6 +echo "configure:8224: checking ioctl TIOCSPPS" 1>&5 if test "$ac_cv_header_termios_h" = "yes"; then cat >conftest.$ac_ext < #ifdef TIOCSPPS yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=yes else + rm -rf conftest* ntp_ok=no fi rm -f conftest* @@ -8283,26 +8251,27 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7531: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Check for ioctls CIOGETEV -echo "configure:7534: checking ioctl CIOGETEV" >&5 -echo $ECHO_N "checking ioctl CIOGETEV... $ECHO_C" >&6 +echo $ac_n "checking ioctl CIOGETEV... $ac_c" 1>&6 +echo "configure:8259: checking ioctl CIOGETEV" 1>&5 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then cat >conftest.$ac_ext < #ifdef CIOGETEV yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=yes else + rm -rf conftest* ntp_ok=no fi rm -f conftest* @@ -8317,8 +8286,7 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7562: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff. # there is NO way that I can tell to tell if a given OS is using timespec or @@ -8339,39 +8307,40 @@ EOF esac # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG -echo "configure:7579: checking for linux/serial.h" >&5 -echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6 +echo $ac_n "checking for linux/serial.h... $ac_c" 1>&6 +echo "configure:8312: checking for linux/serial.h" 1>&5 if test "${ac_cv_header_linux_serial_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7590: \"$ac_try\") >&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then + rm -rf conftest* ac_cv_header_linux_serial_h=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_header_linux_serial_h=no fi rm -f conftest* fi -echo "configure:7602: result: $ac_cv_header_linux_serial_h" >&5 -echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6 +echo "$ac_t""$ac_cv_header_linux_serial_h" 1>&6 -echo "configure:7604: checking ioctl TIOCGSERIAL" >&5 -echo $ECHO_N "checking ioctl TIOCGSERIAL... $ECHO_C" >&6 +echo $ac_n "checking ioctl TIOCGSERIAL... $ac_c" 1>&6 +echo "configure:8340: checking ioctl TIOCGSERIAL" 1>&5 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in yesyes) cat >conftest.$ac_ext < typedef int u_int; @@ -8390,10 +8359,11 @@ typedef int u_int; #endif #endif #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=yes fi rm -f conftest* @@ -8409,12 +8379,11 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7643: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Check for SHMEM_STATUS support -echo "configure:7646: checking SHMEM_STATUS support" >&5 -echo $ECHO_N "checking SHMEM_STATUS support... $ECHO_C" >&6 +echo $ac_n "checking SHMEM_STATUS support... $ac_c" 1>&6 +echo "configure:8387: checking SHMEM_STATUS support" 1>&5 case "$ac_cv_header_sys_mman_h" in yes) ntp_ok=yes ;; *) ntp_ok=no ;; @@ -8425,14 +8394,13 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7657: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 ntp_refclock=no # HPUX only, and by explicit request -echo "configure:7661: checking Datum/Bancomm bc635/VME interface" >&5 -echo $ECHO_N "checking Datum/Bancomm bc635/VME interface... $ECHO_C" >&6 +echo $ac_n "checking Datum/Bancomm bc635/VME interface... $ac_c" 1>&6 +echo "configure:8404: checking Datum/Bancomm bc635/VME interface" 1>&5 # Check whether --enable-BANCOMM or --disable-BANCOMM was given. if test "${enable_BANCOMM+set}" = set; then enableval="$enable_BANCOMM" @@ -8440,6 +8408,7 @@ if test "${enable_BANCOMM+set}" = set; then else ntp_ok=no fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8447,16 +8416,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7676: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$target" in yes*-*-hpux*) ;; - yes*) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yes*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac #HPUX only, and only by explicit request -echo "configure:7683: checking TrueTime GPS receiver/VME interface" >&5 -echo $ECHO_N "checking TrueTime GPS receiver/VME interface... $ECHO_C" >&6 +echo $ac_n "checking TrueTime GPS receiver/VME interface... $ac_c" 1>&6 +echo "configure:8428: checking TrueTime GPS receiver/VME interface" 1>&5 # Check whether --enable-GPSVME or --disable-GPSVME was given. if test "${enable_GPSVME+set}" = set; then enableval="$enable_GPSVME" @@ -8464,6 +8432,7 @@ if test "${enable_GPSVME+set}" = set; then else ntp_ok=no fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8471,15 +8440,14 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7698: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$target" in yes*-*-hpux*) ;; - yes*) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yes*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac -echo "configure:7704: checking for PCL720 clock support" >&5 -echo $ECHO_N "checking for PCL720 clock support... $ECHO_C" >&6 +echo $ac_n "checking for PCL720 clock support... $ac_c" 1>&6 +echo "configure:8451: checking for PCL720 clock support" 1>&5 case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in yesyesyes) cat >>confdefs.h <<\EOF @@ -8492,11 +8460,10 @@ EOF ans=no ;; esac -echo "configure:7717: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:7719: checking for SHM clock attached thru shared memory" >&5 -echo $ECHO_N "checking for SHM clock attached thru shared memory... $ECHO_C" >&6 +echo $ac_n "checking for SHM clock attached thru shared memory... $ac_c" 1>&6 +echo "configure:8467: checking for SHM clock attached thru shared memory" 1>&5 # Check whether --enable-SHM or --disable-SHM was given. if test "${enable_SHM+set}" = set; then enableval="$enable_SHM" @@ -8504,6 +8471,7 @@ if test "${enable_SHM+set}" = set; then else ntp_ok=no fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8511,11 +8479,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:7734: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:7736: checking for default inclusion of all suitable non-PARSE clocks" >&5 -echo $ECHO_N "checking for default inclusion of all suitable non-PARSE clocks... $ECHO_C" >&6 +echo $ac_n "checking for default inclusion of all suitable non-PARSE clocks... $ac_c" 1>&6 +echo "configure:8486: checking for default inclusion of all suitable non-PARSE clocks" 1>&5 # Check whether --enable-all-clocks or --disable-all-clocks was given. if test "${enable_all_clocks+set}" = set; then enableval="$enable_all_clocks" @@ -8523,11 +8490,11 @@ if test "${enable_all_clocks+set}" = set; then else ntp_eac=yes fi -echo "configure:7745: result: $ntp_eac" >&5 -echo "${ECHO_T}$ntp_eac" >&6 -echo "configure:7747: checking if we have support for PARSE clocks" >&5 -echo $ECHO_N "checking if we have support for PARSE clocks... $ECHO_C" >&6 +echo "$ac_t""$ntp_eac" 1>&6 + +echo $ac_n "checking if we have support for PARSE clocks... $ac_c" 1>&6 +echo "configure:8498: checking if we have support for PARSE clocks" 1>&5 case "$ac_cv_header_termio_h$ac_cv_header_termios_h" in *yes*) ntp_canparse=yes @@ -8535,25 +8502,23 @@ case "$ac_cv_header_termio_h$ac_cv_header_termios_h" in *) ntp_canparse=no ;; esac -echo "configure:7756: result: $ntp_canparse" >&5 -echo "${ECHO_T}$ntp_canparse" >&6 +echo "$ac_t""$ntp_canparse" 1>&6 -echo "configure:7758: checking if we have support for audio clocks" >&5 -echo $ECHO_N "checking if we have support for audio clocks... $ECHO_C" >&6 +echo $ac_n "checking if we have support for audio clocks... $ac_c" 1>&6 +echo "configure:8509: checking if we have support for audio clocks" 1>&5 case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h" in *yes*) ntp_canaudio=yes ;; *) ntp_canaudio=no ;; esac -echo "configure:7764: result: $ntp_canaudio" >&5 -echo "${ECHO_T}$ntp_canaudio" >&6 +echo "$ac_t""$ntp_canaudio" 1>&6 -echo "configure:7766: checking for struct audio_info.monitor_gain" >&5 -echo $ECHO_N "checking for struct audio_info.monitor_gain... $ECHO_C" >&6 +echo $ac_n "checking for struct audio_info.monitor_gain... $ac_c" 1>&6 +echo "configure:8517: checking for struct audio_info.monitor_gain" 1>&5 if test "${ac_cv_member_struct_audio_info_monitor_gain+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -8571,31 +8536,32 @@ foo.monitor_gain; return 0; } EOF -if { (eval echo configure:7789: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_member_struct_audio_info_monitor_gain=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_member_struct_audio_info_monitor_gain=no fi rm -f conftest* fi -echo "configure:7798: result: $ac_cv_member_struct_audio_info_monitor_gain" >&5 -echo "${ECHO_T}$ac_cv_member_struct_audio_info_monitor_gain" >&6 +echo "$ac_t""$ac_cv_member_struct_audio_info_monitor_gain" 1>&6 if test $ac_cv_member_struct_audio_info_monitor_gain = yes; then - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for struct audio_info.output_muted... $ECHO_C" >&6 + +echo $ac_n "checking for struct audio_info.output_muted... $ac_c" 1>&6 +echo "configure:8560: checking for struct audio_info.output_muted" 1>&5 if test "${ac_cv_member_struct_audio_info_output_muted+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -8613,31 +8579,32 @@ foo.output_muted; return 0; } EOF -if { (eval echo configure:7828: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_member_struct_audio_info_output_muted=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_member_struct_audio_info_output_muted=no fi rm -f conftest* fi -echo "configure:7837: result: $ac_cv_member_struct_audio_info_output_muted" >&5 -echo "${ECHO_T}$ac_cv_member_struct_audio_info_output_muted" >&6 +echo "$ac_t""$ac_cv_member_struct_audio_info_output_muted" 1>&6 if test $ac_cv_member_struct_audio_info_output_muted = yes; then - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for struct audio_info.blocksize... $ECHO_C" >&6 + +echo $ac_n "checking for struct audio_info.blocksize... $ac_c" 1>&6 +echo "configure:8603: checking for struct audio_info.blocksize" 1>&5 if test "${ac_cv_member_struct_audio_info_blocksize+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -8655,31 +8622,32 @@ foo.blocksize; return 0; } EOF -if { (eval echo configure:7867: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_member_struct_audio_info_blocksize=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_member_struct_audio_info_blocksize=no fi rm -f conftest* fi -echo "configure:7876: result: $ac_cv_member_struct_audio_info_blocksize" >&5 -echo "${ECHO_T}$ac_cv_member_struct_audio_info_blocksize" >&6 +echo "$ac_t""$ac_cv_member_struct_audio_info_blocksize" 1>&6 if test $ac_cv_member_struct_audio_info_blocksize = yes; then - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for struct audio_info.hiwat... $ECHO_C" >&6 + +echo $ac_n "checking for struct audio_info.hiwat... $ac_c" 1>&6 +echo "configure:8646: checking for struct audio_info.hiwat" 1>&5 if test "${ac_cv_member_struct_audio_info_hiwat+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -8697,31 +8665,32 @@ foo.hiwat; return 0; } EOF -if { (eval echo configure:7906: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_member_struct_audio_info_hiwat=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_member_struct_audio_info_hiwat=no fi rm -f conftest* fi -echo "configure:7915: result: $ac_cv_member_struct_audio_info_hiwat" >&5 -echo "${ECHO_T}$ac_cv_member_struct_audio_info_hiwat" >&6 +echo "$ac_t""$ac_cv_member_struct_audio_info_hiwat" 1>&6 if test $ac_cv_member_struct_audio_info_hiwat = yes; then - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for struct audio_info.lowat... $ECHO_C" >&6 + +echo $ac_n "checking for struct audio_info.lowat... $ac_c" 1>&6 +echo "configure:8689: checking for struct audio_info.lowat" 1>&5 if test "${ac_cv_member_struct_audio_info_lowat+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -8739,31 +8708,32 @@ foo.lowat; return 0; } EOF -if { (eval echo configure:7945: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_member_struct_audio_info_lowat=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_member_struct_audio_info_lowat=no fi rm -f conftest* fi -echo "configure:7954: result: $ac_cv_member_struct_audio_info_lowat" >&5 -echo "${ECHO_T}$ac_cv_member_struct_audio_info_lowat" >&6 +echo "$ac_t""$ac_cv_member_struct_audio_info_lowat" 1>&6 if test $ac_cv_member_struct_audio_info_lowat = yes; then - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking for struct audio_info.mode... $ECHO_C" >&6 + +echo $ac_n "checking for struct audio_info.mode... $ac_c" 1>&6 +echo "configure:8732: checking for struct audio_info.mode" 1>&5 if test "${ac_cv_member_struct_audio_info_mode+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else cat >conftest.$ac_ext < @@ -8781,35 +8751,35 @@ foo.mode; return 0; } EOF -if { (eval echo configure:7984: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* ac_cv_member_struct_audio_info_mode=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* ac_cv_member_struct_audio_info_mode=no fi rm -f conftest* fi -echo "configure:7993: result: $ac_cv_member_struct_audio_info_mode" >&5 -echo "${ECHO_T}$ac_cv_member_struct_audio_info_mode" >&6 +echo "$ac_t""$ac_cv_member_struct_audio_info_mode" 1>&6 if test $ac_cv_member_struct_audio_info_mode = yes; then - -cat >>confdefs.h <>confdefs.h <&5 -echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6 +echo $ac_n "checking ACTS modem service... $ac_c" 1>&6 +echo "configure:8776: checking ACTS modem service" 1>&5 # Check whether --enable-ACTS or --disable-ACTS was given. if test "${enable_ACTS+set}" = set; then enableval="$enable_ACTS" ntp_ok=$enableval else cat >conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -8818,17 +8788,20 @@ else #ifdef TIOCMBIS yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=$ntp_eac else + rm -rf conftest* ntp_ok=no fi rm -f conftest* fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8836,11 +8809,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8033: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8035: checking Arbiter 1088A/B GPS receiver" >&5 -echo $ECHO_N "checking Arbiter 1088A/B GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking Arbiter 1088A/B GPS receiver... $ac_c" 1>&6 +echo "configure:8816: checking Arbiter 1088A/B GPS receiver" 1>&5 # Check whether --enable-ARBITER or --disable-ARBITER was given. if test "${enable_ARBITER+set}" = set; then enableval="$enable_ARBITER" @@ -8848,6 +8820,7 @@ if test "${enable_ARBITER+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8855,11 +8828,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8050: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8052: checking Arcron MSF receiver" >&5 -echo $ECHO_N "checking Arcron MSF receiver... $ECHO_C" >&6 +echo $ac_n "checking Arcron MSF receiver... $ac_c" 1>&6 +echo "configure:8835: checking Arcron MSF receiver" 1>&5 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given. if test "${enable_ARCRON_MSF+set}" = set; then enableval="$enable_ARCRON_MSF" @@ -8867,6 +8839,7 @@ if test "${enable_ARCRON_MSF+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8874,11 +8847,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8067: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8069: checking Austron 2200A/2201A GPS receiver" >&5 -echo $ECHO_N "checking Austron 2200A/2201A GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking Austron 2200A/2201A GPS receiver... $ac_c" 1>&6 +echo "configure:8854: checking Austron 2200A/2201A GPS receiver" 1>&5 # Check whether --enable-AS2201 or --disable-AS2201 was given. if test "${enable_AS2201+set}" = set; then enableval="$enable_AS2201" @@ -8886,6 +8858,7 @@ if test "${enable_AS2201+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8893,11 +8866,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8084: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8086: checking PPS interface" >&5 -echo $ECHO_N "checking PPS interface... $ECHO_C" >&6 +echo $ac_n "checking PPS interface... $ac_c" 1>&6 +echo "configure:8873: checking PPS interface" 1>&5 # Check whether --enable-ATOM or --disable-ATOM was given. if test "${enable_ATOM+set}" = set; then enableval="$enable_ATOM" @@ -8905,6 +8877,7 @@ if test "${enable_ATOM+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8912,11 +8885,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8101: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8103: checking CHU modem/decoder" >&5 -echo $ECHO_N "checking CHU modem/decoder... $ECHO_C" >&6 +echo $ac_n "checking CHU modem/decoder... $ac_c" 1>&6 +echo "configure:8892: checking CHU modem/decoder" 1>&5 # Check whether --enable-CHU or --disable-CHU was given. if test "${enable_CHU+set}" = set; then enableval="$enable_CHU" @@ -8924,6 +8896,7 @@ if test "${enable_CHU+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8931,12 +8904,11 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8118: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 ac_refclock_chu=$ntp_ok -echo "configure:8121: checking CHU audio/decoder" >&5 -echo $ECHO_N "checking CHU audio/decoder... $ECHO_C" >&6 +echo $ac_n "checking CHU audio/decoder... $ac_c" 1>&6 +echo "configure:8912: checking CHU audio/decoder" 1>&5 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given. if test "${enable_AUDIO_CHU+set}" = set; then enableval="$enable_AUDIO_CHU" @@ -8947,22 +8919,22 @@ else *) ntp_ok=yes ;; esac fi + if test "$ntp_ok" = "yes"; then cat >>confdefs.h <<\EOF #define AUDIO_CHU 1 EOF fi -echo "configure:8138: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # We used to check for sunos/solaris target... case "$ntp_ok$ac_refclock_chu$ntp_canaudio" in - yes*no*) echo "configure: warning: *** But the expected answer is...no ***" >&2 ;; + yes*no*) echo "configure: warning: *** But the expected answer is...no ***" 1>&2 ;; esac # Not under HP-UX -echo "configure:8145: checking Datum Programmable Time System" >&5 -echo $ECHO_N "checking Datum Programmable Time System... $ECHO_C" >&6 +echo $ac_n "checking Datum Programmable Time System... $ac_c" 1>&6 +echo "configure:8938: checking Datum Programmable Time System" 1>&5 # Check whether --enable-DATUM or --disable-DATUM was given. if test "${enable_DATUM+set}" = set; then enableval="$enable_DATUM" @@ -8976,6 +8948,7 @@ else ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -8983,11 +8956,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8166: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8168: checking Forum Graphic GPS" >&5 -echo $ECHO_N "checking Forum Graphic GPS... $ECHO_C" >&6 +echo $ac_n "checking Forum Graphic GPS... $ac_c" 1>&6 +echo "configure:8963: checking Forum Graphic GPS" 1>&5 # Check whether --enable-FG or --disable-FG was given. if test "${enable_FG+set}" = set; then enableval="$enable_FG" @@ -8995,6 +8967,7 @@ if test "${enable_FG+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9002,19 +8975,18 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8183: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Requires modem control -echo "configure:8186: checking Heath GC-1000 WWV/WWVH receiver" >&5 -echo $ECHO_N "checking Heath GC-1000 WWV/WWVH receiver... $ECHO_C" >&6 +echo $ac_n "checking Heath GC-1000 WWV/WWVH receiver... $ac_c" 1>&6 +echo "configure:8983: checking Heath GC-1000 WWV/WWVH receiver" 1>&5 # Check whether --enable-HEATH or --disable-HEATH was given. if test "${enable_HEATH+set}" = set; then enableval="$enable_HEATH" ntp_ok=$enableval else cat >conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -9023,17 +8995,20 @@ else #ifdef TIOCMBIS yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=$ntp_eac else + rm -rf conftest* ntp_ok=no fi rm -f conftest* fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9041,11 +9016,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8218: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8220: checking HP 58503A GPS receiver" >&5 -echo $ECHO_N "checking HP 58503A GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking HP 58503A GPS receiver... $ac_c" 1>&6 +echo "configure:9023: checking HP 58503A GPS receiver" 1>&5 # Check whether --enable-HPGPS or --disable-HPGPS was given. if test "${enable_HPGPS+set}" = set; then enableval="$enable_HPGPS" @@ -9053,6 +9027,7 @@ if test "${enable_HPGPS+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9060,11 +9035,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8235: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8237: checking Sun IRIG audio decoder" >&5 -echo $ECHO_N "checking Sun IRIG audio decoder... $ECHO_C" >&6 +echo $ac_n "checking Sun IRIG audio decoder... $ac_c" 1>&6 +echo "configure:9042: checking Sun IRIG audio decoder" 1>&5 # Check whether --enable-IRIG or --disable-IRIG was given. if test "${enable_IRIG+set}" = set; then enableval="$enable_IRIG" @@ -9075,6 +9049,7 @@ else *) ntp_ok=yes ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9082,14 +9057,13 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8255: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canaudio" in - yesno) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac -echo "configure:8260: checking Leitch CSD 5300 Master Clock System Driver" >&5 -echo $ECHO_N "checking Leitch CSD 5300 Master Clock System Driver... $ECHO_C" >&6 +echo $ac_n "checking Leitch CSD 5300 Master Clock System Driver... $ac_c" 1>&6 +echo "configure:9067: checking Leitch CSD 5300 Master Clock System Driver" 1>&5 # Check whether --enable-LEITCH or --disable-LEITCH was given. if test "${enable_LEITCH+set}" = set; then enableval="$enable_LEITCH" @@ -9097,6 +9071,7 @@ if test "${enable_LEITCH+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9104,11 +9079,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8275: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8277: checking local clock reference" >&5 -echo $ECHO_N "checking local clock reference... $ECHO_C" >&6 +echo $ac_n "checking local clock reference... $ac_c" 1>&6 +echo "configure:9086: checking local clock reference" 1>&5 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given. if test "${enable_LOCAL_CLOCK+set}" = set; then enableval="$enable_LOCAL_CLOCK" @@ -9116,6 +9090,7 @@ if test "${enable_LOCAL_CLOCK+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9123,11 +9098,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8292: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8294: checking EES M201 MSF receiver" >&5 -echo $ECHO_N "checking EES M201 MSF receiver... $ECHO_C" >&6 +echo $ac_n "checking EES M201 MSF receiver... $ac_c" 1>&6 +echo "configure:9105: checking EES M201 MSF receiver" 1>&5 # Check whether --enable-MSFEES or --disable-MSFEES was given. if test "${enable_MSFEES+set}" = set; then enableval="$enable_MSFEES" @@ -9135,6 +9109,7 @@ if test "${enable_MSFEES+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9142,12 +9117,11 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8309: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Not Ultrix -echo "configure:8312: checking Magnavox MX4200 GPS receiver" >&5 -echo $ECHO_N "checking Magnavox MX4200 GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking Magnavox MX4200 GPS receiver... $ac_c" 1>&6 +echo "configure:9125: checking Magnavox MX4200 GPS receiver" 1>&5 # Check whether --enable-MX4200 or --disable-MX4200 was given. if test "${enable_MX4200+set}" = set; then enableval="$enable_MX4200" @@ -9160,6 +9134,7 @@ else ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9167,14 +9142,13 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8332: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$target" in - yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac -echo "configure:8337: checking NMEA GPS receiver" >&5 -echo $ECHO_N "checking NMEA GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking NMEA GPS receiver... $ac_c" 1>&6 +echo "configure:9152: checking NMEA GPS receiver" 1>&5 # Check whether --enable-NMEA or --disable-NMEA was given. if test "${enable_NMEA+set}" = set; then enableval="$enable_NMEA" @@ -9182,6 +9156,7 @@ if test "${enable_NMEA+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9189,11 +9164,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8352: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8354: checking for ONCORE Motorola VP/UT Oncore GPS" >&5 -echo $ECHO_N "checking for ONCORE Motorola VP/UT Oncore GPS... $ECHO_C" >&6 +echo $ac_n "checking for ONCORE Motorola VP/UT Oncore GPS... $ac_c" 1>&6 +echo "configure:9171: checking for ONCORE Motorola VP/UT Oncore GPS" 1>&5 # Check whether --enable-ONCORE or --disable-ONCORE was given. if test "${enable_ONCORE+set}" = set; then enableval="$enable_ONCORE" @@ -9201,6 +9175,7 @@ if test "${enable_ONCORE+set}" = set; then else ntp_ok=$ntp_eac fi + case "$ac_cv_var_oncore_ok" in no) ntp_ok=no ;; esac @@ -9211,11 +9186,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8372: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8374: checking for Palisade clock" >&5 -echo $ECHO_N "checking for Palisade clock... $ECHO_C" >&6 +echo $ac_n "checking for Palisade clock... $ac_c" 1>&6 +echo "configure:9193: checking for Palisade clock" 1>&5 # Check whether --enable-PALISADE or --disable-PALISADE was given. if test "${enable_PALISADE+set}" = set; then enableval="$enable_PALISADE" @@ -9237,11 +9211,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8395: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8397: checking PST/Traconex 1020 WWV/WWVH receiver" >&5 -echo $ECHO_N "checking PST/Traconex 1020 WWV/WWVH receiver... $ECHO_C" >&6 +echo $ac_n "checking PST/Traconex 1020 WWV/WWVH receiver... $ac_c" 1>&6 +echo "configure:9218: checking PST/Traconex 1020 WWV/WWVH receiver" 1>&5 # Check whether --enable-PST or --disable-PST was given. if test "${enable_PST+set}" = set; then enableval="$enable_PST" @@ -9249,6 +9222,7 @@ if test "${enable_PST+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9256,12 +9230,11 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8412: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Not Ultrix -echo "configure:8415: checking Rockwell Jupiter GPS receiver" >&5 -echo $ECHO_N "checking Rockwell Jupiter GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking Rockwell Jupiter GPS receiver... $ac_c" 1>&6 +echo "configure:9238: checking Rockwell Jupiter GPS receiver" 1>&5 # Check whether --enable-JUPITER or --disable-JUPITER was given. if test "${enable_JUPITER+set}" = set; then enableval="$enable_JUPITER" @@ -9274,6 +9247,7 @@ else ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9281,22 +9255,21 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8435: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$target" in - yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac # Requires modem control -echo "configure:8441: checking PTB modem service" >&5 -echo $ECHO_N "checking PTB modem service... $ECHO_C" >&6 +echo $ac_n "checking PTB modem service... $ac_c" 1>&6 +echo "configure:9266: checking PTB modem service" 1>&5 # Check whether --enable-PTBACTS or --disable-PTBACTS was given. if test "${enable_PTBACTS+set}" = set; then enableval="$enable_PTBACTS" ntp_ok=$enableval else cat >conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -9305,17 +9278,20 @@ else #ifdef TIOCMBIS yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=$ntp_eac else + rm -rf conftest* ntp_ok=no fi rm -f conftest* fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9323,11 +9299,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8473: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8475: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5 -echo $ECHO_N "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ECHO_C" >&6 +echo $ac_n "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ac_c" 1>&6 +echo "configure:9306: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" 1>&5 # Check whether --enable-TPRO or --disable-TPRO was given. if test "${enable_TPRO+set}" = set; then enableval="$enable_TPRO" @@ -9341,6 +9316,7 @@ else ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9348,14 +9324,13 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8496: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ac_cv_header_sys_tpro" in - yesno) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac -echo "configure:8501: checking TRAK 8810 GPS receiver" >&5 -echo $ECHO_N "checking TRAK 8810 GPS receiver... $ECHO_C" >&6 +echo $ac_n "checking TRAK 8810 GPS receiver... $ac_c" 1>&6 +echo "configure:9334: checking TRAK 8810 GPS receiver" 1>&5 # Check whether --enable-TRAK or --disable-TRAK was given. if test "${enable_TRAK+set}" = set; then enableval="$enable_TRAK" @@ -9363,6 +9338,7 @@ if test "${enable_TRAK+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9370,11 +9346,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8516: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8518: checking Chrono-log K-series WWVB receiver" >&5 -echo $ECHO_N "checking Chrono-log K-series WWVB receiver... $ECHO_C" >&6 +echo $ac_n "checking Chrono-log K-series WWVB receiver... $ac_c" 1>&6 +echo "configure:9353: checking Chrono-log K-series WWVB receiver" 1>&5 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given. if test "${enable_CHRONOLOG+set}" = set; then enableval="$enable_CHRONOLOG" @@ -9382,6 +9357,7 @@ if test "${enable_CHRONOLOG+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9389,11 +9365,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8533: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8535: checking Dumb generic hh:mm:ss local clock" >&5 -echo $ECHO_N "checking Dumb generic hh:mm:ss local clock... $ECHO_C" >&6 +echo $ac_n "checking Dumb generic hh:mm:ss local clock... $ac_c" 1>&6 +echo "configure:9372: checking Dumb generic hh:mm:ss local clock" 1>&5 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given. if test "${enable_DUMBCLOCK+set}" = set; then enableval="$enable_DUMBCLOCK" @@ -9401,6 +9376,7 @@ if test "${enable_DUMBCLOCK+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9408,11 +9384,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8550: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8552: checking Conrad parallel port radio clock" >&5 -echo $ECHO_N "checking Conrad parallel port radio clock... $ECHO_C" >&6 +echo $ac_n "checking Conrad parallel port radio clock... $ac_c" 1>&6 +echo "configure:9391: checking Conrad parallel port radio clock" 1>&5 # Check whether --enable-PCF or --disable-PCF was given. if test "${enable_PCF+set}" = set; then enableval="$enable_PCF" @@ -9420,6 +9395,7 @@ if test "${enable_PCF+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9427,11 +9403,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8567: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8569: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5 -echo $ECHO_N "checking Spectracom 8170/Netclock/2 WWVB receiver... $ECHO_C" >&6 +echo $ac_n "checking Spectracom 8170/Netclock/2 WWVB receiver... $ac_c" 1>&6 +echo "configure:9410: checking Spectracom 8170/Netclock/2 WWVB receiver" 1>&5 # Check whether --enable-SPECTRACOM or --disable-SPECTRACOM was given. if test "${enable_SPECTRACOM+set}" = set; then enableval="$enable_SPECTRACOM" @@ -9439,6 +9414,7 @@ if test "${enable_SPECTRACOM+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9446,12 +9422,11 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8584: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 # Not on a vax-dec-bsd -echo "configure:8587: checking Kinemetrics/TrueTime receivers" >&5 -echo $ECHO_N "checking Kinemetrics/TrueTime receivers... $ECHO_C" >&6 +echo $ac_n "checking Kinemetrics/TrueTime receivers... $ac_c" 1>&6 +echo "configure:9430: checking Kinemetrics/TrueTime receivers" 1>&5 # Check whether --enable-TRUETIME or --disable-TRUETIME was given. if test "${enable_TRUETIME+set}" = set; then enableval="$enable_TRUETIME" @@ -9466,6 +9441,7 @@ else ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9473,14 +9449,13 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8609: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$target" in - yesvax-dec-bsd) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yesvax-dec-bsd) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac -echo "configure:8614: checking Ultralink M320 WWVB receiver" >&5 -echo $ECHO_N "checking Ultralink M320 WWVB receiver... $ECHO_C" >&6 +echo $ac_n "checking Ultralink M320 WWVB receiver... $ac_c" 1>&6 +echo "configure:9459: checking Ultralink M320 WWVB receiver" 1>&5 # Check whether --enable-ULINK or --disable-ULINK was given. if test "${enable_ULINK+set}" = set; then enableval="$enable_ULINK" @@ -9488,6 +9463,7 @@ if test "${enable_ULINK+set}" = set; then else ntp_ok=$ntp_eac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9495,11 +9471,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8629: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8631: checking WWV receiver" >&5 -echo $ECHO_N "checking WWV receiver... $ECHO_C" >&6 +echo $ac_n "checking WWV receiver... $ac_c" 1>&6 +echo "configure:9478: checking WWV receiver" 1>&5 # Check whether --enable-WWV or --disable-WWV was given. if test "${enable_WWV+set}" = set; then enableval="$enable_WWV" @@ -9510,6 +9485,7 @@ else *) ntp_ok=yes ;; esac fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9517,22 +9493,21 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8649: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canaudio" in - yesno) echo "configure: warning: *** But the expected answer is... no ***" >&2 ;; + yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; esac # Requires modem control -echo "configure:8655: checking USNO modem service" >&5 -echo $ECHO_N "checking USNO modem service... $ECHO_C" >&6 +echo $ac_n "checking USNO modem service... $ac_c" 1>&6 +echo "configure:9504: checking USNO modem service" 1>&5 # Check whether --enable-USNO or --disable-USNO was given. if test "${enable_USNO+set}" = set; then enableval="$enable_USNO" ntp_ok=$enableval else cat >conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -9541,17 +9516,20 @@ else #ifdef TIOCMBIS yes #endif - + EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* ntp_ok=$ntp_eac else + rm -rf conftest* ntp_ok=no fi rm -f conftest* fi + if test "$ntp_ok" = "yes"; then ntp_refclock=yes cat >>confdefs.h <<\EOF @@ -9559,11 +9537,10 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8687: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 -echo "configure:8689: checking for default inclusion of all suitable PARSE clocks" >&5 -echo $ECHO_N "checking for default inclusion of all suitable PARSE clocks... $ECHO_C" >&6 +echo $ac_n "checking for default inclusion of all suitable PARSE clocks... $ac_c" 1>&6 +echo "configure:9544: checking for default inclusion of all suitable PARSE clocks" 1>&5 # Check whether --enable-parse-clocks or --disable-parse-clocks was given. if test "${enable_parse_clocks+set}" = set; then enableval="$enable_parse_clocks" @@ -9575,15 +9552,15 @@ else esac ntp_eapc=no fi -echo "configure:8702: result: $ntp_eapc" >&5 -echo "${ECHO_T}$ntp_eapc" >&6 + +echo "$ac_t""$ntp_eapc" 1>&6 case "$ntp_eac$ntp_eapc$ntp_canparse" in noyes*) - { echo "configure: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&2; exit 1; } + { echo "configure: error: "--enable-parse-clocks" requires "--enable-all-clocks"." 1>&2; exit 1; } ;; yesyesno) - { echo "configure: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&2; exit 1; } + { echo "configure: error: You said "--enable-parse-clocks" but PARSE isn't supported on this platform!" 1>&2; exit 1; } ;; *) ;; esac @@ -9592,8 +9569,8 @@ ntp_libparse=no ntp_parseutil=no ntp_rawdcf=no -echo "configure:8716: checking Diem Computime Radio Clock" >&5 -echo $ECHO_N "checking Diem Computime Radio Clock... $ECHO_C" >&6 +echo $ac_n "checking Diem Computime Radio Clock... $ac_c" 1>&6 +echo "configure:9574: checking Diem Computime Radio Clock" 1>&5 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given. if test "${enable_COMPUTIME+set}" = set; then enableval="$enable_COMPUTIME" @@ -9601,6 +9578,7 @@ if test "${enable_COMPUTIME+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9609,16 +9587,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8732: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8739: checking ELV/DCF7000 clock" >&5 -echo $ECHO_N "checking ELV/DCF7000 clock... $ECHO_C" >&6 +echo $ac_n "checking ELV/DCF7000 clock... $ac_c" 1>&6 +echo "configure:9599: checking ELV/DCF7000 clock" 1>&5 # Check whether --enable-DCF7000 or --disable-DCF7000 was given. if test "${enable_DCF7000+set}" = set; then enableval="$enable_DCF7000" @@ -9626,6 +9603,7 @@ if test "${enable_DCF7000+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9634,16 +9612,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8755: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8762: checking HOPF 6021 clock" >&5 -echo $ECHO_N "checking HOPF 6021 clock... $ECHO_C" >&6 +echo $ac_n "checking HOPF 6021 clock... $ac_c" 1>&6 +echo "configure:9624: checking HOPF 6021 clock" 1>&5 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given. if test "${enable_HOPF6021+set}" = set; then enableval="$enable_HOPF6021" @@ -9651,6 +9628,7 @@ if test "${enable_HOPF6021+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9659,16 +9637,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8778: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8785: checking Meinberg clocks" >&5 -echo $ECHO_N "checking Meinberg clocks... $ECHO_C" >&6 +echo $ac_n "checking Meinberg clocks... $ac_c" 1>&6 +echo "configure:9649: checking Meinberg clocks" 1>&5 # Check whether --enable-MEINBERG or --disable-MEINBERG was given. if test "${enable_MEINBERG+set}" = set; then enableval="$enable_MEINBERG" @@ -9676,6 +9653,7 @@ if test "${enable_MEINBERG+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9684,16 +9662,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8801: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8808: checking DCF77 raw time code" >&5 -echo $ECHO_N "checking DCF77 raw time code... $ECHO_C" >&6 +echo $ac_n "checking DCF77 raw time code... $ac_c" 1>&6 +echo "configure:9674: checking DCF77 raw time code" 1>&5 # Check whether --enable-RAWDCF or --disable-RAWDCF was given. if test "${enable_RAWDCF+set}" = set; then enableval="$enable_RAWDCF" @@ -9701,6 +9678,7 @@ if test "${enable_RAWDCF+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_parseutil=yes @@ -9711,20 +9689,19 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8826: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac case "$ntp_rawdcf" in yes) - echo "configure:8835: checking if we must enable parity for RAWDCF" >&5 -echo $ECHO_N "checking if we must enable parity for RAWDCF... $ECHO_C" >&6 + echo $ac_n "checking if we must enable parity for RAWDCF... $ac_c" 1>&6 +echo "configure:9703: checking if we must enable parity for RAWDCF" 1>&5 if test "${ac_cv_var_rawdcf_parity+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=no case "$target" in @@ -9734,8 +9711,7 @@ else esac ac_cv_var_rawdcf_parity=$ans fi -echo "configure:8848: result: $ac_cv_var_rawdcf_parity" >&5 -echo "${ECHO_T}$ac_cv_var_rawdcf_parity" >&6 +echo "$ac_t""$ac_cv_var_rawdcf_parity" 1>&6 case "$ac_cv_var_rawdcf_parity" in yes) cat >>confdefs.h <<\EOF #define RAWDCF_NO_IGNPAR 1 @@ -9749,8 +9725,8 @@ EOF ;; esac -echo "configure:8861: checking RCC 8000 clock" >&5 -echo $ECHO_N "checking RCC 8000 clock... $ECHO_C" >&6 +echo $ac_n "checking RCC 8000 clock... $ac_c" 1>&6 +echo "configure:9730: checking RCC 8000 clock" 1>&5 # Check whether --enable-RCC8000 or --disable-RCC8000 was given. if test "${enable_RCC8000+set}" = set; then enableval="$enable_RCC8000" @@ -9758,6 +9734,7 @@ if test "${enable_RCC8000+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9766,16 +9743,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8877: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8884: checking Schmid DCF77 clock" >&5 -echo $ECHO_N "checking Schmid DCF77 clock... $ECHO_C" >&6 +echo $ac_n "checking Schmid DCF77 clock... $ac_c" 1>&6 +echo "configure:9755: checking Schmid DCF77 clock" 1>&5 # Check whether --enable-SCHMID or --disable-SCHMID was given. if test "${enable_SCHMID+set}" = set; then enableval="$enable_SCHMID" @@ -9783,6 +9759,7 @@ if test "${enable_SCHMID+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9791,16 +9768,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8900: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8907: checking Trimble GPS receiver/TAIP protocol" >&5 -echo $ECHO_N "checking Trimble GPS receiver/TAIP protocol... $ECHO_C" >&6 +echo $ac_n "checking Trimble GPS receiver/TAIP protocol... $ac_c" 1>&6 +echo "configure:9780: checking Trimble GPS receiver/TAIP protocol" 1>&5 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given. if test "${enable_TRIMTAIP+set}" = set; then enableval="$enable_TRIMTAIP" @@ -9808,6 +9784,7 @@ if test "${enable_TRIMTAIP+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9816,16 +9793,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8923: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8930: checking Trimble GPS receiver/TSIP protocol" >&5 -echo $ECHO_N "checking Trimble GPS receiver/TSIP protocol... $ECHO_C" >&6 +echo $ac_n "checking Trimble GPS receiver/TSIP protocol... $ac_c" 1>&6 +echo "configure:9805: checking Trimble GPS receiver/TSIP protocol" 1>&5 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given. if test "${enable_TRIMTSIP+set}" = set; then enableval="$enable_TRIMTSIP" @@ -9833,6 +9809,7 @@ if test "${enable_TRIMTSIP+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9841,16 +9818,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8946: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8953: checking WHARTON 400A Series clock" >&5 -echo $ECHO_N "checking WHARTON 400A Series clock... $ECHO_C" >&6 +echo $ac_n "checking WHARTON 400A Series clock... $ac_c" 1>&6 +echo "configure:9830: checking WHARTON 400A Series clock" 1>&5 # Check whether --enable-WHARTON or --disable-WHARTON was given. if test "${enable_WHARTON+set}" = set; then enableval="$enable_WHARTON" @@ -9858,6 +9834,7 @@ if test "${enable_WHARTON+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9866,16 +9843,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8969: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8976: checking VARITEXT clock" >&5 -echo $ECHO_N "checking VARITEXT clock... $ECHO_C" >&6 +echo $ac_n "checking VARITEXT clock... $ac_c" 1>&6 +echo "configure:9855: checking VARITEXT clock" 1>&5 # Check whether --enable-VARITEXT or --disable-VARITEXT was given. if test "${enable_VARITEXT+set}" = set; then enableval="$enable_VARITEXT" @@ -9883,6 +9859,7 @@ if test "${enable_VARITEXT+set}" = set; then else ntp_ok=$ntp_eapc fi + if test "$ntp_ok" = "yes"; then ntp_libparse=yes ntp_refclock=yes @@ -9891,16 +9868,15 @@ if test "$ntp_ok" = "yes"; then EOF fi -echo "configure:8992: result: $ntp_ok" >&5 -echo "${ECHO_T}$ntp_ok" >&6 +echo "$ac_t""$ntp_ok" 1>&6 case "$ntp_ok$ntp_canparse" in yesno) - { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; } + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } ;; esac -echo "configure:8999: checking if we need to make and use the parse libraries" >&5 -echo $ECHO_N "checking if we need to make and use the parse libraries... $ECHO_C" >&6 +echo $ac_n "checking if we need to make and use the parse libraries... $ac_c" 1>&6 +echo "configure:9880: checking if we need to make and use the parse libraries" 1>&5 ans=no case "$ntp_libparse" in yes) @@ -9922,11 +9898,10 @@ EOF ;; esac -echo "configure:9019: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:9021: checking for the level of crypto support" >&5 -echo $ECHO_N "checking for the level of crypto support... $ECHO_C" >&6 +echo $ac_n "checking for the level of crypto support... $ac_c" 1>&6 +echo "configure:9905: checking for the level of crypto support" 1>&5 # Check whether --with-crypto or --without-crypto was given. if test "${with_crypto+set}" = set; then withval="$with_crypto" @@ -9934,6 +9909,7 @@ if test "${with_crypto+set}" = set; then else ans=yes fi + case "$ans" in no) ans=md5 ;; yes|rsaref) @@ -9948,9 +9924,8 @@ case "$ans" in #define DES 1 EOF - -cat >>confdefs.h <<\EOF -#define PUBKEY + cat >>confdefs.h <<\EOF +#define PUBKEY EOF fi @@ -9960,19 +9935,17 @@ esac case "$ans" in md5) ;; *) - -cat >>confdefs.h <<\EOF -#define AUTOKEY + cat >>confdefs.h <<\EOF +#define AUTOKEY EOF AUTOKEY=1 ;; esac -echo "configure:9059: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:9061: checking if we can make dcf parse utilities" >&5 -echo $ECHO_N "checking if we can make dcf parse utilities... $ECHO_C" >&6 +echo $ac_n "checking if we can make dcf parse utilities... $ac_c" 1>&6 +echo "configure:9949: checking if we can make dcf parse utilities" 1>&5 ans=no if test "$ntp_parseutil" = "yes"; then case "$target" in @@ -9983,11 +9956,10 @@ if test "$ntp_parseutil" = "yes"; then ;; esac fi -echo "configure:9073: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:9075: checking if we can build kernel streams modules for parse" >&5 -echo $ECHO_N "checking if we can build kernel streams modules for parse... $ECHO_C" >&6 +echo $ac_n "checking if we can build kernel streams modules for parse... $ac_c" 1>&6 +echo "configure:9963: checking if we can build kernel streams modules for parse" 1>&5 ans=no case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in yesyes) @@ -10011,24 +9983,22 @@ EOF esac ;; esac -echo "configure:9099: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:9101: checking if we need basic refclock support" >&5 -echo $ECHO_N "checking if we need basic refclock support... $ECHO_C" >&6 +echo $ac_n "checking if we need basic refclock support... $ac_c" 1>&6 +echo "configure:9990: checking if we need basic refclock support" 1>&5 if test "$ntp_refclock" = "yes"; then cat >>confdefs.h <<\EOF #define REFCLOCK 1 EOF fi -echo "configure:9108: result: $ntp_refclock" >&5 -echo "${ECHO_T}$ntp_refclock" >&6 +echo "$ac_t""$ntp_refclock" 1>&6 -echo "configure:9111: checking if we want HP-UX adjtimed support" >&5 -echo $ECHO_N "checking if we want HP-UX adjtimed support... $ECHO_C" >&6 +echo $ac_n "checking if we want HP-UX adjtimed support... $ac_c" 1>&6 +echo "configure:10002: checking if we want HP-UX adjtimed support" 1>&5 case "$target" in *-*-hpux[56789]*) ans=yes @@ -10043,13 +10013,12 @@ if test "$ans" = "yes"; then EOF fi -echo "configure:9126: result: $ans" >&5 -echo "${ECHO_T}$ans" >&6 +echo "$ac_t""$ans" 1>&6 -echo "configure:9128: checking if we can read kmem" >&5 -echo $ECHO_N "checking if we can read kmem... $ECHO_C" >&6 +echo $ac_n "checking if we can read kmem... $ac_c" 1>&6 +echo "configure:10020: checking if we can read kmem" 1>&5 if test "${ac_cv_var_can_kmem+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-kmem or --disable-kmem was given. if test "${enable_kmem+set}" = set; then @@ -10083,12 +10052,12 @@ else ans=no ;; esac - + fi + ac_cv_var_can_kmem=$ans fi -echo "configure:9168: result: $ac_cv_var_can_kmem" >&5 -echo "${ECHO_T}$ac_cv_var_can_kmem" >&6 +echo "$ac_t""$ac_cv_var_can_kmem" 1>&6 case "$ac_cv_var_can_kmem" in *yes*) ;; @@ -10098,10 +10067,10 @@ EOF ;; esac -echo "configure:9177: checking if adjtime is accurate" >&5 -echo $ECHO_N "checking if adjtime is accurate... $ECHO_C" >&6 +echo $ac_n "checking if adjtime is accurate... $ac_c" 1>&6 +echo "configure:10072: checking if adjtime is accurate" 1>&5 if test "${ac_cv_var_adjtime_is_accurate+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given. if test "${enable_accurate_adjtime+set}" = set; then @@ -10136,12 +10105,12 @@ else *) ans=no ;; esac - + fi + ac_cv_var_adjtime_is_accurate=$ans fi -echo "configure:9218: result: $ac_cv_var_adjtime_is_accurate" >&5 -echo "${ECHO_T}$ac_cv_var_adjtime_is_accurate" >&6 +echo "$ac_t""$ac_cv_var_adjtime_is_accurate" 1>&6 case "$ac_cv_var_adjtime_is_accurate" in yes) cat >>confdefs.h <<\EOF #define ADJTIME_IS_ACCURATE 1 @@ -10149,10 +10118,10 @@ EOF ;; esac -echo "configure:9226: checking the name of 'tick' in the kernel" >&5 -echo $ECHO_N "checking the name of 'tick' in the kernel... $ECHO_C" >&6 +echo $ac_n "checking the name of 'tick' in the kernel... $ac_c" 1>&6 +echo "configure:10123: checking the name of 'tick' in the kernel" 1>&5 if test "${ac_cv_var_nlist_tick+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=_tick case "$target" in @@ -10183,8 +10152,7 @@ case "$target" in esac ac_cv_var_nlist_tick=$ans fi -echo "configure:9260: result: $ac_cv_var_nlist_tick" >&5 -echo "${ECHO_T}$ac_cv_var_nlist_tick" >&6 +echo "$ac_t""$ac_cv_var_nlist_tick" 1>&6 case "$ac_cv_var_nlist_tick" in ''|no) ;; # HMS: I think we can only get 'no' here... *) cat >>confdefs.h <&5 -echo $ECHO_N "checking for the units of 'tick'... $ECHO_C" >&6 +echo $ac_n "checking for the units of 'tick'... $ac_c" 1>&6 +echo "configure:10166: checking for the units of 'tick'" 1>&5 if test "${ac_cv_var_tick_nano+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=usec case "$target" in @@ -10206,8 +10174,7 @@ case "$target" in esac ac_cv_var_tick_nano=$ans fi -echo "configure:9283: result: $ac_cv_var_tick_nano" >&5 -echo "${ECHO_T}$ac_cv_var_tick_nano" >&6 +echo "$ac_t""$ac_cv_var_tick_nano" 1>&6 case "$ac_cv_var_tick_nano" in nsec) cat >>confdefs.h <<\EOF @@ -10217,10 +10184,10 @@ EOF ;; esac # -echo "configure:9293: checking the name of 'tickadj' in the kernel" >&5 -echo $ECHO_N "checking the name of 'tickadj' in the kernel... $ECHO_C" >&6 +echo $ac_n "checking the name of 'tickadj' in the kernel... $ac_c" 1>&6 +echo "configure:10189: checking the name of 'tickadj' in the kernel" 1>&5 if test "${ac_cv_var_nlist_tickadj+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=_tickadj case "$target" in @@ -10260,8 +10227,7 @@ case "$target" in esac ac_cv_var_nlist_tickadj=$ans fi -echo "configure:9336: result: $ac_cv_var_nlist_tickadj" >&5 -echo "${ECHO_T}$ac_cv_var_nlist_tickadj" >&6 +echo "$ac_t""$ac_cv_var_nlist_tickadj" 1>&6 case "$ac_cv_var_nlist_tickadj" in ''|no) ;; # HMS: I think we can only get 'no' here... *) cat >>confdefs.h <&5 -echo $ECHO_N "checking for the units of 'tickadj'... $ECHO_C" >&6 +echo $ac_n "checking for the units of 'tickadj'... $ac_c" 1>&6 +echo "configure:10241: checking for the units of 'tickadj'" 1>&5 if test "${ac_cv_var_tickadj_nano+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ans=usec case "$target" in @@ -10283,8 +10249,7 @@ case "$target" in esac ac_cv_var_tickadj_nano=$ans fi -echo "configure:9359: result: $ac_cv_var_tickadj_nano" >&5 -echo "${ECHO_T}$ac_cv_var_tickadj_nano" >&6 +echo "$ac_t""$ac_cv_var_tickadj_nano" 1>&6 case "$ac_cv_var_tickadj_nano" in nsec) cat >>confdefs.h <<\EOF @@ -10294,10 +10259,10 @@ EOF ;; esac # -echo "configure:9369: checking half-heartedly for 'dosynctodr' in the kernel" >&5 -echo $ECHO_N "checking half-heartedly for 'dosynctodr' in the kernel... $ECHO_C" >&6 +echo $ac_n "checking half-heartedly for 'dosynctodr' in the kernel... $ac_c" 1>&6 +echo "configure:10264: checking half-heartedly for 'dosynctodr' in the kernel" 1>&5 if test "${ac_cv_var_nlist_dosynctodr+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$target" in *-apple-aux[23]*) @@ -10336,8 +10301,7 @@ else esac ac_cv_var_nlist_dosynctodr=$ans fi -echo "configure:9411: result: $ac_cv_var_nlist_dosynctodr" >&5 -echo "${ECHO_T}$ac_cv_var_nlist_dosynctodr" >&6 +echo "$ac_t""$ac_cv_var_nlist_dosynctodr" 1>&6 case "$ac_cv_var_nlist_dosynctodr" in no) ;; *) cat >>confdefs.h <&5 -echo $ECHO_N "checking half-heartedly for 'noprintf' in the kernel... $ECHO_C" >&6 +echo $ac_n "checking half-heartedly for 'noprintf' in the kernel... $ac_c" 1>&6 +echo "configure:10316: checking half-heartedly for 'noprintf' in the kernel" 1>&5 if test "${ac_cv_var_nlist_noprintf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$target" in *-apple-aux[23]*) @@ -10383,8 +10347,7 @@ else esac ac_cv_var_nlist_noprintf=$ans fi -echo "configure:9457: result: $ac_cv_var_nlist_noprintf" >&5 -echo "${ECHO_T}$ac_cv_var_nlist_noprintf" >&6 +echo "$ac_t""$ac_cv_var_nlist_noprintf" 1>&6 case "$ac_cv_var_nlist_noprintf" in no) ;; *) cat >>confdefs.h <&5 -echo $ECHO_N "checking for a default value for 'tick'... $ECHO_C" >&6 +echo $ac_n "checking for a default value for 'tick'... $ac_c" 1>&6 +echo "configure:10362: checking for a default value for 'tick'" 1>&5 if test "${ac_cv_var_tick+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-tick or --disable-tick was given. if test "${enable_tick+set}" = set; then @@ -10425,10 +10388,10 @@ else ;; esac fi + ac_cv_var_tick=$ans fi -echo "configure:9499: result: $ac_cv_var_tick" >&5 -echo "${ECHO_T}$ac_cv_var_tick" >&6 +echo "$ac_t""$ac_cv_var_tick" 1>&6 case "$ac_cv_var_tick" in ''|no) ;; # HMS: I think we can only get 'no' here... *) cat >>confdefs.h <&5 -echo $ECHO_N "checking for a default value for 'tickadj'... $ECHO_C" >&6 +echo $ac_n "checking for a default value for 'tickadj'... $ac_c" 1>&6 +echo "configure:10405: checking for a default value for 'tickadj'" 1>&5 if test "${ac_cv_var_tickadj+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-tickadj or --disable-tickadj was given. if test "${enable_tickadj+set}" = set; then @@ -10493,10 +10456,10 @@ else ;; esac fi + ac_cv_var_tickadj=$ans fi -echo "configure:9566: result: $ac_cv_var_tickadj" >&5 -echo "${ECHO_T}$ac_cv_var_tickadj" >&6 +echo "$ac_t""$ac_cv_var_tickadj" 1>&6 case "$ac_cv_var_tickadj" in ''|no) ;; # HMS: I think we can only get 'no' here... *) cat >>confdefs.h <&2 + echo "configure: warning: Can't read kmem" 1>&2 ac_cv_make_tickadj=no ;; nono*) # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus. - echo "configure: warning: Can't read kmem but no PRESET_TICK. No tickadj." >&2 + echo "configure: warning: Can't read kmem but no PRESET_TICK. No tickadj." 1>&2 ac_cv_make_tickadj=no ;; no*no) # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ. Bogus. - echo "configure: warning: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&2 + echo "configure: warning: Can't read kmem but no PRESET_TICKADJ. No tickadj." 1>&2 ac_cv_make_tickadj=no ;; no*) # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ. Cool. @@ -10542,14 +10505,14 @@ case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in yesnono) # Read KMEM, no presets. Cool. ;; yesno*) # Read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus. - echo "configure: warning: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&2 + echo "configure: warning: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." 1>&2 ;; yes*no) # Read KMEM, PRESET_TICK but no PRESET_TICKADJ. Cool. ;; yes*) # READ KMEM, PRESET_TICK and PRESET_TICKADJ. ;; *) # Generally bogus. - { echo "configure: error: This shouldn't happen." >&2; exit 1; } + { echo "configure: error: This shouldn't happen." 1>&2; exit 1; } ;; esac @@ -10568,25 +10531,24 @@ case "$target" in ;; esac -echo "configure:9634: checking if we want and can make the tickadj utility" >&5 -echo $ECHO_N "checking if we want and can make the tickadj utility... $ECHO_C" >&6 +echo $ac_n "checking if we want and can make the tickadj utility... $ac_c" 1>&6 +echo "configure:10536: checking if we want and can make the tickadj utility" 1>&5 if test "${ac_cv_make_tickadj+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_make_tickadj=yes fi -echo "configure:9641: result: $ac_cv_make_tickadj" >&5 -echo "${ECHO_T}$ac_cv_make_tickadj" >&6 +echo "$ac_t""$ac_cv_make_tickadj" 1>&6 case "$ac_cv_make_tickadj" in yes) MAKE_TICKADJ=tickadj ;; esac -echo "configure:9648: checking if we want and can make the ntptime utility" >&5 -echo $ECHO_N "checking if we want and can make the ntptime utility... $ECHO_C" >&6 +echo $ac_n "checking if we want and can make the ntptime utility... $ac_c" 1>&6 +echo "configure:10550: checking if we want and can make the ntptime utility" 1>&5 if test "${ac_cv_make_ntptime+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else case "$target" in *) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in @@ -10601,18 +10563,17 @@ else esac ac_cv_make_ntptime=$ans fi -echo "configure:9666: result: $ac_cv_make_ntptime" >&5 -echo "${ECHO_T}$ac_cv_make_ntptime" >&6 +echo "$ac_t""$ac_cv_make_ntptime" 1>&6 case "$ac_cv_make_ntptime" in yes) MAKE_NTPTIME=ntptime ;; esac -echo "configure:9673: checking if we want UDP wildcard delivery" >&5 -echo $ECHO_N "checking if we want UDP wildcard delivery... $ECHO_C" >&6 +echo $ac_n "checking if we want UDP wildcard delivery... $ac_c" 1>&6 +echo "configure:10575: checking if we want UDP wildcard delivery" 1>&5 if test "${ac_cv_var_udp_wildcard_delivery+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-udp-wildcard or --disable-udp-wildcard was given. if test "${enable_udp_wildcard+set}" = set; then @@ -10665,10 +10626,10 @@ else ;; esac fi + ac_cv_var_udp_wildcard_delivery=$ans fi -echo "configure:9731: result: $ac_cv_var_udp_wildcard_delivery" >&5 -echo "${ECHO_T}$ac_cv_var_udp_wildcard_delivery" >&6 +echo "$ac_t""$ac_cv_var_udp_wildcard_delivery" 1>&6 case "$ac_cv_var_udp_wildcard_delivery" in yes) cat >>confdefs.h <<\EOF #define UDP_WILDCARD_DELIVERY 1 @@ -10687,10 +10648,10 @@ case "$host" in ;; esac -echo "configure:9749: checking if we should always slew the time" >&5 -echo $ECHO_N "checking if we should always slew the time... $ECHO_C" >&6 +echo $ac_n "checking if we should always slew the time... $ac_c" 1>&6 +echo "configure:10653: checking if we should always slew the time" 1>&5 if test "${ac_cv_var_slew_always+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-slew-always or --disable-slew-always was given. if test "${enable_slew_always+set}" = set; then @@ -10713,12 +10674,12 @@ else *) ans=no ;; esac - + fi + ac_cv_var_slew_always=$ans fi -echo "configure:9778: result: $ac_cv_var_slew_always" >&5 -echo "${ECHO_T}$ac_cv_var_slew_always" >&6 +echo "$ac_t""$ac_cv_var_slew_always" 1>&6 case "$ac_cv_var_slew_always" in yes) cat >>confdefs.h <<\EOF #define SLEWALWAYS 1 @@ -10726,10 +10687,10 @@ EOF ;; esac -echo "configure:9786: checking if we should step and slew the time" >&5 -echo $ECHO_N "checking if we should step and slew the time... $ECHO_C" >&6 +echo $ac_n "checking if we should step and slew the time... $ac_c" 1>&6 +echo "configure:10692: checking if we should step and slew the time" 1>&5 if test "${ac_cv_var_step_slew+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-step-slew or --disable-step-slew was given. if test "${enable_step_slew+set}" = set; then @@ -10755,12 +10716,12 @@ else *) ans=no ;; esac - + fi + ac_cv_var_step_slew=$ans fi -echo "configure:9818: result: $ac_cv_var_step_slew" >&5 -echo "${ECHO_T}$ac_cv_var_step_slew" >&6 +echo "$ac_t""$ac_cv_var_step_slew" 1>&6 case "$ac_cv_var_step_slew" in yes) cat >>confdefs.h <<\EOF #define STEP_SLEW 1 @@ -10768,10 +10729,10 @@ EOF ;; esac -echo "configure:9826: checking if ntpdate should step the time" >&5 -echo $ECHO_N "checking if ntpdate should step the time... $ECHO_C" >&6 +echo $ac_n "checking if ntpdate should step the time... $ac_c" 1>&6 +echo "configure:10734: checking if ntpdate should step the time" 1>&5 if test "${ac_cv_var_ntpdate_step+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given. if test "${enable_ntpdate_step+set}" = set; then @@ -10785,12 +10746,12 @@ else *) ans=no ;; esac - + fi + ac_cv_var_ntpdate_step=$ans fi -echo "configure:9846: result: $ac_cv_var_ntpdate_step" >&5 -echo "${ECHO_T}$ac_cv_var_ntpdate_step" >&6 +echo "$ac_t""$ac_cv_var_ntpdate_step" 1>&6 case "$ac_cv_var_ntpdate_step" in yes) cat >>confdefs.h <<\EOF #define FORCE_NTPDATE_STEP 1 @@ -10798,10 +10759,10 @@ EOF ;; esac -echo "configure:9854: checking if we should sync TODR clock every hour" >&5 -echo $ECHO_N "checking if we should sync TODR clock every hour... $ECHO_C" >&6 +echo $ac_n "checking if we should sync TODR clock every hour... $ac_c" 1>&6 +echo "configure:10764: checking if we should sync TODR clock every hour" 1>&5 if test "${ac_cv_var_sync_todr+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given. if test "${enable_hourly_todr_sync+set}" = set; then @@ -10819,10 +10780,10 @@ else ;; esac fi + ac_cv_var_sync_todr=$ans fi -echo "configure:9877: result: $ac_cv_var_sync_todr" >&5 -echo "${ECHO_T}$ac_cv_var_sync_todr" >&6 +echo "$ac_t""$ac_cv_var_sync_todr" 1>&6 case "$ac_cv_var_sync_todr" in yes) cat >>confdefs.h <<\EOF #define DOSYNCTODR 1 @@ -10830,10 +10791,10 @@ EOF ;; esac -echo "configure:9885: checking if we should avoid kernel FLL bug" >&5 -echo $ECHO_N "checking if we should avoid kernel FLL bug... $ECHO_C" >&6 +echo $ac_n "checking if we should avoid kernel FLL bug... $ac_c" 1>&6 +echo "configure:10796: checking if we should avoid kernel FLL bug" 1>&5 if test "${ac_cv_var_kernel_fll_bug+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + echo $ac_n "(cached) $ac_c" 1>&6 else # Check whether --enable-kernel-fll-bug or --disable-kernel-fll-bug was given. if test "${enable_kernel_fll_bug+set}" = set; then @@ -10865,12 +10826,12 @@ else *) ans=no ;; esac - + fi + ac_cv_var_kernel_fll_bug=$ans fi -echo "configure:9923: result: $ac_cv_var_kernel_fll_bug" >&5 -echo "${ECHO_T}$ac_cv_var_kernel_fll_bug" >&6 +echo "$ac_t""$ac_cv_var_kernel_fll_bug" 1>&6 case "$ac_cv_var_kernel_fll_bug" in yes) cat >>confdefs.h <<\EOF #define KERNEL_FLL_BUG 1 @@ -10915,32 +10876,30 @@ EOF # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p' - ;; - esac; -} | - sed -e 's/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache +(set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote substitution + # turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >>confcache if cmp -s $cache_file confcache; then :; else if test -w $cache_file; then - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache + trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 test "x$prefix" = xNONE && prefix=$ac_default_prefix @@ -10956,34 +10915,6 @@ fi DEFS=-DHAVE_CONFIG_H -# Save into config.log some information that might help in debugging. -echo >&5 -echo "Cache variables:" >&5 -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p' - ;; - esac; -} | sed -e 's/^/| /' >&5 -echo >&5 -echo "confdefs.h:" >&5 -cat confdefs.h | sed -e 's/^/| /' >&5 - : ${CONFIG_STATUS=./config.status} trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 echo creating $CONFIG_STATUS @@ -10991,20 +10922,16 @@ cat >$CONFIG_STATUS </dev/null | sed 1q`: +# +# $0 $ac_configure_args +# # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. -configure=$0 -configure_args=$ac_configure_args -debug=false -EOF - -cat >>$CONFIG_STATUS <<\EOF -me=`echo "$0" | sed -e 's,.*/,,'` -SHELL=${CONFIG_SHELL-/bin/sh} - # Files that config.status was made for. -config_files="\ +config_files="\\ Makefile adjtimed/Makefile clockstuff/Makefile include/Makefile kernel/Makefile kernel/sys/Makefile libntp/Makefile libparse/Makefile librsaref/Makefile ntpd/Makefile ntpdc/Makefile ntpdate/Makefile @@ -11012,60 +10939,57 @@ config_files="\ scripts/calc_tickadj scripts/checktime scripts/freq_adj scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver scripts/plot_summary scripts/summary util/Makefile" -config_headers="\ +config_headers="\\ config.h" -config_commands="\ +config_commands="\\ default-1 default-2 default" -ac_cs_usage="\ -\`$me' instantiates files from templates according to the +ac_cs_usage="\\ +\\\`$CONFIG_STATUS' instantiates files from templates according to the current configuration. -Usage: $0 [OPTIONS] FILE... +Usage: $CONFIG_STATUS [OPTIONS] FILE... - -h, --help print this help, then exit - -V, --version print version number, then exit - -d, --debug don't remove temporary files - --recheck update $me by reconfiguring in the same conditions + --recheck Update $CONFIG_STATUS by reconfiguring in the same conditions + --version Print the version of Autoconf and exit + --help Display this help and exit --file=FILE[:TEMPLATE] - instantiate the configuration file FILE + Instantiate the configuration file FILE --header=FILE[:TEMPLATE] - instantiate the configuration header FILE + Instantiate the configuration header FILE Configuration files: -$config_files +\$config_files Configuration headers: -$config_headers +\$config_headers Configuration commands: -$config_commands +\$config_commands Report bugs to ." -EOF -cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: -while test $# != 0 +while test \$# != 0 do - case "$1" in + case "\$1" in --*=*) - ac_option=`echo "$1" | sed -e 's/=.*//'` - ac_optarg=`echo "$1" | sed -e 's/[^=]*=//'` + ac_option=\`echo "\$1" | sed -e 's/=.*//'\` + ac_optarg=\`echo "\$1" | sed -e 's/[^=]*=//'\` shift - set dummy "\$ac_option" "$ac_optarg" ${1+"$@"} + set dummy "\$ac_option" "\$ac_optarg" \${1+"\$@"} shift ;; -*);; @@ -11074,102 +10998,81 @@ do ac_need_defaults=false;; esac - case "$1" in + case "\$1" in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running $SHELL $configure $configure_args --no-create --no-recursion" - exec $SHELL $configure $configure_args --no-create --no-recursion ;; - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; + echo "running \${CONFIG_SHELL-/bin/sh} $0 `echo "$ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'` --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "\$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - echo "$me: ambiguous option: $ac_option -Try \`$me --help' for more information."; exit 1 ;; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=:; shift ;; + echo "$CONFIG_STATUS: ambiguous option: \$ac_option"; exit 1 ;; + -help | --help | --hel ) + echo "\$ac_cs_usage"; exit 0 ;; --file | --fil | --fi | --f ) shift - CONFIG_FILES="$CONFIG_FILES $1" + CONFIG_FILES="\$CONFIG_FILES \$1" ac_need_defaults=false;; --header | --heade | --head | --hea ) shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" + CONFIG_HEADERS="\$CONFIG_FILES \$1" ac_need_defaults=false;; # Handling of arguments. - 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - 'adjtimed/Makefile' ) CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;; - 'clockstuff/Makefile' ) CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;; - 'include/Makefile' ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; - 'kernel/Makefile' ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;; - 'kernel/sys/Makefile' ) CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;; - 'libntp/Makefile' ) CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;; - 'libparse/Makefile' ) CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;; - 'librsaref/Makefile' ) CONFIG_FILES="$CONFIG_FILES librsaref/Makefile" ;; - 'ntpd/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;; - 'ntpdc/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;; - 'ntpdate/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;; - 'ntpq/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;; - 'ntptrace/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntptrace/Makefile" ;; - 'parseutil/Makefile' ) CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;; - 'scripts/Makefile' ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; - 'scripts/calc_tickadj' ) CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;; - 'scripts/checktime' ) CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;; - 'scripts/freq_adj' ) CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;; - 'scripts/mkver' ) CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;; - 'scripts/ntp-wait' ) CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;; - 'scripts/ntpsweep' ) CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;; - 'scripts/ntpver' ) CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;; - 'scripts/plot_summary' ) CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;; - 'scripts/summary' ) CONFIG_FILES="$CONFIG_FILES scripts/summary" ;; - 'util/Makefile' ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;; - 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; - 'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; - 'default' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; - 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + 'Makefile' ) CONFIG_FILES="\$CONFIG_FILES Makefile" ;; + 'adjtimed/Makefile' ) CONFIG_FILES="\$CONFIG_FILES adjtimed/Makefile" ;; + 'clockstuff/Makefile' ) CONFIG_FILES="\$CONFIG_FILES clockstuff/Makefile" ;; + 'include/Makefile' ) CONFIG_FILES="\$CONFIG_FILES include/Makefile" ;; + 'kernel/Makefile' ) CONFIG_FILES="\$CONFIG_FILES kernel/Makefile" ;; + 'kernel/sys/Makefile' ) CONFIG_FILES="\$CONFIG_FILES kernel/sys/Makefile" ;; + 'libntp/Makefile' ) CONFIG_FILES="\$CONFIG_FILES libntp/Makefile" ;; + 'libparse/Makefile' ) CONFIG_FILES="\$CONFIG_FILES libparse/Makefile" ;; + 'librsaref/Makefile' ) CONFIG_FILES="\$CONFIG_FILES librsaref/Makefile" ;; + 'ntpd/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpd/Makefile" ;; + 'ntpdc/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpdc/Makefile" ;; + 'ntpdate/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpdate/Makefile" ;; + 'ntpq/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpq/Makefile" ;; + 'ntptrace/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntptrace/Makefile" ;; + 'parseutil/Makefile' ) CONFIG_FILES="\$CONFIG_FILES parseutil/Makefile" ;; + 'scripts/Makefile' ) CONFIG_FILES="\$CONFIG_FILES scripts/Makefile" ;; + 'scripts/calc_tickadj' ) CONFIG_FILES="\$CONFIG_FILES scripts/calc_tickadj" ;; + 'scripts/checktime' ) CONFIG_FILES="\$CONFIG_FILES scripts/checktime" ;; + 'scripts/freq_adj' ) CONFIG_FILES="\$CONFIG_FILES scripts/freq_adj" ;; + 'scripts/mkver' ) CONFIG_FILES="\$CONFIG_FILES scripts/mkver" ;; + 'scripts/ntp-wait' ) CONFIG_FILES="\$CONFIG_FILES scripts/ntp-wait" ;; + 'scripts/ntpsweep' ) CONFIG_FILES="\$CONFIG_FILES scripts/ntpsweep" ;; + 'scripts/ntpver' ) CONFIG_FILES="\$CONFIG_FILES scripts/ntpver" ;; + 'scripts/plot_summary' ) CONFIG_FILES="\$CONFIG_FILES scripts/plot_summary" ;; + 'scripts/summary' ) CONFIG_FILES="\$CONFIG_FILES scripts/summary" ;; + 'util/Makefile' ) CONFIG_FILES="\$CONFIG_FILES util/Makefile" ;; + 'default-1' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-1" ;; + 'default-2' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-2" ;; + 'default' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default" ;; + 'config.h' ) CONFIG_HEADERS="\$CONFIG_HEADERS config.h" ;; # This is an error. - -*) echo "$me: unrecognized option: $1 -Try \`$me --help' for more information."; exit 1 ;; - *) echo "$me: invalid argument: $1"; exit 1 ;; + -*) echo "$CONFIG_STATUS: invalid option: \$1"; exit 1 ;; + *) echo "$CONFIG_STATUS: invalid argument: \$1"; exit 1 ;; esac shift done EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>$CONFIG_STATUS </dev/null` && - test -n "$tmp" -} || -{ - tmp=$TMPDIR/cs$$-$RANDOM && (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - exit 1; -} +# Remove all the CONFIG_FILES, and trap to remove the temp files. +rm -fr \`echo "\$CONFIG_FILES" | sed "s/:[^ ]*//g"\` +trap 'rm -fr \$ac_cs_root*; exit 1' 1 2 15 EOF @@ -11180,7 +11083,6 @@ cat >>$CONFIG_STATUS <>$CONFIG_STATUS <>$CONFIG_STATUS <\$tmp/subs.sed <<\\CEOF + s/@@/%@/; s/@@/@%/; s/@;t t\$/%;t t/' >\$ac_cs_root.subs <<\\CEOF s%@SHELL@%$SHELL%;t t +s%@CFLAGS@%$CFLAGS%;t t +s%@CPPFLAGS@%$CPPFLAGS%;t t +s%@CXXFLAGS@%$CXXFLAGS%;t t +s%@FFLAGS@%$FFLAGS%;t t +s%@DEFS@%$DEFS%;t t +s%@LDFLAGS@%$LDFLAGS%;t t +s%@LIBS@%$LIBS%;t t s%@exec_prefix@%$exec_prefix%;t t s%@prefix@%$prefix%;t t s%@program_transform_name@%$program_transform_name%;t t @@ -11211,21 +11120,6 @@ s%@includedir@%$includedir%;t t s%@oldincludedir@%$oldincludedir%;t t s%@infodir@%$infodir%;t t s%@mandir@%$mandir%;t t -s%@ECHO_C@%$ECHO_C%;t t -s%@ECHO_N@%$ECHO_N%;t t -s%@ECHO_T@%$ECHO_T%;t t -s%@CFLAGS@%$CFLAGS%;t t -s%@CPPFLAGS@%$CPPFLAGS%;t t -s%@CXXFLAGS@%$CXXFLAGS%;t t -s%@FFLAGS@%$FFLAGS%;t t -s%@DEFS@%$DEFS%;t t -s%@LDFLAGS@%$LDFLAGS%;t t -s%@LIBS@%$LIBS%;t t -s%@build@%$build%;t t -s%@build_alias@%$build_alias%;t t -s%@build_cpu@%$build_cpu%;t t -s%@build_vendor@%$build_vendor%;t t -s%@build_os@%$build_os%;t t s%@host@%$host%;t t s%@host_alias@%$host_alias%;t t s%@host_cpu@%$host_cpu%;t t @@ -11236,6 +11130,11 @@ s%@target_alias@%$target_alias%;t t s%@target_cpu@%$target_cpu%;t t s%@target_vendor@%$target_vendor%;t t s%@target_os@%$target_os%;t t +s%@build@%$build%;t t +s%@build_alias@%$build_alias%;t t +s%@build_cpu@%$build_cpu%;t t +s%@build_vendor@%$build_vendor%;t t +s%@build_os@%$build_os%;t t s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%;t t s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%;t t s%@INSTALL_DATA@%$INSTALL_DATA%;t t @@ -11293,26 +11192,27 @@ EOF ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: - ac_sed_cmds= + ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag fi - if test ! -s $tmp/subs.frag; then + if test ! -s $ac_cs_root.sfrag; then ac_more_lines=false + rm -f $ac_cs_root.sfrag else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag" else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end @@ -11326,24 +11226,24 @@ fi # test -n "$CONFIG_FILES" EOF cat >>$CONFIG_STATUS <<\EOF -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;; - *) ac_file_in=$ac_file.in ;; + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'` + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. - test -d "$ac_dir" || mkdir "$ac_dir" + test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo "$ac_dir_suffix" | sed 's%/[^/]*%../%g'` + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi @@ -11351,37 +11251,41 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;; - [\\/]* | ?:[\\/]* ) - srcdir=$ac_given_srcdir$ac_dir_suffix; - top_srcdir=$ac_given_srcdir ;; + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. - srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix - top_srcdir=$ac_dots$ac_given_srcdir ;; + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in - [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;; - *) INSTALL=$ac_dots$ac_given_INSTALL ;; + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in | sed 's%.*/%%'` by configure." + case "$ac_file" in + *[Mm]akefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac - # Don't redirect the output to AC_FILE directly: use `mv' so that - # updating is atomic, and doesn't need trapping. - ac_file_inputs=`echo "$ac_file_in" | + # Don't redirect the output to AC_FILE directly: use `mv' so that updating + # is atomic, and doesn't need trapping. + ac_file_inputs=`echo $ac_file_in | sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"` for ac_file_input in $ac_file_inputs; do test -f "$ac_file_input" || - { echo "configure: error: cannot find input file \`$ac_file_input'" >&2; exit 1; } + { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; } done EOF cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF @@ -11391,10 +11295,11 @@ s%@configure_input@%$configure_input%;t t s%@srcdir@%$srcdir%;t t s%@top_srcdir@%$top_srcdir%;t t s%@INSTALL@%$INSTALL%;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - mv $tmp/out $ac_file +" $ac_file_inputs | (eval "$ac_sed_cmds") >$ac_cs_root.out + mv $ac_cs_root.out $ac_file -done +fi; done +rm -f $ac_cs_root.s* EOF cat >>$CONFIG_STATUS <<\EOF @@ -11406,35 +11311,36 @@ cat >>$CONFIG_STATUS <<\EOF # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='[ ].*$%\1#\2' -ac_dC=' ' -ac_dD='%;t' +ac_dA='s%^\([ ]*\)#\([ ]*<>[ ][ ]*\)' +ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' +ac_dC='\3' +ac_dD='%;t t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$%\1#\2define\3' ac_uC=' ' -ac_uD='%;t' +ac_uD='%;t t' -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue +for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;; - *) ac_file_in=$ac_file.in ;; + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file - ac_file_inputs=`echo "$ac_file_in" | + rm -f $ac_cs_root.frag $ac_cs_root.in $ac_cs_root.out + ac_file_inputs=`echo $ac_file_in | sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"` - for ac_file_input in $ac_file_inputs; + for ac_file_input in $ac_file_inputs; do test -f "$ac_file_input" || - { echo "configure: error: cannot find input file \`$ac_file_input'" >&2; exit 1; } + { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; } done # Remove the trailing spaces. - sed -e 's/[ ]*$//' $ac_file_inputs >$tmp/in + sed -e 's/[ ]*$//' $ac_file_inputs >$ac_cs_root.in EOF @@ -11446,7 +11352,7 @@ EOF # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs -cat >confdef2sed.sed <<\EOF +cat >$ac_cs_root.hdr <<\EOF s/[\\&%]/\\&/g s%[\\$`]%\\&%g t clear @@ -11459,9 +11365,9 @@ EOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC_DEFINE to be honored. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +uniq confdefs.h | sed -n -f $ac_cs_root.hdr >conftest.defines sed -e 's/ac_d/ac_u/g' conftest.defines >conftest.undefs -rm -f confdef2sed.sed +rm -f $ac_cs_root.hdr # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required @@ -11473,20 +11379,21 @@ EOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS -echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' if egrep "^[ ]*#[ ]*define" $ac_cs_root.in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do - # Write a limited-size here document to $tmp/frag. - echo ' cat >$tmp/frag <>$CONFIG_STATUS + # Write a limited-size here document to $ac_cs_root.frag. + echo ' cat >$ac_cs_root.frag <>$CONFIG_STATUS + echo ': t' >>$CONFIG_STATUS echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF - sed -f $tmp/frag $tmp/in >$tmp/out - rm -f $tmp/in - mv $tmp/out $tmp/in + sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out + rm -f $ac_cs_root.in + mv $ac_cs_root.out $ac_cs_root.in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines @@ -11502,14 +11409,15 @@ echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do - # Write a limited-size here document to $tmp/frag. - echo ' cat >$tmp/frag <>$CONFIG_STATUS + # Write a limited-size here document to $ac_cs_root.frag. + echo ' cat >$ac_cs_root.frag <>$CONFIG_STATUS + echo ': t' >>$CONFIG_STATUS echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF - sed -f $tmp/frag $tmp/in >$tmp/out - rm -f $tmp/in - mv $tmp/out $tmp/in + sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out + rm -f $ac_cs_root.in + mv $ac_cs_root.out $ac_cs_root.in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs @@ -11518,35 +11426,38 @@ done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\EOF - echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h - cat $tmp/in >>$tmp/config.h - rm -f $tmp/in - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then + rm -f $ac_cs_root.frag $ac_cs_root.h + echo "/* $ac_file. Generated automatically by configure. */" >$ac_cs_root.h + cat $ac_cs_root.in >>$ac_cs_root.h + rm -f $ac_cs_root.in + if cmp -s $ac_file $ac_cs_root.h 2>/dev/null; then echo "$ac_file is unchanged" + rm -f $ac_cs_root.h else # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. - test -d "$ac_dir" || mkdir "$ac_dir" + test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file - mv $tmp/config.h $ac_file + mv $ac_cs_root.h $ac_file fi -done +fi; done EOF cat >>$CONFIG_STATUS <<\EOF # # CONFIG_COMMANDS section. # -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue - ac_dest=`echo "$ac_file" | sed 's%:.*%%'` - ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'` +for ac_file in .. $CONFIG_COMMANDS; do if test "x$ac_file" != x..; then + ac_dest=`echo "$ac_file"|sed 's%:.*%%'` + ac_source=`echo "$ac_file"|sed 's%[^:]*:%%'` + echo "executing commands of $ac_dest" case "$ac_dest" in default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; - default-2 ) + default-2 ) test x"$AMDEP" != x"" || for mf in $CONFIG_FILES; do case "$mf" in @@ -11587,11 +11498,15 @@ done ;; default ) chmod +x scripts/calc_tickadj scripts/checktime scripts/freq_adj scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver scripts/plot_summary scripts/summary ;; esac -done +fi;done EOF cat >>$CONFIG_STATUS <<\EOF +# +# CONFIG_COMMANDS section. +# + exit 0 EOF chmod +x $CONFIG_STATUS diff --git a/configure.in b/configure.in index 809aaddf5..026b21c6e 100644 --- a/configure.in +++ b/configure.in @@ -514,7 +514,7 @@ case "$host" in ;; esac -AC_CHECK_TYPES(s_char) +AC_CHECK_TYPES((s_char)) case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in *yes) # We have a typedef for s_char. Might as well believe it... @@ -1568,12 +1568,12 @@ dnl AC_MSG_RESULT($ans) dnl AC_CHECK_MEMBERS ((AGGREGATE.MEMBER, ...), [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND], [INCLUDES]) -AC_CHECK_MEMBERS([struct audio_info.monitor_gain, +AC_CHECK_MEMBERS((struct audio_info.monitor_gain, struct audio_info.output_muted, struct audio_info.blocksize, struct audio_info.hiwat, struct audio_info.lowat, - struct audio_info.mode], , , + struct audio_info.mode), , , [#ifdef HAVE_SUN_AUDIO_H #include #endif