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