ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure
(Generate patch)

Comparing Convert-UUlib/uulib/configure (file contents):
Revision 1.6 by root, Sun Oct 13 13:08:43 2002 UTC vs.
Revision 1.7 by root, Thu Nov 6 13:33:41 2003 UTC

1#! /bin/sh 1#! /bin/sh
2
2# Guess values for system-dependent variables and create Makefiles. 3# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52. 4# Generated automatically using autoconf version 2.13
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
4# 6#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 8# gives unlimited permission to copy, distribute and modify it.
9 9
10# Avoid depending upon Character Ranges. 10# Defaults:
11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11ac_help=
12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14as_cr_digits='0123456789'
15as_cr_alnum=$as_cr_Letters$as_cr_digits
16
17# Sed expression to map a string onto a valid variable name.
18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
19
20# Sed expression to map a string onto a valid CPP name.
21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22
23# Be Bourne compatible
24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 emulate sh
26 NULLCMD=:
27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28 set -o posix
29fi
30
31# Name of the executable.
32as_me=`echo "$0" |sed 's,.*[\\/],,'`
33
34if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr
36else
37 as_expr=false
38fi
39
40rm -f conf$$ conf$$.exe conf$$.file
41echo >conf$$.file
42if ln -s conf$$.file conf$$ 2>/dev/null; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe; then
46 # Don't use ln at all; we don't have any links
47 as_ln_s='cp -p'
48 else
49 as_ln_s='ln -s'
50 fi
51elif ln conf$$.file conf$$ 2>/dev/null; then
52 as_ln_s=ln
53else
54 as_ln_s='cp -p'
55fi
56rm -f conf$$ conf$$.exe conf$$.file
57
58as_executable_p="test -f"
59
60# Support unset when possible.
61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62 as_unset=unset
63else
64 as_unset=false
65fi
66
67# NLS nuisances.
68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76
77# IFS
78# We need space, tab and new line, in precisely that order.
79as_nl='
80'
81IFS=" $as_nl"
82
83# CDPATH.
84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
85
86# Name of the host.
87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88# so uname gets run too.
89ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
90
91exec 6>&1
92
93#
94# Initializations.
95#
96ac_default_prefix=/usr/local 12ac_default_prefix=/usr/local
97cross_compiling=no 13# Any additions from configure.in:
98subdirs= 14ac_help="$ac_help
99MFLAGS= MAKEFLAGS= 15"
100SHELL=${CONFIG_SHELL-/bin/sh} 16ac_help="$ac_help
101 17"
102# Maximum number of lines to put in a shell here document.
103# This variable seems obsolete. It should probably be removed, and
104# only ac_max_sed_lines should be used.
105: ${ac_max_here_lines=38}
106
107ac_unique_file="uulib.c"
108# Factoring default headers for most tests.
109ac_includes_default="\
110#include <stdio.h>
111#if HAVE_SYS_TYPES_H
112# include <sys/types.h>
113#endif
114#if HAVE_SYS_STAT_H
115# include <sys/stat.h>
116#endif
117#if STDC_HEADERS
118# include <stdlib.h>
119# include <stddef.h>
120#else
121# if HAVE_STDLIB_H
122# include <stdlib.h>
123# endif
124#endif
125#if HAVE_STRING_H
126# if !STDC_HEADERS && HAVE_MEMORY_H
127# include <memory.h>
128# endif
129# include <string.h>
130#endif
131#if HAVE_STRINGS_H
132# include <strings.h>
133#endif
134#if HAVE_INTTYPES_H
135# include <inttypes.h>
136#else
137# if HAVE_STDINT_H
138# include <stdint.h>
139# endif
140#endif
141#if HAVE_UNISTD_H
142# include <unistd.h>
143#endif"
144 18
145# Initialize some variables set by options. 19# Initialize some variables set by options.
146ac_init_help=
147ac_init_version=false
148# The variables have the same names as the options, with 20# The variables have the same names as the options, with
149# dashes changed to underlines. 21# dashes changed to underlines.
150cache_file=/dev/null 22build=NONE
23cache_file=./config.cache
151exec_prefix=NONE 24exec_prefix=NONE
25host=NONE
152no_create= 26no_create=
27nonopt=NONE
153no_recursion= 28no_recursion=
154prefix=NONE 29prefix=NONE
155program_prefix=NONE 30program_prefix=NONE
156program_suffix=NONE 31program_suffix=NONE
157program_transform_name=s,x,x, 32program_transform_name=s,x,x,
158silent= 33silent=
159site= 34site=
160srcdir= 35srcdir=
36target=NONE
161verbose= 37verbose=
162x_includes=NONE 38x_includes=NONE
163x_libraries=NONE 39x_libraries=NONE
164
165# Installation directory options.
166# These are left unexpanded so users can "make install exec_prefix=/foo"
167# and all the variables that are supposed to be based on exec_prefix
168# by default will actually change.
169# Use braces instead of parens because sh, perl, etc. also accept them.
170bindir='${exec_prefix}/bin' 40bindir='${exec_prefix}/bin'
171sbindir='${exec_prefix}/sbin' 41sbindir='${exec_prefix}/sbin'
172libexecdir='${exec_prefix}/libexec' 42libexecdir='${exec_prefix}/libexec'
173datadir='${prefix}/share' 43datadir='${prefix}/share'
174sysconfdir='${prefix}/etc' 44sysconfdir='${prefix}/etc'
178includedir='${prefix}/include' 48includedir='${prefix}/include'
179oldincludedir='/usr/include' 49oldincludedir='/usr/include'
180infodir='${prefix}/info' 50infodir='${prefix}/info'
181mandir='${prefix}/man' 51mandir='${prefix}/man'
182 52
183# Identity of this package. 53# Initialize some other variables.
184PACKAGE_NAME= 54subdirs=
185PACKAGE_TARNAME= 55MFLAGS= MAKEFLAGS=
186PACKAGE_VERSION= 56SHELL=${CONFIG_SHELL-/bin/sh}
187PACKAGE_STRING= 57# Maximum number of lines to put in a shell here document.
188PACKAGE_BUGREPORT= 58ac_max_here_lines=12
189 59
190ac_prev= 60ac_prev=
191for ac_option 61for ac_option
192do 62do
63
193 # If the previous option needs an argument, assign it. 64 # If the previous option needs an argument, assign it.
194 if test -n "$ac_prev"; then 65 if test -n "$ac_prev"; then
195 eval "$ac_prev=\$ac_option" 66 eval "$ac_prev=\$ac_option"
196 ac_prev= 67 ac_prev=
197 continue 68 continue
198 fi 69 fi
199 70
200 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 71 case "$ac_option" in
72 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
73 *) ac_optarg= ;;
74 esac
201 75
202 # Accept the important Cygnus configure options, so we can diagnose typos. 76 # Accept the important Cygnus configure options, so we can diagnose typos.
203 77
204 case $ac_option in 78 case "$ac_option" in
205 79
206 -bindir | --bindir | --bindi | --bind | --bin | --bi) 80 -bindir | --bindir | --bindi | --bind | --bin | --bi)
207 ac_prev=bindir ;; 81 ac_prev=bindir ;;
208 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 82 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
209 bindir=$ac_optarg ;; 83 bindir="$ac_optarg" ;;
210 84
211 -build | --build | --buil | --bui | --bu) 85 -build | --build | --buil | --bui | --bu)
212 ac_prev=build_alias ;; 86 ac_prev=build ;;
213 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 87 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
214 build_alias=$ac_optarg ;; 88 build="$ac_optarg" ;;
215 89
216 -cache-file | --cache-file | --cache-fil | --cache-fi \ 90 -cache-file | --cache-file | --cache-fil | --cache-fi \
217 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 91 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
218 ac_prev=cache_file ;; 92 ac_prev=cache_file ;;
219 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 93 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
220 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 94 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
221 cache_file=$ac_optarg ;; 95 cache_file="$ac_optarg" ;;
222
223 --config-cache | -C)
224 cache_file=config.cache ;;
225 96
226 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 97 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
227 ac_prev=datadir ;; 98 ac_prev=datadir ;;
228 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 99 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
229 | --da=*) 100 | --da=*)
230 datadir=$ac_optarg ;; 101 datadir="$ac_optarg" ;;
231 102
232 -disable-* | --disable-*) 103 -disable-* | --disable-*)
233 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 104 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
234 # Reject names that are not valid shell variable names. 105 # Reject names that are not valid shell variable names.
235 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 106 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
236 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 107 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
237 { (exit 1); exit 1; }; } 108 fi
238 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 109 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
239 eval "enable_$ac_feature=no" ;; 110 eval "enable_${ac_feature}=no" ;;
240 111
241 -enable-* | --enable-*) 112 -enable-* | --enable-*)
242 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 113 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
243 # Reject names that are not valid shell variable names. 114 # Reject names that are not valid shell variable names.
244 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 115 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 116 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
246 { (exit 1); exit 1; }; } 117 fi
247 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 118 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
248 case $ac_option in 119 case "$ac_option" in
249 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 120 *=*) ;;
250 *) ac_optarg=yes ;; 121 *) ac_optarg=yes ;;
251 esac 122 esac
252 eval "enable_$ac_feature='$ac_optarg'" ;; 123 eval "enable_${ac_feature}='$ac_optarg'" ;;
253 124
254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
256 | --exec | --exe | --ex) 127 | --exec | --exe | --ex)
257 ac_prev=exec_prefix ;; 128 ac_prev=exec_prefix ;;
258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 129 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 130 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
260 | --exec=* | --exe=* | --ex=*) 131 | --exec=* | --exe=* | --ex=*)
261 exec_prefix=$ac_optarg ;; 132 exec_prefix="$ac_optarg" ;;
262 133
263 -gas | --gas | --ga | --g) 134 -gas | --gas | --ga | --g)
264 # Obsolete; use --with-gas. 135 # Obsolete; use --with-gas.
265 with_gas=yes ;; 136 with_gas=yes ;;
266 137
267 -help | --help | --hel | --he | -h) 138 -help | --help | --hel | --he)
268 ac_init_help=long ;; 139 # Omit some internal or obsolete options to make the list less imposing.
269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 140 # This message is too long to be a string in the A/UX 3.1 sh.
270 ac_init_help=recursive ;; 141 cat << EOF
271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 142Usage: configure [options] [host]
272 ac_init_help=short ;; 143Options: [defaults in brackets after descriptions]
144Configuration:
145 --cache-file=FILE cache test results in FILE
146 --help print this message
147 --no-create do not create output files
148 --quiet, --silent do not print \`checking...' messages
149 --version print the version of autoconf that created configure
150Directory and file names:
151 --prefix=PREFIX install architecture-independent files in PREFIX
152 [$ac_default_prefix]
153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
154 [same as prefix]
155 --bindir=DIR user executables in DIR [EPREFIX/bin]
156 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
157 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
158 --datadir=DIR read-only architecture-independent data in DIR
159 [PREFIX/share]
160 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
161 --sharedstatedir=DIR modifiable architecture-independent data in DIR
162 [PREFIX/com]
163 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
164 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
165 --includedir=DIR C header files in DIR [PREFIX/include]
166 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
167 --infodir=DIR info documentation in DIR [PREFIX/info]
168 --mandir=DIR man documentation in DIR [PREFIX/man]
169 --srcdir=DIR find the sources in DIR [configure dir or ..]
170 --program-prefix=PREFIX prepend PREFIX to installed program names
171 --program-suffix=SUFFIX append SUFFIX to installed program names
172 --program-transform-name=PROGRAM
173 run sed PROGRAM on installed program names
174EOF
175 cat << EOF
176Host type:
177 --build=BUILD configure for building on BUILD [BUILD=HOST]
178 --host=HOST configure for HOST [guessed]
179 --target=TARGET configure for TARGET [TARGET=HOST]
180Features and packages:
181 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
182 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
183 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
184 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
185 --x-includes=DIR X include files are in DIR
186 --x-libraries=DIR X library files are in DIR
187EOF
188 if test -n "$ac_help"; then
189 echo "--enable and --with options recognized:$ac_help"
190 fi
191 exit 0 ;;
273 192
274 -host | --host | --hos | --ho) 193 -host | --host | --hos | --ho)
275 ac_prev=host_alias ;; 194 ac_prev=host ;;
276 -host=* | --host=* | --hos=* | --ho=*) 195 -host=* | --host=* | --hos=* | --ho=*)
277 host_alias=$ac_optarg ;; 196 host="$ac_optarg" ;;
278 197
279 -includedir | --includedir | --includedi | --included | --include \ 198 -includedir | --includedir | --includedi | --included | --include \
280 | --includ | --inclu | --incl | --inc) 199 | --includ | --inclu | --incl | --inc)
281 ac_prev=includedir ;; 200 ac_prev=includedir ;;
282 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 201 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
283 | --includ=* | --inclu=* | --incl=* | --inc=*) 202 | --includ=* | --inclu=* | --incl=* | --inc=*)
284 includedir=$ac_optarg ;; 203 includedir="$ac_optarg" ;;
285 204
286 -infodir | --infodir | --infodi | --infod | --info | --inf) 205 -infodir | --infodir | --infodi | --infod | --info | --inf)
287 ac_prev=infodir ;; 206 ac_prev=infodir ;;
288 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 207 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
289 infodir=$ac_optarg ;; 208 infodir="$ac_optarg" ;;
290 209
291 -libdir | --libdir | --libdi | --libd) 210 -libdir | --libdir | --libdi | --libd)
292 ac_prev=libdir ;; 211 ac_prev=libdir ;;
293 -libdir=* | --libdir=* | --libdi=* | --libd=*) 212 -libdir=* | --libdir=* | --libdi=* | --libd=*)
294 libdir=$ac_optarg ;; 213 libdir="$ac_optarg" ;;
295 214
296 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 215 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
297 | --libexe | --libex | --libe) 216 | --libexe | --libex | --libe)
298 ac_prev=libexecdir ;; 217 ac_prev=libexecdir ;;
299 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 218 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
300 | --libexe=* | --libex=* | --libe=*) 219 | --libexe=* | --libex=* | --libe=*)
301 libexecdir=$ac_optarg ;; 220 libexecdir="$ac_optarg" ;;
302 221
303 -localstatedir | --localstatedir | --localstatedi | --localstated \ 222 -localstatedir | --localstatedir | --localstatedi | --localstated \
304 | --localstate | --localstat | --localsta | --localst \ 223 | --localstate | --localstat | --localsta | --localst \
305 | --locals | --local | --loca | --loc | --lo) 224 | --locals | --local | --loca | --loc | --lo)
306 ac_prev=localstatedir ;; 225 ac_prev=localstatedir ;;
307 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 226 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
308 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 227 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
309 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 228 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
310 localstatedir=$ac_optarg ;; 229 localstatedir="$ac_optarg" ;;
311 230
312 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 231 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
313 ac_prev=mandir ;; 232 ac_prev=mandir ;;
314 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 233 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
315 mandir=$ac_optarg ;; 234 mandir="$ac_optarg" ;;
316 235
317 -nfp | --nfp | --nf) 236 -nfp | --nfp | --nf)
318 # Obsolete; use --without-fp. 237 # Obsolete; use --without-fp.
319 with_fp=no ;; 238 with_fp=no ;;
320 239
331 | --oldin | --oldi | --old | --ol | --o) 250 | --oldin | --oldi | --old | --ol | --o)
332 ac_prev=oldincludedir ;; 251 ac_prev=oldincludedir ;;
333 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 252 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
334 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 253 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
335 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 254 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
336 oldincludedir=$ac_optarg ;; 255 oldincludedir="$ac_optarg" ;;
337 256
338 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 257 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
339 ac_prev=prefix ;; 258 ac_prev=prefix ;;
340 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 259 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
341 prefix=$ac_optarg ;; 260 prefix="$ac_optarg" ;;
342 261
343 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 262 -program-prefix | --program-prefix | --program-prefi | --program-pref \
344 | --program-pre | --program-pr | --program-p) 263 | --program-pre | --program-pr | --program-p)
345 ac_prev=program_prefix ;; 264 ac_prev=program_prefix ;;
346 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 265 -program-prefix=* | --program-prefix=* | --program-prefi=* \
347 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 266 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
348 program_prefix=$ac_optarg ;; 267 program_prefix="$ac_optarg" ;;
349 268
350 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 269 -program-suffix | --program-suffix | --program-suffi | --program-suff \
351 | --program-suf | --program-su | --program-s) 270 | --program-suf | --program-su | --program-s)
352 ac_prev=program_suffix ;; 271 ac_prev=program_suffix ;;
353 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 272 -program-suffix=* | --program-suffix=* | --program-suffi=* \
354 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 273 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
355 program_suffix=$ac_optarg ;; 274 program_suffix="$ac_optarg" ;;
356 275
357 -program-transform-name | --program-transform-name \ 276 -program-transform-name | --program-transform-name \
358 | --program-transform-nam | --program-transform-na \ 277 | --program-transform-nam | --program-transform-na \
359 | --program-transform-n | --program-transform- \ 278 | --program-transform-n | --program-transform- \
360 | --program-transform | --program-transfor \ 279 | --program-transform | --program-transfor \
367 | --program-transform-n=* | --program-transform-=* \ 286 | --program-transform-n=* | --program-transform-=* \
368 | --program-transform=* | --program-transfor=* \ 287 | --program-transform=* | --program-transfor=* \
369 | --program-transfo=* | --program-transf=* \ 288 | --program-transfo=* | --program-transf=* \
370 | --program-trans=* | --program-tran=* \ 289 | --program-trans=* | --program-tran=* \
371 | --progr-tra=* | --program-tr=* | --program-t=*) 290 | --progr-tra=* | --program-tr=* | --program-t=*)
372 program_transform_name=$ac_optarg ;; 291 program_transform_name="$ac_optarg" ;;
373 292
374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
375 | -silent | --silent | --silen | --sile | --sil) 294 | -silent | --silent | --silen | --sile | --sil)
376 silent=yes ;; 295 silent=yes ;;
377 296
378 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 297 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
379 ac_prev=sbindir ;; 298 ac_prev=sbindir ;;
380 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 299 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
381 | --sbi=* | --sb=*) 300 | --sbi=* | --sb=*)
382 sbindir=$ac_optarg ;; 301 sbindir="$ac_optarg" ;;
383 302
384 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 303 -sharedstatedir | --sharedstatedir | --sharedstatedi \
385 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 304 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
386 | --sharedst | --shareds | --shared | --share | --shar \ 305 | --sharedst | --shareds | --shared | --share | --shar \
387 | --sha | --sh) 306 | --sha | --sh)
388 ac_prev=sharedstatedir ;; 307 ac_prev=sharedstatedir ;;
389 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 308 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
390 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 309 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
391 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 310 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
392 | --sha=* | --sh=*) 311 | --sha=* | --sh=*)
393 sharedstatedir=$ac_optarg ;; 312 sharedstatedir="$ac_optarg" ;;
394 313
395 -site | --site | --sit) 314 -site | --site | --sit)
396 ac_prev=site ;; 315 ac_prev=site ;;
397 -site=* | --site=* | --sit=*) 316 -site=* | --site=* | --sit=*)
398 site=$ac_optarg ;; 317 site="$ac_optarg" ;;
399 318
400 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 319 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
401 ac_prev=srcdir ;; 320 ac_prev=srcdir ;;
402 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 321 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
403 srcdir=$ac_optarg ;; 322 srcdir="$ac_optarg" ;;
404 323
405 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 324 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
406 | --syscon | --sysco | --sysc | --sys | --sy) 325 | --syscon | --sysco | --sysc | --sys | --sy)
407 ac_prev=sysconfdir ;; 326 ac_prev=sysconfdir ;;
408 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 327 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
409 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 328 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
410 sysconfdir=$ac_optarg ;; 329 sysconfdir="$ac_optarg" ;;
411 330
412 -target | --target | --targe | --targ | --tar | --ta | --t) 331 -target | --target | --targe | --targ | --tar | --ta | --t)
413 ac_prev=target_alias ;; 332 ac_prev=target ;;
414 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 333 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
415 target_alias=$ac_optarg ;; 334 target="$ac_optarg" ;;
416 335
417 -v | -verbose | --verbose | --verbos | --verbo | --verb) 336 -v | -verbose | --verbose | --verbos | --verbo | --verb)
418 verbose=yes ;; 337 verbose=yes ;;
419 338
420 -version | --version | --versio | --versi | --vers | -V) 339 -version | --version | --versio | --versi | --vers)
421 ac_init_version=: ;; 340 echo "configure generated by autoconf version 2.13"
341 exit 0 ;;
422 342
423 -with-* | --with-*) 343 -with-* | --with-*)
424 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 344 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
425 # Reject names that are not valid shell variable names. 345 # Reject names that are not valid shell variable names.
426 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 346 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
427 { echo "$as_me: error: invalid package name: $ac_package" >&2 347 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
428 { (exit 1); exit 1; }; } 348 fi
429 ac_package=`echo $ac_package| sed 's/-/_/g'` 349 ac_package=`echo $ac_package| sed 's/-/_/g'`
430 case $ac_option in 350 case "$ac_option" in
431 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 351 *=*) ;;
432 *) ac_optarg=yes ;; 352 *) ac_optarg=yes ;;
433 esac 353 esac
434 eval "with_$ac_package='$ac_optarg'" ;; 354 eval "with_${ac_package}='$ac_optarg'" ;;
435 355
436 -without-* | --without-*) 356 -without-* | --without-*)
437 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 357 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
438 # Reject names that are not valid shell variable names. 358 # Reject names that are not valid shell variable names.
439 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 359 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
440 { echo "$as_me: error: invalid package name: $ac_package" >&2 360 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
441 { (exit 1); exit 1; }; } 361 fi
442 ac_package=`echo $ac_package | sed 's/-/_/g'` 362 ac_package=`echo $ac_package| sed 's/-/_/g'`
443 eval "with_$ac_package=no" ;; 363 eval "with_${ac_package}=no" ;;
444 364
445 --x) 365 --x)
446 # Obsolete; use --with-x. 366 # Obsolete; use --with-x.
447 with_x=yes ;; 367 with_x=yes ;;
448 368
449 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 369 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
450 | --x-incl | --x-inc | --x-in | --x-i) 370 | --x-incl | --x-inc | --x-in | --x-i)
451 ac_prev=x_includes ;; 371 ac_prev=x_includes ;;
452 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 372 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
453 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 373 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
454 x_includes=$ac_optarg ;; 374 x_includes="$ac_optarg" ;;
455 375
456 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 376 -x-libraries | --x-libraries | --x-librarie | --x-librari \
457 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 377 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
458 ac_prev=x_libraries ;; 378 ac_prev=x_libraries ;;
459 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 379 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
460 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 380 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
461 x_libraries=$ac_optarg ;; 381 x_libraries="$ac_optarg" ;;
462 382
463 -*) { echo "$as_me: error: unrecognized option: $ac_option 383 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
464Try \`$0 --help' for more information." >&2
465 { (exit 1); exit 1; }; }
466 ;; 384 ;;
467 385
468 *=*)
469 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
470 # Reject names that are not valid shell variable names.
471 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
472 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
473 { (exit 1); exit 1; }; }
474 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
475 eval "$ac_envvar='$ac_optarg'"
476 export $ac_envvar ;;
477
478 *) 386 *)
479 # FIXME: should be removed in autoconf 3.0. 387 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
480 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 388 echo "configure: warning: $ac_option: invalid host type" 1>&2
481 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 389 fi
482 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 390 if test "x$nonopt" != xNONE; then
483 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 391 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
392 fi
393 nonopt="$ac_option"
484 ;; 394 ;;
485 395
486 esac 396 esac
487done 397done
488 398
489if test -n "$ac_prev"; then 399if test -n "$ac_prev"; then
490 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 400 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
491 { echo "$as_me: error: missing argument to $ac_option" >&2
492 { (exit 1); exit 1; }; }
493fi 401fi
494 402
495# Be sure to have absolute paths. 403trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
496for ac_var in exec_prefix prefix 404
405# File descriptor usage:
406# 0 standard input
407# 1 file creation
408# 2 errors and warnings
409# 3 some systems may open it to /dev/tty
410# 4 used on the Kubota Titan
411# 6 checking for... messages and results
412# 5 compiler messages saved in config.log
413if test "$silent" = yes; then
414 exec 6>/dev/null
415else
416 exec 6>&1
417fi
418exec 5>./config.log
419
420echo "\
421This file contains any messages produced by compilers while
422running configure, to aid debugging if configure makes a mistake.
423" 1>&5
424
425# Strip out --no-create and --no-recursion so they do not pile up.
426# Also quote any args containing shell metacharacters.
427ac_configure_args=
428for ac_arg
497do 429do
498 eval ac_val=$`echo $ac_var`
499 case $ac_val in 430 case "$ac_arg" in
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 431 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 432 | --no-cr | --no-c) ;;
502 { (exit 1); exit 1; }; };; 433 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
434 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
436 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
437 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
503 esac 438 esac
504done 439done
505 440
506# Be sure to have absolute paths. 441# NLS nuisances.
507for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 442# Only set these to C if already set. These must not be set unconditionally
508 localstatedir libdir includedir oldincludedir infodir mandir 443# because not all systems understand e.g. LANG=C (notably SCO).
509do 444# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
510 eval ac_val=$`echo $ac_var` 445# Non-C LC_CTYPE values break the ctype check.
511 case $ac_val in 446if test "${LANG+set}" = set; then LANG=C; export LANG; fi
512 [\\/$]* | ?:[\\/]* ) ;; 447if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 448if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
514 { (exit 1); exit 1; }; };; 449if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
515 esac
516done
517 450
518# There might be people who depend on the old broken behavior: `$host' 451# confdefs.h avoids OS command line length limits that DEFS can exceed.
519# used to hold the argument of --host etc. 452rm -rf conftest* confdefs.h
520build=$build_alias 453# AIX cpp loses on an empty file, so make sure it contains at least a newline.
521host=$host_alias 454echo > confdefs.h
522target=$target_alias
523 455
524# FIXME: should be removed in autoconf 3.0. 456# A filename unique to this package, relative to the directory that
525if test "x$host_alias" != x; then 457# configure is in, which we can look for to find out if srcdir is correct.
526 if test "x$build_alias" = x; then 458ac_unique_file=uulib.c
527 cross_compiling=maybe
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529 If a cross compiler is detected then cross compile mode will be used." >&2
530 elif test "x$build_alias" != "x$host_alias"; then
531 cross_compiling=yes
532 fi
533fi
534
535ac_tool_prefix=
536test -n "$host_alias" && ac_tool_prefix=$host_alias-
537
538test "$silent" = yes && exec 6>/dev/null
539 459
540# Find the source files, if location was not specified. 460# Find the source files, if location was not specified.
541if test -z "$srcdir"; then 461if test -z "$srcdir"; then
542 ac_srcdir_defaulted=yes 462 ac_srcdir_defaulted=yes
543 # Try the directory containing this script, then its parent. 463 # Try the directory containing this script, then its parent.
544 ac_prog=$0 464 ac_prog=$0
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 465 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 466 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
547 srcdir=$ac_confdir 467 srcdir=$ac_confdir
548 if test ! -r $srcdir/$ac_unique_file; then 468 if test ! -r $srcdir/$ac_unique_file; then
549 srcdir=.. 469 srcdir=..
550 fi 470 fi
551else 471else
552 ac_srcdir_defaulted=no 472 ac_srcdir_defaulted=no
553fi 473fi
554if test ! -r $srcdir/$ac_unique_file; then 474if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then 475 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 476 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
557 { (exit 1); exit 1; }; }
558 else 477 else
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2 478 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
560 { (exit 1); exit 1; }; }
561 fi 479 fi
562fi 480fi
563srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 481srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
564ac_env_build_alias_set=${build_alias+set}
565ac_env_build_alias_value=$build_alias
566ac_cv_env_build_alias_set=${build_alias+set}
567ac_cv_env_build_alias_value=$build_alias
568ac_env_host_alias_set=${host_alias+set}
569ac_env_host_alias_value=$host_alias
570ac_cv_env_host_alias_set=${host_alias+set}
571ac_cv_env_host_alias_value=$host_alias
572ac_env_target_alias_set=${target_alias+set}
573ac_env_target_alias_value=$target_alias
574ac_cv_env_target_alias_set=${target_alias+set}
575ac_cv_env_target_alias_value=$target_alias
576ac_env_CC_set=${CC+set}
577ac_env_CC_value=$CC
578ac_cv_env_CC_set=${CC+set}
579ac_cv_env_CC_value=$CC
580ac_env_CFLAGS_set=${CFLAGS+set}
581ac_env_CFLAGS_value=$CFLAGS
582ac_cv_env_CFLAGS_set=${CFLAGS+set}
583ac_cv_env_CFLAGS_value=$CFLAGS
584ac_env_LDFLAGS_set=${LDFLAGS+set}
585ac_env_LDFLAGS_value=$LDFLAGS
586ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
587ac_cv_env_LDFLAGS_value=$LDFLAGS
588ac_env_CPPFLAGS_set=${CPPFLAGS+set}
589ac_env_CPPFLAGS_value=$CPPFLAGS
590ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
591ac_cv_env_CPPFLAGS_value=$CPPFLAGS
592ac_env_CPP_set=${CPP+set}
593ac_env_CPP_value=$CPP
594ac_cv_env_CPP_set=${CPP+set}
595ac_cv_env_CPP_value=$CPP
596 482
597#
598# Report the --help message.
599#
600if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh.
603 cat <<EOF
604\`configure' configures this package to adapt to many kinds of systems.
605
606Usage: $0 [OPTION]... [VAR=VALUE]...
607
608To assign environment variables (e.g., CC, CFLAGS...), specify them as
609VAR=VALUE. See below for descriptions of some of the useful variables.
610
611Defaults for the options are specified in brackets.
612
613Configuration:
614 -h, --help display this help and exit
615 --help=short display options specific to this package
616 --help=recursive display the short help of all the included packages
617 -V, --version display version information and exit
618 -q, --quiet, --silent do not print \`checking...' messages
619 --cache-file=FILE cache test results in FILE [disabled]
620 -C, --config-cache alias for \`--cache-file=config.cache'
621 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
623
624EOF
625
626 cat <<EOF
627Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX
629 [$ac_default_prefix]
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
631 [PREFIX]
632
633By default, \`make install' will install all the files in
634\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
635an installation prefix other than \`$ac_default_prefix' using \`--prefix',
636for instance \`--prefix=\$HOME'.
637
638For better control, use the options below.
639
640Fine tuning of the installation directories:
641 --bindir=DIR user executables [EPREFIX/bin]
642 --sbindir=DIR system admin executables [EPREFIX/sbin]
643 --libexecdir=DIR program executables [EPREFIX/libexec]
644 --datadir=DIR read-only architecture-independent data [PREFIX/share]
645 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
646 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
647 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
648 --libdir=DIR object code libraries [EPREFIX/lib]
649 --includedir=DIR C header files [PREFIX/include]
650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man]
653EOF
654
655 cat <<\EOF
656EOF
657fi
658
659if test -n "$ac_init_help"; then
660
661 cat <<\EOF
662
663Optional Packages:
664 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
665 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
666
667Some influential environment variables:
668 CC C compiler command
669 CFLAGS C compiler flags
670 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
671 nonstandard directory <lib dir>
672 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
673 headers in a nonstandard directory <include dir>
674 CPP C preprocessor
675
676Use these variables to override the choices made by `configure' or to help
677it to find libraries and programs with nonstandard names/locations.
678
679EOF
680fi
681
682if test "$ac_init_help" = "recursive"; then
683 # If there are subdirs, report their specific --help.
684 ac_popdir=`pwd`
685 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
686 cd $ac_subdir
687 # A "../" for each directory in /$ac_subdir.
688 ac_dots=`echo $ac_subdir |
689 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
690
691 case $srcdir in
692 .) # No --srcdir option. We are building in place.
693 ac_sub_srcdir=$srcdir ;;
694 [\\/]* | ?:[\\/]* ) # Absolute path.
695 ac_sub_srcdir=$srcdir/$ac_subdir ;;
696 *) # Relative path.
697 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
698 esac
699
700 # Check for guested configure; otherwise get Cygnus style configure.
701 if test -f $ac_sub_srcdir/configure.gnu; then
702 echo
703 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
704 elif test -f $ac_sub_srcdir/configure; then
705 echo
706 $SHELL $ac_sub_srcdir/configure --help=recursive
707 elif test -f $ac_sub_srcdir/configure.ac ||
708 test -f $ac_sub_srcdir/configure.in; then
709 echo
710 $ac_configure --help
711 else
712 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
713 fi
714 cd $ac_popdir
715 done
716fi
717
718test -n "$ac_init_help" && exit 0
719if $ac_init_version; then
720 cat <<\EOF
721
722Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
723Free Software Foundation, Inc.
724This configure script is free software; the Free Software Foundation
725gives unlimited permission to copy, distribute and modify it.
726EOF
727 exit 0
728fi
729exec 5>config.log
730cat >&5 <<EOF
731This file contains any messages produced by compilers while
732running configure, to aid debugging if configure makes a mistake.
733
734It was created by $as_me, which was
735generated by GNU Autoconf 2.52. Invocation command line was
736
737 $ $0 $@
738
739EOF
740{
741cat <<_ASUNAME
742## ---------- ##
743## Platform. ##
744## ---------- ##
745
746hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
747uname -m = `(uname -m) 2>/dev/null || echo unknown`
748uname -r = `(uname -r) 2>/dev/null || echo unknown`
749uname -s = `(uname -s) 2>/dev/null || echo unknown`
750uname -v = `(uname -v) 2>/dev/null || echo unknown`
751
752/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
753/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
754
755/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
756/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
757/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
758hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
759/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
760/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
761/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
762
763PATH = $PATH
764
765_ASUNAME
766} >&5
767
768cat >&5 <<EOF
769## ------------ ##
770## Core tests. ##
771## ------------ ##
772
773EOF
774
775# Keep a trace of the command line.
776# Strip out --no-create and --no-recursion so they do not pile up.
777# Also quote any args containing shell meta-characters.
778ac_configure_args=
779ac_sep=
780for ac_arg
781do
782 case $ac_arg in
783 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
784 | --no-cr | --no-c) ;;
785 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
786 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
787 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
788 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
789 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
790 ac_sep=" " ;;
791 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
792 ac_sep=" " ;;
793 esac
794 # Get rid of the leading space.
795done
796
797# When interrupted or exit'd, cleanup temporary files, and complete
798# config.log. We remove comments because anyway the quotes in there
799# would cause problems or look ugly.
800trap 'exit_status=$?
801 # Save into config.log some information that might help in debugging.
802 echo >&5
803 echo "## ----------------- ##" >&5
804 echo "## Cache variables. ##" >&5
805 echo "## ----------------- ##" >&5
806 echo >&5
807 # The following way of writing the cache mishandles newlines in values,
808{
809 (set) 2>&1 |
810 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
811 *ac_space=\ *)
812 sed -n \
813 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
815 ;;
816 *)
817 sed -n \
818 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
819 ;;
820 esac;
821} >&5
822 sed "/^$/d" confdefs.h >conftest.log
823 if test -s conftest.log; then
824 echo >&5
825 echo "## ------------ ##" >&5
826 echo "## confdefs.h. ##" >&5
827 echo "## ------------ ##" >&5
828 echo >&5
829 cat conftest.log >&5
830 fi
831 (echo; echo) >&5
832 test "$ac_signal" != 0 &&
833 echo "$as_me: caught signal $ac_signal" >&5
834 echo "$as_me: exit $exit_status" >&5
835 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
836 exit $exit_status
837 ' 0
838for ac_signal in 1 2 13 15; do
839 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
840done
841ac_signal=0
842
843# confdefs.h avoids OS command line length limits that DEFS can exceed.
844rm -rf conftest* confdefs.h
845# AIX cpp loses on an empty file, so make sure it contains at least a newline.
846echo >confdefs.h
847
848# Let the site file select an alternate cache file if it wants to.
849# Prefer explicitly selected file to automatically selected ones. 483# Prefer explicitly selected file to automatically selected ones.
850if test -z "$CONFIG_SITE"; then 484if test -z "$CONFIG_SITE"; then
851 if test "x$prefix" != xNONE; then 485 if test "x$prefix" != xNONE; then
852 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 486 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
853 else 487 else
854 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 488 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
855 fi 489 fi
856fi 490fi
857for ac_site_file in $CONFIG_SITE; do 491for ac_site_file in $CONFIG_SITE; do
858 if test -r "$ac_site_file"; then 492 if test -r "$ac_site_file"; then
859 { echo "$as_me:859: loading site script $ac_site_file" >&5 493 echo "loading site script $ac_site_file"
860echo "$as_me: loading site script $ac_site_file" >&6;}
861 cat "$ac_site_file" >&5
862 . "$ac_site_file" 494 . "$ac_site_file"
863 fi 495 fi
864done 496done
865 497
866if test -r "$cache_file"; then 498if test -r "$cache_file"; then
867 # Some versions of bash will fail to source /dev/null (special
868 # files actually), so we avoid doing that.
869 if test -f "$cache_file"; then
870 { echo "$as_me:870: loading cache $cache_file" >&5
871echo "$as_me: loading cache $cache_file" >&6;} 499 echo "loading cache $cache_file"
872 case $cache_file in 500 . $cache_file
873 [\\/]* | ?:[\\/]* ) . $cache_file;; 501else
874 *) . ./$cache_file;; 502 echo "creating cache $cache_file"
875 esac 503 > $cache_file
504fi
505
506ac_ext=c
507# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
508ac_cpp='$CPP $CPPFLAGS'
509ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
510ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
511cross_compiling=$ac_cv_prog_cc_cross
512
513ac_exeext=
514ac_objext=o
515if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
516 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
517 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
518 ac_n= ac_c='
519' ac_t=' '
520 else
521 ac_n=-n ac_c= ac_t=
876 fi 522 fi
877else 523else
878 { echo "$as_me:878: creating cache $cache_file" >&5 524 ac_n= ac_c='\c' ac_t=
879echo "$as_me: creating cache $cache_file" >&6;}
880 >$cache_file
881fi 525fi
882 526
883# Check that the precious variables saved in the cache have kept the same
884# value.
885ac_cache_corrupted=false
886for ac_var in `(set) 2>&1 |
887 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
888 eval ac_old_set=\$ac_cv_env_${ac_var}_set
889 eval ac_new_set=\$ac_env_${ac_var}_set
890 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
891 eval ac_new_val="\$ac_env_${ac_var}_value"
892 case $ac_old_set,$ac_new_set in
893 set,)
894 { echo "$as_me:894: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
895echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
896 ac_cache_corrupted=: ;;
897 ,set)
898 { echo "$as_me:898: error: \`$ac_var' was not set in the previous run" >&5
899echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
900 ac_cache_corrupted=: ;;
901 ,);;
902 *)
903 if test "x$ac_old_val" != "x$ac_new_val"; then
904 { echo "$as_me:904: error: \`$ac_var' has changed since the previous run:" >&5
905echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
906 { echo "$as_me:906: former value: $ac_old_val" >&5
907echo "$as_me: former value: $ac_old_val" >&2;}
908 { echo "$as_me:908: current value: $ac_new_val" >&5
909echo "$as_me: current value: $ac_new_val" >&2;}
910 ac_cache_corrupted=:
911 fi;;
912 esac
913 # Pass precious variables to config.status. It doesn't matter if
914 # we pass some twice (in addition to the command line arguments).
915 if test "$ac_new_set" = set; then
916 case $ac_new_val in
917 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
918 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
919 ac_configure_args="$ac_configure_args '$ac_arg'"
920 ;;
921 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
922 ;;
923 esac
924 fi
925done
926if $ac_cache_corrupted; then
927 { echo "$as_me:927: error: changes in the environment can compromise the build" >&5
928echo "$as_me: error: changes in the environment can compromise the build" >&2;}
929 { { echo "$as_me:929: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
930echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
931 { (exit 1); exit 1; }; }
932fi
933 527
934ac_ext=c
935ac_cpp='$CPP $CPPFLAGS'
936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
938ac_compiler_gnu=$ac_cv_c_compiler_gnu
939 528
940case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
941 *c*,-n*) ECHO_N= ECHO_C='
942' ECHO_T=' ' ;;
943 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
944 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
945esac
946echo "#! $SHELL" >conftest.sh
947echo "exit 0" >>conftest.sh
948chmod +x conftest.sh
949if { (echo "$as_me:949: PATH=\".;.\"; conftest.sh") >&5
950 (PATH=".;."; conftest.sh) 2>&5
951 ac_status=$?
952 echo "$as_me:952: \$? = $ac_status" >&5
953 (exit $ac_status); }; then
954 ac_path_separator=';'
955else
956 ac_path_separator=:
957fi
958PATH_SEPARATOR="$ac_path_separator"
959rm -f conftest.sh
960 529
961ac_config_headers="$ac_config_headers config.h"
962 530
963# 531#
964# package revision 532# package revision
965# 533#
966VERSION=0.5 534VERSION=0.5
967PATCH=18 535PATCH=19
968 536
969# Check whether --with-cc or --without-cc was given. 537# Check whether --with-cc or --without-cc was given.
970if test "${with_cc+set}" = set; then 538if test "${with_cc+set}" = set; then
971 withval="$with_cc" 539 withval="$with_cc"
972 CC=$with_cc 540 CC=$with_cc
973fi; 541fi
974 542
975# Check whether --with-cflags or --without-cflags was given. 543# Check whether --with-cflags or --without-cflags was given.
976if test "${with_cflags+set}" = set; then 544if test "${with_cflags+set}" = set; then
977 withval="$with_cflags" 545 withval="$with_cflags"
978 CFLAGS=$with_cflags 546 CFLAGS=$with_cflags
979fi; 547fi
980 548
981ac_ext=c 549
982ac_cpp='$CPP $CPPFLAGS'
983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
985ac_compiler_gnu=$ac_cv_c_compiler_gnu
986if test -n "$ac_tool_prefix"; then
987 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 550# Extract the first word of "gcc", so it can be a program name with args.
988set dummy ${ac_tool_prefix}gcc; ac_word=$2 551set dummy gcc; ac_word=$2
989echo "$as_me:989: checking for $ac_word" >&5
990echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 552echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
553echo "configure:554: checking for $ac_word" >&5
991if test "${ac_cv_prog_CC+set}" = set; then 554if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
992 echo $ECHO_N "(cached) $ECHO_C" >&6 555 echo $ac_n "(cached) $ac_c" 1>&6
993else 556else
994 if test -n "$CC"; then 557 if test -n "$CC"; then
995 ac_cv_prog_CC="$CC" # Let the user override the test. 558 ac_cv_prog_CC="$CC" # Let the user override the test.
996else 559else
997 ac_save_IFS=$IFS; IFS=$ac_path_separator 560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
998ac_dummy="$PATH" 561 ac_dummy="$PATH"
999for ac_dir in $ac_dummy; do 562 for ac_dir in $ac_dummy; do
1000 IFS=$ac_save_IFS
1001 test -z "$ac_dir" && ac_dir=. 563 test -z "$ac_dir" && ac_dir=.
1002 $as_executable_p "$ac_dir/$ac_word" || continue 564 if test -f $ac_dir/$ac_word; then
1003ac_cv_prog_CC="${ac_tool_prefix}gcc" 565 ac_cv_prog_CC="gcc"
1004echo "$as_me:1004: found $ac_dir/$ac_word" >&5 566 break
1005break 567 fi
1006done 568 done
1007 569 IFS="$ac_save_ifs"
1008fi 570fi
1009fi 571fi
1010CC=$ac_cv_prog_CC 572CC="$ac_cv_prog_CC"
1011if test -n "$CC"; then 573if test -n "$CC"; then
1012 echo "$as_me:1012: result: $CC" >&5 574 echo "$ac_t""$CC" 1>&6
1013echo "${ECHO_T}$CC" >&6
1014else 575else
1015 echo "$as_me:1015: result: no" >&5 576 echo "$ac_t""no" 1>&6
1016echo "${ECHO_T}no" >&6
1017fi 577fi
1018 578
1019fi
1020if test -z "$ac_cv_prog_CC"; then
1021 ac_ct_CC=$CC
1022 # Extract the first word of "gcc", so it can be a program name with args.
1023set dummy gcc; ac_word=$2
1024echo "$as_me:1024: checking for $ac_word" >&5
1025echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1026if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1027 echo $ECHO_N "(cached) $ECHO_C" >&6
1028else
1029 if test -n "$ac_ct_CC"; then
1030 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1031else
1032 ac_save_IFS=$IFS; IFS=$ac_path_separator
1033ac_dummy="$PATH"
1034for ac_dir in $ac_dummy; do
1035 IFS=$ac_save_IFS
1036 test -z "$ac_dir" && ac_dir=.
1037 $as_executable_p "$ac_dir/$ac_word" || continue
1038ac_cv_prog_ac_ct_CC="gcc"
1039echo "$as_me:1039: found $ac_dir/$ac_word" >&5
1040break
1041done
1042
1043fi
1044fi
1045ac_ct_CC=$ac_cv_prog_ac_ct_CC
1046if test -n "$ac_ct_CC"; then
1047 echo "$as_me:1047: result: $ac_ct_CC" >&5
1048echo "${ECHO_T}$ac_ct_CC" >&6
1049else
1050 echo "$as_me:1050: result: no" >&5
1051echo "${ECHO_T}no" >&6
1052fi
1053
1054 CC=$ac_ct_CC
1055else
1056 CC="$ac_cv_prog_CC"
1057fi
1058
1059if test -z "$CC"; then
1060 if test -n "$ac_tool_prefix"; then
1061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1062set dummy ${ac_tool_prefix}cc; ac_word=$2
1063echo "$as_me:1063: checking for $ac_word" >&5
1064echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1065if test "${ac_cv_prog_CC+set}" = set; then
1066 echo $ECHO_N "(cached) $ECHO_C" >&6
1067else
1068 if test -n "$CC"; then
1069 ac_cv_prog_CC="$CC" # Let the user override the test.
1070else
1071 ac_save_IFS=$IFS; IFS=$ac_path_separator
1072ac_dummy="$PATH"
1073for ac_dir in $ac_dummy; do
1074 IFS=$ac_save_IFS
1075 test -z "$ac_dir" && ac_dir=.
1076 $as_executable_p "$ac_dir/$ac_word" || continue
1077ac_cv_prog_CC="${ac_tool_prefix}cc"
1078echo "$as_me:1078: found $ac_dir/$ac_word" >&5
1079break
1080done
1081
1082fi
1083fi
1084CC=$ac_cv_prog_CC
1085if test -n "$CC"; then
1086 echo "$as_me:1086: result: $CC" >&5
1087echo "${ECHO_T}$CC" >&6
1088else
1089 echo "$as_me:1089: result: no" >&5
1090echo "${ECHO_T}no" >&6
1091fi
1092
1093fi
1094if test -z "$ac_cv_prog_CC"; then
1095 ac_ct_CC=$CC
1096 # Extract the first word of "cc", so it can be a program name with args.
1097set dummy cc; ac_word=$2
1098echo "$as_me:1098: checking for $ac_word" >&5
1099echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1100if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1101 echo $ECHO_N "(cached) $ECHO_C" >&6
1102else
1103 if test -n "$ac_ct_CC"; then
1104 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1105else
1106 ac_save_IFS=$IFS; IFS=$ac_path_separator
1107ac_dummy="$PATH"
1108for ac_dir in $ac_dummy; do
1109 IFS=$ac_save_IFS
1110 test -z "$ac_dir" && ac_dir=.
1111 $as_executable_p "$ac_dir/$ac_word" || continue
1112ac_cv_prog_ac_ct_CC="cc"
1113echo "$as_me:1113: found $ac_dir/$ac_word" >&5
1114break
1115done
1116
1117fi
1118fi
1119ac_ct_CC=$ac_cv_prog_ac_ct_CC
1120if test -n "$ac_ct_CC"; then
1121 echo "$as_me:1121: result: $ac_ct_CC" >&5
1122echo "${ECHO_T}$ac_ct_CC" >&6
1123else
1124 echo "$as_me:1124: result: no" >&5
1125echo "${ECHO_T}no" >&6
1126fi
1127
1128 CC=$ac_ct_CC
1129else
1130 CC="$ac_cv_prog_CC"
1131fi
1132
1133fi
1134if test -z "$CC"; then 579if test -z "$CC"; then
1135 # Extract the first word of "cc", so it can be a program name with args. 580 # Extract the first word of "cc", so it can be a program name with args.
1136set dummy cc; ac_word=$2 581set dummy cc; ac_word=$2
1137echo "$as_me:1137: checking for $ac_word" >&5
1138echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 582echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
583echo "configure:584: checking for $ac_word" >&5
1139if test "${ac_cv_prog_CC+set}" = set; then 584if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1140 echo $ECHO_N "(cached) $ECHO_C" >&6 585 echo $ac_n "(cached) $ac_c" 1>&6
1141else 586else
1142 if test -n "$CC"; then 587 if test -n "$CC"; then
1143 ac_cv_prog_CC="$CC" # Let the user override the test. 588 ac_cv_prog_CC="$CC" # Let the user override the test.
1144else 589else
590 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1145 ac_prog_rejected=no 591 ac_prog_rejected=no
1146 ac_save_IFS=$IFS; IFS=$ac_path_separator
1147ac_dummy="$PATH" 592 ac_dummy="$PATH"
1148for ac_dir in $ac_dummy; do 593 for ac_dir in $ac_dummy; do
1149 IFS=$ac_save_IFS
1150 test -z "$ac_dir" && ac_dir=. 594 test -z "$ac_dir" && ac_dir=.
1151 $as_executable_p "$ac_dir/$ac_word" || continue 595 if test -f $ac_dir/$ac_word; then
1152if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 596 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1153 ac_prog_rejected=yes 597 ac_prog_rejected=yes
1154 continue 598 continue
1155fi 599 fi
1156ac_cv_prog_CC="cc" 600 ac_cv_prog_CC="cc"
1157echo "$as_me:1157: found $ac_dir/$ac_word" >&5 601 break
1158break 602 fi
1159done 603 done
1160 604 IFS="$ac_save_ifs"
1161if test $ac_prog_rejected = yes; then 605if test $ac_prog_rejected = yes; then
1162 # We found a bogon in the path, so make sure we never use it. 606 # We found a bogon in the path, so make sure we never use it.
1163 set dummy $ac_cv_prog_CC 607 set dummy $ac_cv_prog_CC
1164 shift 608 shift
1165 if test $# != 0; then 609 if test $# -gt 0; then
1166 # We chose a different compiler from the bogus one. 610 # We chose a different compiler from the bogus one.
1167 # However, it has the same basename, so the bogon will be chosen 611 # However, it has the same basename, so the bogon will be chosen
1168 # first if we set CC to just the basename; use the full file name. 612 # first if we set CC to just the basename; use the full file name.
1169 shift 613 shift
1170 set dummy "$ac_dir/$ac_word" ${1+"$@"} 614 set dummy "$ac_dir/$ac_word" "$@"
1171 shift 615 shift
1172 ac_cv_prog_CC="$@" 616 ac_cv_prog_CC="$@"
1173 fi 617 fi
1174fi 618fi
1175fi 619fi
1176fi 620fi
1177CC=$ac_cv_prog_CC 621CC="$ac_cv_prog_CC"
1178if test -n "$CC"; then 622if test -n "$CC"; then
1179 echo "$as_me:1179: result: $CC" >&5 623 echo "$ac_t""$CC" 1>&6
1180echo "${ECHO_T}$CC" >&6
1181else 624else
1182 echo "$as_me:1182: result: no" >&5 625 echo "$ac_t""no" 1>&6
1183echo "${ECHO_T}no" >&6
1184fi 626fi
1185 627
1186fi
1187if test -z "$CC"; then 628 if test -z "$CC"; then
1188 if test -n "$ac_tool_prefix"; then 629 case "`uname -s`" in
1189 for ac_prog in cl 630 *win32* | *WIN32*)
1190 do
1191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 631 # Extract the first word of "cl", so it can be a program name with args.
1192set dummy $ac_tool_prefix$ac_prog; ac_word=$2 632set dummy cl; ac_word=$2
1193echo "$as_me:1193: checking for $ac_word" >&5
1194echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 633echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
634echo "configure:635: checking for $ac_word" >&5
1195if test "${ac_cv_prog_CC+set}" = set; then 635if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1196 echo $ECHO_N "(cached) $ECHO_C" >&6 636 echo $ac_n "(cached) $ac_c" 1>&6
1197else 637else
1198 if test -n "$CC"; then 638 if test -n "$CC"; then
1199 ac_cv_prog_CC="$CC" # Let the user override the test. 639 ac_cv_prog_CC="$CC" # Let the user override the test.
1200else 640else
1201 ac_save_IFS=$IFS; IFS=$ac_path_separator 641 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1202ac_dummy="$PATH" 642 ac_dummy="$PATH"
1203for ac_dir in $ac_dummy; do 643 for ac_dir in $ac_dummy; do
1204 IFS=$ac_save_IFS
1205 test -z "$ac_dir" && ac_dir=. 644 test -z "$ac_dir" && ac_dir=.
1206 $as_executable_p "$ac_dir/$ac_word" || continue 645 if test -f $ac_dir/$ac_word; then
1207ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 646 ac_cv_prog_CC="cl"
1208echo "$as_me:1208: found $ac_dir/$ac_word" >&5 647 break
1209break 648 fi
1210done 649 done
1211 650 IFS="$ac_save_ifs"
1212fi 651fi
1213fi 652fi
1214CC=$ac_cv_prog_CC 653CC="$ac_cv_prog_CC"
1215if test -n "$CC"; then 654if test -n "$CC"; then
1216 echo "$as_me:1216: result: $CC" >&5 655 echo "$ac_t""$CC" 1>&6
1217echo "${ECHO_T}$CC" >&6
1218else 656else
1219 echo "$as_me:1219: result: no" >&5 657 echo "$ac_t""no" 1>&6
1220echo "${ECHO_T}no" >&6
1221fi 658fi
1222 659 ;;
1223 test -n "$CC" && break 660 esac
1224 done 661 fi
1225fi
1226if test -z "$CC"; then
1227 ac_ct_CC=$CC
1228 for ac_prog in cl
1229do
1230 # Extract the first word of "$ac_prog", so it can be a program name with args.
1231set dummy $ac_prog; ac_word=$2
1232echo "$as_me:1232: checking for $ac_word" >&5
1233echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1234if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1235 echo $ECHO_N "(cached) $ECHO_C" >&6
1236else
1237 if test -n "$ac_ct_CC"; then
1238 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1239else
1240 ac_save_IFS=$IFS; IFS=$ac_path_separator
1241ac_dummy="$PATH"
1242for ac_dir in $ac_dummy; do
1243 IFS=$ac_save_IFS
1244 test -z "$ac_dir" && ac_dir=.
1245 $as_executable_p "$ac_dir/$ac_word" || continue
1246ac_cv_prog_ac_ct_CC="$ac_prog"
1247echo "$as_me:1247: found $ac_dir/$ac_word" >&5
1248break
1249done
1250
1251fi
1252fi
1253ac_ct_CC=$ac_cv_prog_ac_ct_CC
1254if test -n "$ac_ct_CC"; then
1255 echo "$as_me:1255: result: $ac_ct_CC" >&5
1256echo "${ECHO_T}$ac_ct_CC" >&6
1257else
1258 echo "$as_me:1258: result: no" >&5
1259echo "${ECHO_T}no" >&6
1260fi
1261
1262 test -n "$ac_ct_CC" && break
1263done
1264
1265 CC=$ac_ct_CC
1266fi
1267
1268fi
1269
1270test -z "$CC" && { { echo "$as_me:1270: error: no acceptable cc found in \$PATH" >&5 662 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1271echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 663fi
1272 { (exit 1); exit 1; }; }
1273 664
1274# Provide some information about the compiler. 665echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1275echo "$as_me:1275:" \ 666echo "configure:667: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1276 "checking for C compiler version" >&5
1277ac_compiler=`set X $ac_compile; echo $2`
1278{ (eval echo "$as_me:1278: \"$ac_compiler --version </dev/null >&5\"") >&5
1279 (eval $ac_compiler --version </dev/null >&5) 2>&5
1280 ac_status=$?
1281 echo "$as_me:1281: \$? = $ac_status" >&5
1282 (exit $ac_status); }
1283{ (eval echo "$as_me:1283: \"$ac_compiler -v </dev/null >&5\"") >&5
1284 (eval $ac_compiler -v </dev/null >&5) 2>&5
1285 ac_status=$?
1286 echo "$as_me:1286: \$? = $ac_status" >&5
1287 (exit $ac_status); }
1288{ (eval echo "$as_me:1288: \"$ac_compiler -V </dev/null >&5\"") >&5
1289 (eval $ac_compiler -V </dev/null >&5) 2>&5
1290 ac_status=$?
1291 echo "$as_me:1291: \$? = $ac_status" >&5
1292 (exit $ac_status); }
1293 667
668ac_ext=c
669# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
670ac_cpp='$CPP $CPPFLAGS'
671ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
672ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
673cross_compiling=$ac_cv_prog_cc_cross
674
1294cat >conftest.$ac_ext <<_ACEOF 675cat > conftest.$ac_ext << EOF
676
1295#line 1295 "configure" 677#line 678 "configure"
1296#include "confdefs.h" 678#include "confdefs.h"
1297 679
1298int 680main(){return(0);}
1299main () 681EOF
1300{ 682if { (eval echo configure:683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1301 683 ac_cv_prog_cc_works=yes
1302 ; 684 # If we can't run a trivial program, we are probably using a cross compiler.
1303 return 0; 685 if (./conftest; exit) 2>/dev/null; then
1304} 686 ac_cv_prog_cc_cross=no
1305_ACEOF
1306ac_clean_files_save=$ac_clean_files
1307ac_clean_files="$ac_clean_files a.out a.exe"
1308# Try to create an executable without -o first, disregard a.out.
1309# It will help us diagnose broken compilers, and finding out an intuition
1310# of exeext.
1311echo "$as_me:1311: checking for C compiler default output" >&5
1312echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1313ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1314if { (eval echo "$as_me:1314: \"$ac_link_default\"") >&5
1315 (eval $ac_link_default) 2>&5
1316 ac_status=$?
1317 echo "$as_me:1317: \$? = $ac_status" >&5
1318 (exit $ac_status); }; then
1319 # Find the output, starting from the most likely. This scheme is
1320# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1321# resort.
1322for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1323 ls a.out conftest 2>/dev/null;
1324 ls a.* conftest.* 2>/dev/null`; do
1325 case $ac_file in
1326 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1327 a.out ) # We found the default executable, but exeext='' is most
1328 # certainly right.
1329 break;;
1330 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1331 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1332 export ac_cv_exeext
1333 break;;
1334 * ) break;;
1335 esac
1336done
1337else
1338 echo "$as_me: failed program was:" >&5
1339cat conftest.$ac_ext >&5
1340{ { echo "$as_me:1340: error: C compiler cannot create executables" >&5
1341echo "$as_me: error: C compiler cannot create executables" >&2;}
1342 { (exit 77); exit 77; }; }
1343fi
1344
1345ac_exeext=$ac_cv_exeext
1346echo "$as_me:1346: result: $ac_file" >&5
1347echo "${ECHO_T}$ac_file" >&6
1348
1349# Check the compiler produces executables we can run. If not, either
1350# the compiler is broken, or we cross compile.
1351echo "$as_me:1351: checking whether the C compiler works" >&5
1352echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1353# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1354# If not cross compiling, check that we can run a simple program.
1355if test "$cross_compiling" != yes; then
1356 if { ac_try='./$ac_file'
1357 { (eval echo "$as_me:1357: \"$ac_try\"") >&5
1358 (eval $ac_try) 2>&5
1359 ac_status=$?
1360 echo "$as_me:1360: \$? = $ac_status" >&5
1361 (exit $ac_status); }; }; then
1362 cross_compiling=no
1363 else 687 else
1364 if test "$cross_compiling" = maybe; then 688 ac_cv_prog_cc_cross=yes
1365 cross_compiling=yes
1366 else
1367 { { echo "$as_me:1367: error: cannot run C compiled programs.
1368If you meant to cross compile, use \`--host'." >&5
1369echo "$as_me: error: cannot run C compiled programs.
1370If you meant to cross compile, use \`--host'." >&2;}
1371 { (exit 1); exit 1; }; }
1372 fi
1373 fi 689 fi
1374fi
1375echo "$as_me:1375: result: yes" >&5
1376echo "${ECHO_T}yes" >&6
1377
1378rm -f a.out a.exe conftest$ac_cv_exeext
1379ac_clean_files=$ac_clean_files_save
1380# Check the compiler produces executables we can run. If not, either
1381# the compiler is broken, or we cross compile.
1382echo "$as_me:1382: checking whether we are cross compiling" >&5
1383echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1384echo "$as_me:1384: result: $cross_compiling" >&5
1385echo "${ECHO_T}$cross_compiling" >&6
1386
1387echo "$as_me:1387: checking for executable suffix" >&5
1388echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1389if { (eval echo "$as_me:1389: \"$ac_link\"") >&5
1390 (eval $ac_link) 2>&5
1391 ac_status=$?
1392 echo "$as_me:1392: \$? = $ac_status" >&5
1393 (exit $ac_status); }; then
1394 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1395# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1396# work properly (i.e., refer to `conftest.exe'), while it won't with
1397# `rm'.
1398for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1399 case $ac_file in
1400 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1401 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1402 export ac_cv_exeext
1403 break;;
1404 * ) break;;
1405 esac
1406done
1407else 690else
1408 { { echo "$as_me:1408: error: cannot compute EXEEXT: cannot compile and link" >&5
1409echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1410 { (exit 1); exit 1; }; }
1411fi
1412
1413rm -f conftest$ac_cv_exeext
1414echo "$as_me:1414: result: $ac_cv_exeext" >&5
1415echo "${ECHO_T}$ac_cv_exeext" >&6
1416
1417rm -f conftest.$ac_ext
1418EXEEXT=$ac_cv_exeext
1419ac_exeext=$EXEEXT
1420echo "$as_me:1420: checking for object suffix" >&5
1421echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1422if test "${ac_cv_objext+set}" = set; then
1423 echo $ECHO_N "(cached) $ECHO_C" >&6
1424else
1425 cat >conftest.$ac_ext <<_ACEOF
1426#line 1426 "configure"
1427#include "confdefs.h"
1428
1429int
1430main ()
1431{
1432
1433 ;
1434 return 0;
1435}
1436_ACEOF
1437rm -f conftest.o conftest.obj
1438if { (eval echo "$as_me:1438: \"$ac_compile\"") >&5
1439 (eval $ac_compile) 2>&5
1440 ac_status=$?
1441 echo "$as_me:1441: \$? = $ac_status" >&5
1442 (exit $ac_status); }; then
1443 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1444 case $ac_file in
1445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1446 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1447 break;;
1448 esac
1449done
1450else
1451 echo "$as_me: failed program was:" >&5 691 echo "configure: failed program was:" >&5
1452cat conftest.$ac_ext >&5 692 cat conftest.$ac_ext >&5
1453{ { echo "$as_me:1453: error: cannot compute OBJEXT: cannot compile" >&5 693 ac_cv_prog_cc_works=no
1454echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1455 { (exit 1); exit 1; }; }
1456fi 694fi
695rm -fr conftest*
696ac_ext=c
697# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
698ac_cpp='$CPP $CPPFLAGS'
699ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
700ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
701cross_compiling=$ac_cv_prog_cc_cross
1457 702
1458rm -f conftest.$ac_cv_objext conftest.$ac_ext 703echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
704if test $ac_cv_prog_cc_works = no; then
705 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1459fi 706fi
1460echo "$as_me:1460: result: $ac_cv_objext" >&5 707echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1461echo "${ECHO_T}$ac_cv_objext" >&6 708echo "configure:709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1462OBJEXT=$ac_cv_objext 709echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1463ac_objext=$OBJEXT 710cross_compiling=$ac_cv_prog_cc_cross
711
712echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1464echo "$as_me:1464: checking whether we are using the GNU C compiler" >&5 713echo "configure:714: checking whether we are using GNU C" >&5
1465echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 714if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1466if test "${ac_cv_c_compiler_gnu+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6 715 echo $ac_n "(cached) $ac_c" 1>&6
1468else 716else
1469 cat >conftest.$ac_ext <<_ACEOF 717 cat > conftest.c <<EOF
1470#line 1470 "configure"
1471#include "confdefs.h"
1472
1473int
1474main ()
1475{
1476#ifndef __GNUC__ 718#ifdef __GNUC__
1477 choke me 719 yes;
1478#endif 720#endif
1479 721EOF
1480 ; 722if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1481 return 0; 723 ac_cv_prog_gcc=yes
1482}
1483_ACEOF
1484rm -f conftest.$ac_objext
1485if { (eval echo "$as_me:1485: \"$ac_compile\"") >&5
1486 (eval $ac_compile) 2>&5
1487 ac_status=$?
1488 echo "$as_me:1488: \$? = $ac_status" >&5
1489 (exit $ac_status); } &&
1490 { ac_try='test -s conftest.$ac_objext'
1491 { (eval echo "$as_me:1491: \"$ac_try\"") >&5
1492 (eval $ac_try) 2>&5
1493 ac_status=$?
1494 echo "$as_me:1494: \$? = $ac_status" >&5
1495 (exit $ac_status); }; }; then
1496 ac_compiler_gnu=yes
1497else 724else
1498 echo "$as_me: failed program was:" >&5 725 ac_cv_prog_gcc=no
1499cat conftest.$ac_ext >&5
1500ac_compiler_gnu=no
1501fi 726fi
1502rm -f conftest.$ac_objext conftest.$ac_ext
1503ac_cv_c_compiler_gnu=$ac_compiler_gnu
1504
1505fi 727fi
1506echo "$as_me:1506: result: $ac_cv_c_compiler_gnu" >&5 728
1507echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 729echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1508GCC=`test $ac_compiler_gnu = yes && echo yes` 730
731if test $ac_cv_prog_gcc = yes; then
732 GCC=yes
733else
734 GCC=
735fi
736
1509ac_test_CFLAGS=${CFLAGS+set} 737ac_test_CFLAGS="${CFLAGS+set}"
1510ac_save_CFLAGS=$CFLAGS 738ac_save_CFLAGS="$CFLAGS"
1511CFLAGS="-g" 739CFLAGS=
1512echo "$as_me:1512: checking whether $CC accepts -g" >&5
1513echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 740echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
741echo "configure:742: checking whether ${CC-cc} accepts -g" >&5
1514if test "${ac_cv_prog_cc_g+set}" = set; then 742if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6 743 echo $ac_n "(cached) $ac_c" 1>&6
1516else 744else
1517 cat >conftest.$ac_ext <<_ACEOF 745 echo 'void f(){}' > conftest.c
1518#line 1518 "configure" 746if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1519#include "confdefs.h"
1520
1521int
1522main ()
1523{
1524
1525 ;
1526 return 0;
1527}
1528_ACEOF
1529rm -f conftest.$ac_objext
1530if { (eval echo "$as_me:1530: \"$ac_compile\"") >&5
1531 (eval $ac_compile) 2>&5
1532 ac_status=$?
1533 echo "$as_me:1533: \$? = $ac_status" >&5
1534 (exit $ac_status); } &&
1535 { ac_try='test -s conftest.$ac_objext'
1536 { (eval echo "$as_me:1536: \"$ac_try\"") >&5
1537 (eval $ac_try) 2>&5
1538 ac_status=$?
1539 echo "$as_me:1539: \$? = $ac_status" >&5
1540 (exit $ac_status); }; }; then
1541 ac_cv_prog_cc_g=yes 747 ac_cv_prog_cc_g=yes
1542else 748else
1543 echo "$as_me: failed program was:" >&5
1544cat conftest.$ac_ext >&5
1545ac_cv_prog_cc_g=no 749 ac_cv_prog_cc_g=no
1546fi 750fi
1547rm -f conftest.$ac_objext conftest.$ac_ext 751rm -f conftest*
752
1548fi 753fi
1549echo "$as_me:1549: result: $ac_cv_prog_cc_g" >&5 754
1550echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 755echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1551if test "$ac_test_CFLAGS" = set; then 756if test "$ac_test_CFLAGS" = set; then
1552 CFLAGS=$ac_save_CFLAGS 757 CFLAGS="$ac_save_CFLAGS"
1553elif test $ac_cv_prog_cc_g = yes; then 758elif test $ac_cv_prog_cc_g = yes; then
1554 if test "$GCC" = yes; then 759 if test "$GCC" = yes; then
1555 CFLAGS="-g -O2" 760 CFLAGS="-g -O2"
1556 else 761 else
1557 CFLAGS="-g" 762 CFLAGS="-g"
1561 CFLAGS="-O2" 766 CFLAGS="-O2"
1562 else 767 else
1563 CFLAGS= 768 CFLAGS=
1564 fi 769 fi
1565fi 770fi
1566# Some people use a C++ compiler to compile C. Since we use `exit',
1567# in C++ we need to declare it. In case someone uses the same compiler
1568# for both compiling C and C++ we need to have the C++ compiler decide
1569# the declaration of exit, since it's the most demanding environment.
1570cat >conftest.$ac_ext <<_ACEOF
1571#ifndef __cplusplus
1572 choke me
1573#endif
1574_ACEOF
1575rm -f conftest.$ac_objext
1576if { (eval echo "$as_me:1576: \"$ac_compile\"") >&5
1577 (eval $ac_compile) 2>&5
1578 ac_status=$?
1579 echo "$as_me:1579: \$? = $ac_status" >&5
1580 (exit $ac_status); } &&
1581 { ac_try='test -s conftest.$ac_objext'
1582 { (eval echo "$as_me:1582: \"$ac_try\"") >&5
1583 (eval $ac_try) 2>&5
1584 ac_status=$?
1585 echo "$as_me:1585: \$? = $ac_status" >&5
1586 (exit $ac_status); }; }; then
1587 for ac_declaration in \
1588 ''\
1589 '#include <stdlib.h>' \
1590 'extern "C" void std::exit (int) throw (); using std::exit;' \
1591 'extern "C" void std::exit (int); using std::exit;' \
1592 'extern "C" void exit (int) throw ();' \
1593 'extern "C" void exit (int);' \
1594 'void exit (int);'
1595do
1596 cat >conftest.$ac_ext <<_ACEOF
1597#line 1597 "configure"
1598#include "confdefs.h"
1599#include <stdlib.h>
1600$ac_declaration
1601int
1602main ()
1603{
1604exit (42);
1605 ;
1606 return 0;
1607}
1608_ACEOF
1609rm -f conftest.$ac_objext
1610if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5
1611 (eval $ac_compile) 2>&5
1612 ac_status=$?
1613 echo "$as_me:1613: \$? = $ac_status" >&5
1614 (exit $ac_status); } &&
1615 { ac_try='test -s conftest.$ac_objext'
1616 { (eval echo "$as_me:1616: \"$ac_try\"") >&5
1617 (eval $ac_try) 2>&5
1618 ac_status=$?
1619 echo "$as_me:1619: \$? = $ac_status" >&5
1620 (exit $ac_status); }; }; then
1621 :
1622else
1623 echo "$as_me: failed program was:" >&5
1624cat conftest.$ac_ext >&5
1625continue
1626fi
1627rm -f conftest.$ac_objext conftest.$ac_ext
1628 cat >conftest.$ac_ext <<_ACEOF
1629#line 1629 "configure"
1630#include "confdefs.h"
1631$ac_declaration
1632int
1633main ()
1634{
1635exit (42);
1636 ;
1637 return 0;
1638}
1639_ACEOF
1640rm -f conftest.$ac_objext
1641if { (eval echo "$as_me:1641: \"$ac_compile\"") >&5
1642 (eval $ac_compile) 2>&5
1643 ac_status=$?
1644 echo "$as_me:1644: \$? = $ac_status" >&5
1645 (exit $ac_status); } &&
1646 { ac_try='test -s conftest.$ac_objext'
1647 { (eval echo "$as_me:1647: \"$ac_try\"") >&5
1648 (eval $ac_try) 2>&5
1649 ac_status=$?
1650 echo "$as_me:1650: \$? = $ac_status" >&5
1651 (exit $ac_status); }; }; then
1652 break
1653else
1654 echo "$as_me: failed program was:" >&5
1655cat conftest.$ac_ext >&5
1656fi
1657rm -f conftest.$ac_objext conftest.$ac_ext
1658done
1659rm -f conftest*
1660if test -n "$ac_declaration"; then
1661 echo '#ifdef __cplusplus' >>confdefs.h
1662 echo $ac_declaration >>confdefs.h
1663 echo '#endif' >>confdefs.h
1664fi
1665 771
1666else
1667 echo "$as_me: failed program was:" >&5
1668cat conftest.$ac_ext >&5
1669fi
1670rm -f conftest.$ac_objext conftest.$ac_ext
1671ac_ext=c
1672ac_cpp='$CPP $CPPFLAGS'
1673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1675ac_compiler_gnu=$ac_cv_c_compiler_gnu
1676
1677ac_ext=c
1678ac_cpp='$CPP $CPPFLAGS'
1679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1681ac_compiler_gnu=$ac_cv_c_compiler_gnu
1682echo "$as_me:1682: checking how to run the C preprocessor" >&5
1683echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 772echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
773echo "configure:774: checking how to run the C preprocessor" >&5
1684# On Suns, sometimes $CPP names a directory. 774# On Suns, sometimes $CPP names a directory.
1685if test -n "$CPP" && test -d "$CPP"; then 775if test -n "$CPP" && test -d "$CPP"; then
1686 CPP= 776 CPP=
1687fi 777fi
1688if test -z "$CPP"; then 778if test -z "$CPP"; then
1689 if test "${ac_cv_prog_CPP+set}" = set; then 779if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6 780 echo $ac_n "(cached) $ac_c" 1>&6
1691else 781else
1692 # Double quotes because CPP needs to be expanded 782 # This must be in double quotes, not single quotes, because CPP may get
1693 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 783 # substituted into the Makefile and "${CC-cc}" will confuse make.
1694 do 784 CPP="${CC-cc} -E"
1695 ac_preproc_ok=false
1696for ac_c_preproc_warn_flag in '' yes
1697do
1698 # Use a header file that comes with gcc, so configuring glibc
1699 # with a fresh cross-compiler works.
1700 # On the NeXT, cc -E runs the code through the compiler's parser, 785 # On the NeXT, cc -E runs the code through the compiler's parser,
1701 # not just through cpp. "Syntax error" is here to catch this case. 786 # not just through cpp.
1702 cat >conftest.$ac_ext <<_ACEOF 787 cat > conftest.$ac_ext <<EOF
1703#line 1703 "configure" 788#line 789 "configure"
1704#include "confdefs.h" 789#include "confdefs.h"
1705#include <assert.h> 790#include <assert.h>
1706 Syntax error 791Syntax Error
1707_ACEOF 792EOF
1708if { (eval echo "$as_me:1708: \"$ac_cpp conftest.$ac_ext\"") >&5 793ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 794{ (eval echo configure:795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1710 ac_status=$? 795ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1711 egrep -v '^ *\+' conftest.er1 >conftest.err
1712 rm -f conftest.er1
1713 cat conftest.err >&5
1714 echo "$as_me:1714: \$? = $ac_status" >&5
1715 (exit $ac_status); } >/dev/null; then
1716 if test -s conftest.err; then
1717 ac_cpp_err=$ac_c_preproc_warn_flag
1718 else
1719 ac_cpp_err=
1720 fi
1721else
1722 ac_cpp_err=yes
1723fi
1724if test -z "$ac_cpp_err"; then 796if test -z "$ac_err"; then
1725 : 797 :
1726else 798else
799 echo "$ac_err" >&5
1727 echo "$as_me: failed program was:" >&5 800 echo "configure: failed program was:" >&5
1728 cat conftest.$ac_ext >&5 801 cat conftest.$ac_ext >&5
1729 # Broken: fails on valid input. 802 rm -rf conftest*
1730continue 803 CPP="${CC-cc} -E -traditional-cpp"
1731fi
1732rm -f conftest.err conftest.$ac_ext
1733
1734 # OK, works on sane cases. Now check whether non-existent headers
1735 # can be detected and how.
1736 cat >conftest.$ac_ext <<_ACEOF 804 cat > conftest.$ac_ext <<EOF
1737#line 1737 "configure" 805#line 806 "configure"
1738#include "confdefs.h"
1739#include <ac_nonexistent.h>
1740_ACEOF
1741if { (eval echo "$as_me:1741: \"$ac_cpp conftest.$ac_ext\"") >&5
1742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1743 ac_status=$?
1744 egrep -v '^ *\+' conftest.er1 >conftest.err
1745 rm -f conftest.er1
1746 cat conftest.err >&5
1747 echo "$as_me:1747: \$? = $ac_status" >&5
1748 (exit $ac_status); } >/dev/null; then
1749 if test -s conftest.err; then
1750 ac_cpp_err=$ac_c_preproc_warn_flag
1751 else
1752 ac_cpp_err=
1753 fi
1754else
1755 ac_cpp_err=yes
1756fi
1757if test -z "$ac_cpp_err"; then
1758 # Broken: success on invalid input.
1759continue
1760else
1761 echo "$as_me: failed program was:" >&5
1762 cat conftest.$ac_ext >&5
1763 # Passes both tests.
1764ac_preproc_ok=:
1765break
1766fi
1767rm -f conftest.err conftest.$ac_ext
1768
1769done
1770# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1771rm -f conftest.err conftest.$ac_ext
1772if $ac_preproc_ok; then
1773 break
1774fi
1775
1776 done
1777 ac_cv_prog_CPP=$CPP
1778
1779fi
1780 CPP=$ac_cv_prog_CPP
1781else
1782 ac_cv_prog_CPP=$CPP
1783fi
1784echo "$as_me:1784: result: $CPP" >&5
1785echo "${ECHO_T}$CPP" >&6
1786ac_preproc_ok=false
1787for ac_c_preproc_warn_flag in '' yes
1788do
1789 # Use a header file that comes with gcc, so configuring glibc
1790 # with a fresh cross-compiler works.
1791 # On the NeXT, cc -E runs the code through the compiler's parser,
1792 # not just through cpp. "Syntax error" is here to catch this case.
1793 cat >conftest.$ac_ext <<_ACEOF
1794#line 1794 "configure"
1795#include "confdefs.h" 806#include "confdefs.h"
1796#include <assert.h> 807#include <assert.h>
1797 Syntax error 808Syntax Error
1798_ACEOF 809EOF
1799if { (eval echo "$as_me:1799: \"$ac_cpp conftest.$ac_ext\"") >&5 810ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 811{ (eval echo configure:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1801 ac_status=$? 812ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1802 egrep -v '^ *\+' conftest.er1 >conftest.err
1803 rm -f conftest.er1
1804 cat conftest.err >&5
1805 echo "$as_me:1805: \$? = $ac_status" >&5
1806 (exit $ac_status); } >/dev/null; then
1807 if test -s conftest.err; then
1808 ac_cpp_err=$ac_c_preproc_warn_flag
1809 else
1810 ac_cpp_err=
1811 fi
1812else
1813 ac_cpp_err=yes
1814fi
1815if test -z "$ac_cpp_err"; then 813if test -z "$ac_err"; then
1816 : 814 :
1817else 815else
816 echo "$ac_err" >&5
1818 echo "$as_me: failed program was:" >&5 817 echo "configure: failed program was:" >&5
1819 cat conftest.$ac_ext >&5 818 cat conftest.$ac_ext >&5
1820 # Broken: fails on valid input. 819 rm -rf conftest*
1821continue 820 CPP="${CC-cc} -nologo -E"
1822fi
1823rm -f conftest.err conftest.$ac_ext
1824
1825 # OK, works on sane cases. Now check whether non-existent headers
1826 # can be detected and how.
1827 cat >conftest.$ac_ext <<_ACEOF 821 cat > conftest.$ac_ext <<EOF
1828#line 1828 "configure" 822#line 823 "configure"
1829#include "confdefs.h" 823#include "confdefs.h"
1830#include <ac_nonexistent.h> 824#include <assert.h>
1831_ACEOF 825Syntax Error
1832if { (eval echo "$as_me:1832: \"$ac_cpp conftest.$ac_ext\"") >&5 826EOF
1833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 827ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1834 ac_status=$? 828{ (eval echo configure:829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1835 egrep -v '^ *\+' conftest.er1 >conftest.err 829ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1836 rm -f conftest.er1
1837 cat conftest.err >&5
1838 echo "$as_me:1838: \$? = $ac_status" >&5
1839 (exit $ac_status); } >/dev/null; then
1840 if test -s conftest.err; then
1841 ac_cpp_err=$ac_c_preproc_warn_flag
1842 else
1843 ac_cpp_err=
1844 fi
1845else
1846 ac_cpp_err=yes
1847fi
1848if test -z "$ac_cpp_err"; then 830if test -z "$ac_err"; then
1849 # Broken: success on invalid input. 831 :
1850continue
1851else 832else
833 echo "$ac_err" >&5
1852 echo "$as_me: failed program was:" >&5 834 echo "configure: failed program was:" >&5
1853 cat conftest.$ac_ext >&5 835 cat conftest.$ac_ext >&5
1854 # Passes both tests. 836 rm -rf conftest*
1855ac_preproc_ok=: 837 CPP=/lib/cpp
1856break
1857fi 838fi
1858rm -f conftest.err conftest.$ac_ext 839rm -f conftest*
1859
1860done
1861# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1862rm -f conftest.err conftest.$ac_ext
1863if $ac_preproc_ok; then
1864 :
1865else
1866 { { echo "$as_me:1866: error: C preprocessor \"$CPP\" fails sanity check" >&5
1867echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1868 { (exit 1); exit 1; }; }
1869fi 840fi
841rm -f conftest*
842fi
843rm -f conftest*
844 ac_cv_prog_CPP="$CPP"
845fi
846 CPP="$ac_cv_prog_CPP"
847else
848 ac_cv_prog_CPP="$CPP"
849fi
850echo "$ac_t""$CPP" 1>&6
1870 851
1871ac_ext=c
1872ac_cpp='$CPP $CPPFLAGS'
1873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1875ac_compiler_gnu=$ac_cv_c_compiler_gnu
1876 852
1877echo "$as_me:1877: checking if HP-UX ansi C compiler flags are needed" >&5
1878echo $ECHO_N "checking if HP-UX ansi C compiler flags are needed... $ECHO_C" >&6 853echo $ac_n "checking if HP-UX ansi C compiler flags are needed""... $ac_c" 1>&6
854echo "configure:855: checking if HP-UX ansi C compiler flags are needed" >&5
1879 855
1880os=`uname -s | tr 'A-Z' 'a-z'` 856os=`uname -s | tr 'A-Z' 'a-z'`
1881ac_cv_hpux_flags=no 857ac_cv_hpux_flags=no
1882if test "$os" = hp-ux ; then 858if test "$os" = hp-ux ; then
1883 if test "$ac_cv_c_compiler_gnu" = yes ; then 859 if test "$ac_cv_prog_gcc" = yes ; then
1884 if test "$CFLAGS" != "" ; then 860 if test "$CFLAGS" != "" ; then
1885 # Shouldn't be in there. 861 # Shouldn't be in there.
1886 CFLAGS=`echo "$CFLAGS" | sed 's/-Aa//g'` 862 CFLAGS=`echo "$CFLAGS" | sed 's/-Aa//g'`
1887 fi 863 fi
1888 else 864 else
1900 x=`echo $CFLAGS | grep '_HPUX_SOURCE' 2>/dev/null` 876 x=`echo $CFLAGS | grep '_HPUX_SOURCE' 2>/dev/null`
1901 if test "$x" = "" ; then 877 if test "$x" = "" ; then
1902 CFLAGS="$CFLAGS -D_HPUX_SOURCE" 878 CFLAGS="$CFLAGS -D_HPUX_SOURCE"
1903 fi 879 fi
1904fi 880fi
1905echo "$as_me:1905: result: $ac_cv_hpux_flags" >&5
1906echo "${ECHO_T}$ac_cv_hpux_flags" >&6 881echo "$ac_t""$ac_cv_hpux_flags" 1>&6
1907 882
1908 if test "$CFLAGS" = "" ; then 883 if test "$CFLAGS" = "" ; then
1909 CFLAGS="-O" 884 CFLAGS="-O"
1910 elif test "$ac_cv_c_compiler_gnu" = "yes" ; then 885 elif test "$ac_cv_prog_gcc" = "yes" ; then
1911 case "$CFLAGS" in 886 case "$CFLAGS" in
1912 *"-g -O"*) 887 *"-g -O"*)
1913 #echo "using -g as default gcc CFLAGS" 1>&6 888 #echo "using -g as default gcc CFLAGS" 1>&6
1914 CFLAGS=`echo $CFLAGS | sed 's/-g\ -O/-O/'` 889 CFLAGS=`echo $CFLAGS | sed 's/-g\ -O/-O/'`
1915 ;; 890 ;;
1919 CFLAGS=`echo $CFLAGS | sed 's/-O\ -g/-O/'` 894 CFLAGS=`echo $CFLAGS | sed 's/-O\ -g/-O/'`
1920 ;; 895 ;;
1921 esac 896 esac
1922 fi 897 fi
1923 898
899
900echo $ac_n "checking if the compiler supports function prototypes""... $ac_c" 1>&6
1924echo "$as_me:1924: checking if the compiler supports function prototypes" >&5 901echo "configure:902: checking if the compiler supports function prototypes" >&5
1925echo $ECHO_N "checking if the compiler supports function prototypes... $ECHO_C" >&6
1926cat >conftest.$ac_ext <<_ACEOF 902cat > conftest.$ac_ext <<EOF
1927#line 1927 "configure" 903#line 904 "configure"
1928#include "confdefs.h" 904#include "confdefs.h"
1929 905
1930int 906int main() {
1931main ()
1932{
1933extern void exit(int status); 907extern void exit(int status);
1934 ;
1935 return 0; 908; return 0; }
1936} 909EOF
1937_ACEOF 910if { (eval echo configure:911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1938rm -f conftest.$ac_objext 911 rm -rf conftest*
1939if { (eval echo "$as_me:1939: \"$ac_compile\"") >&5
1940 (eval $ac_compile) 2>&5
1941 ac_status=$?
1942 echo "$as_me:1942: \$? = $ac_status" >&5
1943 (exit $ac_status); } &&
1944 { ac_try='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:1945: \"$ac_try\"") >&5
1946 (eval $ac_try) 2>&5
1947 ac_status=$?
1948 echo "$as_me:1948: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1950 wi_cv_prototypes=yes 912 wi_cv_prototypes=yes
1951cat >>confdefs.h <<\EOF 913cat >> confdefs.h <<\EOF
1952#define PROTOTYPES 1 914#define PROTOTYPES 1
1953EOF 915EOF
1954 916
1955else 917else
1956 echo "$as_me: failed program was:" >&5 918 echo "configure: failed program was:" >&5
1957cat conftest.$ac_ext >&5 919 cat conftest.$ac_ext >&5
920 rm -rf conftest*
1958wi_cv_prototypes=no 921 wi_cv_prototypes=no
1959fi 922fi
1960rm -f conftest.$ac_objext conftest.$ac_ext 923rm -f conftest*
1961echo "$as_me:1961: result: $wi_cv_prototypes" >&5
1962echo "${ECHO_T}$wi_cv_prototypes" >&6 924echo "$ac_t""$wi_cv_prototypes" 1>&6
1963 925
1964echo "$as_me:1964: checking whether ${MAKE-make} sets \${MAKE}" >&5
1965echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 926echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
927echo "configure:928: checking whether ${MAKE-make} sets \${MAKE}" >&5
1966set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 928set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1967if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 929if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6 930 echo $ac_n "(cached) $ac_c" 1>&6
1969else 931else
1970 cat >conftest.make <<\EOF 932 cat > conftestmake <<\EOF
1971all: 933all:
1972 @echo 'ac_maketemp="${MAKE}"' 934 @echo 'ac_maketemp="${MAKE}"'
1973EOF 935EOF
1974# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 936# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1975eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 937eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1976if test -n "$ac_maketemp"; then 938if test -n "$ac_maketemp"; then
1977 eval ac_cv_prog_make_${ac_make}_set=yes 939 eval ac_cv_prog_make_${ac_make}_set=yes
1978else 940else
1979 eval ac_cv_prog_make_${ac_make}_set=no 941 eval ac_cv_prog_make_${ac_make}_set=no
1980fi 942fi
1981rm -f conftest.make 943rm -f conftestmake
1982fi 944fi
1983if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 945if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1984 echo "$as_me:1984: result: yes" >&5 946 echo "$ac_t""yes" 1>&6
1985echo "${ECHO_T}yes" >&6
1986 SET_MAKE= 947 SET_MAKE=
1987else 948else
1988 echo "$as_me:1988: result: no" >&5 949 echo "$ac_t""no" 1>&6
1989echo "${ECHO_T}no" >&6
1990 SET_MAKE="MAKE=${MAKE-make}" 950 SET_MAKE="MAKE=${MAKE-make}"
1991fi 951fi
1992 952
1993if test -n "$ac_tool_prefix"; then
1994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 953# Extract the first word of "ranlib", so it can be a program name with args.
1995set dummy ${ac_tool_prefix}ranlib; ac_word=$2 954set dummy ranlib; ac_word=$2
1996echo "$as_me:1996: checking for $ac_word" >&5
1997echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 955echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
956echo "configure:957: checking for $ac_word" >&5
1998if test "${ac_cv_prog_RANLIB+set}" = set; then 957if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6 958 echo $ac_n "(cached) $ac_c" 1>&6
2000else 959else
2001 if test -n "$RANLIB"; then 960 if test -n "$RANLIB"; then
2002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 961 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2003else 962else
2004 ac_save_IFS=$IFS; IFS=$ac_path_separator 963 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2005ac_dummy="$PATH" 964 ac_dummy="$PATH"
2006for ac_dir in $ac_dummy; do 965 for ac_dir in $ac_dummy; do
2007 IFS=$ac_save_IFS
2008 test -z "$ac_dir" && ac_dir=. 966 test -z "$ac_dir" && ac_dir=.
2009 $as_executable_p "$ac_dir/$ac_word" || continue 967 if test -f $ac_dir/$ac_word; then
2010ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 968 ac_cv_prog_RANLIB="ranlib"
2011echo "$as_me:2011: found $ac_dir/$ac_word" >&5 969 break
2012break 970 fi
2013done 971 done
2014 972 IFS="$ac_save_ifs"
973 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2015fi 974fi
2016fi 975fi
2017RANLIB=$ac_cv_prog_RANLIB 976RANLIB="$ac_cv_prog_RANLIB"
2018if test -n "$RANLIB"; then 977if test -n "$RANLIB"; then
2019 echo "$as_me:2019: result: $RANLIB" >&5 978 echo "$ac_t""$RANLIB" 1>&6
2020echo "${ECHO_T}$RANLIB" >&6
2021else 979else
2022 echo "$as_me:2022: result: no" >&5 980 echo "$ac_t""no" 1>&6
2023echo "${ECHO_T}no" >&6
2024fi 981fi
2025 982
2026fi
2027if test -z "$ac_cv_prog_RANLIB"; then
2028 ac_ct_RANLIB=$RANLIB
2029 # Extract the first word of "ranlib", so it can be a program name with args.
2030set dummy ranlib; ac_word=$2
2031echo "$as_me:2031: checking for $ac_word" >&5
2032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035else
2036 if test -n "$ac_ct_RANLIB"; then
2037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2038else
2039 ac_save_IFS=$IFS; IFS=$ac_path_separator
2040ac_dummy="$PATH"
2041for ac_dir in $ac_dummy; do
2042 IFS=$ac_save_IFS
2043 test -z "$ac_dir" && ac_dir=.
2044 $as_executable_p "$ac_dir/$ac_word" || continue
2045ac_cv_prog_ac_ct_RANLIB="ranlib"
2046echo "$as_me:2046: found $ac_dir/$ac_word" >&5
2047break
2048done
2049
2050 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2051fi
2052fi
2053ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2054if test -n "$ac_ct_RANLIB"; then
2055 echo "$as_me:2055: result: $ac_ct_RANLIB" >&5
2056echo "${ECHO_T}$ac_ct_RANLIB" >&6
2057else
2058 echo "$as_me:2058: result: no" >&5
2059echo "${ECHO_T}no" >&6
2060fi
2061
2062 RANLIB=$ac_ct_RANLIB
2063else
2064 RANLIB="$ac_cv_prog_RANLIB"
2065fi
2066 983
2067if test "$wi_cv_prototypes" = no ; then 984if test "$wi_cv_prototypes" = no ; then
2068 { echo "$as_me:2068: WARNING: Your compiler does not support function prototyping and" >&5
2069echo "$as_me: WARNING: Your compiler does not support function prototyping and" >&2;} 985 echo "configure: warning: Your compiler does not support function prototyping and" 1>&2
2070 { echo "$as_me:2070: WARNING: is not able to properly compile this package. What a pity." >&5
2071echo "$as_me: WARNING: is not able to properly compile this package. What a pity." >&2;} 986 echo "configure: warning: is not able to properly compile this package. What a pity." 1>&2
2072 { echo "$as_me:2072: WARNING: Get gcc, or any compiler that supports function prototypes." >&5 987 echo "configure: warning: Get gcc, or any compiler that supports function prototypes." 1>&2
2073echo "$as_me: WARNING: Get gcc, or any compiler that supports function prototypes." >&2;}
2074 exit 1 988 exit 1
2075fi 989fi
2076 990
2077# 991#
2078# Checks for header files and library functions 992# Checks for header files and library functions
2079# 993#
2080 994
2081echo "$as_me:2081: checking for ANSI C header files" >&5
2082echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 995echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
996echo "configure:997: checking for ANSI C header files" >&5
2083if test "${ac_cv_header_stdc+set}" = set; then 997if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6 998 echo $ac_n "(cached) $ac_c" 1>&6
2085else 999else
2086 cat >conftest.$ac_ext <<_ACEOF 1000 cat > conftest.$ac_ext <<EOF
2087#line 2087 "configure" 1001#line 1002 "configure"
2088#include "confdefs.h" 1002#include "confdefs.h"
2089#include <stdlib.h> 1003#include <stdlib.h>
2090#include <stdarg.h> 1004#include <stdarg.h>
2091#include <string.h> 1005#include <string.h>
2092#include <float.h> 1006#include <float.h>
2093 1007EOF
2094_ACEOF 1008ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2095if { (eval echo "$as_me:2095: \"$ac_cpp conftest.$ac_ext\"") >&5 1009{ (eval echo configure:1010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1010ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2097 ac_status=$?
2098 egrep -v '^ *\+' conftest.er1 >conftest.err
2099 rm -f conftest.er1
2100 cat conftest.err >&5
2101 echo "$as_me:2101: \$? = $ac_status" >&5
2102 (exit $ac_status); } >/dev/null; then
2103 if test -s conftest.err; then
2104 ac_cpp_err=$ac_c_preproc_warn_flag
2105 else
2106 ac_cpp_err=
2107 fi
2108else
2109 ac_cpp_err=yes
2110fi
2111if test -z "$ac_cpp_err"; then 1011if test -z "$ac_err"; then
1012 rm -rf conftest*
2112 ac_cv_header_stdc=yes 1013 ac_cv_header_stdc=yes
2113else 1014else
1015 echo "$ac_err" >&5
2114 echo "$as_me: failed program was:" >&5 1016 echo "configure: failed program was:" >&5
2115 cat conftest.$ac_ext >&5 1017 cat conftest.$ac_ext >&5
1018 rm -rf conftest*
2116 ac_cv_header_stdc=no 1019 ac_cv_header_stdc=no
2117fi 1020fi
2118rm -f conftest.err conftest.$ac_ext 1021rm -f conftest*
2119 1022
2120if test $ac_cv_header_stdc = yes; then 1023if test $ac_cv_header_stdc = yes; then
2121 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2122 cat >conftest.$ac_ext <<_ACEOF 1025cat > conftest.$ac_ext <<EOF
2123#line 2123 "configure" 1026#line 1027 "configure"
2124#include "confdefs.h" 1027#include "confdefs.h"
2125#include <string.h> 1028#include <string.h>
2126 1029EOF
2127_ACEOF
2128if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1030if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2129 egrep "memchr" >/dev/null 2>&1; then 1031 egrep "memchr" >/dev/null 2>&1; then
2130 : 1032 :
2131else 1033else
1034 rm -rf conftest*
2132 ac_cv_header_stdc=no 1035 ac_cv_header_stdc=no
2133fi 1036fi
2134rm -f conftest* 1037rm -f conftest*
2135 1038
2136fi 1039fi
2137 1040
2138if test $ac_cv_header_stdc = yes; then 1041if test $ac_cv_header_stdc = yes; then
2139 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1042 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2140 cat >conftest.$ac_ext <<_ACEOF 1043cat > conftest.$ac_ext <<EOF
2141#line 2141 "configure" 1044#line 1045 "configure"
2142#include "confdefs.h" 1045#include "confdefs.h"
2143#include <stdlib.h> 1046#include <stdlib.h>
2144 1047EOF
2145_ACEOF
2146if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1048if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2147 egrep "free" >/dev/null 2>&1; then 1049 egrep "free" >/dev/null 2>&1; then
2148 : 1050 :
2149else 1051else
1052 rm -rf conftest*
2150 ac_cv_header_stdc=no 1053 ac_cv_header_stdc=no
2151fi 1054fi
2152rm -f conftest* 1055rm -f conftest*
2153 1056
2154fi 1057fi
2155 1058
2156if test $ac_cv_header_stdc = yes; then 1059if test $ac_cv_header_stdc = yes; then
2157 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1060 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2158 if test "$cross_compiling" = yes; then 1061if test "$cross_compiling" = yes; then
2159 : 1062 :
2160else 1063else
2161 cat >conftest.$ac_ext <<_ACEOF 1064 cat > conftest.$ac_ext <<EOF
2162#line 2162 "configure" 1065#line 1066 "configure"
2163#include "confdefs.h" 1066#include "confdefs.h"
2164#include <ctype.h> 1067#include <ctype.h>
2165#if ((' ' & 0x0FF) == 0x020)
2166# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1068#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2167# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1069#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1070#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1071int main () { int i; for (i = 0; i < 256; i++)
1072if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1073exit (0); }
1074
1075EOF
1076if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1077then
1078 :
2168#else 1079else
2169# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 1080 echo "configure: failed program was:" >&5
2170 || ('j' <= (c) && (c) <= 'r') \ 1081 cat conftest.$ac_ext >&5
2171 || ('s' <= (c) && (c) <= 'z')) 1082 rm -fr conftest*
2172# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 1083 ac_cv_header_stdc=no
1084fi
1085rm -fr conftest*
1086fi
1087
1088fi
1089fi
1090
1091echo "$ac_t""$ac_cv_header_stdc" 1>&6
1092if test $ac_cv_header_stdc = yes; then
1093 cat >> confdefs.h <<\EOF
1094#define STDC_HEADERS 1
1095EOF
1096
1097fi
1098
1099echo $ac_n "checking for size_t""... $ac_c" 1>&6
1100echo "configure:1101: checking for size_t" >&5
1101if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1102 echo $ac_n "(cached) $ac_c" 1>&6
1103else
1104 cat > conftest.$ac_ext <<EOF
1105#line 1106 "configure"
1106#include "confdefs.h"
1107#include <sys/types.h>
1108#if STDC_HEADERS
1109#include <stdlib.h>
1110#include <stddef.h>
2173#endif 1111#endif
2174
2175#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2176int
2177main ()
2178{
2179 int i;
2180 for (i = 0; i < 256; i++)
2181 if (XOR (islower (i), ISLOWER (i))
2182 || toupper (i) != TOUPPER (i))
2183 exit(2);
2184 exit (0);
2185}
2186_ACEOF
2187rm -f conftest$ac_exeext
2188if { (eval echo "$as_me:2188: \"$ac_link\"") >&5
2189 (eval $ac_link) 2>&5
2190 ac_status=$?
2191 echo "$as_me:2191: \$? = $ac_status" >&5
2192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2193 { (eval echo "$as_me:2193: \"$ac_try\"") >&5
2194 (eval $ac_try) 2>&5
2195 ac_status=$?
2196 echo "$as_me:2196: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2198 :
2199else
2200 echo "$as_me: program exited with status $ac_status" >&5
2201echo "$as_me: failed program was:" >&5
2202cat conftest.$ac_ext >&5
2203ac_cv_header_stdc=no
2204fi
2205rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2206fi
2207fi
2208fi
2209echo "$as_me:2209: result: $ac_cv_header_stdc" >&5
2210echo "${ECHO_T}$ac_cv_header_stdc" >&6
2211if test $ac_cv_header_stdc = yes; then
2212
2213cat >>confdefs.h <<\EOF
2214#define STDC_HEADERS 1
2215EOF 1112EOF
2216 1113if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2217fi 1114 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2218 1115 rm -rf conftest*
2219# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2220
2221for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2222 inttypes.h stdint.h unistd.h
2223do
2224as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2225echo "$as_me:2225: checking for $ac_header" >&5
2226echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2227if eval "test \"\${$as_ac_Header+set}\" = set"; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2229else
2230 cat >conftest.$ac_ext <<_ACEOF
2231#line 2231 "configure"
2232#include "confdefs.h"
2233$ac_includes_default
2234#include <$ac_header>
2235_ACEOF
2236rm -f conftest.$ac_objext
2237if { (eval echo "$as_me:2237: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2239 ac_status=$?
2240 echo "$as_me:2240: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:2243: \"$ac_try\"") >&5
2244 (eval $ac_try) 2>&5
2245 ac_status=$?
2246 echo "$as_me:2246: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 eval "$as_ac_Header=yes"
2249else
2250 echo "$as_me: failed program was:" >&5
2251cat conftest.$ac_ext >&5
2252eval "$as_ac_Header=no"
2253fi
2254rm -f conftest.$ac_objext conftest.$ac_ext
2255fi
2256echo "$as_me:2256: result: `eval echo '${'$as_ac_Header'}'`" >&5
2257echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2258if test `eval echo '${'$as_ac_Header'}'` = yes; then
2259 cat >>confdefs.h <<EOF
2260#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2261EOF
2262
2263fi
2264done
2265
2266echo "$as_me:2266: checking for size_t" >&5
2267echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2268if test "${ac_cv_type_size_t+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2270else
2271 cat >conftest.$ac_ext <<_ACEOF
2272#line 2272 "configure"
2273#include "confdefs.h"
2274$ac_includes_default
2275int
2276main ()
2277{
2278if ((size_t *) 0)
2279 return 0;
2280if (sizeof (size_t))
2281 return 0;
2282 ;
2283 return 0;
2284}
2285_ACEOF
2286rm -f conftest.$ac_objext
2287if { (eval echo "$as_me:2287: \"$ac_compile\"") >&5
2288 (eval $ac_compile) 2>&5
2289 ac_status=$?
2290 echo "$as_me:2290: \$? = $ac_status" >&5
2291 (exit $ac_status); } &&
2292 { ac_try='test -s conftest.$ac_objext'
2293 { (eval echo "$as_me:2293: \"$ac_try\"") >&5
2294 (eval $ac_try) 2>&5
2295 ac_status=$?
2296 echo "$as_me:2296: \$? = $ac_status" >&5
2297 (exit $ac_status); }; }; then
2298 ac_cv_type_size_t=yes 1116 ac_cv_type_size_t=yes
2299else 1117else
2300 echo "$as_me: failed program was:" >&5 1118 rm -rf conftest*
2301cat conftest.$ac_ext >&5
2302ac_cv_type_size_t=no 1119 ac_cv_type_size_t=no
2303fi 1120fi
2304rm -f conftest.$ac_objext conftest.$ac_ext 1121rm -f conftest*
1122
2305fi 1123fi
2306echo "$as_me:2306: result: $ac_cv_type_size_t" >&5
2307echo "${ECHO_T}$ac_cv_type_size_t" >&6 1124echo "$ac_t""$ac_cv_type_size_t" 1>&6
2308if test $ac_cv_type_size_t = yes; then 1125if test $ac_cv_type_size_t = no; then
2309 :
2310else
2311
2312cat >>confdefs.h <<EOF 1126 cat >> confdefs.h <<\EOF
2313#define size_t unsigned 1127#define size_t unsigned
2314EOF 1128EOF
2315 1129
2316fi 1130fi
2317 1131
2318echo "$as_me:2318: checking whether time.h and sys/time.h may both be included" >&5
2319echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 1132echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1133echo "configure:1134: checking whether time.h and sys/time.h may both be included" >&5
2320if test "${ac_cv_header_time+set}" = set; then 1134if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6 1135 echo $ac_n "(cached) $ac_c" 1>&6
2322else 1136else
2323 cat >conftest.$ac_ext <<_ACEOF 1137 cat > conftest.$ac_ext <<EOF
2324#line 2324 "configure" 1138#line 1139 "configure"
2325#include "confdefs.h" 1139#include "confdefs.h"
2326#include <sys/types.h> 1140#include <sys/types.h>
2327#include <sys/time.h> 1141#include <sys/time.h>
2328#include <time.h> 1142#include <time.h>
2329 1143int main() {
2330int 1144struct tm *tp;
2331main ()
2332{
2333if ((struct tm *) 0)
2334return 0;
2335 ;
2336 return 0; 1145; return 0; }
2337} 1146EOF
2338_ACEOF 1147if { (eval echo configure:1148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2339rm -f conftest.$ac_objext 1148 rm -rf conftest*
2340if { (eval echo "$as_me:2340: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>&5
2342 ac_status=$?
2343 echo "$as_me:2343: \$? = $ac_status" >&5
2344 (exit $ac_status); } &&
2345 { ac_try='test -s conftest.$ac_objext'
2346 { (eval echo "$as_me:2346: \"$ac_try\"") >&5
2347 (eval $ac_try) 2>&5
2348 ac_status=$?
2349 echo "$as_me:2349: \$? = $ac_status" >&5
2350 (exit $ac_status); }; }; then
2351 ac_cv_header_time=yes 1149 ac_cv_header_time=yes
2352else 1150else
2353 echo "$as_me: failed program was:" >&5 1151 echo "configure: failed program was:" >&5
2354cat conftest.$ac_ext >&5 1152 cat conftest.$ac_ext >&5
1153 rm -rf conftest*
2355ac_cv_header_time=no 1154 ac_cv_header_time=no
2356fi 1155fi
2357rm -f conftest.$ac_objext conftest.$ac_ext 1156rm -f conftest*
2358fi 1157fi
2359echo "$as_me:2359: result: $ac_cv_header_time" >&5 1158
2360echo "${ECHO_T}$ac_cv_header_time" >&6 1159echo "$ac_t""$ac_cv_header_time" 1>&6
2361if test $ac_cv_header_time = yes; then 1160if test $ac_cv_header_time = yes; then
2362
2363cat >>confdefs.h <<\EOF 1161 cat >> confdefs.h <<\EOF
2364#define TIME_WITH_SYS_TIME 1 1162#define TIME_WITH_SYS_TIME 1
2365EOF 1163EOF
2366 1164
2367fi 1165fi
2368 1166
2369for ac_header in fcntl.h unistd.h memory.h malloc.h errno.h 1167for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h
2370do 1168do
2371as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 1169ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1170echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2372echo "$as_me:2372: checking for $ac_header" >&5 1171echo "configure:1172: checking for $ac_hdr" >&5
2373echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 1172if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2374if eval "test \"\${$as_ac_Header+set}\" = set"; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6 1173 echo $ac_n "(cached) $ac_c" 1>&6
2376else 1174else
2377 cat >conftest.$ac_ext <<_ACEOF 1175 cat > conftest.$ac_ext <<EOF
2378#line 2378 "configure" 1176#line 1177 "configure"
2379#include "confdefs.h" 1177#include "confdefs.h"
2380#include <$ac_header> 1178#include <$ac_hdr>
2381_ACEOF 1179EOF
2382if { (eval echo "$as_me:2382: \"$ac_cpp conftest.$ac_ext\"") >&5 1180ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1181{ (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2384 ac_status=$? 1182ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2385 egrep -v '^ *\+' conftest.er1 >conftest.err
2386 rm -f conftest.er1
2387 cat conftest.err >&5
2388 echo "$as_me:2388: \$? = $ac_status" >&5
2389 (exit $ac_status); } >/dev/null; then
2390 if test -s conftest.err; then
2391 ac_cpp_err=$ac_c_preproc_warn_flag
2392 else
2393 ac_cpp_err=
2394 fi
2395else
2396 ac_cpp_err=yes
2397fi
2398if test -z "$ac_cpp_err"; then 1183if test -z "$ac_err"; then
2399 eval "$as_ac_Header=yes" 1184 rm -rf conftest*
1185 eval "ac_cv_header_$ac_safe=yes"
2400else 1186else
1187 echo "$ac_err" >&5
2401 echo "$as_me: failed program was:" >&5 1188 echo "configure: failed program was:" >&5
2402 cat conftest.$ac_ext >&5 1189 cat conftest.$ac_ext >&5
2403 eval "$as_ac_Header=no" 1190 rm -rf conftest*
1191 eval "ac_cv_header_$ac_safe=no"
2404fi 1192fi
2405rm -f conftest.err conftest.$ac_ext 1193rm -f conftest*
2406fi 1194fi
2407echo "$as_me:2407: result: `eval echo '${'$as_ac_Header'}'`" >&5 1195if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2408echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 1196 echo "$ac_t""yes" 1>&6
2409if test `eval echo '${'$as_ac_Header'}'` = yes; then 1197 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2410 cat >>confdefs.h <<EOF 1198 cat >> confdefs.h <<EOF
2411#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 1199#define $ac_tr_hdr 1
2412EOF 1200EOF
2413 1201
1202else
1203 echo "$ac_t""no" 1>&6
2414fi 1204fi
2415done 1205done
2416 1206
2417for ac_header in io.h sys/time.h 1207for ac_hdr in io.h sys/time.h
2418do 1208do
2419as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 1209ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1210echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2420echo "$as_me:2420: checking for $ac_header" >&5 1211echo "configure:1212: checking for $ac_hdr" >&5
2421echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 1212if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2422if eval "test \"\${$as_ac_Header+set}\" = set"; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6 1213 echo $ac_n "(cached) $ac_c" 1>&6
2424else 1214else
2425 cat >conftest.$ac_ext <<_ACEOF 1215 cat > conftest.$ac_ext <<EOF
2426#line 2426 "configure" 1216#line 1217 "configure"
2427#include "confdefs.h" 1217#include "confdefs.h"
2428#include <$ac_header> 1218#include <$ac_hdr>
2429_ACEOF 1219EOF
2430if { (eval echo "$as_me:2430: \"$ac_cpp conftest.$ac_ext\"") >&5 1220ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1221{ (eval echo configure:1222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2432 ac_status=$? 1222ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2433 egrep -v '^ *\+' conftest.er1 >conftest.err
2434 rm -f conftest.er1
2435 cat conftest.err >&5
2436 echo "$as_me:2436: \$? = $ac_status" >&5
2437 (exit $ac_status); } >/dev/null; then
2438 if test -s conftest.err; then
2439 ac_cpp_err=$ac_c_preproc_warn_flag
2440 else
2441 ac_cpp_err=
2442 fi
2443else
2444 ac_cpp_err=yes
2445fi
2446if test -z "$ac_cpp_err"; then 1223if test -z "$ac_err"; then
2447 eval "$as_ac_Header=yes" 1224 rm -rf conftest*
1225 eval "ac_cv_header_$ac_safe=yes"
2448else 1226else
1227 echo "$ac_err" >&5
2449 echo "$as_me: failed program was:" >&5 1228 echo "configure: failed program was:" >&5
2450 cat conftest.$ac_ext >&5 1229 cat conftest.$ac_ext >&5
2451 eval "$as_ac_Header=no" 1230 rm -rf conftest*
1231 eval "ac_cv_header_$ac_safe=no"
2452fi 1232fi
2453rm -f conftest.err conftest.$ac_ext 1233rm -f conftest*
2454fi 1234fi
2455echo "$as_me:2455: result: `eval echo '${'$as_ac_Header'}'`" >&5 1235if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2456echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 1236 echo "$ac_t""yes" 1>&6
2457if test `eval echo '${'$as_ac_Header'}'` = yes; then 1237 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2458 cat >>confdefs.h <<EOF 1238 cat >> confdefs.h <<EOF
2459#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 1239#define $ac_tr_hdr 1
2460EOF 1240EOF
2461 1241
1242else
1243 echo "$ac_t""no" 1>&6
2462fi 1244fi
2463done 1245done
2464 1246
2465for ac_func in gettimeofday 1247for ac_func in gettimeofday
2466do 1248do
2467as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2468echo "$as_me:2468: checking for $ac_func" >&5
2469echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 1249echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2470if eval "test \"\${$as_ac_var+set}\" = set"; then 1250echo "configure:1251: checking for $ac_func" >&5
1251if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6 1252 echo $ac_n "(cached) $ac_c" 1>&6
2472else 1253else
2473 cat >conftest.$ac_ext <<_ACEOF 1254 cat > conftest.$ac_ext <<EOF
2474#line 2474 "configure" 1255#line 1256 "configure"
2475#include "confdefs.h" 1256#include "confdefs.h"
2476/* System header to define __stub macros and hopefully few prototypes, 1257/* System header to define __stub macros and hopefully few prototypes,
2477 which can conflict with char $ac_func (); below. */ 1258 which can conflict with char $ac_func(); below. */
2478#include <assert.h> 1259#include <assert.h>
2479/* Override any gcc2 internal prototype to avoid an error. */ 1260/* Override any gcc2 internal prototype to avoid an error. */
2480#ifdef __cplusplus
2481extern "C"
2482#endif
2483/* We use char because int might match the return type of a gcc2 1261/* We use char because int might match the return type of a gcc2
2484 builtin and then its argument prototype would still apply. */ 1262 builtin and then its argument prototype would still apply. */
2485char $ac_func (); 1263char $ac_func();
2486char (*f) ();
2487 1264
2488int 1265int main() {
2489main () 1266
2490{
2491/* The GNU C library defines this for functions which it implements 1267/* The GNU C library defines this for functions which it implements
2492 to always fail with ENOSYS. Some functions are actually named 1268 to always fail with ENOSYS. Some functions are actually named
2493 something starting with __ and the normal name is an alias. */ 1269 something starting with __ and the normal name is an alias. */
2494#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 1270#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2495choke me 1271choke me
2496#else 1272#else
2497f = $ac_func; 1273$ac_func();
2498#endif 1274#endif
2499 1275
2500 ;
2501 return 0; 1276; return 0; }
2502} 1277EOF
2503_ACEOF 1278if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2504rm -f conftest.$ac_objext conftest$ac_exeext 1279 rm -rf conftest*
2505if { (eval echo "$as_me:2505: \"$ac_link\"") >&5 1280 eval "ac_cv_func_$ac_func=yes"
2506 (eval $ac_link) 2>&5
2507 ac_status=$?
2508 echo "$as_me:2508: \$? = $ac_status" >&5
2509 (exit $ac_status); } &&
2510 { ac_try='test -s conftest$ac_exeext'
2511 { (eval echo "$as_me:2511: \"$ac_try\"") >&5
2512 (eval $ac_try) 2>&5
2513 ac_status=$?
2514 echo "$as_me:2514: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2516 eval "$as_ac_var=yes"
2517else 1281else
2518 echo "$as_me: failed program was:" >&5 1282 echo "configure: failed program was:" >&5
2519cat conftest.$ac_ext >&5 1283 cat conftest.$ac_ext >&5
2520eval "$as_ac_var=no" 1284 rm -rf conftest*
1285 eval "ac_cv_func_$ac_func=no"
2521fi 1286fi
2522rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1287rm -f conftest*
2523fi 1288fi
2524echo "$as_me:2524: result: `eval echo '${'$as_ac_var'}'`" >&5 1289
2525echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 1290if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2526if test `eval echo '${'$as_ac_var'}'` = yes; then 1291 echo "$ac_t""yes" 1>&6
1292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2527 cat >>confdefs.h <<EOF 1293 cat >> confdefs.h <<EOF
2528#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 1294#define $ac_tr_func 1
2529EOF 1295EOF
2530 1296
1297else
1298 echo "$ac_t""no" 1>&6
2531fi 1299fi
2532done 1300done
2533 1301
2534echo "$as_me:2534: checking for tempnam" >&5 1302
2535echo $ECHO_N "checking for tempnam... $ECHO_C" >&6 1303echo $ac_n "checking for tempnam""... $ac_c" 1>&6
1304echo "configure:1305: checking for tempnam" >&5
2536if test "${ac_cv_func_tempnam+set}" = set; then 1305if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6 1306 echo $ac_n "(cached) $ac_c" 1>&6
2538else 1307else
2539 cat >conftest.$ac_ext <<_ACEOF 1308 cat > conftest.$ac_ext <<EOF
2540#line 2540 "configure" 1309#line 1310 "configure"
2541#include "confdefs.h" 1310#include "confdefs.h"
2542/* System header to define __stub macros and hopefully few prototypes, 1311/* System header to define __stub macros and hopefully few prototypes,
2543 which can conflict with char tempnam (); below. */ 1312 which can conflict with char tempnam(); below. */
2544#include <assert.h> 1313#include <assert.h>
2545/* Override any gcc2 internal prototype to avoid an error. */ 1314/* Override any gcc2 internal prototype to avoid an error. */
2546#ifdef __cplusplus
2547extern "C"
2548#endif
2549/* We use char because int might match the return type of a gcc2 1315/* We use char because int might match the return type of a gcc2
2550 builtin and then its argument prototype would still apply. */ 1316 builtin and then its argument prototype would still apply. */
2551char tempnam (); 1317char tempnam();
2552char (*f) ();
2553 1318
2554int 1319int main() {
2555main () 1320
2556{
2557/* The GNU C library defines this for functions which it implements 1321/* The GNU C library defines this for functions which it implements
2558 to always fail with ENOSYS. Some functions are actually named 1322 to always fail with ENOSYS. Some functions are actually named
2559 something starting with __ and the normal name is an alias. */ 1323 something starting with __ and the normal name is an alias. */
2560#if defined (__stub_tempnam) || defined (__stub___tempnam) 1324#if defined (__stub_tempnam) || defined (__stub___tempnam)
2561choke me 1325choke me
2562#else 1326#else
2563f = tempnam; 1327tempnam();
2564#endif 1328#endif
2565 1329
2566 ;
2567 return 0; 1330; return 0; }
2568} 1331EOF
2569_ACEOF 1332if { (eval echo configure:1333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2570rm -f conftest.$ac_objext conftest$ac_exeext 1333 rm -rf conftest*
2571if { (eval echo "$as_me:2571: \"$ac_link\"") >&5
2572 (eval $ac_link) 2>&5
2573 ac_status=$?
2574 echo "$as_me:2574: \$? = $ac_status" >&5
2575 (exit $ac_status); } &&
2576 { ac_try='test -s conftest$ac_exeext'
2577 { (eval echo "$as_me:2577: \"$ac_try\"") >&5
2578 (eval $ac_try) 2>&5
2579 ac_status=$?
2580 echo "$as_me:2580: \$? = $ac_status" >&5
2581 (exit $ac_status); }; }; then
2582 ac_cv_func_tempnam=yes 1334 eval "ac_cv_func_tempnam=yes"
2583else 1335else
2584 echo "$as_me: failed program was:" >&5 1336 echo "configure: failed program was:" >&5
2585cat conftest.$ac_ext >&5 1337 cat conftest.$ac_ext >&5
1338 rm -rf conftest*
2586ac_cv_func_tempnam=no 1339 eval "ac_cv_func_tempnam=no"
2587fi 1340fi
2588rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1341rm -f conftest*
2589fi 1342fi
2590echo "$as_me:2590: result: $ac_cv_func_tempnam" >&5 1343
2591echo "${ECHO_T}$ac_cv_func_tempnam" >&6
2592if test $ac_cv_func_tempnam = yes; then 1344if eval "test \"`echo '$ac_cv_func_'tempnam`\" = yes"; then
1345 echo "$ac_t""yes" 1>&6
2593 : 1346 :
2594else 1347else
1348 echo "$ac_t""no" 1>&6
2595 cat >>confdefs.h <<\EOF 1349cat >> confdefs.h <<\EOF
2596#define tempnam FP_tempnam 1350#define tempnam FP_tempnam
2597EOF 1351EOF
2598 1352
2599fi 1353fi
2600 1354
2601echo "$as_me:2601: checking for chmod" >&5 1355
2602echo $ECHO_N "checking for chmod... $ECHO_C" >&6 1356echo $ac_n "checking for chmod""... $ac_c" 1>&6
1357echo "configure:1358: checking for chmod" >&5
2603if test "${ac_cv_func_chmod+set}" = set; then 1358if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6 1359 echo $ac_n "(cached) $ac_c" 1>&6
2605else 1360else
2606 cat >conftest.$ac_ext <<_ACEOF 1361 cat > conftest.$ac_ext <<EOF
2607#line 2607 "configure" 1362#line 1363 "configure"
2608#include "confdefs.h" 1363#include "confdefs.h"
2609/* System header to define __stub macros and hopefully few prototypes, 1364/* System header to define __stub macros and hopefully few prototypes,
2610 which can conflict with char chmod (); below. */ 1365 which can conflict with char chmod(); below. */
2611#include <assert.h> 1366#include <assert.h>
2612/* Override any gcc2 internal prototype to avoid an error. */ 1367/* Override any gcc2 internal prototype to avoid an error. */
2613#ifdef __cplusplus
2614extern "C"
2615#endif
2616/* We use char because int might match the return type of a gcc2 1368/* We use char because int might match the return type of a gcc2
2617 builtin and then its argument prototype would still apply. */ 1369 builtin and then its argument prototype would still apply. */
2618char chmod (); 1370char chmod();
2619char (*f) ();
2620 1371
2621int 1372int main() {
2622main () 1373
2623{
2624/* The GNU C library defines this for functions which it implements 1374/* The GNU C library defines this for functions which it implements
2625 to always fail with ENOSYS. Some functions are actually named 1375 to always fail with ENOSYS. Some functions are actually named
2626 something starting with __ and the normal name is an alias. */ 1376 something starting with __ and the normal name is an alias. */
2627#if defined (__stub_chmod) || defined (__stub___chmod) 1377#if defined (__stub_chmod) || defined (__stub___chmod)
2628choke me 1378choke me
2629#else 1379#else
2630f = chmod; 1380chmod();
2631#endif 1381#endif
2632 1382
2633 ;
2634 return 0; 1383; return 0; }
2635} 1384EOF
2636_ACEOF 1385if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2637rm -f conftest.$ac_objext conftest$ac_exeext 1386 rm -rf conftest*
2638if { (eval echo "$as_me:2638: \"$ac_link\"") >&5
2639 (eval $ac_link) 2>&5
2640 ac_status=$?
2641 echo "$as_me:2641: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -s conftest$ac_exeext'
2644 { (eval echo "$as_me:2644: \"$ac_try\"") >&5
2645 (eval $ac_try) 2>&5
2646 ac_status=$?
2647 echo "$as_me:2647: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_func_chmod=yes 1387 eval "ac_cv_func_chmod=yes"
2650else 1388else
2651 echo "$as_me: failed program was:" >&5 1389 echo "configure: failed program was:" >&5
2652cat conftest.$ac_ext >&5 1390 cat conftest.$ac_ext >&5
1391 rm -rf conftest*
2653ac_cv_func_chmod=no 1392 eval "ac_cv_func_chmod=no"
2654fi 1393fi
2655rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1394rm -f conftest*
2656fi 1395fi
2657echo "$as_me:2657: result: $ac_cv_func_chmod" >&5 1396
2658echo "${ECHO_T}$ac_cv_func_chmod" >&6
2659if test $ac_cv_func_chmod = yes; then 1397if eval "test \"`echo '$ac_cv_func_'chmod`\" = yes"; then
1398 echo "$ac_t""yes" 1>&6
2660 cat >>confdefs.h <<\EOF 1399 cat >> confdefs.h <<\EOF
2661#define HAVE_CHMOD 1 1400#define HAVE_CHMOD 1
2662EOF 1401EOF
2663 1402
1403else
1404 echo "$ac_t""no" 1>&6
2664fi 1405fi
2665 1406
2666echo "$as_me:2666: checking for umask" >&5
2667echo $ECHO_N "checking for umask... $ECHO_C" >&6 1407echo $ac_n "checking for umask""... $ac_c" 1>&6
1408echo "configure:1409: checking for umask" >&5
2668if test "${ac_cv_func_umask+set}" = set; then 1409if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6 1410 echo $ac_n "(cached) $ac_c" 1>&6
2670else 1411else
2671 cat >conftest.$ac_ext <<_ACEOF 1412 cat > conftest.$ac_ext <<EOF
2672#line 2672 "configure" 1413#line 1414 "configure"
2673#include "confdefs.h" 1414#include "confdefs.h"
2674/* System header to define __stub macros and hopefully few prototypes, 1415/* System header to define __stub macros and hopefully few prototypes,
2675 which can conflict with char umask (); below. */ 1416 which can conflict with char umask(); below. */
2676#include <assert.h> 1417#include <assert.h>
2677/* Override any gcc2 internal prototype to avoid an error. */ 1418/* Override any gcc2 internal prototype to avoid an error. */
2678#ifdef __cplusplus
2679extern "C"
2680#endif
2681/* We use char because int might match the return type of a gcc2 1419/* We use char because int might match the return type of a gcc2
2682 builtin and then its argument prototype would still apply. */ 1420 builtin and then its argument prototype would still apply. */
2683char umask (); 1421char umask();
2684char (*f) ();
2685 1422
2686int 1423int main() {
2687main () 1424
2688{
2689/* The GNU C library defines this for functions which it implements 1425/* The GNU C library defines this for functions which it implements
2690 to always fail with ENOSYS. Some functions are actually named 1426 to always fail with ENOSYS. Some functions are actually named
2691 something starting with __ and the normal name is an alias. */ 1427 something starting with __ and the normal name is an alias. */
2692#if defined (__stub_umask) || defined (__stub___umask) 1428#if defined (__stub_umask) || defined (__stub___umask)
2693choke me 1429choke me
2694#else 1430#else
2695f = umask; 1431umask();
2696#endif 1432#endif
2697 1433
2698 ;
2699 return 0; 1434; return 0; }
2700} 1435EOF
2701_ACEOF 1436if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2702rm -f conftest.$ac_objext conftest$ac_exeext 1437 rm -rf conftest*
2703if { (eval echo "$as_me:2703: \"$ac_link\"") >&5
2704 (eval $ac_link) 2>&5
2705 ac_status=$?
2706 echo "$as_me:2706: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try='test -s conftest$ac_exeext'
2709 { (eval echo "$as_me:2709: \"$ac_try\"") >&5
2710 (eval $ac_try) 2>&5
2711 ac_status=$?
2712 echo "$as_me:2712: \$? = $ac_status" >&5
2713 (exit $ac_status); }; }; then
2714 ac_cv_func_umask=yes 1438 eval "ac_cv_func_umask=yes"
2715else 1439else
2716 echo "$as_me: failed program was:" >&5 1440 echo "configure: failed program was:" >&5
2717cat conftest.$ac_ext >&5 1441 cat conftest.$ac_ext >&5
1442 rm -rf conftest*
2718ac_cv_func_umask=no 1443 eval "ac_cv_func_umask=no"
2719fi 1444fi
2720rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1445rm -f conftest*
2721fi 1446fi
2722echo "$as_me:2722: result: $ac_cv_func_umask" >&5 1447
2723echo "${ECHO_T}$ac_cv_func_umask" >&6
2724if test $ac_cv_func_umask = yes; then 1448if eval "test \"`echo '$ac_cv_func_'umask`\" = yes"; then
1449 echo "$ac_t""yes" 1>&6
2725 cat >>confdefs.h <<\EOF 1450 cat >> confdefs.h <<\EOF
2726#define HAVE_UMASK 1 1451#define HAVE_UMASK 1
2727EOF 1452EOF
2728 1453
1454else
1455 echo "$ac_t""no" 1>&6
2729fi 1456fi
2730 1457
2731echo "$as_me:2731: checking for mkstemp" >&5
2732echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 1458echo $ac_n "checking for mkstemp""... $ac_c" 1>&6
1459echo "configure:1460: checking for mkstemp" >&5
2733if test "${ac_cv_func_mkstemp+set}" = set; then 1460if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6 1461 echo $ac_n "(cached) $ac_c" 1>&6
2735else 1462else
2736 cat >conftest.$ac_ext <<_ACEOF 1463 cat > conftest.$ac_ext <<EOF
2737#line 2737 "configure" 1464#line 1465 "configure"
2738#include "confdefs.h" 1465#include "confdefs.h"
2739/* System header to define __stub macros and hopefully few prototypes, 1466/* System header to define __stub macros and hopefully few prototypes,
2740 which can conflict with char mkstemp (); below. */ 1467 which can conflict with char mkstemp(); below. */
2741#include <assert.h> 1468#include <assert.h>
2742/* Override any gcc2 internal prototype to avoid an error. */ 1469/* Override any gcc2 internal prototype to avoid an error. */
2743#ifdef __cplusplus
2744extern "C"
2745#endif
2746/* We use char because int might match the return type of a gcc2 1470/* We use char because int might match the return type of a gcc2
2747 builtin and then its argument prototype would still apply. */ 1471 builtin and then its argument prototype would still apply. */
2748char mkstemp (); 1472char mkstemp();
2749char (*f) ();
2750 1473
2751int 1474int main() {
2752main () 1475
2753{
2754/* The GNU C library defines this for functions which it implements 1476/* The GNU C library defines this for functions which it implements
2755 to always fail with ENOSYS. Some functions are actually named 1477 to always fail with ENOSYS. Some functions are actually named
2756 something starting with __ and the normal name is an alias. */ 1478 something starting with __ and the normal name is an alias. */
2757#if defined (__stub_mkstemp) || defined (__stub___mkstemp) 1479#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
2758choke me 1480choke me
2759#else 1481#else
2760f = mkstemp; 1482mkstemp();
2761#endif 1483#endif
2762 1484
2763 ;
2764 return 0; 1485; return 0; }
2765} 1486EOF
2766_ACEOF 1487if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2767rm -f conftest.$ac_objext conftest$ac_exeext 1488 rm -rf conftest*
2768if { (eval echo "$as_me:2768: \"$ac_link\"") >&5
2769 (eval $ac_link) 2>&5
2770 ac_status=$?
2771 echo "$as_me:2771: \$? = $ac_status" >&5
2772 (exit $ac_status); } &&
2773 { ac_try='test -s conftest$ac_exeext'
2774 { (eval echo "$as_me:2774: \"$ac_try\"") >&5
2775 (eval $ac_try) 2>&5
2776 ac_status=$?
2777 echo "$as_me:2777: \$? = $ac_status" >&5
2778 (exit $ac_status); }; }; then
2779 ac_cv_func_mkstemp=yes 1489 eval "ac_cv_func_mkstemp=yes"
2780else 1490else
2781 echo "$as_me: failed program was:" >&5 1491 echo "configure: failed program was:" >&5
2782cat conftest.$ac_ext >&5 1492 cat conftest.$ac_ext >&5
1493 rm -rf conftest*
2783ac_cv_func_mkstemp=no 1494 eval "ac_cv_func_mkstemp=no"
2784fi 1495fi
2785rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1496rm -f conftest*
2786fi 1497fi
2787echo "$as_me:2787: result: $ac_cv_func_mkstemp" >&5 1498
2788echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
2789if test $ac_cv_func_mkstemp = yes; then 1499if eval "test \"`echo '$ac_cv_func_'mkstemp`\" = yes"; then
1500 echo "$ac_t""yes" 1>&6
2790 cat >>confdefs.h <<\EOF 1501 cat >> confdefs.h <<\EOF
2791#define HAVE_MKSTEMP 1 1502#define HAVE_MKSTEMP 1
2792EOF 1503EOF
2793 1504
1505else
1506 echo "$ac_t""no" 1>&6
2794fi 1507fi
1508
2795 1509
2796# 1510#
2797# strerror might be internally defined. this would cause a 1511# strerror might be internally defined. this would cause a
2798# CHECK_FUNCS(strerror) to fail because it'd be called with 1512# CHECK_FUNCS(strerror) to fail because it'd be called with
2799# zero arguments. So use our own code. 1513# zero arguments. So use our own code.
2800# 1514#
2801echo "$as_me:2801: checking for strerror" >&5
2802echo $ECHO_N "checking for strerror... $ECHO_C" >&6 1515echo $ac_n "checking for strerror""... $ac_c" 1>&6
1516echo "configure:1517: checking for strerror" >&5
2803cat >conftest.$ac_ext <<_ACEOF 1517cat > conftest.$ac_ext <<EOF
2804#line 2804 "configure" 1518#line 1519 "configure"
2805#include "confdefs.h" 1519#include "confdefs.h"
2806 1520
2807char *blubb() { return (char *) strerror (42); } 1521char *blubb() { return (char *) strerror (42); }
2808 1522
2809int 1523int main() {
2810main ()
2811{
2812 1524
2813(void) blubb(); 1525(void) blubb();
2814 1526
2815 ;
2816 return 0; 1527; return 0; }
2817} 1528EOF
2818_ACEOF 1529if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2819rm -f conftest.$ac_objext conftest$ac_exeext 1530 rm -rf conftest*
2820if { (eval echo "$as_me:2820: \"$ac_link\"") >&5
2821 (eval $ac_link) 2>&5
2822 ac_status=$?
2823 echo "$as_me:2823: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try='test -s conftest$ac_exeext'
2826 { (eval echo "$as_me:2826: \"$ac_try\"") >&5
2827 (eval $ac_try) 2>&5
2828 ac_status=$?
2829 echo "$as_me:2829: \$? = $ac_status" >&5
2830 (exit $ac_status); }; }; then
2831 have_strerror=yes 1531 have_strerror=yes
2832else 1532else
2833 echo "$as_me: failed program was:" >&5 1533 echo "configure: failed program was:" >&5
2834cat conftest.$ac_ext >&5 1534 cat conftest.$ac_ext >&5
1535 rm -rf conftest*
2835cat >>confdefs.h <<\EOF 1536 cat >> confdefs.h <<\EOF
2836#define strerror FP_strerror 1537#define strerror FP_strerror
2837EOF 1538EOF
2838 1539
2839have_strerror=no 1540have_strerror=no
2840fi 1541fi
2841rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1542rm -f conftest*
2842echo "$as_me:2842: result: $have_strerror" >&5
2843echo "${ECHO_T}$have_strerror" >&6 1543echo "$ac_t""$have_strerror" 1>&6
2844 1544
2845echo "$as_me:2845: checking for stdin" >&5
2846echo $ECHO_N "checking for stdin... $ECHO_C" >&6 1545echo $ac_n "checking for stdin""... $ac_c" 1>&6
1546echo "configure:1547: checking for stdin" >&5
2847cat >conftest.$ac_ext <<_ACEOF 1547cat > conftest.$ac_ext <<EOF
2848#line 2848 "configure" 1548#line 1549 "configure"
2849#include "confdefs.h" 1549#include "confdefs.h"
2850 1550
2851#include <stdio.h> 1551#include <stdio.h>
2852char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } 1552char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; }
2853 1553
2854int 1554int main() {
2855main ()
2856{
2857 1555
2858(void) blubb(); 1556(void) blubb();
2859 1557
2860 ;
2861 return 0; 1558; return 0; }
2862} 1559EOF
2863_ACEOF 1560if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2864rm -f conftest.$ac_objext conftest$ac_exeext 1561 rm -rf conftest*
2865if { (eval echo "$as_me:2865: \"$ac_link\"") >&5
2866 (eval $ac_link) 2>&5
2867 ac_status=$?
2868 echo "$as_me:2868: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try='test -s conftest$ac_exeext'
2871 { (eval echo "$as_me:2871: \"$ac_try\"") >&5
2872 (eval $ac_try) 2>&5
2873 ac_status=$?
2874 echo "$as_me:2874: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then
2876 have_stdio=yes 1562 have_stdio=yes
2877else 1563else
2878 echo "$as_me: failed program was:" >&5 1564 echo "configure: failed program was:" >&5
2879cat conftest.$ac_ext >&5 1565 cat conftest.$ac_ext >&5
1566 rm -rf conftest*
2880cat >>confdefs.h <<\EOF 1567 cat >> confdefs.h <<\EOF
2881#define HAVE_STDIO 1 1568#define HAVE_STDIO 1
2882EOF 1569EOF
2883 1570
2884have_stdio=no 1571have_stdio=no
2885fi 1572fi
2886rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1573rm -f conftest*
2887echo "$as_me:2887: result: $have_stdio" >&5
2888echo "${ECHO_T}$have_stdio" >&6 1574echo "$ac_t""$have_stdio" 1>&6
2889 1575
2890if test "$ac_cv_header_stdc" = "no" ; then 1576if test "$ac_cv_header_stdc" = "no" ; then
2891
2892for ac_header in stdarg.h varargs.h 1577 for ac_hdr in stdarg.h varargs.h
2893do 1578do
2894as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 1579ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2895echo "$as_me:2895: checking for $ac_header" >&5
2896echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 1580echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2897if eval "test \"\${$as_ac_Header+set}\" = set"; then 1581echo "configure:1582: checking for $ac_hdr" >&5
1582if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6 1583 echo $ac_n "(cached) $ac_c" 1>&6
2899else 1584else
2900 cat >conftest.$ac_ext <<_ACEOF 1585 cat > conftest.$ac_ext <<EOF
2901#line 2901 "configure" 1586#line 1587 "configure"
2902#include "confdefs.h" 1587#include "confdefs.h"
2903#include <$ac_header> 1588#include <$ac_hdr>
2904_ACEOF 1589EOF
2905if { (eval echo "$as_me:2905: \"$ac_cpp conftest.$ac_ext\"") >&5 1590ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1591{ (eval echo configure:1592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2907 ac_status=$? 1592ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2908 egrep -v '^ *\+' conftest.er1 >conftest.err
2909 rm -f conftest.er1
2910 cat conftest.err >&5
2911 echo "$as_me:2911: \$? = $ac_status" >&5
2912 (exit $ac_status); } >/dev/null; then
2913 if test -s conftest.err; then
2914 ac_cpp_err=$ac_c_preproc_warn_flag
2915 else
2916 ac_cpp_err=
2917 fi
2918else
2919 ac_cpp_err=yes
2920fi
2921if test -z "$ac_cpp_err"; then 1593if test -z "$ac_err"; then
2922 eval "$as_ac_Header=yes" 1594 rm -rf conftest*
1595 eval "ac_cv_header_$ac_safe=yes"
2923else 1596else
1597 echo "$ac_err" >&5
2924 echo "$as_me: failed program was:" >&5 1598 echo "configure: failed program was:" >&5
2925 cat conftest.$ac_ext >&5 1599 cat conftest.$ac_ext >&5
2926 eval "$as_ac_Header=no" 1600 rm -rf conftest*
1601 eval "ac_cv_header_$ac_safe=no"
2927fi 1602fi
2928rm -f conftest.err conftest.$ac_ext 1603rm -f conftest*
2929fi 1604fi
2930echo "$as_me:2930: result: `eval echo '${'$as_ac_Header'}'`" >&5 1605if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2931echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 1606 echo "$ac_t""yes" 1>&6
2932if test `eval echo '${'$as_ac_Header'}'` = yes; then 1607 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2933 cat >>confdefs.h <<EOF 1608 cat >> confdefs.h <<EOF
2934#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 1609#define $ac_tr_hdr 1
2935EOF 1610EOF
2936 1611
1612else
1613 echo "$ac_t""no" 1>&6
2937fi 1614fi
2938done 1615done
2939 1616
2940 if test "$ac_cv_header_stdarg_h" = "no" ; then 1617 if test "$ac_cv_header_stdarg_h" = "no" ; then
2941 if test "$ac_cv_header_varargs_h" = "no" ; then 1618 if test "$ac_cv_header_varargs_h" = "no" ; then
2942 { { echo "$as_me:2942: error: neither stdarg.h nor varargs.h present" >&5
2943echo "$as_me: error: neither stdarg.h nor varargs.h present" >&2;} 1619 { echo "configure: error: neither stdarg.h nor varargs.h present" 1>&2; exit 1; }
2944 { (exit 1); exit 1; }; }
2945 fi 1620 fi
2946 fi 1621 fi
2947fi 1622fi
2948 1623
2949# 1624#
2953# and we can change the definition by hand on a really DOS 1628# and we can change the definition by hand on a really DOS
2954# system (where ./configure doesn't work anyway ...) 1629# system (where ./configure doesn't work anyway ...)
2955# 1630#
2956 1631
2957if false ; then 1632if false ; then
2958 cat >>confdefs.h <<\EOF 1633 cat >> confdefs.h <<\EOF
2959#define SYSTEM_DOS 1 1634#define SYSTEM_DOS 1
2960EOF 1635EOF
2961 1636
2962 cat >>confdefs.h <<\EOF 1637 cat >> confdefs.h <<\EOF
2963#define SYSTEM_QUICKWIN 1 1638#define SYSTEM_QUICKWIN 1
2964EOF 1639EOF
2965 1640
2966 cat >>confdefs.h <<\EOF 1641 cat >> confdefs.h <<\EOF
2967#define SYSTEM_WINDLL 1 1642#define SYSTEM_WINDLL 1
2968EOF 1643EOF
2969 1644
2970 cat >>confdefs.h <<\EOF 1645 cat >> confdefs.h <<\EOF
2971#define SYSTEM_OS2 1 1646#define SYSTEM_OS2 1
2972EOF 1647EOF
2973 1648
2974fi 1649fi
2975 1650
2976# 1651#
2977# On some systems (so far, OS2 and WINDOWS), functions that are exported 1652# On some systems (so far, OS2 and WINDOWS), functions that are exported
2978# from a DLL must be declared specifically. 1653# from a DLL must be declared specifically.
2979# 1654#
2980 1655
2981cat >>confdefs.h <<EOF 1656cat >> confdefs.h <<EOF
2982#define UUEXPORT 1657#define UUEXPORT
2983EOF 1658EOF
2984 1659
2985cat >>confdefs.h <<EOF 1660cat >> confdefs.h <<EOF
2986#define TOOLEXPORT 1661#define TOOLEXPORT
2987EOF 1662EOF
1663
2988 1664
2989# 1665#
2990# set version number 1666# set version number
2991# 1667#
2992echo "$as_me:2992: checking version number" >&5
2993echo $ECHO_N "checking version number... $ECHO_C" >&6 1668echo $ac_n "checking version number""... $ac_c" 1>&6
1669echo "configure:1670: checking version number" >&5
2994version_number="$VERSION"pl"$PATCH" 1670version_number="$VERSION"pl"$PATCH"
2995echo "$as_me:2995: result: $version_number" >&5
2996echo "${ECHO_T}$version_number" >&6 1671echo "$ac_t""$version_number" 1>&6
1672
1673
2997 1674
2998# 1675#
2999# done 1676# done
3000# 1677#
3001 1678
3002ac_config_files="$ac_config_files Makefile" 1679trap '' 1 2 15
3003cat >confcache <<\_ACEOF 1680cat > confcache <<\EOF
3004# This file is a shell script that caches the results of configure 1681# This file is a shell script that caches the results of configure
3005# tests run on this system so they can be shared between configure 1682# tests run on this system so they can be shared between configure
3006# scripts and configure runs, see configure's option --config-cache. 1683# scripts and configure runs. It is not useful on other systems.
3007# It is not useful on other systems. If it contains results you don't 1684# If it contains results you don't want to keep, you may remove or edit it.
3008# want to keep, you may remove or edit it.
3009# 1685#
1686# By default, configure uses ./config.cache as the cache file,
1687# creating it if it does not exist already. You can give configure
1688# the --cache-file=FILE option to use a different cache file; that is
1689# what configure does when it calls configure scripts in
1690# subdirectories, so they share the cache.
1691# Giving --cache-file=/dev/null disables caching, for debugging configure.
3010# config.status only pays attention to the cache file if you give it 1692# config.status only pays attention to the cache file if you give it the
3011# the --recheck option to rerun configure. 1693# --recheck option to rerun configure.
3012# 1694#
3013# `ac_cv_env_foo' variables (set or unset) will be overriden when 1695EOF
3014# loading this file, other *unset* `ac_cv_foo' will be assigned the
3015# following values.
3016
3017_ACEOF
3018
3019# The following way of writing the cache mishandles newlines in values, 1696# The following way of writing the cache mishandles newlines in values,
3020# but we know of no workaround that is simple, portable, and efficient. 1697# but we know of no workaround that is simple, portable, and efficient.
3021# So, don't put newlines in cache variables' values. 1698# So, don't put newlines in cache variables' values.
3022# Ultrix sh set writes to stderr and can't be redirected directly, 1699# Ultrix sh set writes to stderr and can't be redirected directly,
3023# and sets the high bit in the cache file unless we assign to the vars. 1700# and sets the high bit in the cache file unless we assign to the vars.
3024{
3025 (set) 2>&1 | 1701(set) 2>&1 |
3026 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1702 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3027 *ac_space=\ *) 1703 *ac_space=\ *)
3028 # `set' does not quote correctly, so add quotes (double-quote 1704 # `set' does not quote correctly, so add quotes (double-quote substitution
3029 # substitution turns \\\\ into \\, and sed turns \\ into \). 1705 # turns \\\\ into \\, and sed turns \\ into \).
3030 sed -n \ 1706 sed -n \
3031 "s/'/'\\\\''/g; 1707 -e "s/'/'\\\\''/g" \
3032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1708 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3033 ;; 1709 ;;
3034 *) 1710 *)
3035 # `set' quotes correctly as required by POSIX, so do not add quotes. 1711 # `set' quotes correctly as required by POSIX, so do not add quotes.
3036 sed -n \ 1712 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3037 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3038 ;; 1713 ;;
3039 esac; 1714 esac >> confcache
3040} |
3041 sed '
3042 t clear
3043 : clear
3044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3045 t end
3046 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3047 : end' >>confcache
3048if cmp -s $cache_file confcache; then :; else 1715if cmp -s $cache_file confcache; then
1716 :
1717else
3049 if test -w $cache_file; then 1718 if test -w $cache_file; then
3050 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 1719 echo "updating cache $cache_file"
3051 cat confcache >$cache_file 1720 cat confcache > $cache_file
3052 else 1721 else
3053 echo "not updating unwritable cache $cache_file" 1722 echo "not updating unwritable cache $cache_file"
3054 fi 1723 fi
3055fi 1724fi
3056rm -f confcache 1725rm -f confcache
3057 1726
1727trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1728
3058test "x$prefix" = xNONE && prefix=$ac_default_prefix 1729test "x$prefix" = xNONE && prefix=$ac_default_prefix
3059# Let make expand exec_prefix. 1730# Let make expand exec_prefix.
3060test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1731test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3061 1732
3062# VPATH may cause trouble with some makes, so we remove $(srcdir), 1733# Any assignment to VPATH causes Sun make to only execute
3063# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 1734# the first set of double-colon rules, so remove it if not needed.
3064# trailing colons and then remove the whole line if VPATH becomes empty 1735# If there is a colon in the path, we need to keep it.
3065# (actually we leave an empty line to preserve line numbers).
3066if test "x$srcdir" = x.; then 1736if test "x$srcdir" = x.; then
3067 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 1737 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3068s/:*\$(srcdir):*/:/;
3069s/:*\${srcdir}:*/:/;
3070s/:*@srcdir@:*/:/;
3071s/^\([^=]*=[ ]*\):*/\1/;
3072s/:*$//;
3073s/^[^=]*=[ ]*$//;
3074}'
3075fi 1738fi
1739
1740trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3076 1741
3077DEFS=-DHAVE_CONFIG_H 1742DEFS=-DHAVE_CONFIG_H
3078 1743
1744# Without the "./", some shells look in PATH for config.status.
3079: ${CONFIG_STATUS=./config.status} 1745: ${CONFIG_STATUS=./config.status}
3080ac_clean_files_save=$ac_clean_files 1746
3081ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3082{ echo "$as_me:3082: creating $CONFIG_STATUS" >&5
3083echo "$as_me: creating $CONFIG_STATUS" >&6;} 1747echo creating $CONFIG_STATUS
1748rm -f $CONFIG_STATUS
3084cat >$CONFIG_STATUS <<_ACEOF 1749cat > $CONFIG_STATUS <<EOF
3085#! $SHELL 1750#! /bin/sh
3086# Generated automatically by configure. 1751# Generated automatically by configure.
3087# Run this file to recreate the current configuration. 1752# Run this file to recreate the current configuration.
1753# This directory was configured as follows,
1754# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1755#
1756# $0 $ac_configure_args
1757#
3088# Compiler output produced by configure, useful for debugging 1758# Compiler output produced by configure, useful for debugging
3089# configure, is in config.log if it exists. 1759# configure, is in ./config.log if it exists.
3090 1760
3091debug=false 1761ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3092SHELL=\${CONFIG_SHELL-$SHELL} 1762for ac_option
3093ac_cs_invocation="\$0 \$@"
3094
3095_ACEOF
3096
3097cat >>$CONFIG_STATUS <<\_ACEOF
3098# Be Bourne compatible
3099if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3100 emulate sh
3101 NULLCMD=:
3102elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3103 set -o posix
3104fi
3105
3106# Name of the executable.
3107as_me=`echo "$0" |sed 's,.*[\\/],,'`
3108
3109if expr a : '\(a\)' >/dev/null 2>&1; then
3110 as_expr=expr
3111else
3112 as_expr=false
3113fi
3114
3115rm -f conf$$ conf$$.exe conf$$.file
3116echo >conf$$.file
3117if ln -s conf$$.file conf$$ 2>/dev/null; then
3118 # We could just check for DJGPP; but this test a) works b) is more generic
3119 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3120 if test -f conf$$.exe; then
3121 # Don't use ln at all; we don't have any links
3122 as_ln_s='cp -p'
3123 else
3124 as_ln_s='ln -s'
3125 fi
3126elif ln conf$$.file conf$$ 2>/dev/null; then
3127 as_ln_s=ln
3128else
3129 as_ln_s='cp -p'
3130fi
3131rm -f conf$$ conf$$.exe conf$$.file
3132
3133as_executable_p="test -f"
3134
3135# Support unset when possible.
3136if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3137 as_unset=unset
3138else
3139 as_unset=false
3140fi
3141
3142# NLS nuisances.
3143$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3144$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3145$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3146$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3147$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3148$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3149$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3150$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3151
3152# IFS
3153# We need space, tab and new line, in precisely that order.
3154as_nl='
3155'
3156IFS=" $as_nl"
3157
3158# CDPATH.
3159$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3160
3161exec 6>&1
3162
3163_ACEOF
3164
3165# Files that config.status was made for.
3166if test -n "$ac_config_files"; then
3167 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3168fi
3169
3170if test -n "$ac_config_headers"; then
3171 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3172fi
3173
3174if test -n "$ac_config_links"; then
3175 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3176fi
3177
3178if test -n "$ac_config_commands"; then
3179 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3180fi
3181
3182cat >>$CONFIG_STATUS <<\EOF
3183
3184ac_cs_usage="\
3185\`$as_me' instantiates files from templates according to the
3186current configuration.
3187
3188Usage: $0 [OPTIONS] [FILE]...
3189
3190 -h, --help print this help, then exit
3191 -V, --version print version number, then exit
3192 -d, --debug don't remove temporary files
3193 --recheck update $as_me by reconfiguring in the same conditions
3194 --file=FILE[:TEMPLATE]
3195 instantiate the configuration file FILE
3196 --header=FILE[:TEMPLATE]
3197 instantiate the configuration header FILE
3198
3199Configuration files:
3200$config_files
3201
3202Configuration headers:
3203$config_headers
3204
3205Report bugs to <bug-autoconf@gnu.org>."
3206EOF
3207
3208cat >>$CONFIG_STATUS <<EOF
3209ac_cs_version="\\
3210config.status
3211configured by $0, generated by GNU Autoconf 2.52,
3212 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3213
3214Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3215Free Software Foundation, Inc.
3216This config.status script is free software; the Free Software Foundation
3217gives unlimited permission to copy, distribute and modify it."
3218srcdir=$srcdir
3219EOF
3220
3221cat >>$CONFIG_STATUS <<\EOF
3222# If no file are specified by the user, then we need to provide default
3223# value. By we need to know if files were specified by the user.
3224ac_need_defaults=:
3225while test $# != 0
3226do 1763do
3227 case $1 in 1764 case "\$ac_option" in
3228 --*=*)
3229 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3230 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3231 shift
3232 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3233 shift
3234 ;;
3235 -*);;
3236 *) # This is not an option, so the user has probably given explicit
3237 # arguments.
3238 ac_need_defaults=false;;
3239 esac
3240
3241 case $1 in
3242 # Handling of the options.
3243EOF
3244cat >>$CONFIG_STATUS <<EOF
3245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1765 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3246 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 1766 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3247 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 1767 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3248EOF 1768 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3249cat >>$CONFIG_STATUS <<\EOF 1769 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3250 --version | --vers* | -V ) 1770 exit 0 ;;
3251 echo "$ac_cs_version"; exit 0 ;; 1771 -help | --help | --hel | --he | --h)
3252 --he | --h)
3253 # Conflict between --help and --header
3254 { { echo "$as_me:3254: error: ambiguous option: $1
3255Try \`$0 --help' for more information." >&5
3256echo "$as_me: error: ambiguous option: $1
3257Try \`$0 --help' for more information." >&2;}
3258 { (exit 1); exit 1; }; };;
3259 --help | --hel | -h )
3260 echo "$ac_cs_usage"; exit 0 ;; 1772 echo "\$ac_cs_usage"; exit 0 ;;
3261 --debug | --d* | -d ) 1773 *) echo "\$ac_cs_usage"; exit 1 ;;
3262 debug=: ;;
3263 --file | --fil | --fi | --f )
3264 shift
3265 CONFIG_FILES="$CONFIG_FILES $1"
3266 ac_need_defaults=false;;
3267 --header | --heade | --head | --hea )
3268 shift
3269 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3270 ac_need_defaults=false;;
3271
3272 # This is an error.
3273 -*) { { echo "$as_me:3273: error: unrecognized option: $1
3274Try \`$0 --help' for more information." >&5
3275echo "$as_me: error: unrecognized option: $1
3276Try \`$0 --help' for more information." >&2;}
3277 { (exit 1); exit 1; }; } ;;
3278
3279 *) ac_config_targets="$ac_config_targets $1" ;;
3280
3281 esac
3282 shift
3283done
3284
3285exec 5>>config.log
3286cat >&5 << _ACEOF
3287
3288## ----------------------- ##
3289## Running config.status. ##
3290## ----------------------- ##
3291
3292This file was extended by $as_me 2.52, executed with
3293 CONFIG_FILES = $CONFIG_FILES
3294 CONFIG_HEADERS = $CONFIG_HEADERS
3295 CONFIG_LINKS = $CONFIG_LINKS
3296 CONFIG_COMMANDS = $CONFIG_COMMANDS
3297 > $ac_cs_invocation
3298on `(hostname || uname -n) 2>/dev/null | sed 1q`
3299
3300_ACEOF
3301EOF
3302
3303cat >>$CONFIG_STATUS <<\EOF
3304for ac_config_target in $ac_config_targets
3305do
3306 case "$ac_config_target" in
3307 # Handling of arguments.
3308 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3309 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3310 *) { { echo "$as_me:3310: error: invalid argument: $ac_config_target" >&5
3311echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3312 { (exit 1); exit 1; }; };;
3313 esac 1774 esac
3314done 1775done
3315 1776
3316# If the user did not use the arguments to specify the items to instantiate, 1777ac_given_srcdir=$srcdir
3317# then the envvar interface is used. Set only those that are not.
3318# We use the long form for the default assignment because of an extremely
3319# bizarre bug on SunOS 4.1.3.
3320if $ac_need_defaults; then
3321 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3322 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3323fi
3324 1778
3325# Create a temporary directory, and hook for its removal unless debugging. 1779trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3326$debug ||
3327{
3328 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3329 trap '{ (exit 1); exit 1; }' 1 2 13 15
3330}
3331
3332# Create a (secure) tmp directory for tmp files.
3333: ${TMPDIR=/tmp}
3334{
3335 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3336 test -n "$tmp" && test -d "$tmp"
3337} ||
3338{
3339 tmp=$TMPDIR/cs$$-$RANDOM
3340 (umask 077 && mkdir $tmp)
3341} ||
3342{
3343 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3344 { (exit 1); exit 1; }
3345}
3346
3347EOF 1780EOF
3348
3349cat >>$CONFIG_STATUS <<EOF 1781cat >> $CONFIG_STATUS <<EOF
3350 1782
3351#
3352# CONFIG_FILES section.
3353#
3354
3355# No need to generate the scripts if there are no CONFIG_FILES.
3356# This happens for instance when ./config.status config.h
3357if test -n "\$CONFIG_FILES"; then
3358 # Protect against being on the right side of a sed subst in config.status. 1783# Protect against being on the right side of a sed subst in config.status.
3359 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 1784sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3360 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 1785 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3361s,@SHELL@,$SHELL,;t t 1786$ac_vpsub
1787$extrasub
1788s%@SHELL@%$SHELL%g
1789s%@CFLAGS@%$CFLAGS%g
1790s%@CPPFLAGS@%$CPPFLAGS%g
1791s%@CXXFLAGS@%$CXXFLAGS%g
1792s%@FFLAGS@%$FFLAGS%g
1793s%@DEFS@%$DEFS%g
1794s%@LDFLAGS@%$LDFLAGS%g
1795s%@LIBS@%$LIBS%g
3362s,@exec_prefix@,$exec_prefix,;t t 1796s%@exec_prefix@%$exec_prefix%g
3363s,@prefix@,$prefix,;t t 1797s%@prefix@%$prefix%g
3364s,@program_transform_name@,$program_transform_name,;t t 1798s%@program_transform_name@%$program_transform_name%g
3365s,@bindir@,$bindir,;t t 1799s%@bindir@%$bindir%g
3366s,@sbindir@,$sbindir,;t t 1800s%@sbindir@%$sbindir%g
3367s,@libexecdir@,$libexecdir,;t t 1801s%@libexecdir@%$libexecdir%g
3368s,@datadir@,$datadir,;t t 1802s%@datadir@%$datadir%g
3369s,@sysconfdir@,$sysconfdir,;t t 1803s%@sysconfdir@%$sysconfdir%g
3370s,@sharedstatedir@,$sharedstatedir,;t t 1804s%@sharedstatedir@%$sharedstatedir%g
3371s,@localstatedir@,$localstatedir,;t t 1805s%@localstatedir@%$localstatedir%g
3372s,@libdir@,$libdir,;t t 1806s%@libdir@%$libdir%g
3373s,@includedir@,$includedir,;t t 1807s%@includedir@%$includedir%g
3374s,@oldincludedir@,$oldincludedir,;t t 1808s%@oldincludedir@%$oldincludedir%g
3375s,@infodir@,$infodir,;t t 1809s%@infodir@%$infodir%g
3376s,@mandir@,$mandir,;t t 1810s%@mandir@%$mandir%g
3377s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 1811s%@CC@%$CC%g
3378s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 1812s%@CPP@%$CPP%g
3379s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3380s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3381s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3382s,@build_alias@,$build_alias,;t t
3383s,@host_alias@,$host_alias,;t t
3384s,@target_alias@,$target_alias,;t t
3385s,@ECHO_C@,$ECHO_C,;t t
3386s,@ECHO_N@,$ECHO_N,;t t
3387s,@ECHO_T@,$ECHO_T,;t t
3388s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3389s,@DEFS@,$DEFS,;t t
3390s,@LIBS@,$LIBS,;t t
3391s,@CC@,$CC,;t t
3392s,@CFLAGS@,$CFLAGS,;t t
3393s,@LDFLAGS@,$LDFLAGS,;t t
3394s,@CPPFLAGS@,$CPPFLAGS,;t t
3395s,@ac_ct_CC@,$ac_ct_CC,;t t
3396s,@EXEEXT@,$EXEEXT,;t t
3397s,@OBJEXT@,$OBJEXT,;t t
3398s,@CPP@,$CPP,;t t
3399s,@SET_MAKE@,$SET_MAKE,;t t 1813s%@SET_MAKE@%$SET_MAKE%g
3400s,@RANLIB@,$RANLIB,;t t 1814s%@RANLIB@%$RANLIB%g
3401s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3402s,@VERSION@,$VERSION,;t t 1815s%@VERSION@%$VERSION%g
3403s,@PATCH@,$PATCH,;t t 1816s%@PATCH@%$PATCH%g
1817
3404CEOF 1818CEOF
3405
3406EOF 1819EOF
3407 1820
3408 cat >>$CONFIG_STATUS <<\EOF 1821cat >> $CONFIG_STATUS <<\EOF
1822
3409 # Split the substitutions into bite-sized pieces for seds with 1823# Split the substitutions into bite-sized pieces for seds with
3410 # small command number limits, like on Digital OSF/1 and HP-UX. 1824# small command number limits, like on Digital OSF/1 and HP-UX.
3411 ac_max_sed_lines=48 1825ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3412 ac_sed_frag=1 # Number of current file. 1826ac_file=1 # Number of current file.
3413 ac_beg=1 # First line for current file. 1827ac_beg=1 # First line for current file.
3414 ac_end=$ac_max_sed_lines # Line after last line for current file. 1828ac_end=$ac_max_sed_cmds # Line after last line for current file.
3415 ac_more_lines=: 1829ac_more_lines=:
3416 ac_sed_cmds= 1830ac_sed_cmds=""
3417 while $ac_more_lines; do 1831while $ac_more_lines; do
3418 if test $ac_beg -gt 1; then 1832 if test $ac_beg -gt 1; then
3419 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 1833 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1834 else
1835 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1836 fi
1837 if test ! -s conftest.s$ac_file; then
1838 ac_more_lines=false
1839 rm -f conftest.s$ac_file
1840 else
1841 if test -z "$ac_sed_cmds"; then
1842 ac_sed_cmds="sed -f conftest.s$ac_file"
3420 else 1843 else
3421 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 1844 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3422 fi 1845 fi
3423 if test ! -s $tmp/subs.frag; then 1846 ac_file=`expr $ac_file + 1`
3424 ac_more_lines=false
3425 else
3426 # The purpose of the label and of the branching condition is to
3427 # speed up the sed processing (if there are no `@' at all, there
3428 # is no need to browse any of the substitutions).
3429 # These are the two extra sed commands mentioned above.
3430 (echo ':t
3431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3432 if test -z "$ac_sed_cmds"; then
3433 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3434 else
3435 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3436 fi
3437 ac_sed_frag=`expr $ac_sed_frag + 1`
3438 ac_beg=$ac_end 1847 ac_beg=$ac_end
3439 ac_end=`expr $ac_end + $ac_max_sed_lines` 1848 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3440 fi
3441 done
3442 if test -z "$ac_sed_cmds"; then
3443 ac_sed_cmds=cat
3444 fi 1849 fi
3445fi # test -n "$CONFIG_FILES" 1850done
3446 1851if test -z "$ac_sed_cmds"; then
1852 ac_sed_cmds=cat
1853fi
3447EOF 1854EOF
1855
1856cat >> $CONFIG_STATUS <<EOF
1857
1858CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1859EOF
3448cat >>$CONFIG_STATUS <<\EOF 1860cat >> $CONFIG_STATUS <<\EOF
3449for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 1861for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3450 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1862 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3451 case $ac_file in 1863 case "$ac_file" in
3452 - | *:- | *:-:* ) # input from stdin
3453 cat >$tmp/stdin
3454 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3455 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3456 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 1864 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3457 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 1865 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3458 * ) ac_file_in=$ac_file.in ;; 1866 *) ac_file_in="${ac_file}.in" ;;
3459 esac 1867 esac
3460 1868
3461 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 1869 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3462 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1870
3463 X"$ac_file" : 'X\(//\)[^/]' \| \ 1871 # Remove last slash and all that follows it. Not all systems have dirname.
3464 X"$ac_file" : 'X\(//\)$' \| \ 1872 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3465 X"$ac_file" : 'X\(/\)' \| \
3466 . : '\(.\)' 2>/dev/null ||
3467echo X"$ac_file" |
3468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3469 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3470 /^X\(\/\/\)$/{ s//\1/; q; }
3471 /^X\(\/\).*/{ s//\1/; q; }
3472 s/.*/./; q'`
3473 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 1873 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3474 { case "$ac_dir" in 1874 # The file is in a subdirectory.
3475 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3476 *) as_incr_dir=.;;
3477esac
3478as_dummy="$ac_dir"
3479for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3480 case $as_mkdir_dir in
3481 # Skip DOS drivespec
3482 ?:) as_incr_dir=$as_mkdir_dir ;;
3483 *)
3484 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3485 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 1875 test ! -d "$ac_dir" && mkdir "$ac_dir"
3486 ;;
3487 esac
3488done; }
3489
3490 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 1876 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3491 # A "../" for each directory in $ac_dir_suffix. 1877 # A "../" for each directory in $ac_dir_suffix.
3492 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 1878 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3493 else 1879 else
3494 ac_dir_suffix= ac_dots= 1880 ac_dir_suffix= ac_dots=
3495 fi 1881 fi
3496 1882
3497 case $srcdir in 1883 case "$ac_given_srcdir" in
3498 .) ac_srcdir=. 1884 .) srcdir=.
3499 if test -z "$ac_dots"; then 1885 if test -z "$ac_dots"; then top_srcdir=.
3500 ac_top_srcdir=.
3501 else
3502 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 1886 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3503 fi ;; 1887 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3504 [\\/]* | ?:[\\/]* )
3505 ac_srcdir=$srcdir$ac_dir_suffix;
3506 ac_top_srcdir=$srcdir ;;
3507 *) # Relative path. 1888 *) # Relative path.
3508 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 1889 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3509 ac_top_srcdir=$ac_dots$srcdir ;; 1890 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3510 esac 1891 esac
3511 1892
3512 if test x"$ac_file" != x-; then 1893
3513 { echo "$as_me:3513: creating $ac_file" >&5 1894 echo creating "$ac_file"
3514echo "$as_me: creating $ac_file" >&6;}
3515 rm -f "$ac_file" 1895 rm -f "$ac_file"
3516 fi
3517 # Let's still pretend it is `configure' which instantiates (i.e., don't
3518 # use $as_me), people would be surprised to read:
3519 # /* config.h. Generated automatically by config.status. */
3520 configure_input="Generated automatically from `echo $ac_file_in | 1896 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3521 sed 's,.*/,,'` by configure." 1897 case "$ac_file" in
3522 1898 *Makefile*) ac_comsub="1i\\
3523 # First look for the input files in the build tree, otherwise in the 1899# $configure_input" ;;
3524 # src tree. 1900 *) ac_comsub= ;;
3525 ac_file_inputs=`IFS=:
3526 for f in $ac_file_in; do
3527 case $f in
3528 -) echo $tmp/stdin ;;
3529 [\\/$]*)
3530 # Absolute (can't be DOS-style, as IFS=:)
3531 test -f "$f" || { { echo "$as_me:3531: error: cannot find input file: $f" >&5
3532echo "$as_me: error: cannot find input file: $f" >&2;}
3533 { (exit 1); exit 1; }; }
3534 echo $f;;
3535 *) # Relative
3536 if test -f "$f"; then
3537 # Build tree
3538 echo $f
3539 elif test -f "$srcdir/$f"; then
3540 # Source tree
3541 echo $srcdir/$f
3542 else
3543 # /dev/null tree
3544 { { echo "$as_me:3544: error: cannot find input file: $f" >&5
3545echo "$as_me: error: cannot find input file: $f" >&2;}
3546 { (exit 1); exit 1; }; }
3547 fi;;
3548 esac 1901 esac
3549 done` || { (exit 1); exit 1; } 1902
3550EOF 1903 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3551cat >>$CONFIG_STATUS <<EOF
3552 sed "$ac_vpsub 1904 sed -e "$ac_comsub
3553$extrasub
3554EOF
3555cat >>$CONFIG_STATUS <<\EOF
3556:t
3557/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3558s,@configure_input@,$configure_input,;t t 1905s%@configure_input@%$configure_input%g
3559s,@srcdir@,$ac_srcdir,;t t 1906s%@srcdir@%$srcdir%g
3560s,@top_srcdir@,$ac_top_srcdir,;t t 1907s%@top_srcdir@%$top_srcdir%g
3561" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 1908" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3562 rm -f $tmp/stdin 1909fi; done
3563 if test x"$ac_file" != x-; then 1910rm -f conftest.s*
3564 mv $tmp/out $ac_file
3565 else
3566 cat $tmp/out
3567 rm -f $tmp/out
3568 fi
3569
3570done
3571EOF
3572cat >>$CONFIG_STATUS <<\EOF
3573
3574#
3575# CONFIG_HEADER section.
3576#
3577 1911
3578# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 1912# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3579# NAME is the cpp macro being defined and VALUE is the value it is being given. 1913# NAME is the cpp macro being defined and VALUE is the value it is being given.
3580# 1914#
3581# ac_d sets the value in "#define NAME VALUE" lines. 1915# ac_d sets the value in "#define NAME VALUE" lines.
3582ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 1916ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3583ac_dB='[ ].*$,\1#\2' 1917ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3584ac_dC=' ' 1918ac_dC='\3'
3585ac_dD=',;t' 1919ac_dD='%g'
3586# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 1920# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3587ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 1921ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3588ac_uB='$,\1#\2define\3' 1922ac_uB='\([ ]\)%\1#\2define\3'
3589ac_uC=' ' 1923ac_uC=' '
3590ac_uD=',;t' 1924ac_uD='\4%g'
1925# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1926ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1927ac_eB='$%\1#\2define\3'
1928ac_eC=' '
1929ac_eD='%g'
3591 1930
1931if test "${CONFIG_HEADERS+set}" != set; then
1932EOF
1933cat >> $CONFIG_STATUS <<EOF
1934 CONFIG_HEADERS="config.h"
1935EOF
1936cat >> $CONFIG_STATUS <<\EOF
1937fi
3592for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 1938for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3593 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1939 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3594 case $ac_file in 1940 case "$ac_file" in
3595 - | *:- | *:-:* ) # input from stdin
3596 cat >$tmp/stdin
3597 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3598 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3599 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 1941 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3600 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 1942 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3601 * ) ac_file_in=$ac_file.in ;; 1943 *) ac_file_in="${ac_file}.in" ;;
3602 esac 1944 esac
3603 1945
3604 test x"$ac_file" != x- && { echo "$as_me:3604: creating $ac_file" >&5 1946 echo creating $ac_file
3605echo "$as_me: creating $ac_file" >&6;}
3606 1947
3607 # First look for the input files in the build tree, otherwise in the 1948 rm -f conftest.frag conftest.in conftest.out
3608 # src tree. 1949 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3609 ac_file_inputs=`IFS=: 1950 cat $ac_file_inputs > conftest.in
3610 for f in $ac_file_in; do
3611 case $f in
3612 -) echo $tmp/stdin ;;
3613 [\\/$]*)
3614 # Absolute (can't be DOS-style, as IFS=:)
3615 test -f "$f" || { { echo "$as_me:3615: error: cannot find input file: $f" >&5
3616echo "$as_me: error: cannot find input file: $f" >&2;}
3617 { (exit 1); exit 1; }; }
3618 echo $f;;
3619 *) # Relative
3620 if test -f "$f"; then
3621 # Build tree
3622 echo $f
3623 elif test -f "$srcdir/$f"; then
3624 # Source tree
3625 echo $srcdir/$f
3626 else
3627 # /dev/null tree
3628 { { echo "$as_me:3628: error: cannot find input file: $f" >&5
3629echo "$as_me: error: cannot find input file: $f" >&2;}
3630 { (exit 1); exit 1; }; }
3631 fi;;
3632 esac
3633 done` || { (exit 1); exit 1; }
3634 # Remove the trailing spaces.
3635 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3636 1951
3637EOF 1952EOF
3638 1953
3639# Transform confdefs.h into two sed scripts, `conftest.defines' and 1954# Transform confdefs.h into a sed script conftest.vals that substitutes
3640# `conftest.undefs', that substitutes the proper values into 1955# the proper values into config.h.in to produce config.h. And first:
3641# config.h.in to produce config.h. The first handles `#define'
3642# templates, and the second `#undef' templates.
3643# And first: Protect against being on the right side of a sed subst in 1956# Protect against being on the right side of a sed subst in config.status.
3644# config.status. Protect against being in an unquoted here document 1957# Protect against being in an unquoted here document in config.status.
3645# in config.status. 1958rm -f conftest.vals
3646rm -f conftest.defines conftest.undefs 1959cat > conftest.hdr <<\EOF
3647# Using a here document instead of a string reduces the quoting nightmare.
3648# Putting comments in sed scripts is not portable.
3649#
3650# `end' is used to avoid that the second main sed command (meant for
3651# 0-ary CPP macros) applies to n-ary macro definitions.
3652# See the Autoconf documentation for `clear'.
3653cat >confdef2sed.sed <<\EOF
3654s/[\\&,]/\\&/g 1960s/[\\&%]/\\&/g
3655s,[\\$`],\\&,g 1961s%[\\$`]%\\&%g
3656t clear 1962s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3657: clear 1963s%ac_d%ac_u%gp
3658s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 1964s%ac_u%ac_e%gp
3659t end
3660s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3661: end
3662EOF 1965EOF
3663# If some macros were called several times there might be several times 1966sed -n -f conftest.hdr confdefs.h > conftest.vals
3664# the same #defines, which is useless. Nevertheless, we may not want to 1967rm -f conftest.hdr
3665# sort them, since we want the *last* AC-DEFINE to be honored.
3666uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3667sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3668rm -f confdef2sed.sed
3669 1968
3670# This sed command replaces #undef with comments. This is necessary, for 1969# This sed command replaces #undef with comments. This is necessary, for
3671# example, in the case of _POSIX_SOURCE, which is predefined and required 1970# example, in the case of _POSIX_SOURCE, which is predefined and required
3672# on some systems where configure will not decide to define it. 1971# on some systems where configure will not decide to define it.
3673cat >>conftest.undefs <<\EOF 1972cat >> conftest.vals <<\EOF
3674s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 1973s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3675EOF 1974EOF
3676 1975
3677# Break up conftest.defines because some shells have a limit on the size 1976# Break up conftest.vals because some shells have a limit on
3678# of here documents, and old seds have small limits too (100 cmds). 1977# the size of here documents, and old seds have small limits too.
3679echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 1978
3680echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3681echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3682echo ' :' >>$CONFIG_STATUS
3683rm -f conftest.tail 1979rm -f conftest.tail
3684while grep . conftest.defines >/dev/null 1980while :
3685do 1981do
1982 ac_lines=`grep -c . conftest.vals`
1983 # grep -c gives empty output for an empty file on some AIX systems.
1984 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3686 # Write a limited-size here document to $tmp/defines.sed. 1985 # Write a limited-size here document to conftest.frag.
3687 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 1986 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3688 # Speed up: don't consider the non `#define' lines.
3689 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3690 # Work around the forget-to-reset-the-flag bug.
3691 echo 't clr' >>$CONFIG_STATUS
3692 echo ': clr' >>$CONFIG_STATUS
3693 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 1987 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3694 echo 'CEOF 1988 echo 'CEOF
3695 sed -f $tmp/defines.sed $tmp/in >$tmp/out 1989 sed -f conftest.frag conftest.in > conftest.out
3696 rm -f $tmp/in 1990 rm -f conftest.in
3697 mv $tmp/out $tmp/in 1991 mv conftest.out conftest.in
3698' >>$CONFIG_STATUS 1992' >> $CONFIG_STATUS
3699 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 1993 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3700 rm -f conftest.defines 1994 rm -f conftest.vals
3701 mv conftest.tail conftest.defines 1995 mv conftest.tail conftest.vals
3702done 1996done
3703rm -f conftest.defines
3704echo ' fi # egrep' >>$CONFIG_STATUS
3705echo >>$CONFIG_STATUS
3706
3707# Break up conftest.undefs because some shells have a limit on the size
3708# of here documents, and old seds have small limits too (100 cmds).
3709echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3710rm -f conftest.tail 1997rm -f conftest.vals
3711while grep . conftest.undefs >/dev/null
3712do
3713 # Write a limited-size here document to $tmp/undefs.sed.
3714 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3715 # Speed up: don't consider the non `#undef'
3716 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3717 # Work around the forget-to-reset-the-flag bug.
3718 echo 't clr' >>$CONFIG_STATUS
3719 echo ': clr' >>$CONFIG_STATUS
3720 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3721 echo 'CEOF
3722 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3723 rm -f $tmp/in
3724 mv $tmp/out $tmp/in
3725' >>$CONFIG_STATUS
3726 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3727 rm -f conftest.undefs
3728 mv conftest.tail conftest.undefs
3729done
3730rm -f conftest.undefs
3731 1998
3732cat >>$CONFIG_STATUS <<\EOF 1999cat >> $CONFIG_STATUS <<\EOF
3733 # Let's still pretend it is `configure' which instantiates (i.e., don't 2000 rm -f conftest.frag conftest.h
3734 # use $as_me), people would be surprised to read:
3735 # /* config.h. Generated automatically by config.status. */
3736 if test x"$ac_file" = x-; then
3737 echo "/* Generated automatically by configure. */" >$tmp/config.h 2001 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2002 cat conftest.in >> conftest.h
2003 rm -f conftest.in
2004 if cmp -s $ac_file conftest.h 2>/dev/null; then
2005 echo "$ac_file is unchanged"
2006 rm -f conftest.h
3738 else 2007 else
3739 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 2008 # Remove last slash and all that follows it. Not all systems have dirname.
2009 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2010 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2011 # The file is in a subdirectory.
2012 test ! -d "$ac_dir" && mkdir "$ac_dir"
2013 fi
2014 rm -f $ac_file
2015 mv conftest.h $ac_file
3740 fi 2016 fi
3741 cat $tmp/in >>$tmp/config.h 2017fi; done
3742 rm -f $tmp/in
3743 if test x"$ac_file" != x-; then
3744 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3745 { echo "$as_me:3745: $ac_file is unchanged" >&5
3746echo "$as_me: $ac_file is unchanged" >&6;}
3747 else
3748 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3749 X"$ac_file" : 'X\(//\)[^/]' \| \
3750 X"$ac_file" : 'X\(//\)$' \| \
3751 X"$ac_file" : 'X\(/\)' \| \
3752 . : '\(.\)' 2>/dev/null ||
3753echo X"$ac_file" |
3754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3755 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3756 /^X\(\/\/\)$/{ s//\1/; q; }
3757 /^X\(\/\).*/{ s//\1/; q; }
3758 s/.*/./; q'`
3759 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3760 { case "$ac_dir" in
3761 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3762 *) as_incr_dir=.;;
3763esac
3764as_dummy="$ac_dir"
3765for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3766 case $as_mkdir_dir in
3767 # Skip DOS drivespec
3768 ?:) as_incr_dir=$as_mkdir_dir ;;
3769 *)
3770 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3771 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3772 ;;
3773 esac
3774done; }
3775 2018
3776 fi
3777 rm -f $ac_file
3778 mv $tmp/config.h $ac_file
3779 fi
3780 else
3781 cat $tmp/config.h
3782 rm -f $tmp/config.h
3783 fi
3784done
3785EOF 2019EOF
2020cat >> $CONFIG_STATUS <<EOF
3786 2021
2022EOF
3787cat >>$CONFIG_STATUS <<\EOF 2023cat >> $CONFIG_STATUS <<\EOF
3788 2024
3789{ (exit 0); exit 0; } 2025exit 0
3790EOF 2026EOF
3791chmod +x $CONFIG_STATUS 2027chmod +x $CONFIG_STATUS
3792ac_clean_files=$ac_clean_files_save 2028rm -fr confdefs* $ac_clean_files
2029test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3793 2030
3794# configure is writing to config.log, and then calls config.status.
3795# config.status does its own redirection, appending to config.log.
3796# Unfortunately, on DOS this fails, as config.log is still kept open
3797# by configure, so config.status won't be able to write to it; its
3798# output is simply discarded. So we exec the FD to /dev/null,
3799# effectively closing config.log, so it can be properly (re)opened and
3800# appended to by config.status. When coming back to configure, we
3801# need to make the FD available again.
3802if test "$no_create" != yes; then
3803 ac_cs_success=:
3804 exec 5>/dev/null
3805 $SHELL $CONFIG_STATUS || ac_cs_success=false
3806 exec 5>>config.log
3807 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3808 # would make configure fail if this is the last instruction.
3809 $ac_cs_success || { (exit 1); exit 1; }
3810fi
3811 2031

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines