source: trunk/protemix/src/recpt/configure@ 3162

Last change on this file since 3162 was 3162, checked in by sjboddie, 20 years ago

Initial revision

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 162.0 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.50.
4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Be Bourne compatible
11if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12 emulate sh
13 NULLCMD=:
14elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15 set -o posix
16fi
17
18# Name of the executable.
19as_me=`echo "$0" |sed 's,.*[\\/],,'`
20
21if expr a : '\(a\)' >/dev/null 2>&1; then
22 as_expr=expr
23else
24 as_expr=false
25fi
26
27rm -f conf$$ conf$$.exe conf$$.file
28echo >conf$$.file
29if ln -s conf$$.file conf$$ 2>/dev/null; then
30 # We could just check for DJGPP; but this test a) works b) is more generic
31 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32 if test -f conf$$.exe; then
33 # Don't use ln at all; we don't have any links
34 as_ln_s='cp -p'
35 else
36 as_ln_s='ln -s'
37 fi
38elif ln conf$$.file conf$$ 2>/dev/null; then
39 as_ln_s=ln
40else
41 as_ln_s='cp -p'
42fi
43rm -f conf$$ conf$$.exe conf$$.file
44
45as_executable_p="test -f"
46
47# Support unset when possible.
48if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
49 as_unset=unset
50else
51 as_unset=false
52fi
53
54# NLS nuisances.
55$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
56$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
57$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
58$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
59$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
60$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
61$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
62$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
63
64# IFS
65# We need space, tab and new line, in precisely that order.
66as_nl='
67'
68IFS=" $as_nl"
69
70# CDPATH.
71$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
72
73# Name of the host.
74# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
75# so uname gets run too.
76ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
77
78exec 6>&1
79
80#
81# Initializations.
82#
83ac_default_prefix=/usr/local
84cross_compiling=no
85subdirs=
86MFLAGS= MAKEFLAGS=
87SHELL=${CONFIG_SHELL-/bin/sh}
88
89# Maximum number of lines to put in a shell here document.
90# This variable seems obsolete. It should probably be removed, and
91# only ac_max_sed_lines should be used.
92: ${ac_max_here_lines=38}
93
94# Avoid depending upon Character Ranges.
95ac_cr_az='abcdefghijklmnopqrstuvwxyz'
96ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97ac_cr_09='0123456789'
98ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
99
100# Sed expression to map a string onto a valid sh and CPP variable names.
101ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
102ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
103
104ac_unique_file="ptmxmain.cpp"
105# Factoring default headers for most tests.
106ac_includes_default="\
107#include <stdio.h>
108#include <sys/types.h>
109#include <sys/stat.h>
110#if STDC_HEADERS
111# include <stdlib.h>
112# include <stddef.h>
113#else
114# if HAVE_STDLIB_H
115# include <stdlib.h>
116# endif
117#endif
118#if HAVE_STRING_H
119# if !STDC_HEADERS && HAVE_MEMORY_H
120# include <memory.h>
121# endif
122# include <string.h>
123#else
124# if HAVE_STRINGS_H
125# include <strings.h>
126# endif
127#endif
128#if HAVE_INTTYPES_H
129# include <inttypes.h>
130#endif
131#if HAVE_UNISTD_H
132# include <unistd.h>
133#endif"
134
135# Initialize some variables set by options.
136ac_init_help=
137ac_init_version=false
138# The variables have the same names as the options, with
139# dashes changed to underlines.
140cache_file=/dev/null
141exec_prefix=NONE
142no_create=
143no_recursion=
144prefix=NONE
145program_prefix=NONE
146program_suffix=NONE
147program_transform_name=s,x,x,
148silent=
149site=
150srcdir=
151verbose=
152x_includes=NONE
153x_libraries=NONE
154
155# Installation directory options.
156# These are left unexpanded so users can "make install exec_prefix=/foo"
157# and all the variables that are supposed to be based on exec_prefix
158# by default will actually change.
159# Use braces instead of parens because sh, perl, etc. also accept them.
160bindir='${exec_prefix}/bin'
161sbindir='${exec_prefix}/sbin'
162libexecdir='${exec_prefix}/libexec'
163datadir='${prefix}/share'
164sysconfdir='${prefix}/etc'
165sharedstatedir='${prefix}/com'
166localstatedir='${prefix}/var'
167libdir='${exec_prefix}/lib'
168includedir='${prefix}/include'
169oldincludedir='/usr/include'
170infodir='${prefix}/info'
171mandir='${prefix}/man'
172
173# Identity of this package.
174PACKAGE_NAME=
175PACKAGE_TARNAME=
176PACKAGE_VERSION=
177PACKAGE_STRING=
178PACKAGE_BUGREPORT=
179
180ac_prev=
181for ac_option
182do
183 # If the previous option needs an argument, assign it.
184 if test -n "$ac_prev"; then
185 eval "$ac_prev=\$ac_option"
186 ac_prev=
187 continue
188 fi
189
190 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
191
192 # Accept the important Cygnus configure options, so we can diagnose typos.
193
194 case $ac_option in
195
196 -bindir | --bindir | --bindi | --bind | --bin | --bi)
197 ac_prev=bindir ;;
198 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
199 bindir=$ac_optarg ;;
200
201 -build | --build | --buil | --bui | --bu)
202 ac_prev=build_alias ;;
203 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
204 build_alias=$ac_optarg ;;
205
206 -cache-file | --cache-file | --cache-fil | --cache-fi \
207 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
208 ac_prev=cache_file ;;
209 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
210 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
211 cache_file=$ac_optarg ;;
212
213 --config-cache | -C)
214 cache_file=config.cache ;;
215
216 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
217 ac_prev=datadir ;;
218 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
219 | --da=*)
220 datadir=$ac_optarg ;;
221
222 -disable-* | --disable-*)
223 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
224 # Reject names that are not valid shell variable names.
225 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
226 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
227 { (exit 1); exit 1; }; }
228 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
229 eval "enable_$ac_feature=no" ;;
230
231 -enable-* | --enable-*)
232 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
233 # Reject names that are not valid shell variable names.
234 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
235 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
236 { (exit 1); exit 1; }; }
237 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
238 case $ac_option in
239 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
240 *) ac_optarg=yes ;;
241 esac
242 eval "enable_$ac_feature='$ac_optarg'" ;;
243
244 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
245 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
246 | --exec | --exe | --ex)
247 ac_prev=exec_prefix ;;
248 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
249 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
250 | --exec=* | --exe=* | --ex=*)
251 exec_prefix=$ac_optarg ;;
252
253 -gas | --gas | --ga | --g)
254 # Obsolete; use --with-gas.
255 with_gas=yes ;;
256
257 -help | --help | --hel | --he | -h)
258 ac_init_help=long ;;
259 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
260 ac_init_help=recursive ;;
261 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
262 ac_init_help=short ;;
263
264 -host | --host | --hos | --ho)
265 ac_prev=host_alias ;;
266 -host=* | --host=* | --hos=* | --ho=*)
267 host_alias=$ac_optarg ;;
268
269 -includedir | --includedir | --includedi | --included | --include \
270 | --includ | --inclu | --incl | --inc)
271 ac_prev=includedir ;;
272 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
273 | --includ=* | --inclu=* | --incl=* | --inc=*)
274 includedir=$ac_optarg ;;
275
276 -infodir | --infodir | --infodi | --infod | --info | --inf)
277 ac_prev=infodir ;;
278 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
279 infodir=$ac_optarg ;;
280
281 -libdir | --libdir | --libdi | --libd)
282 ac_prev=libdir ;;
283 -libdir=* | --libdir=* | --libdi=* | --libd=*)
284 libdir=$ac_optarg ;;
285
286 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
287 | --libexe | --libex | --libe)
288 ac_prev=libexecdir ;;
289 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
290 | --libexe=* | --libex=* | --libe=*)
291 libexecdir=$ac_optarg ;;
292
293 -localstatedir | --localstatedir | --localstatedi | --localstated \
294 | --localstate | --localstat | --localsta | --localst \
295 | --locals | --local | --loca | --loc | --lo)
296 ac_prev=localstatedir ;;
297 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
298 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
299 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
300 localstatedir=$ac_optarg ;;
301
302 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
303 ac_prev=mandir ;;
304 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
305 mandir=$ac_optarg ;;
306
307 -nfp | --nfp | --nf)
308 # Obsolete; use --without-fp.
309 with_fp=no ;;
310
311 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
312 | --no-cr | --no-c)
313 no_create=yes ;;
314
315 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
316 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
317 no_recursion=yes ;;
318
319 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
320 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
321 | --oldin | --oldi | --old | --ol | --o)
322 ac_prev=oldincludedir ;;
323 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
324 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
325 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
326 oldincludedir=$ac_optarg ;;
327
328 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
329 ac_prev=prefix ;;
330 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
331 prefix=$ac_optarg ;;
332
333 -program-prefix | --program-prefix | --program-prefi | --program-pref \
334 | --program-pre | --program-pr | --program-p)
335 ac_prev=program_prefix ;;
336 -program-prefix=* | --program-prefix=* | --program-prefi=* \
337 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
338 program_prefix=$ac_optarg ;;
339
340 -program-suffix | --program-suffix | --program-suffi | --program-suff \
341 | --program-suf | --program-su | --program-s)
342 ac_prev=program_suffix ;;
343 -program-suffix=* | --program-suffix=* | --program-suffi=* \
344 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
345 program_suffix=$ac_optarg ;;
346
347 -program-transform-name | --program-transform-name \
348 | --program-transform-nam | --program-transform-na \
349 | --program-transform-n | --program-transform- \
350 | --program-transform | --program-transfor \
351 | --program-transfo | --program-transf \
352 | --program-trans | --program-tran \
353 | --progr-tra | --program-tr | --program-t)
354 ac_prev=program_transform_name ;;
355 -program-transform-name=* | --program-transform-name=* \
356 | --program-transform-nam=* | --program-transform-na=* \
357 | --program-transform-n=* | --program-transform-=* \
358 | --program-transform=* | --program-transfor=* \
359 | --program-transfo=* | --program-transf=* \
360 | --program-trans=* | --program-tran=* \
361 | --progr-tra=* | --program-tr=* | --program-t=*)
362 program_transform_name=$ac_optarg ;;
363
364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
365 | -silent | --silent | --silen | --sile | --sil)
366 silent=yes ;;
367
368 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
369 ac_prev=sbindir ;;
370 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
371 | --sbi=* | --sb=*)
372 sbindir=$ac_optarg ;;
373
374 -sharedstatedir | --sharedstatedir | --sharedstatedi \
375 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
376 | --sharedst | --shareds | --shared | --share | --shar \
377 | --sha | --sh)
378 ac_prev=sharedstatedir ;;
379 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
380 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
381 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
382 | --sha=* | --sh=*)
383 sharedstatedir=$ac_optarg ;;
384
385 -site | --site | --sit)
386 ac_prev=site ;;
387 -site=* | --site=* | --sit=*)
388 site=$ac_optarg ;;
389
390 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
391 ac_prev=srcdir ;;
392 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
393 srcdir=$ac_optarg ;;
394
395 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
396 | --syscon | --sysco | --sysc | --sys | --sy)
397 ac_prev=sysconfdir ;;
398 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
399 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
400 sysconfdir=$ac_optarg ;;
401
402 -target | --target | --targe | --targ | --tar | --ta | --t)
403 ac_prev=target_alias ;;
404 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
405 target_alias=$ac_optarg ;;
406
407 -v | -verbose | --verbose | --verbos | --verbo | --verb)
408 verbose=yes ;;
409
410 -version | --version | --versio | --versi | --vers | -V)
411 ac_init_version=: ;;
412
413 -with-* | --with-*)
414 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
415 # Reject names that are not valid shell variable names.
416 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
417 { echo "$as_me: error: invalid package name: $ac_package" >&2
418 { (exit 1); exit 1; }; }
419 ac_package=`echo $ac_package| sed 's/-/_/g'`
420 case $ac_option in
421 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
422 *) ac_optarg=yes ;;
423 esac
424 eval "with_$ac_package='$ac_optarg'" ;;
425
426 -without-* | --without-*)
427 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
428 # Reject names that are not valid shell variable names.
429 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
430 { echo "$as_me: error: invalid package name: $ac_package" >&2
431 { (exit 1); exit 1; }; }
432 ac_package=`echo $ac_package | sed 's/-/_/g'`
433 eval "with_$ac_package=no" ;;
434
435 --x)
436 # Obsolete; use --with-x.
437 with_x=yes ;;
438
439 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
440 | --x-incl | --x-inc | --x-in | --x-i)
441 ac_prev=x_includes ;;
442 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
443 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
444 x_includes=$ac_optarg ;;
445
446 -x-libraries | --x-libraries | --x-librarie | --x-librari \
447 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
448 ac_prev=x_libraries ;;
449 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
450 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
451 x_libraries=$ac_optarg ;;
452
453 -*) { echo "$as_me: error: unrecognized option: $ac_option
454Try \`$0 --help' for more information." >&2
455 { (exit 1); exit 1; }; }
456 ;;
457
458 *=*)
459 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
460 # Reject names that are not valid shell variable names.
461 expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
462 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
463 { (exit 1); exit 1; }; }
464 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
465 eval "$ac_envvar='$ac_optarg'"
466 export $ac_envvar ;;
467
468 *)
469 # FIXME: should be removed in autoconf 3.0.
470 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
471 expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
472 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
474 ;;
475
476 esac
477done
478
479if test -n "$ac_prev"; then
480 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
481 { echo "$as_me: error: missing argument to $ac_option" >&2
482 { (exit 1); exit 1; }; }
483fi
484
485# Be sure to have absolute paths.
486for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
487 localstatedir libdir includedir oldincludedir infodir mandir \
488 exec_prefix prefix
489do
490 eval ac_val=$`echo $ac_var`
491 case $ac_val in
492 [\\/$]* | ?:[\\/]* ) ;;
493 NONE ) ;;
494 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
495 { (exit 1); exit 1; }; };;
496 esac
497done
498
499# There might be people who depend on the old broken behavior: `$host'
500# used to hold the argument of --host etc.
501build=$build_alias
502host=$host_alias
503target=$target_alias
504
505# FIXME: should be removed in autoconf 3.0.
506if test "x$host_alias" != x; then
507 if test "x$build_alias" = x; then
508 cross_compiling=maybe
509 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
510 If a cross compiler is detected then cross compile mode will be used." >&2
511 elif test "x$build_alias" != "x$host_alias"; then
512 cross_compiling=yes
513 fi
514fi
515
516ac_tool_prefix=
517test -n "$host_alias" && ac_tool_prefix=$host_alias-
518
519test "$silent" = yes && exec 6>/dev/null
520
521# Find the source files, if location was not specified.
522if test -z "$srcdir"; then
523 ac_srcdir_defaulted=yes
524 # Try the directory containing this script, then its parent.
525 ac_prog=$0
526 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
527 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
528 srcdir=$ac_confdir
529 if test ! -r $srcdir/$ac_unique_file; then
530 srcdir=..
531 fi
532else
533 ac_srcdir_defaulted=no
534fi
535if test ! -r $srcdir/$ac_unique_file; then
536 if test "$ac_srcdir_defaulted" = yes; then
537 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
538 { (exit 1); exit 1; }; }
539 else
540 { echo "$as_me: error: cannot find sources in $srcdir" >&2
541 { (exit 1); exit 1; }; }
542 fi
543fi
544srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
545ac_env_build_alias_set=${build_alias+set}
546ac_env_build_alias_value=$build_alias
547ac_cv_env_build_alias_set=${build_alias+set}
548ac_cv_env_build_alias_value=$build_alias
549ac_env_host_alias_set=${host_alias+set}
550ac_env_host_alias_value=$host_alias
551ac_cv_env_host_alias_set=${host_alias+set}
552ac_cv_env_host_alias_value=$host_alias
553ac_env_target_alias_set=${target_alias+set}
554ac_env_target_alias_value=$target_alias
555ac_cv_env_target_alias_set=${target_alias+set}
556ac_cv_env_target_alias_value=$target_alias
557ac_env_CC_set=${CC+set}
558ac_env_CC_value=$CC
559ac_cv_env_CC_set=${CC+set}
560ac_cv_env_CC_value=$CC
561ac_env_CFLAGS_set=${CFLAGS+set}
562ac_env_CFLAGS_value=$CFLAGS
563ac_cv_env_CFLAGS_set=${CFLAGS+set}
564ac_cv_env_CFLAGS_value=$CFLAGS
565ac_env_LDFLAGS_set=${LDFLAGS+set}
566ac_env_LDFLAGS_value=$LDFLAGS
567ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
568ac_cv_env_LDFLAGS_value=$LDFLAGS
569ac_env_CPPFLAGS_set=${CPPFLAGS+set}
570ac_env_CPPFLAGS_value=$CPPFLAGS
571ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
572ac_cv_env_CPPFLAGS_value=$CPPFLAGS
573ac_env_CXX_set=${CXX+set}
574ac_env_CXX_value=$CXX
575ac_cv_env_CXX_set=${CXX+set}
576ac_cv_env_CXX_value=$CXX
577ac_env_CXXFLAGS_set=${CXXFLAGS+set}
578ac_env_CXXFLAGS_value=$CXXFLAGS
579ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
580ac_cv_env_CXXFLAGS_value=$CXXFLAGS
581ac_env_CPP_set=${CPP+set}
582ac_env_CPP_value=$CPP
583ac_cv_env_CPP_set=${CPP+set}
584ac_cv_env_CPP_value=$CPP
585
586#
587# Report the --help message.
588#
589if test "$ac_init_help" = "long"; then
590 # Omit some internal or obsolete options to make the list less imposing.
591 # This message is too long to be a string in the A/UX 3.1 sh.
592 cat <<EOF
593\`configure' configures this package to adapt to many kinds of systems.
594
595Usage: $0 [OPTION]... [VAR=VALUE]...
596
597To assign environment variables (e.g., CC, CFLAGS...), specify them as
598VAR=VALUE. See below for descriptions of some of the useful variables.
599
600Defaults for the options are specified in brackets.
601
602Configuration:
603 -h, --help display this help and exit
604 --help=short display options specific to this package
605 --help=recursive display the short help of all the included packages
606 -V, --version display version information and exit
607 -q, --quiet, --silent do not print \`checking...' messages
608 --cache-file=FILE cache test results in FILE [disabled]
609 -C, --config-cache alias for \`--cache-file=config.cache'
610 -n, --no-create do not create output files
611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
612
613EOF
614
615 cat <<EOF
616Installation directories:
617 --prefix=PREFIX install architecture-independent files in PREFIX
618 [$ac_default_prefix]
619 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
620 [PREFIX]
621
622By default, \`make install' will install all the files in
623\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
624an installation prefix other than \`$ac_default_prefix' using \`--prefix',
625for instance \`--prefix=\$HOME'.
626
627For better control, use the options below.
628
629Fine tuning of the installation directories:
630 --bindir=DIR user executables [EPREFIX/bin]
631 --sbindir=DIR system admin executables [EPREFIX/sbin]
632 --libexecdir=DIR program executables [EPREFIX/libexec]
633 --datadir=DIR read-only architecture-independent data [PREFIX/share]
634 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
635 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
636 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
637 --libdir=DIR object code libraries [EPREFIX/lib]
638 --includedir=DIR C header files [PREFIX/include]
639 --oldincludedir=DIR C header files for non-gcc [/usr/include]
640 --infodir=DIR info documentation [PREFIX/info]
641 --mandir=DIR man documentation [PREFIX/man]
642EOF
643
644 cat <<\EOF
645
646Program names:
647 --program-prefix=PREFIX prepend PREFIX to installed program names
648 --program-suffix=SUFFIX append SUFFIX to installed program names
649 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
650EOF
651fi
652
653if test -n "$ac_init_help"; then
654
655 cat <<\EOF
656
657Optional Packages:
658 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
659 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
660 --with-dmalloc use dmalloc, as in
661 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
662 --with-regex use older regex in lieu of GNU rx for matching
663
664Some influential environment variables:
665 CC C compiler command
666 CFLAGS C compiler flags
667 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
668 nonstandard directory <lib dir>
669 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
670 headers in a nonstandard directory <include dir>
671 CXX C++ compiler command
672 CXXFLAGS C++ compiler flags
673 CPP C preprocessor
674
675Use these variables to override the choices made by `configure' or to help
676it to find libraries and programs with nonstandard names/locations.
677
678EOF
679fi
680
681if test "$ac_init_help" = "recursive"; then
682 # If there are subdirs, report their specific --help.
683 ac_popdir=`pwd`
684 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
685 cd $ac_subdir
686 # A "../" for each directory in /$ac_subdir.
687 ac_dots=`echo $ac_subdir |
688 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
689
690 case $srcdir in
691 .) # No --srcdir option. We are building in place.
692 ac_sub_srcdir=$srcdir ;;
693 [\\/]* | ?:[\\/]* ) # Absolute path.
694 ac_sub_srcdir=$srcdir/$ac_subdir ;;
695 *) # Relative path.
696 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
697 esac
698
699 # Check for guested configure; otherwise get Cygnus style configure.
700 if test -f $ac_sub_srcdir/configure.gnu; then
701 echo
702 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
703 elif test -f $ac_sub_srcdir/configure; then
704 echo
705 $SHELL $ac_sub_srcdir/configure --help=recursive
706 elif test -f $ac_sub_srcdir/configure.ac ||
707 test -f $ac_sub_srcdir/configure.in; then
708 echo
709 $ac_configure --help
710 else
711 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
712 fi
713 cd $ac_popdir
714 done
715fi
716
717test -n "$ac_init_help" && exit 0
718if $ac_init_version; then
719 cat <<\EOF
720
721Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
722Free Software Foundation, Inc.
723This configure script is free software; the Free Software Foundation
724gives unlimited permission to copy, distribute and modify it.
725EOF
726 exit 0
727fi
728exec 5>config.log
729cat >&5 <<EOF
730This file contains any messages produced by compilers while
731running configure, to aid debugging if configure makes a mistake.
732
733It was created by $as_me, which was
734generated by GNU Autoconf 2.50. Invocation command line was
735
736 $ $0 $@
737
738EOF
739{
740cat <<_ASUNAME
741## ---------- ##
742## Platform. ##
743## ---------- ##
744
745hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
746uname -m = `(uname -m) 2>/dev/null || echo unknown`
747uname -r = `(uname -r) 2>/dev/null || echo unknown`
748uname -s = `(uname -s) 2>/dev/null || echo unknown`
749uname -v = `(uname -v) 2>/dev/null || echo unknown`
750
751/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
752/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
753
754/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
755/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
756/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
757hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
758/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
759/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
760/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
761
762PATH = $PATH
763
764_ASUNAME
765} >&5
766
767cat >&5 <<EOF
768## ------------ ##
769## Core tests. ##
770## ------------ ##
771
772EOF
773
774# Keep a trace of the command line.
775# Strip out --no-create and --no-recursion so they do not pile up.
776# Also quote any args containing shell meta-characters.
777ac_configure_args=
778ac_sep=
779for ac_arg
780do
781 case $ac_arg in
782 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
783 | --no-cr | --no-c) ;;
784 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
785 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
786 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
787 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
788 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
789 ac_sep=" " ;;
790 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
791 ac_sep=" " ;;
792 esac
793 # Get rid of the leading space.
794done
795
796# When interrupted or exit'd, cleanup temporary files, and complete
797# config.log. We remove comments because anyway the quotes in there
798# would cause problems or look ugly.
799trap 'exit_status=$?
800 # Save into config.log some information that might help in debugging.
801 echo >&5
802 echo "## ----------------- ##" >&5
803 echo "## Cache variables. ##" >&5
804 echo "## ----------------- ##" >&5
805 echo >&5
806 # The following way of writing the cache mishandles newlines in values,
807{
808 (set) 2>&1 |
809 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
810 *ac_space=\ *)
811 sed -n \
812 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
813 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
814 ;;
815 *)
816 sed -n \
817 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
818 ;;
819 esac;
820} >&5
821 sed "/^$/d" confdefs.h >conftest.log
822 if test -s conftest.log; then
823 echo >&5
824 echo "## ------------ ##" >&5
825 echo "## confdefs.h. ##" >&5
826 echo "## ------------ ##" >&5
827 echo >&5
828 cat conftest.log >&5
829 fi
830 (echo; echo) >&5
831 test "$ac_signal" != 0 &&
832 echo "$as_me: caught signal $ac_signal" >&5
833 echo "$as_me: exit $exit_status" >&5
834 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
835 exit $exit_status
836 ' 0
837for ac_signal in 1 2 13 15; do
838 trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
839done
840ac_signal=0
841
842# confdefs.h avoids OS command line length limits that DEFS can exceed.
843rm -rf conftest* confdefs.h
844# AIX cpp loses on an empty file, so make sure it contains at least a newline.
845echo >confdefs.h
846
847# Let the site file select an alternate cache file if it wants to.
848# Prefer explicitly selected file to automatically selected ones.
849if test -z "$CONFIG_SITE"; then
850 if test "x$prefix" != xNONE; then
851 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
852 else
853 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
854 fi
855fi
856for ac_site_file in $CONFIG_SITE; do
857 if test -r "$ac_site_file"; then
858 { echo "$as_me:858: loading site script $ac_site_file" >&5
859echo "$as_me: loading site script $ac_site_file" >&6;}
860 cat "$ac_site_file" >&5
861 . "$ac_site_file"
862 fi
863done
864
865if test -r "$cache_file"; then
866 # Some versions of bash will fail to source /dev/null (special
867 # files actually), so we avoid doing that.
868 if test -f "$cache_file"; then
869 { echo "$as_me:869: loading cache $cache_file" >&5
870echo "$as_me: loading cache $cache_file" >&6;}
871 case $cache_file in
872 [\\/]* | ?:[\\/]* ) . $cache_file;;
873 *) . ./$cache_file;;
874 esac
875 fi
876else
877 { echo "$as_me:877: creating cache $cache_file" >&5
878echo "$as_me: creating cache $cache_file" >&6;}
879 >$cache_file
880fi
881
882# Check that the precious variables saved in the cache have kept the same
883# value.
884ac_suggest_removing_cache=false
885for ac_var in `(set) 2>&1 |
886 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
887 eval ac_old_set=\$ac_cv_env_${ac_var}_set
888 eval ac_new_set=\$ac_env_${ac_var}_set
889 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
890 eval ac_new_val="\$ac_env_${ac_var}_value"
891 case $ac_old_set,$ac_new_set in
892 set,)
893 { echo "$as_me:893: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
894echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
895 ac_suggest_removing_cache=: ;;
896 ,set)
897 { echo "$as_me:897: WARNING: \`$ac_var' was not set in the previous run" >&5
898echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
899 ac_suggest_removing_cache=: ;;
900 ,);;
901 *)
902 if test "x$ac_old_val" != "x$ac_new_val"; then
903 { echo "$as_me:903: WARNING: \`$ac_var' has changed since the previous run:" >&5
904echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
905 { echo "$as_me:905: WARNING: former value: $ac_old_val" >&5
906echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
907 { echo "$as_me:907: WARNING: current value: $ac_new_val" >&5
908echo "$as_me: WARNING: current value: $ac_new_val" >&2;}
909 ac_suggest_removing_cache=:
910 fi;;
911 esac
912done
913if $ac_suggest_removing_cache; then
914 { echo "$as_me:914: WARNING: changes in the environment can compromise the build" >&5
915echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
916 { echo "$as_me:916: WARNING: consider removing $cache_file and starting over" >&5
917echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
918fi
919
920ac_ext=c
921ac_cpp='$CPP $CPPFLAGS'
922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
924ac_compiler_gnu=$ac_cv_c_compiler_gnu
925
926case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
927 *c*,-n*) ECHO_N= ECHO_C='
928' ECHO_T=' ' ;;
929 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
930 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
931esac
932echo "#! $SHELL" >conftest.sh
933echo "exit 0" >>conftest.sh
934chmod +x conftest.sh
935if { (echo "$as_me:935: PATH=\".;.\"; conftest.sh") >&5
936 (PATH=".;."; conftest.sh) 2>&5
937 ac_status=$?
938 echo "$as_me:938: \$? = $ac_status" >&5
939 (exit $ac_status); }; then
940 ac_path_separator=';'
941else
942 ac_path_separator=:
943fi
944PATH_SEPARATOR="$ac_path_separator"
945rm -f conftest.sh
946
947ac_config_headers="$ac_config_headers config.h"
948
949if test "$program_transform_name" = s,x,x,; then
950 program_transform_name=
951else
952 # Double any \ or $. echo might interpret backslashes.
953 cat <<\EOF >conftest.sed
954s,\\,\\\\,g; s,\$,$$,g
955EOF
956 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
957 rm -f conftest.sed
958fi
959test "$program_prefix" != NONE &&
960 program_transform_name="s,^,${program_prefix},;$program_transform_name"
961# Use a double $ so make ignores it.
962test "$program_suffix" != NONE &&
963 program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
964
965# sed with no file args requires a program.
966test -z "$program_transform_name" && program_transform_name="s,x,x,"
967
968PACKAGE=gsdl
969VERSION=2.38
970cat >>confdefs.h <<EOF
971#define PACKAGE "$PACKAGE"
972EOF
973
974cat >>confdefs.h <<EOF
975#define VERSION "$VERSION"
976EOF
977
978USE_FASTCGI=0
979if test USE_FASTCGI = 1; then
980cat >>confdefs.h <<\EOF
981#define USE_FASTCGI 1
982EOF
983
984fi
985
986LDFLAGS=
987CFLAGS=-O2
988
989ac_ext=c
990ac_cpp='$CPP $CPPFLAGS'
991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
993ac_compiler_gnu=$ac_cv_c_compiler_gnu
994if test -n "$ac_tool_prefix"; then
995 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
996set dummy ${ac_tool_prefix}gcc; ac_word=$2
997echo "$as_me:997: checking for $ac_word" >&5
998echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
999if test "${ac_cv_prog_CC+set}" = set; then
1000 echo $ECHO_N "(cached) $ECHO_C" >&6
1001else
1002 if test -n "$CC"; then
1003 ac_cv_prog_CC="$CC" # Let the user override the test.
1004else
1005 ac_save_IFS=$IFS; IFS=$ac_path_separator
1006ac_dummy="$PATH"
1007for ac_dir in $ac_dummy; do
1008 IFS=$ac_save_IFS
1009 test -z "$ac_dir" && ac_dir=.
1010 $as_executable_p "$ac_dir/$ac_word" || continue
1011ac_cv_prog_CC="${ac_tool_prefix}gcc"
1012echo "$as_me:1012: found $ac_dir/$ac_word" >&5
1013break
1014done
1015
1016fi
1017fi
1018CC=$ac_cv_prog_CC
1019if test -n "$CC"; then
1020 echo "$as_me:1020: result: $CC" >&5
1021echo "${ECHO_T}$CC" >&6
1022else
1023 echo "$as_me:1023: result: no" >&5
1024echo "${ECHO_T}no" >&6
1025fi
1026
1027fi
1028if test -z "$ac_cv_prog_CC"; then
1029 ac_ct_CC=$CC
1030 # Extract the first word of "gcc", so it can be a program name with args.
1031set dummy gcc; ac_word=$2
1032echo "$as_me:1032: checking for $ac_word" >&5
1033echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1034if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1035 echo $ECHO_N "(cached) $ECHO_C" >&6
1036else
1037 if test -n "$ac_ct_CC"; then
1038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1039else
1040 ac_save_IFS=$IFS; IFS=$ac_path_separator
1041ac_dummy="$PATH"
1042for ac_dir in $ac_dummy; do
1043 IFS=$ac_save_IFS
1044 test -z "$ac_dir" && ac_dir=.
1045 $as_executable_p "$ac_dir/$ac_word" || continue
1046ac_cv_prog_ac_ct_CC="gcc"
1047echo "$as_me:1047: found $ac_dir/$ac_word" >&5
1048break
1049done
1050
1051fi
1052fi
1053ac_ct_CC=$ac_cv_prog_ac_ct_CC
1054if test -n "$ac_ct_CC"; then
1055 echo "$as_me:1055: result: $ac_ct_CC" >&5
1056echo "${ECHO_T}$ac_ct_CC" >&6
1057else
1058 echo "$as_me:1058: result: no" >&5
1059echo "${ECHO_T}no" >&6
1060fi
1061
1062 CC=$ac_ct_CC
1063else
1064 CC="$ac_cv_prog_CC"
1065fi
1066
1067if test -z "$CC"; then
1068 if test -n "$ac_tool_prefix"; then
1069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1070set dummy ${ac_tool_prefix}cc; ac_word=$2
1071echo "$as_me:1071: checking for $ac_word" >&5
1072echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1073if test "${ac_cv_prog_CC+set}" = set; then
1074 echo $ECHO_N "(cached) $ECHO_C" >&6
1075else
1076 if test -n "$CC"; then
1077 ac_cv_prog_CC="$CC" # Let the user override the test.
1078else
1079 ac_save_IFS=$IFS; IFS=$ac_path_separator
1080ac_dummy="$PATH"
1081for ac_dir in $ac_dummy; do
1082 IFS=$ac_save_IFS
1083 test -z "$ac_dir" && ac_dir=.
1084 $as_executable_p "$ac_dir/$ac_word" || continue
1085ac_cv_prog_CC="${ac_tool_prefix}cc"
1086echo "$as_me:1086: found $ac_dir/$ac_word" >&5
1087break
1088done
1089
1090fi
1091fi
1092CC=$ac_cv_prog_CC
1093if test -n "$CC"; then
1094 echo "$as_me:1094: result: $CC" >&5
1095echo "${ECHO_T}$CC" >&6
1096else
1097 echo "$as_me:1097: result: no" >&5
1098echo "${ECHO_T}no" >&6
1099fi
1100
1101fi
1102if test -z "$ac_cv_prog_CC"; then
1103 ac_ct_CC=$CC
1104 # Extract the first word of "cc", so it can be a program name with args.
1105set dummy cc; ac_word=$2
1106echo "$as_me:1106: checking for $ac_word" >&5
1107echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1108if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1109 echo $ECHO_N "(cached) $ECHO_C" >&6
1110else
1111 if test -n "$ac_ct_CC"; then
1112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1113else
1114 ac_save_IFS=$IFS; IFS=$ac_path_separator
1115ac_dummy="$PATH"
1116for ac_dir in $ac_dummy; do
1117 IFS=$ac_save_IFS
1118 test -z "$ac_dir" && ac_dir=.
1119 $as_executable_p "$ac_dir/$ac_word" || continue
1120ac_cv_prog_ac_ct_CC="cc"
1121echo "$as_me:1121: found $ac_dir/$ac_word" >&5
1122break
1123done
1124
1125fi
1126fi
1127ac_ct_CC=$ac_cv_prog_ac_ct_CC
1128if test -n "$ac_ct_CC"; then
1129 echo "$as_me:1129: result: $ac_ct_CC" >&5
1130echo "${ECHO_T}$ac_ct_CC" >&6
1131else
1132 echo "$as_me:1132: result: no" >&5
1133echo "${ECHO_T}no" >&6
1134fi
1135
1136 CC=$ac_ct_CC
1137else
1138 CC="$ac_cv_prog_CC"
1139fi
1140
1141fi
1142if test -z "$CC"; then
1143 # Extract the first word of "cc", so it can be a program name with args.
1144set dummy cc; ac_word=$2
1145echo "$as_me:1145: checking for $ac_word" >&5
1146echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1147if test "${ac_cv_prog_CC+set}" = set; then
1148 echo $ECHO_N "(cached) $ECHO_C" >&6
1149else
1150 if test -n "$CC"; then
1151 ac_cv_prog_CC="$CC" # Let the user override the test.
1152else
1153 ac_prog_rejected=no
1154 ac_save_IFS=$IFS; IFS=$ac_path_separator
1155ac_dummy="$PATH"
1156for ac_dir in $ac_dummy; do
1157 IFS=$ac_save_IFS
1158 test -z "$ac_dir" && ac_dir=.
1159 $as_executable_p "$ac_dir/$ac_word" || continue
1160if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1161 ac_prog_rejected=yes
1162 continue
1163fi
1164ac_cv_prog_CC="cc"
1165echo "$as_me:1165: found $ac_dir/$ac_word" >&5
1166break
1167done
1168
1169if test $ac_prog_rejected = yes; then
1170 # We found a bogon in the path, so make sure we never use it.
1171 set dummy $ac_cv_prog_CC
1172 shift
1173 if test $# != 0; then
1174 # We chose a different compiler from the bogus one.
1175 # However, it has the same basename, so the bogon will be chosen
1176 # first if we set CC to just the basename; use the full file name.
1177 shift
1178 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1179 shift
1180 ac_cv_prog_CC="$@"
1181 fi
1182fi
1183fi
1184fi
1185CC=$ac_cv_prog_CC
1186if test -n "$CC"; then
1187 echo "$as_me:1187: result: $CC" >&5
1188echo "${ECHO_T}$CC" >&6
1189else
1190 echo "$as_me:1190: result: no" >&5
1191echo "${ECHO_T}no" >&6
1192fi
1193
1194fi
1195if test -z "$CC"; then
1196 if test -n "$ac_tool_prefix"; then
1197 for ac_prog in cl
1198 do
1199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1200set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1201echo "$as_me:1201: checking for $ac_word" >&5
1202echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1203if test "${ac_cv_prog_CC+set}" = set; then
1204 echo $ECHO_N "(cached) $ECHO_C" >&6
1205else
1206 if test -n "$CC"; then
1207 ac_cv_prog_CC="$CC" # Let the user override the test.
1208else
1209 ac_save_IFS=$IFS; IFS=$ac_path_separator
1210ac_dummy="$PATH"
1211for ac_dir in $ac_dummy; do
1212 IFS=$ac_save_IFS
1213 test -z "$ac_dir" && ac_dir=.
1214 $as_executable_p "$ac_dir/$ac_word" || continue
1215ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1216echo "$as_me:1216: found $ac_dir/$ac_word" >&5
1217break
1218done
1219
1220fi
1221fi
1222CC=$ac_cv_prog_CC
1223if test -n "$CC"; then
1224 echo "$as_me:1224: result: $CC" >&5
1225echo "${ECHO_T}$CC" >&6
1226else
1227 echo "$as_me:1227: result: no" >&5
1228echo "${ECHO_T}no" >&6
1229fi
1230
1231 test -n "$CC" && break
1232 done
1233fi
1234if test -z "$CC"; then
1235 ac_ct_CC=$CC
1236 for ac_prog in cl
1237do
1238 # Extract the first word of "$ac_prog", so it can be a program name with args.
1239set dummy $ac_prog; ac_word=$2
1240echo "$as_me:1240: checking for $ac_word" >&5
1241echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1242if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1243 echo $ECHO_N "(cached) $ECHO_C" >&6
1244else
1245 if test -n "$ac_ct_CC"; then
1246 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1247else
1248 ac_save_IFS=$IFS; IFS=$ac_path_separator
1249ac_dummy="$PATH"
1250for ac_dir in $ac_dummy; do
1251 IFS=$ac_save_IFS
1252 test -z "$ac_dir" && ac_dir=.
1253 $as_executable_p "$ac_dir/$ac_word" || continue
1254ac_cv_prog_ac_ct_CC="$ac_prog"
1255echo "$as_me:1255: found $ac_dir/$ac_word" >&5
1256break
1257done
1258
1259fi
1260fi
1261ac_ct_CC=$ac_cv_prog_ac_ct_CC
1262if test -n "$ac_ct_CC"; then
1263 echo "$as_me:1263: result: $ac_ct_CC" >&5
1264echo "${ECHO_T}$ac_ct_CC" >&6
1265else
1266 echo "$as_me:1266: result: no" >&5
1267echo "${ECHO_T}no" >&6
1268fi
1269
1270 test -n "$ac_ct_CC" && break
1271done
1272
1273 CC=$ac_ct_CC
1274fi
1275
1276fi
1277
1278test -z "$CC" && { { echo "$as_me:1278: error: no acceptable cc found in \$PATH" >&5
1279echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1280 { (exit 1); exit 1; }; }
1281
1282cat >conftest.$ac_ext <<_ACEOF
1283#line 1283 "configure"
1284#include "confdefs.h"
1285
1286int
1287main ()
1288{
1289
1290 ;
1291 return 0;
1292}
1293_ACEOF
1294ac_clean_files_save=$ac_clean_files
1295ac_clean_files="$ac_clean_files a.out a.exe"
1296# Try to create an executable without -o first, disregard a.out.
1297# It will help us diagnose broken compiler, and finding out an intuition
1298# of exeext.
1299echo "$as_me:1299: checking for C compiler default output" >&5
1300echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1301ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1302if { (eval echo "$as_me:1302: \"$ac_link_default\"") >&5
1303 (eval $ac_link_default) 2>&5
1304 ac_status=$?
1305 echo "$as_me:1305: \$? = $ac_status" >&5
1306 (exit $ac_status); }; then
1307 for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1308 case $ac_file in
1309 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1310 a.out ) # We found the default executable, but exeext='' is most
1311 # certainly right.
1312 break;;
1313 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1314 export ac_cv_exeext
1315 break;;
1316 * ) break;;
1317 esac
1318done
1319else
1320 echo "$as_me: failed program was:" >&5
1321cat conftest.$ac_ext >&5
1322{ { echo "$as_me:1322: error: C compiler cannot create executables" >&5
1323echo "$as_me: error: C compiler cannot create executables" >&2;}
1324 { (exit 77); exit 77; }; }
1325fi
1326
1327ac_exeext=$ac_cv_exeext
1328echo "$as_me:1328: result: $ac_file" >&5
1329echo "${ECHO_T}$ac_file" >&6
1330
1331# Check the compiler produces executables we can run. If not, either
1332# the compiler is broken, or we cross compile.
1333echo "$as_me:1333: checking whether the C compiler works" >&5
1334echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1335# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1336# If not cross compiling, check that we can run a simple program.
1337if test "$cross_compiling" != yes; then
1338 if { ac_try='./$ac_file'
1339 { (eval echo "$as_me:1339: \"$ac_try\"") >&5
1340 (eval $ac_try) 2>&5
1341 ac_status=$?
1342 echo "$as_me:1342: \$? = $ac_status" >&5
1343 (exit $ac_status); }; }; then
1344 cross_compiling=no
1345 else
1346 if test "$cross_compiling" = maybe; then
1347 cross_compiling=yes
1348 else
1349 { { echo "$as_me:1349: error: cannot run C compiled programs.
1350If you meant to cross compile, use \`--host'." >&5
1351echo "$as_me: error: cannot run C compiled programs.
1352If you meant to cross compile, use \`--host'." >&2;}
1353 { (exit 1); exit 1; }; }
1354 fi
1355 fi
1356fi
1357echo "$as_me:1357: result: yes" >&5
1358echo "${ECHO_T}yes" >&6
1359
1360rm -f a.out a.exe conftest$ac_cv_exeext
1361ac_clean_files=$ac_clean_files_save
1362# Check the compiler produces executables we can run. If not, either
1363# the compiler is broken, or we cross compile.
1364echo "$as_me:1364: checking whether we are cross compiling" >&5
1365echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1366echo "$as_me:1366: result: $cross_compiling" >&5
1367echo "${ECHO_T}$cross_compiling" >&6
1368
1369echo "$as_me:1369: checking for executable suffix" >&5
1370echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1371if { (eval echo "$as_me:1371: \"$ac_link\"") >&5
1372 (eval $ac_link) 2>&5
1373 ac_status=$?
1374 echo "$as_me:1374: \$? = $ac_status" >&5
1375 (exit $ac_status); }; then
1376 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1377# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1378# work properly (i.e., refer to `conftest.exe'), while it won't with
1379# `rm'.
1380for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1381 case $ac_file in
1382 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1384 export ac_cv_exeext
1385 break;;
1386 * ) break;;
1387 esac
1388done
1389else
1390 { { echo "$as_me:1390: error: cannot compute EXEEXT: cannot compile and link" >&5
1391echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1392 { (exit 1); exit 1; }; }
1393fi
1394
1395rm -f conftest$ac_cv_exeext
1396echo "$as_me:1396: result: $ac_cv_exeext" >&5
1397echo "${ECHO_T}$ac_cv_exeext" >&6
1398
1399rm -f conftest.$ac_ext
1400EXEEXT=$ac_cv_exeext
1401ac_exeext=$EXEEXT
1402echo "$as_me:1402: checking for object suffix" >&5
1403echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1404if test "${ac_cv_objext+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1406else
1407 cat >conftest.$ac_ext <<_ACEOF
1408#line 1408 "configure"
1409#include "confdefs.h"
1410
1411int
1412main ()
1413{
1414
1415 ;
1416 return 0;
1417}
1418_ACEOF
1419rm -f conftest.o conftest.obj
1420if { (eval echo "$as_me:1420: \"$ac_compile\"") >&5
1421 (eval $ac_compile) 2>&5
1422 ac_status=$?
1423 echo "$as_me:1423: \$? = $ac_status" >&5
1424 (exit $ac_status); }; then
1425 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1426 case $ac_file in
1427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1428 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1429 break;;
1430 esac
1431done
1432else
1433 echo "$as_me: failed program was:" >&5
1434cat conftest.$ac_ext >&5
1435{ { echo "$as_me:1435: error: cannot compute OBJEXT: cannot compile" >&5
1436echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1437 { (exit 1); exit 1; }; }
1438fi
1439
1440rm -f conftest.$ac_cv_objext conftest.$ac_ext
1441fi
1442echo "$as_me:1442: result: $ac_cv_objext" >&5
1443echo "${ECHO_T}$ac_cv_objext" >&6
1444OBJEXT=$ac_cv_objext
1445ac_objext=$OBJEXT
1446echo "$as_me:1446: checking whether we are using the GNU C compiler" >&5
1447echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1448if test "${ac_cv_c_compiler_gnu+set}" = set; then
1449 echo $ECHO_N "(cached) $ECHO_C" >&6
1450else
1451 cat >conftest.$ac_ext <<_ACEOF
1452#line 1452 "configure"
1453#include "confdefs.h"
1454
1455int
1456main ()
1457{
1458#ifndef __GNUC__
1459 choke me
1460#endif
1461
1462 ;
1463 return 0;
1464}
1465_ACEOF
1466rm -f conftest.$ac_objext
1467if { (eval echo "$as_me:1467: \"$ac_compile\"") >&5
1468 (eval $ac_compile) 2>&5
1469 ac_status=$?
1470 echo "$as_me:1470: \$? = $ac_status" >&5
1471 (exit $ac_status); } &&
1472 { ac_try='test -s conftest.$ac_objext'
1473 { (eval echo "$as_me:1473: \"$ac_try\"") >&5
1474 (eval $ac_try) 2>&5
1475 ac_status=$?
1476 echo "$as_me:1476: \$? = $ac_status" >&5
1477 (exit $ac_status); }; }; then
1478 ac_compiler_gnu=yes
1479else
1480 echo "$as_me: failed program was:" >&5
1481cat conftest.$ac_ext >&5
1482ac_compiler_gnu=no
1483fi
1484rm -f conftest.$ac_objext conftest.$ac_ext
1485ac_cv_c_compiler_gnu=$ac_compiler_gnu
1486
1487fi
1488echo "$as_me:1488: result: $ac_cv_c_compiler_gnu" >&5
1489echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1490GCC=`test $ac_compiler_gnu = yes && echo yes`
1491ac_test_CFLAGS=${CFLAGS+set}
1492ac_save_CFLAGS=$CFLAGS
1493CFLAGS="-g"
1494echo "$as_me:1494: checking whether $CC accepts -g" >&5
1495echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1496if test "${ac_cv_prog_cc_g+set}" = set; then
1497 echo $ECHO_N "(cached) $ECHO_C" >&6
1498else
1499 cat >conftest.$ac_ext <<_ACEOF
1500#line 1500 "configure"
1501#include "confdefs.h"
1502
1503int
1504main ()
1505{
1506
1507 ;
1508 return 0;
1509}
1510_ACEOF
1511rm -f conftest.$ac_objext
1512if { (eval echo "$as_me:1512: \"$ac_compile\"") >&5
1513 (eval $ac_compile) 2>&5
1514 ac_status=$?
1515 echo "$as_me:1515: \$? = $ac_status" >&5
1516 (exit $ac_status); } &&
1517 { ac_try='test -s conftest.$ac_objext'
1518 { (eval echo "$as_me:1518: \"$ac_try\"") >&5
1519 (eval $ac_try) 2>&5
1520 ac_status=$?
1521 echo "$as_me:1521: \$? = $ac_status" >&5
1522 (exit $ac_status); }; }; then
1523 ac_cv_prog_cc_g=yes
1524else
1525 echo "$as_me: failed program was:" >&5
1526cat conftest.$ac_ext >&5
1527ac_cv_prog_cc_g=no
1528fi
1529rm -f conftest.$ac_objext conftest.$ac_ext
1530fi
1531echo "$as_me:1531: result: $ac_cv_prog_cc_g" >&5
1532echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1533if test "$ac_test_CFLAGS" = set; then
1534 CFLAGS=$ac_save_CFLAGS
1535elif test $ac_cv_prog_cc_g = yes; then
1536 if test "$GCC" = yes; then
1537 CFLAGS="-g -O2"
1538 else
1539 CFLAGS="-g"
1540 fi
1541else
1542 if test "$GCC" = yes; then
1543 CFLAGS="-O2"
1544 else
1545 CFLAGS=
1546 fi
1547fi
1548# Some people use a C++ compiler to compile C. Since we use `exit',
1549# in C++ we need to declare it. In case someone uses the same compiler
1550# for both compiling C and C++ we need to have the C++ compiler decide
1551# the declaration of exit, since it's the most demanding environment.
1552cat >conftest.$ac_ext <<_ACEOF
1553#ifndef __cplusplus
1554 choke me
1555#endif
1556_ACEOF
1557rm -f conftest.$ac_objext
1558if { (eval echo "$as_me:1558: \"$ac_compile\"") >&5
1559 (eval $ac_compile) 2>&5
1560 ac_status=$?
1561 echo "$as_me:1561: \$? = $ac_status" >&5
1562 (exit $ac_status); } &&
1563 { ac_try='test -s conftest.$ac_objext'
1564 { (eval echo "$as_me:1564: \"$ac_try\"") >&5
1565 (eval $ac_try) 2>&5
1566 ac_status=$?
1567 echo "$as_me:1567: \$? = $ac_status" >&5
1568 (exit $ac_status); }; }; then
1569 for ac_declaration in \
1570 ''\
1571 '#include <stdlib.h>' \
1572 'extern "C" void std::exit (int) throw (); using std::exit;' \
1573 'extern "C" void std::exit (int); using std::exit;' \
1574 'extern "C" void exit (int) throw ();' \
1575 'extern "C" void exit (int);' \
1576 'void exit (int);'
1577do
1578 cat >conftest.$ac_ext <<_ACEOF
1579#line 1579 "configure"
1580#include "confdefs.h"
1581#include <stdlib.h>
1582$ac_declaration
1583int
1584main ()
1585{
1586exit (42);
1587 ;
1588 return 0;
1589}
1590_ACEOF
1591rm -f conftest.$ac_objext
1592if { (eval echo "$as_me:1592: \"$ac_compile\"") >&5
1593 (eval $ac_compile) 2>&5
1594 ac_status=$?
1595 echo "$as_me:1595: \$? = $ac_status" >&5
1596 (exit $ac_status); } &&
1597 { ac_try='test -s conftest.$ac_objext'
1598 { (eval echo "$as_me:1598: \"$ac_try\"") >&5
1599 (eval $ac_try) 2>&5
1600 ac_status=$?
1601 echo "$as_me:1601: \$? = $ac_status" >&5
1602 (exit $ac_status); }; }; then
1603 :
1604else
1605 echo "$as_me: failed program was:" >&5
1606cat conftest.$ac_ext >&5
1607continue
1608fi
1609rm -f conftest.$ac_objext conftest.$ac_ext
1610 cat >conftest.$ac_ext <<_ACEOF
1611#line 1611 "configure"
1612#include "confdefs.h"
1613$ac_declaration
1614int
1615main ()
1616{
1617exit (42);
1618 ;
1619 return 0;
1620}
1621_ACEOF
1622rm -f conftest.$ac_objext
1623if { (eval echo "$as_me:1623: \"$ac_compile\"") >&5
1624 (eval $ac_compile) 2>&5
1625 ac_status=$?
1626 echo "$as_me:1626: \$? = $ac_status" >&5
1627 (exit $ac_status); } &&
1628 { ac_try='test -s conftest.$ac_objext'
1629 { (eval echo "$as_me:1629: \"$ac_try\"") >&5
1630 (eval $ac_try) 2>&5
1631 ac_status=$?
1632 echo "$as_me:1632: \$? = $ac_status" >&5
1633 (exit $ac_status); }; }; then
1634 break
1635else
1636 echo "$as_me: failed program was:" >&5
1637cat conftest.$ac_ext >&5
1638fi
1639rm -f conftest.$ac_objext conftest.$ac_ext
1640done
1641echo '#ifdef __cplusplus' >>confdefs.h
1642echo $ac_declaration >>confdefs.h
1643echo '#endif' >>confdefs.h
1644
1645else
1646 echo "$as_me: failed program was:" >&5
1647cat conftest.$ac_ext >&5
1648fi
1649rm -f conftest.$ac_objext conftest.$ac_ext
1650ac_ext=c
1651ac_cpp='$CPP $CPPFLAGS'
1652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655
1656ac_ext=cc
1657ac_cpp='$CXXCPP $CPPFLAGS'
1658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1661if test -n "$ac_tool_prefix"; then
1662 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
1663 do
1664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1665set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1666echo "$as_me:1666: checking for $ac_word" >&5
1667echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668if test "${ac_cv_prog_CXX+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1670else
1671 if test -n "$CXX"; then
1672 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1673else
1674 ac_save_IFS=$IFS; IFS=$ac_path_separator
1675ac_dummy="$PATH"
1676for ac_dir in $ac_dummy; do
1677 IFS=$ac_save_IFS
1678 test -z "$ac_dir" && ac_dir=.
1679 $as_executable_p "$ac_dir/$ac_word" || continue
1680ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1681echo "$as_me:1681: found $ac_dir/$ac_word" >&5
1682break
1683done
1684
1685fi
1686fi
1687CXX=$ac_cv_prog_CXX
1688if test -n "$CXX"; then
1689 echo "$as_me:1689: result: $CXX" >&5
1690echo "${ECHO_T}$CXX" >&6
1691else
1692 echo "$as_me:1692: result: no" >&5
1693echo "${ECHO_T}no" >&6
1694fi
1695
1696 test -n "$CXX" && break
1697 done
1698fi
1699if test -z "$CXX"; then
1700 ac_ct_CXX=$CXX
1701 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
1702do
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704set dummy $ac_prog; ac_word=$2
1705echo "$as_me:1705: checking for $ac_word" >&5
1706echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709else
1710 if test -n "$ac_ct_CXX"; then
1711 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1712else
1713 ac_save_IFS=$IFS; IFS=$ac_path_separator
1714ac_dummy="$PATH"
1715for ac_dir in $ac_dummy; do
1716 IFS=$ac_save_IFS
1717 test -z "$ac_dir" && ac_dir=.
1718 $as_executable_p "$ac_dir/$ac_word" || continue
1719ac_cv_prog_ac_ct_CXX="$ac_prog"
1720echo "$as_me:1720: found $ac_dir/$ac_word" >&5
1721break
1722done
1723
1724fi
1725fi
1726ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1727if test -n "$ac_ct_CXX"; then
1728 echo "$as_me:1728: result: $ac_ct_CXX" >&5
1729echo "${ECHO_T}$ac_ct_CXX" >&6
1730else
1731 echo "$as_me:1731: result: no" >&5
1732echo "${ECHO_T}no" >&6
1733fi
1734
1735 test -n "$ac_ct_CXX" && break
1736done
1737test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1738
1739 CXX=$ac_ct_CXX
1740fi
1741
1742echo "$as_me:1742: checking whether we are using the GNU C++ compiler" >&5
1743echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1744if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1746else
1747 cat >conftest.$ac_ext <<_ACEOF
1748#line 1748 "configure"
1749#include "confdefs.h"
1750
1751int
1752main ()
1753{
1754#ifndef __GNUC__
1755 choke me
1756#endif
1757
1758 ;
1759 return 0;
1760}
1761_ACEOF
1762rm -f conftest.$ac_objext
1763if { (eval echo "$as_me:1763: \"$ac_compile\"") >&5
1764 (eval $ac_compile) 2>&5
1765 ac_status=$?
1766 echo "$as_me:1766: \$? = $ac_status" >&5
1767 (exit $ac_status); } &&
1768 { ac_try='test -s conftest.$ac_objext'
1769 { (eval echo "$as_me:1769: \"$ac_try\"") >&5
1770 (eval $ac_try) 2>&5
1771 ac_status=$?
1772 echo "$as_me:1772: \$? = $ac_status" >&5
1773 (exit $ac_status); }; }; then
1774 ac_compiler_gnu=yes
1775else
1776 echo "$as_me: failed program was:" >&5
1777cat conftest.$ac_ext >&5
1778ac_compiler_gnu=no
1779fi
1780rm -f conftest.$ac_objext conftest.$ac_ext
1781ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1782
1783fi
1784echo "$as_me:1784: result: $ac_cv_cxx_compiler_gnu" >&5
1785echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1786GXX=`test $ac_compiler_gnu = yes && echo yes`
1787ac_test_CXXFLAGS=${CXXFLAGS+set}
1788ac_save_CXXFLAGS=$CXXFLAGS
1789CXXFLAGS="-g"
1790echo "$as_me:1790: checking whether $CXX accepts -g" >&5
1791echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1792if test "${ac_cv_prog_cxx_g+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1794else
1795 cat >conftest.$ac_ext <<_ACEOF
1796#line 1796 "configure"
1797#include "confdefs.h"
1798
1799int
1800main ()
1801{
1802
1803 ;
1804 return 0;
1805}
1806_ACEOF
1807rm -f conftest.$ac_objext
1808if { (eval echo "$as_me:1808: \"$ac_compile\"") >&5
1809 (eval $ac_compile) 2>&5
1810 ac_status=$?
1811 echo "$as_me:1811: \$? = $ac_status" >&5
1812 (exit $ac_status); } &&
1813 { ac_try='test -s conftest.$ac_objext'
1814 { (eval echo "$as_me:1814: \"$ac_try\"") >&5
1815 (eval $ac_try) 2>&5
1816 ac_status=$?
1817 echo "$as_me:1817: \$? = $ac_status" >&5
1818 (exit $ac_status); }; }; then
1819 ac_cv_prog_cxx_g=yes
1820else
1821 echo "$as_me: failed program was:" >&5
1822cat conftest.$ac_ext >&5
1823ac_cv_prog_cxx_g=no
1824fi
1825rm -f conftest.$ac_objext conftest.$ac_ext
1826fi
1827echo "$as_me:1827: result: $ac_cv_prog_cxx_g" >&5
1828echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1829if test "$ac_test_CXXFLAGS" = set; then
1830 CXXFLAGS=$ac_save_CXXFLAGS
1831elif test $ac_cv_prog_cxx_g = yes; then
1832 if test "$GXX" = yes; then
1833 CXXFLAGS="-g -O2"
1834 else
1835 CXXFLAGS="-g"
1836 fi
1837else
1838 if test "$GXX" = yes; then
1839 CXXFLAGS="-O2"
1840 else
1841 CXXFLAGS=
1842 fi
1843fi
1844for ac_declaration in \
1845 ''\
1846 '#include <stdlib.h>' \
1847 'extern "C" void std::exit (int) throw (); using std::exit;' \
1848 'extern "C" void std::exit (int); using std::exit;' \
1849 'extern "C" void exit (int) throw ();' \
1850 'extern "C" void exit (int);' \
1851 'void exit (int);'
1852do
1853 cat >conftest.$ac_ext <<_ACEOF
1854#line 1854 "configure"
1855#include "confdefs.h"
1856#include <stdlib.h>
1857$ac_declaration
1858int
1859main ()
1860{
1861exit (42);
1862 ;
1863 return 0;
1864}
1865_ACEOF
1866rm -f conftest.$ac_objext
1867if { (eval echo "$as_me:1867: \"$ac_compile\"") >&5
1868 (eval $ac_compile) 2>&5
1869 ac_status=$?
1870 echo "$as_me:1870: \$? = $ac_status" >&5
1871 (exit $ac_status); } &&
1872 { ac_try='test -s conftest.$ac_objext'
1873 { (eval echo "$as_me:1873: \"$ac_try\"") >&5
1874 (eval $ac_try) 2>&5
1875 ac_status=$?
1876 echo "$as_me:1876: \$? = $ac_status" >&5
1877 (exit $ac_status); }; }; then
1878 :
1879else
1880 echo "$as_me: failed program was:" >&5
1881cat conftest.$ac_ext >&5
1882continue
1883fi
1884rm -f conftest.$ac_objext conftest.$ac_ext
1885 cat >conftest.$ac_ext <<_ACEOF
1886#line 1886 "configure"
1887#include "confdefs.h"
1888$ac_declaration
1889int
1890main ()
1891{
1892exit (42);
1893 ;
1894 return 0;
1895}
1896_ACEOF
1897rm -f conftest.$ac_objext
1898if { (eval echo "$as_me:1898: \"$ac_compile\"") >&5
1899 (eval $ac_compile) 2>&5
1900 ac_status=$?
1901 echo "$as_me:1901: \$? = $ac_status" >&5
1902 (exit $ac_status); } &&
1903 { ac_try='test -s conftest.$ac_objext'
1904 { (eval echo "$as_me:1904: \"$ac_try\"") >&5
1905 (eval $ac_try) 2>&5
1906 ac_status=$?
1907 echo "$as_me:1907: \$? = $ac_status" >&5
1908 (exit $ac_status); }; }; then
1909 break
1910else
1911 echo "$as_me: failed program was:" >&5
1912cat conftest.$ac_ext >&5
1913fi
1914rm -f conftest.$ac_objext conftest.$ac_ext
1915done
1916echo '#ifdef __cplusplus' >>confdefs.h
1917echo $ac_declaration >>confdefs.h
1918echo '#endif' >>confdefs.h
1919
1920ac_ext=c
1921ac_cpp='$CPP $CPPFLAGS'
1922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924ac_compiler_gnu=$ac_cv_c_compiler_gnu
1925
1926for ac_prog in mawk gawk nawk awk
1927do
1928 # Extract the first word of "$ac_prog", so it can be a program name with args.
1929set dummy $ac_prog; ac_word=$2
1930echo "$as_me:1930: checking for $ac_word" >&5
1931echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932if test "${ac_cv_prog_AWK+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934else
1935 if test -n "$AWK"; then
1936 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1937else
1938 ac_save_IFS=$IFS; IFS=$ac_path_separator
1939ac_dummy="$PATH"
1940for ac_dir in $ac_dummy; do
1941 IFS=$ac_save_IFS
1942 test -z "$ac_dir" && ac_dir=.
1943 $as_executable_p "$ac_dir/$ac_word" || continue
1944ac_cv_prog_AWK="$ac_prog"
1945echo "$as_me:1945: found $ac_dir/$ac_word" >&5
1946break
1947done
1948
1949fi
1950fi
1951AWK=$ac_cv_prog_AWK
1952if test -n "$AWK"; then
1953 echo "$as_me:1953: result: $AWK" >&5
1954echo "${ECHO_T}$AWK" >&6
1955else
1956 echo "$as_me:1956: result: no" >&5
1957echo "${ECHO_T}no" >&6
1958fi
1959
1960 test -n "$AWK" && break
1961done
1962
1963for ac_prog in 'bison -y' byacc
1964do
1965 # Extract the first word of "$ac_prog", so it can be a program name with args.
1966set dummy $ac_prog; ac_word=$2
1967echo "$as_me:1967: checking for $ac_word" >&5
1968echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969if test "${ac_cv_prog_YACC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1971else
1972 if test -n "$YACC"; then
1973 ac_cv_prog_YACC="$YACC" # Let the user override the test.
1974else
1975 ac_save_IFS=$IFS; IFS=$ac_path_separator
1976ac_dummy="$PATH"
1977for ac_dir in $ac_dummy; do
1978 IFS=$ac_save_IFS
1979 test -z "$ac_dir" && ac_dir=.
1980 $as_executable_p "$ac_dir/$ac_word" || continue
1981ac_cv_prog_YACC="$ac_prog"
1982echo "$as_me:1982: found $ac_dir/$ac_word" >&5
1983break
1984done
1985
1986fi
1987fi
1988YACC=$ac_cv_prog_YACC
1989if test -n "$YACC"; then
1990 echo "$as_me:1990: result: $YACC" >&5
1991echo "${ECHO_T}$YACC" >&6
1992else
1993 echo "$as_me:1993: result: no" >&5
1994echo "${ECHO_T}no" >&6
1995fi
1996
1997 test -n "$YACC" && break
1998done
1999test -n "$YACC" || YACC="yacc"
2000
2001ac_aux_dir=
2002for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2003 if test -f $ac_dir/install-sh; then
2004 ac_aux_dir=$ac_dir
2005 ac_install_sh="$ac_aux_dir/install-sh -c"
2006 break
2007 elif test -f $ac_dir/install.sh; then
2008 ac_aux_dir=$ac_dir
2009 ac_install_sh="$ac_aux_dir/install.sh -c"
2010 break
2011 elif test -f $ac_dir/shtool; then
2012 ac_aux_dir=$ac_dir
2013 ac_install_sh="$ac_aux_dir/shtool install -c"
2014 break
2015 fi
2016done
2017if test -z "$ac_aux_dir"; then
2018 { { echo "$as_me:2018: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2019echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2020 { (exit 1); exit 1; }; }
2021fi
2022ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2023ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2024ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2025
2026# Find a good install program. We prefer a C program (faster),
2027# so one script is as good as another. But avoid the broken or
2028# incompatible versions:
2029# SysV /etc/install, /usr/sbin/install
2030# SunOS /usr/etc/install
2031# IRIX /sbin/install
2032# AIX /bin/install
2033# AmigaOS /C/install, which installs bootblocks on floppy discs
2034# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2035# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2036# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2037# ./install, which can be erroneously created by make from ./install.sh.
2038echo "$as_me:2038: checking for a BSD compatible install" >&5
2039echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2040if test -z "$INSTALL"; then
2041if test "${ac_cv_path_install+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2043else
2044 ac_save_IFS=$IFS; IFS=$ac_path_separator
2045 for ac_dir in $PATH; do
2046 IFS=$ac_save_IFS
2047 # Account for people who put trailing slashes in PATH elements.
2048 case $ac_dir/ in
2049 / | ./ | .// | /cC/* \
2050 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2051 | /usr/ucb/* ) ;;
2052 *)
2053 # OSF1 and SCO ODT 3.0 have their own names for install.
2054 # Don't use installbsd from OSF since it installs stuff as root
2055 # by default.
2056 for ac_prog in ginstall scoinst install; do
2057 if $as_executable_p "$ac_dir/$ac_prog"; then
2058 if test $ac_prog = install &&
2059 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2060 # AIX install. It has an incompatible calling convention.
2061 :
2062 elif test $ac_prog = install &&
2063 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2064 # program-specific install script used by HP pwplus--don't use.
2065 :
2066 else
2067 ac_cv_path_install="$ac_dir/$ac_prog -c"
2068 break 2
2069 fi
2070 fi
2071 done
2072 ;;
2073 esac
2074 done
2075
2076fi
2077 if test "${ac_cv_path_install+set}" = set; then
2078 INSTALL=$ac_cv_path_install
2079 else
2080 # As a last resort, use the slow shell script. We don't cache a
2081 # path for INSTALL within a source directory, because that will
2082 # break other packages using the cache if that directory is
2083 # removed, or if the path is relative.
2084 INSTALL=$ac_install_sh
2085 fi
2086fi
2087echo "$as_me:2087: result: $INSTALL" >&5
2088echo "${ECHO_T}$INSTALL" >&6
2089
2090# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2091# It thinks the first close brace ends the variable substitution.
2092test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2093
2094test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2095
2096test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2097
2098echo "$as_me:2098: checking whether ln -s works" >&5
2099echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2100LN_S=$as_ln_s
2101if test "$LN_S" = "ln -s"; then
2102 echo "$as_me:2102: result: yes" >&5
2103echo "${ECHO_T}yes" >&6
2104else
2105 echo "$as_me:2105: result: no, using $LN_S" >&5
2106echo "${ECHO_T}no, using $LN_S" >&6
2107fi
2108
2109echo "$as_me:2109: checking whether ${MAKE-make} sets \${MAKE}" >&5
2110echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2111set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2112if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2114else
2115 cat >conftest.make <<\EOF
2116all:
2117 @echo 'ac_maketemp="${MAKE}"'
2118EOF
2119# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2120eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2121if test -n "$ac_maketemp"; then
2122 eval ac_cv_prog_make_${ac_make}_set=yes
2123else
2124 eval ac_cv_prog_make_${ac_make}_set=no
2125fi
2126rm -f conftest.make
2127fi
2128if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2129 echo "$as_me:2129: result: yes" >&5
2130echo "${ECHO_T}yes" >&6
2131 SET_MAKE=
2132else
2133 echo "$as_me:2133: result: no" >&5
2134echo "${ECHO_T}no" >&6
2135 SET_MAKE="MAKE=${MAKE-make}"
2136fi
2137
2138if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2140set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2141echo "$as_me:2141: checking for $ac_word" >&5
2142echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143if test "${ac_cv_prog_RANLIB+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145else
2146 if test -n "$RANLIB"; then
2147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2148else
2149 ac_save_IFS=$IFS; IFS=$ac_path_separator
2150ac_dummy="$PATH"
2151for ac_dir in $ac_dummy; do
2152 IFS=$ac_save_IFS
2153 test -z "$ac_dir" && ac_dir=.
2154 $as_executable_p "$ac_dir/$ac_word" || continue
2155ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2156echo "$as_me:2156: found $ac_dir/$ac_word" >&5
2157break
2158done
2159
2160fi
2161fi
2162RANLIB=$ac_cv_prog_RANLIB
2163if test -n "$RANLIB"; then
2164 echo "$as_me:2164: result: $RANLIB" >&5
2165echo "${ECHO_T}$RANLIB" >&6
2166else
2167 echo "$as_me:2167: result: no" >&5
2168echo "${ECHO_T}no" >&6
2169fi
2170
2171fi
2172if test -z "$ac_cv_prog_RANLIB"; then
2173 ac_ct_RANLIB=$RANLIB
2174 # Extract the first word of "ranlib", so it can be a program name with args.
2175set dummy ranlib; ac_word=$2
2176echo "$as_me:2176: checking for $ac_word" >&5
2177echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2178if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2180else
2181 if test -n "$ac_ct_RANLIB"; then
2182 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2183else
2184 ac_save_IFS=$IFS; IFS=$ac_path_separator
2185ac_dummy="$PATH"
2186for ac_dir in $ac_dummy; do
2187 IFS=$ac_save_IFS
2188 test -z "$ac_dir" && ac_dir=.
2189 $as_executable_p "$ac_dir/$ac_word" || continue
2190ac_cv_prog_ac_ct_RANLIB="ranlib"
2191echo "$as_me:2191: found $ac_dir/$ac_word" >&5
2192break
2193done
2194
2195 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2196fi
2197fi
2198ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2199if test -n "$ac_ct_RANLIB"; then
2200 echo "$as_me:2200: result: $ac_ct_RANLIB" >&5
2201echo "${ECHO_T}$ac_ct_RANLIB" >&6
2202else
2203 echo "$as_me:2203: result: no" >&5
2204echo "${ECHO_T}no" >&6
2205fi
2206
2207 RANLIB=$ac_ct_RANLIB
2208else
2209 RANLIB="$ac_cv_prog_RANLIB"
2210fi
2211
2212ac_ext=c
2213ac_cpp='$CPP $CPPFLAGS'
2214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216ac_compiler_gnu=$ac_cv_c_compiler_gnu
2217echo "$as_me:2217: checking how to run the C preprocessor" >&5
2218echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2219# On Suns, sometimes $CPP names a directory.
2220if test -n "$CPP" && test -d "$CPP"; then
2221 CPP=
2222fi
2223if test -z "$CPP"; then
2224 if test "${ac_cv_prog_CPP+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2226else
2227 # Double quotes because CPP needs to be expanded
2228 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2229 do
2230 # break 2 since there is a loop in there.
2231 ac_preproc_ok=false
2232for ac_c_preproc_warn_flag in '' yes
2233do
2234 # Use a header file that comes with gcc, so configuring glibc
2235 # with a fresh cross-compiler works.
2236 # On the NeXT, cc -E runs the code through the compiler's parser,
2237 # not just through cpp. "Syntax error" is here to catch this case.
2238 cat >conftest.$ac_ext <<_ACEOF
2239#line 2239 "configure"
2240#include "confdefs.h"
2241#include <assert.h>
2242 Syntax error
2243_ACEOF
2244if { (eval echo "$as_me:2244: \"$ac_cpp conftest.$ac_ext\"") >&5
2245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2246 ac_status=$?
2247 egrep -v '^ *\+' conftest.er1 >conftest.err
2248 rm -f conftest.er1
2249 cat conftest.err >&5
2250 echo "$as_me:2250: \$? = $ac_status" >&5
2251 (exit $ac_status); } >/dev/null; then
2252 if test -s conftest.err; then
2253 ac_cpp_err=$ac_c_preproc_warn_flag
2254 else
2255 ac_cpp_err=
2256 fi
2257else
2258 ac_cpp_err=yes
2259fi
2260if test -z "$ac_cpp_err"; then
2261 :
2262else
2263 echo "$as_me: failed program was:" >&5
2264 cat conftest.$ac_ext >&5
2265 # Broken: fails on valid input.
2266continue
2267fi
2268rm -f conftest.err conftest.$ac_ext
2269
2270 # OK, works on sane cases. Now check whether non-existent headers
2271 # can be detected and how.
2272 cat >conftest.$ac_ext <<_ACEOF
2273#line 2273 "configure"
2274#include "confdefs.h"
2275#include <ac_nonexistent.h>
2276_ACEOF
2277if { (eval echo "$as_me:2277: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 ac_status=$?
2280 egrep -v '^ *\+' conftest.er1 >conftest.err
2281 rm -f conftest.er1
2282 cat conftest.err >&5
2283 echo "$as_me:2283: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev/null; then
2285 if test -s conftest.err; then
2286 ac_cpp_err=$ac_c_preproc_warn_flag
2287 else
2288 ac_cpp_err=
2289 fi
2290else
2291 ac_cpp_err=yes
2292fi
2293if test -z "$ac_cpp_err"; then
2294 # Broken: success on invalid input.
2295continue
2296else
2297 echo "$as_me: failed program was:" >&5
2298 cat conftest.$ac_ext >&5
2299 # Passes both tests.
2300ac_preproc_ok=:
2301break
2302fi
2303rm -f conftest.err conftest.$ac_ext
2304
2305done
2306# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2307rm -f conftest.err conftest.$ac_ext
2308if $ac_preproc_ok; then
2309 break 2
2310fi
2311
2312 done
2313 ac_cv_prog_CPP=$CPP
2314
2315fi
2316 CPP=$ac_cv_prog_CPP
2317else
2318 ac_cv_prog_CPP=$CPP
2319fi
2320echo "$as_me:2320: result: $CPP" >&5
2321echo "${ECHO_T}$CPP" >&6
2322ac_preproc_ok=false
2323for ac_c_preproc_warn_flag in '' yes
2324do
2325 # Use a header file that comes with gcc, so configuring glibc
2326 # with a fresh cross-compiler works.
2327 # On the NeXT, cc -E runs the code through the compiler's parser,
2328 # not just through cpp. "Syntax error" is here to catch this case.
2329 cat >conftest.$ac_ext <<_ACEOF
2330#line 2330 "configure"
2331#include "confdefs.h"
2332#include <assert.h>
2333 Syntax error
2334_ACEOF
2335if { (eval echo "$as_me:2335: \"$ac_cpp conftest.$ac_ext\"") >&5
2336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2337 ac_status=$?
2338 egrep -v '^ *\+' conftest.er1 >conftest.err
2339 rm -f conftest.er1
2340 cat conftest.err >&5
2341 echo "$as_me:2341: \$? = $ac_status" >&5
2342 (exit $ac_status); } >/dev/null; then
2343 if test -s conftest.err; then
2344 ac_cpp_err=$ac_c_preproc_warn_flag
2345 else
2346 ac_cpp_err=
2347 fi
2348else
2349 ac_cpp_err=yes
2350fi
2351if test -z "$ac_cpp_err"; then
2352 :
2353else
2354 echo "$as_me: failed program was:" >&5
2355 cat conftest.$ac_ext >&5
2356 # Broken: fails on valid input.
2357continue
2358fi
2359rm -f conftest.err conftest.$ac_ext
2360
2361 # OK, works on sane cases. Now check whether non-existent headers
2362 # can be detected and how.
2363 cat >conftest.$ac_ext <<_ACEOF
2364#line 2364 "configure"
2365#include "confdefs.h"
2366#include <ac_nonexistent.h>
2367_ACEOF
2368if { (eval echo "$as_me:2368: \"$ac_cpp conftest.$ac_ext\"") >&5
2369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2370 ac_status=$?
2371 egrep -v '^ *\+' conftest.er1 >conftest.err
2372 rm -f conftest.er1
2373 cat conftest.err >&5
2374 echo "$as_me:2374: \$? = $ac_status" >&5
2375 (exit $ac_status); } >/dev/null; then
2376 if test -s conftest.err; then
2377 ac_cpp_err=$ac_c_preproc_warn_flag
2378 else
2379 ac_cpp_err=
2380 fi
2381else
2382 ac_cpp_err=yes
2383fi
2384if test -z "$ac_cpp_err"; then
2385 # Broken: success on invalid input.
2386continue
2387else
2388 echo "$as_me: failed program was:" >&5
2389 cat conftest.$ac_ext >&5
2390 # Passes both tests.
2391ac_preproc_ok=:
2392break
2393fi
2394rm -f conftest.err conftest.$ac_ext
2395
2396done
2397# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2398rm -f conftest.err conftest.$ac_ext
2399if $ac_preproc_ok; then
2400 :
2401else
2402 { { echo "$as_me:2402: error: C preprocessor \"$CPP\" fails sanity check" >&5
2403echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2404 { (exit 1); exit 1; }; }
2405fi
2406
2407ac_ext=c
2408ac_cpp='$CPP $CPPFLAGS'
2409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411ac_compiler_gnu=$ac_cv_c_compiler_gnu
2412
2413echo "$as_me:2413: checking for AIX" >&5
2414echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2415cat >conftest.$ac_ext <<_ACEOF
2416#line 2416 "configure"
2417#include "confdefs.h"
2418#ifdef _AIX
2419 yes
2420#endif
2421
2422_ACEOF
2423if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2424 egrep "yes" >/dev/null 2>&1; then
2425 echo "$as_me:2425: result: yes" >&5
2426echo "${ECHO_T}yes" >&6
2427cat >>confdefs.h <<\EOF
2428#define _ALL_SOURCE 1
2429EOF
2430
2431else
2432 echo "$as_me:2432: result: no" >&5
2433echo "${ECHO_T}no" >&6
2434fi
2435rm -f conftest*
2436
2437echo "$as_me:2437: checking for POSIXized ISC" >&5
2438echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
2439if test -d /etc/conf/kconfig.d &&
2440 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
2441then
2442 echo "$as_me:2442: result: yes" >&5
2443echo "${ECHO_T}yes" >&6
2444 ISC=yes # If later tests want to check for ISC.
2445
2446cat >>confdefs.h <<\EOF
2447#define _POSIX_SOURCE 1
2448EOF
2449
2450 if test "$GCC" = yes; then
2451 CC="$CC -posix"
2452 else
2453 CC="$CC -Xp"
2454 fi
2455else
2456 echo "$as_me:2456: result: no" >&5
2457echo "${ECHO_T}no" >&6
2458 ISC=
2459fi
2460
2461echo "$as_me:2461: checking for minix/config.h" >&5
2462echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2463if test "${ac_cv_header_minix_config_h+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2465else
2466 cat >conftest.$ac_ext <<_ACEOF
2467#line 2467 "configure"
2468#include "confdefs.h"
2469#include <minix/config.h>
2470_ACEOF
2471if { (eval echo "$as_me:2471: \"$ac_cpp conftest.$ac_ext\"") >&5
2472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2473 ac_status=$?
2474 egrep -v '^ *\+' conftest.er1 >conftest.err
2475 rm -f conftest.er1
2476 cat conftest.err >&5
2477 echo "$as_me:2477: \$? = $ac_status" >&5
2478 (exit $ac_status); } >/dev/null; then
2479 if test -s conftest.err; then
2480 ac_cpp_err=$ac_c_preproc_warn_flag
2481 else
2482 ac_cpp_err=
2483 fi
2484else
2485 ac_cpp_err=yes
2486fi
2487if test -z "$ac_cpp_err"; then
2488 ac_cv_header_minix_config_h=yes
2489else
2490 echo "$as_me: failed program was:" >&5
2491 cat conftest.$ac_ext >&5
2492 ac_cv_header_minix_config_h=no
2493fi
2494rm -f conftest.err conftest.$ac_ext
2495fi
2496echo "$as_me:2496: result: $ac_cv_header_minix_config_h" >&5
2497echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2498if test $ac_cv_header_minix_config_h = yes; then
2499 MINIX=yes
2500else
2501 MINIX=
2502fi
2503
2504if test "$MINIX" = yes; then
2505
2506cat >>confdefs.h <<\EOF
2507#define _POSIX_SOURCE 1
2508EOF
2509
2510cat >>confdefs.h <<\EOF
2511#define _POSIX_1_SOURCE 2
2512EOF
2513
2514cat >>confdefs.h <<\EOF
2515#define _MINIX 1
2516EOF
2517
2518fi
2519
2520echo "$as_me:2520: checking for ${CC-cc} option to accept ANSI C" >&5
2521echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2522if test "${ac_cv_prog_cc_stdc+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2524else
2525 ac_cv_prog_cc_stdc=no
2526ac_save_CFLAGS="$CFLAGS"
2527# Don't try gcc -ansi; that turns off useful extensions and
2528# breaks some systems' header files.
2529# AIX -qlanglvl=ansi
2530# Ultrix and OSF/1 -std1
2531# HP-UX -Aa -D_HPUX_SOURCE
2532# SVR4 -Xc
2533for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
2534do
2535 CFLAGS="$ac_save_CFLAGS $ac_arg"
2536 cat >conftest.$ac_ext <<_ACEOF
2537#line 2537 "configure"
2538#include "confdefs.h"
2539#if !defined(__STDC__) || __STDC__ != 1
2540choke me
2541#endif
2542
2543int
2544main ()
2545{
2546int test (int i, double x);
2547struct s1 {int (*f) (int a);};
2548struct s2 {int (*f) (double a);};
2549 ;
2550 return 0;
2551}
2552_ACEOF
2553rm -f conftest.$ac_objext
2554if { (eval echo "$as_me:2554: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>&5
2556 ac_status=$?
2557 echo "$as_me:2557: \$? = $ac_status" >&5
2558 (exit $ac_status); } &&
2559 { ac_try='test -s conftest.$ac_objext'
2560 { (eval echo "$as_me:2560: \"$ac_try\"") >&5
2561 (eval $ac_try) 2>&5
2562 ac_status=$?
2563 echo "$as_me:2563: \$? = $ac_status" >&5
2564 (exit $ac_status); }; }; then
2565 ac_cv_prog_cc_stdc="$ac_arg"; break
2566else
2567 echo "$as_me: failed program was:" >&5
2568cat conftest.$ac_ext >&5
2569fi
2570rm -f conftest.$ac_objext conftest.$ac_ext
2571done
2572CFLAGS="$ac_save_CFLAGS"
2573
2574fi
2575
2576echo "$as_me:2576: result: $ac_cv_prog_cc_stdc" >&5
2577echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2578case "x$ac_cv_prog_cc_stdc" in
2579 x|xno) ;;
2580 *) CC="$CC $ac_cv_prog_cc_stdc" ;;
2581esac
2582
2583echo "$as_me:2583: checking for function prototypes" >&5
2584echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
2585if test "$ac_cv_prog_cc_stdc" != no; then
2586 echo "$as_me:2586: result: yes" >&5
2587echo "${ECHO_T}yes" >&6
2588 cat >>confdefs.h <<\EOF
2589#define PROTOTYPES 1
2590EOF
2591
2592 U= ANSI2KNR=
2593else
2594 echo "$as_me:2594: result: no" >&5
2595echo "${ECHO_T}no" >&6
2596 U=_ ANSI2KNR=ansi2knr
2597fi
2598
2599echo "$as_me:2599: checking for $CC option to accept ANSI C" >&5
2600echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2601if test "${ac_cv_prog_cc_stdc+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2603else
2604 ac_cv_prog_cc_stdc=no
2605ac_save_CC=$CC
2606cat >conftest.$ac_ext <<_ACEOF
2607#line 2607 "configure"
2608#include "confdefs.h"
2609#include <stdarg.h>
2610#include <stdio.h>
2611#include <sys/types.h>
2612#include <sys/stat.h>
2613/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2614struct buf { int x; };
2615FILE * (*rcsopen) (struct buf *, struct stat *, int);
2616static char *e (p, i)
2617 char **p;
2618 int i;
2619{
2620 return p[i];
2621}
2622static char *f (char * (*g) (char **, int), char **p, ...)
2623{
2624 char *s;
2625 va_list v;
2626 va_start (v,p);
2627 s = g (p, va_arg (v,int));
2628 va_end (v);
2629 return s;
2630}
2631int test (int i, double x);
2632struct s1 {int (*f) (int a);};
2633struct s2 {int (*f) (double a);};
2634int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2635int argc;
2636char **argv;
2637int
2638main ()
2639{
2640return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2641 ;
2642 return 0;
2643}
2644_ACEOF
2645# Don't try gcc -ansi; that turns off useful extensions and
2646# breaks some systems' header files.
2647# AIX -qlanglvl=ansi
2648# Ultrix and OSF/1 -std1
2649# HP-UX 10.20 and later -Ae
2650# HP-UX older versions -Aa -D_HPUX_SOURCE
2651# SVR4 -Xc -D__EXTENSIONS__
2652for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2653do
2654 CC="$ac_save_CC $ac_arg"
2655 rm -f conftest.$ac_objext
2656if { (eval echo "$as_me:2656: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>&5
2658 ac_status=$?
2659 echo "$as_me:2659: \$? = $ac_status" >&5
2660 (exit $ac_status); } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (eval echo "$as_me:2662: \"$ac_try\"") >&5
2663 (eval $ac_try) 2>&5
2664 ac_status=$?
2665 echo "$as_me:2665: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2667 ac_cv_prog_cc_stdc=$ac_arg
2668break
2669else
2670 echo "$as_me: failed program was:" >&5
2671cat conftest.$ac_ext >&5
2672fi
2673rm -f conftest.$ac_objext
2674done
2675rm -f conftest.$ac_ext conftest.$ac_objext
2676CC=$ac_save_CC
2677
2678fi
2679
2680case "x$ac_cv_prog_cc_stdc" in
2681 x|xno)
2682 echo "$as_me:2682: result: none needed" >&5
2683echo "${ECHO_T}none needed" >&6 ;;
2684 *)
2685 echo "$as_me:2685: result: $ac_cv_prog_cc_stdc" >&5
2686echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2687 CC="$CC $ac_cv_prog_cc_stdc" ;;
2688esac
2689
2690echo "$as_me:2690: checking for an ANSI C-conforming const" >&5
2691echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2692if test "${ac_cv_c_const+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2694else
2695 cat >conftest.$ac_ext <<_ACEOF
2696#line 2696 "configure"
2697#include "confdefs.h"
2698
2699int
2700main ()
2701{
2702/* FIXME: Include the comments suggested by Paul. */
2703#ifndef __cplusplus
2704 /* Ultrix mips cc rejects this. */
2705 typedef int charset[2];
2706 const charset x;
2707 /* SunOS 4.1.1 cc rejects this. */
2708 char const *const *ccp;
2709 char **p;
2710 /* NEC SVR4.0.2 mips cc rejects this. */
2711 struct point {int x, y;};
2712 static struct point const zero = {0,0};
2713 /* AIX XL C 1.02.0.0 rejects this.
2714 It does not let you subtract one const X* pointer from another in
2715 an arm of an if-expression whose if-part is not a constant
2716 expression */
2717 const char *g = "string";
2718 ccp = &g + (g ? g-g : 0);
2719 /* HPUX 7.0 cc rejects these. */
2720 ++ccp;
2721 p = (char**) ccp;
2722 ccp = (char const *const *) p;
2723 { /* SCO 3.2v4 cc rejects this. */
2724 char *t;
2725 char const *s = 0 ? (char *) 0 : (char const *) 0;
2726
2727 *t++ = 0;
2728 }
2729 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2730 int x[] = {25, 17};
2731 const int *foo = &x[0];
2732 ++foo;
2733 }
2734 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2735 typedef const int *iptr;
2736 iptr p = 0;
2737 ++p;
2738 }
2739 { /* AIX XL C 1.02.0.0 rejects this saying
2740 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2741 struct s { int j; const int *ap[3]; };
2742 struct s *b; b->j = 5;
2743 }
2744 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2745 const int foo = 10;
2746 }
2747#endif
2748
2749 ;
2750 return 0;
2751}
2752_ACEOF
2753rm -f conftest.$ac_objext
2754if { (eval echo "$as_me:2754: \"$ac_compile\"") >&5
2755 (eval $ac_compile) 2>&5
2756 ac_status=$?
2757 echo "$as_me:2757: \$? = $ac_status" >&5
2758 (exit $ac_status); } &&
2759 { ac_try='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:2760: \"$ac_try\"") >&5
2761 (eval $ac_try) 2>&5
2762 ac_status=$?
2763 echo "$as_me:2763: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2765 ac_cv_c_const=yes
2766else
2767 echo "$as_me: failed program was:" >&5
2768cat conftest.$ac_ext >&5
2769ac_cv_c_const=no
2770fi
2771rm -f conftest.$ac_objext conftest.$ac_ext
2772fi
2773echo "$as_me:2773: result: $ac_cv_c_const" >&5
2774echo "${ECHO_T}$ac_cv_c_const" >&6
2775if test $ac_cv_c_const = no; then
2776
2777cat >>confdefs.h <<\EOF
2778#define const
2779EOF
2780
2781fi
2782
2783echo "$as_me:2783: checking for ANSI C header files" >&5
2784echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2785if test "${ac_cv_header_stdc+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2787else
2788 cat >conftest.$ac_ext <<_ACEOF
2789#line 2789 "configure"
2790#include "confdefs.h"
2791#include <stdlib.h>
2792#include <stdarg.h>
2793#include <string.h>
2794#include <float.h>
2795
2796_ACEOF
2797if { (eval echo "$as_me:2797: \"$ac_cpp conftest.$ac_ext\"") >&5
2798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2799 ac_status=$?
2800 egrep -v '^ *\+' conftest.er1 >conftest.err
2801 rm -f conftest.er1
2802 cat conftest.err >&5
2803 echo "$as_me:2803: \$? = $ac_status" >&5
2804 (exit $ac_status); } >/dev/null; then
2805 if test -s conftest.err; then
2806 ac_cpp_err=$ac_c_preproc_warn_flag
2807 else
2808 ac_cpp_err=
2809 fi
2810else
2811 ac_cpp_err=yes
2812fi
2813if test -z "$ac_cpp_err"; then
2814 ac_cv_header_stdc=yes
2815else
2816 echo "$as_me: failed program was:" >&5
2817 cat conftest.$ac_ext >&5
2818 ac_cv_header_stdc=no
2819fi
2820rm -f conftest.err conftest.$ac_ext
2821
2822if test $ac_cv_header_stdc = yes; then
2823 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2824 cat >conftest.$ac_ext <<_ACEOF
2825#line 2825 "configure"
2826#include "confdefs.h"
2827#include <string.h>
2828
2829_ACEOF
2830if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2831 egrep "memchr" >/dev/null 2>&1; then
2832 :
2833else
2834 ac_cv_header_stdc=no
2835fi
2836rm -f conftest*
2837
2838fi
2839
2840if test $ac_cv_header_stdc = yes; then
2841 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2842 cat >conftest.$ac_ext <<_ACEOF
2843#line 2843 "configure"
2844#include "confdefs.h"
2845#include <stdlib.h>
2846
2847_ACEOF
2848if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2849 egrep "free" >/dev/null 2>&1; then
2850 :
2851else
2852 ac_cv_header_stdc=no
2853fi
2854rm -f conftest*
2855
2856fi
2857
2858if test $ac_cv_header_stdc = yes; then
2859 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2860 if test "$cross_compiling" = yes; then
2861 :
2862else
2863 cat >conftest.$ac_ext <<_ACEOF
2864#line 2864 "configure"
2865#include "confdefs.h"
2866#include <ctype.h>
2867#if ((' ' & 0x0FF) == 0x020)
2868# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2869# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2870#else
2871# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2872 || ('j' <= (c) && (c) <= 'r') \
2873 || ('s' <= (c) && (c) <= 'z'))
2874# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2875#endif
2876
2877#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2878int
2879main ()
2880{
2881 int i;
2882 for (i = 0; i < 256; i++)
2883 if (XOR (islower (i), ISLOWER (i))
2884 || toupper (i) != TOUPPER (i))
2885 exit(2);
2886 exit (0);
2887}
2888_ACEOF
2889rm -f conftest$ac_exeext
2890if { (eval echo "$as_me:2890: \"$ac_link\"") >&5
2891 (eval $ac_link) 2>&5
2892 ac_status=$?
2893 echo "$as_me:2893: \$? = $ac_status" >&5
2894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2895 { (eval echo "$as_me:2895: \"$ac_try\"") >&5
2896 (eval $ac_try) 2>&5
2897 ac_status=$?
2898 echo "$as_me:2898: \$? = $ac_status" >&5
2899 (exit $ac_status); }; }; then
2900 :
2901else
2902 echo "$as_me: program exited with status $ac_status" >&5
2903echo "$as_me: failed program was:" >&5
2904cat conftest.$ac_ext >&5
2905ac_cv_header_stdc=no
2906fi
2907rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
2908fi
2909fi
2910fi
2911echo "$as_me:2911: result: $ac_cv_header_stdc" >&5
2912echo "${ECHO_T}$ac_cv_header_stdc" >&6
2913if test $ac_cv_header_stdc = yes; then
2914
2915cat >>confdefs.h <<\EOF
2916#define STDC_HEADERS 1
2917EOF
2918
2919fi
2920
2921for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h
2922do
2923ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
2924echo "$as_me:2924: checking for $ac_header" >&5
2925echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2926if eval "test \"\${$ac_ac_Header+set}\" = set"; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2928else
2929 cat >conftest.$ac_ext <<_ACEOF
2930#line 2930 "configure"
2931#include "confdefs.h"
2932#include <$ac_header>
2933_ACEOF
2934if { (eval echo "$as_me:2934: \"$ac_cpp conftest.$ac_ext\"") >&5
2935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2936 ac_status=$?
2937 egrep -v '^ *\+' conftest.er1 >conftest.err
2938 rm -f conftest.er1
2939 cat conftest.err >&5
2940 echo "$as_me:2940: \$? = $ac_status" >&5
2941 (exit $ac_status); } >/dev/null; then
2942 if test -s conftest.err; then
2943 ac_cpp_err=$ac_c_preproc_warn_flag
2944 else
2945 ac_cpp_err=
2946 fi
2947else
2948 ac_cpp_err=yes
2949fi
2950if test -z "$ac_cpp_err"; then
2951 eval "$ac_ac_Header=yes"
2952else
2953 echo "$as_me: failed program was:" >&5
2954 cat conftest.$ac_ext >&5
2955 eval "$ac_ac_Header=no"
2956fi
2957rm -f conftest.err conftest.$ac_ext
2958fi
2959echo "$as_me:2959: result: `eval echo '${'$ac_ac_Header'}'`" >&5
2960echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
2961if test `eval echo '${'$ac_ac_Header'}'` = yes; then
2962 cat >>confdefs.h <<EOF
2963#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
2964EOF
2965
2966fi
2967done
2968
2969echo "$as_me:2969: checking for off_t" >&5
2970echo $ECHO_N "checking for off_t... $ECHO_C" >&6
2971if test "${ac_cv_type_off_t+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2973else
2974 cat >conftest.$ac_ext <<_ACEOF
2975#line 2975 "configure"
2976#include "confdefs.h"
2977$ac_includes_default
2978int
2979main ()
2980{
2981if ((off_t *) 0)
2982 return 0;
2983if (sizeof (off_t))
2984 return 0;
2985 ;
2986 return 0;
2987}
2988_ACEOF
2989rm -f conftest.$ac_objext
2990if { (eval echo "$as_me:2990: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>&5
2992 ac_status=$?
2993 echo "$as_me:2993: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:2996: \"$ac_try\"") >&5
2997 (eval $ac_try) 2>&5
2998 ac_status=$?
2999 echo "$as_me:2999: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3001 ac_cv_type_off_t=yes
3002else
3003 echo "$as_me: failed program was:" >&5
3004cat conftest.$ac_ext >&5
3005ac_cv_type_off_t=no
3006fi
3007rm -f conftest.$ac_objext conftest.$ac_ext
3008fi
3009echo "$as_me:3009: result: $ac_cv_type_off_t" >&5
3010echo "${ECHO_T}$ac_cv_type_off_t" >&6
3011if test $ac_cv_type_off_t = yes; then
3012 :
3013else
3014
3015cat >>confdefs.h <<EOF
3016#define off_t long
3017EOF
3018
3019fi
3020
3021echo "$as_me:3021: checking for size_t" >&5
3022echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3023if test "${ac_cv_type_size_t+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3025else
3026 cat >conftest.$ac_ext <<_ACEOF
3027#line 3027 "configure"
3028#include "confdefs.h"
3029$ac_includes_default
3030int
3031main ()
3032{
3033if ((size_t *) 0)
3034 return 0;
3035if (sizeof (size_t))
3036 return 0;
3037 ;
3038 return 0;
3039}
3040_ACEOF
3041rm -f conftest.$ac_objext
3042if { (eval echo "$as_me:3042: \"$ac_compile\"") >&5
3043 (eval $ac_compile) 2>&5
3044 ac_status=$?
3045 echo "$as_me:3045: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try='test -s conftest.$ac_objext'
3048 { (eval echo "$as_me:3048: \"$ac_try\"") >&5
3049 (eval $ac_try) 2>&5
3050 ac_status=$?
3051 echo "$as_me:3051: \$? = $ac_status" >&5
3052 (exit $ac_status); }; }; then
3053 ac_cv_type_size_t=yes
3054else
3055 echo "$as_me: failed program was:" >&5
3056cat conftest.$ac_ext >&5
3057ac_cv_type_size_t=no
3058fi
3059rm -f conftest.$ac_objext conftest.$ac_ext
3060fi
3061echo "$as_me:3061: result: $ac_cv_type_size_t" >&5
3062echo "${ECHO_T}$ac_cv_type_size_t" >&6
3063if test $ac_cv_type_size_t = yes; then
3064 :
3065else
3066
3067cat >>confdefs.h <<EOF
3068#define size_t unsigned
3069EOF
3070
3071fi
3072
3073echo "$as_me:3073: checking whether time.h and sys/time.h may both be included" >&5
3074echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3075if test "${ac_cv_header_time+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3077else
3078 cat >conftest.$ac_ext <<_ACEOF
3079#line 3079 "configure"
3080#include "confdefs.h"
3081#include <sys/types.h>
3082#include <sys/time.h>
3083#include <time.h>
3084
3085int
3086main ()
3087{
3088struct tm *tp;
3089 ;
3090 return 0;
3091}
3092_ACEOF
3093rm -f conftest.$ac_objext
3094if { (eval echo "$as_me:3094: \"$ac_compile\"") >&5
3095 (eval $ac_compile) 2>&5
3096 ac_status=$?
3097 echo "$as_me:3097: \$? = $ac_status" >&5
3098 (exit $ac_status); } &&
3099 { ac_try='test -s conftest.$ac_objext'
3100 { (eval echo "$as_me:3100: \"$ac_try\"") >&5
3101 (eval $ac_try) 2>&5
3102 ac_status=$?
3103 echo "$as_me:3103: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3105 ac_cv_header_time=yes
3106else
3107 echo "$as_me: failed program was:" >&5
3108cat conftest.$ac_ext >&5
3109ac_cv_header_time=no
3110fi
3111rm -f conftest.$ac_objext conftest.$ac_ext
3112fi
3113echo "$as_me:3113: result: $ac_cv_header_time" >&5
3114echo "${ECHO_T}$ac_cv_header_time" >&6
3115if test $ac_cv_header_time = yes; then
3116
3117cat >>confdefs.h <<\EOF
3118#define TIME_WITH_SYS_TIME 1
3119EOF
3120
3121fi
3122
3123echo "$as_me:3123: checking whether struct tm is in sys/time.h or time.h" >&5
3124echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3125if test "${ac_cv_struct_tm+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3127else
3128 cat >conftest.$ac_ext <<_ACEOF
3129#line 3129 "configure"
3130#include "confdefs.h"
3131#include <sys/types.h>
3132#include <time.h>
3133
3134int
3135main ()
3136{
3137struct tm *tp; tp->tm_sec;
3138 ;
3139 return 0;
3140}
3141_ACEOF
3142rm -f conftest.$ac_objext
3143if { (eval echo "$as_me:3143: \"$ac_compile\"") >&5
3144 (eval $ac_compile) 2>&5
3145 ac_status=$?
3146 echo "$as_me:3146: \$? = $ac_status" >&5
3147 (exit $ac_status); } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:3149: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:3152: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_cv_struct_tm=time.h
3155else
3156 echo "$as_me: failed program was:" >&5
3157cat conftest.$ac_ext >&5
3158ac_cv_struct_tm=sys/time.h
3159fi
3160rm -f conftest.$ac_objext conftest.$ac_ext
3161fi
3162echo "$as_me:3162: result: $ac_cv_struct_tm" >&5
3163echo "${ECHO_T}$ac_cv_struct_tm" >&6
3164if test $ac_cv_struct_tm = sys/time.h; then
3165
3166cat >>confdefs.h <<\EOF
3167#define TM_IN_SYS_TIME 1
3168EOF
3169
3170fi
3171
3172if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
3173cat >conftest.$ac_ext <<_ACEOF
3174#line 3174 "configure"
3175#include "confdefs.h"
3176#include <stdio.h>
3177
3178int
3179main ()
3180{
3181 FILE *rubbish = popen("yes", "r");
3182 ;
3183 return 0;
3184}
3185_ACEOF
3186rm -f conftest.$ac_objext
3187if { (eval echo "$as_me:3187: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>&5
3189 ac_status=$?
3190 echo "$as_me:3190: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:3193: \"$ac_try\"") >&5
3194 (eval $ac_try) 2>&5
3195 ac_status=$?
3196 echo "$as_me:3196: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3198 :
3199else
3200 echo "$as_me: failed program was:" >&5
3201cat conftest.$ac_ext >&5
3202CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
3203fi
3204rm -f conftest.$ac_objext conftest.$ac_ext
3205fi
3206
3207echo "$as_me:3207: checking for main in -lg" >&5
3208echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
3209if test "${ac_cv_lib_g_main+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3211else
3212 ac_check_lib_save_LIBS=$LIBS
3213LIBS="-lg $LIBS"
3214cat >conftest.$ac_ext <<_ACEOF
3215#line 3215 "configure"
3216#include "confdefs.h"
3217
3218int
3219main ()
3220{
3221main ();
3222 ;
3223 return 0;
3224}
3225_ACEOF
3226rm -f conftest.$ac_objext conftest$ac_exeext
3227if { (eval echo "$as_me:3227: \"$ac_link\"") >&5
3228 (eval $ac_link) 2>&5
3229 ac_status=$?
3230 echo "$as_me:3230: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try='test -s conftest$ac_exeext'
3233 { (eval echo "$as_me:3233: \"$ac_try\"") >&5
3234 (eval $ac_try) 2>&5
3235 ac_status=$?
3236 echo "$as_me:3236: \$? = $ac_status" >&5
3237 (exit $ac_status); }; }; then
3238 ac_cv_lib_g_main=yes
3239else
3240 echo "$as_me: failed program was:" >&5
3241cat conftest.$ac_ext >&5
3242ac_cv_lib_g_main=no
3243fi
3244rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3245LIBS=$ac_check_lib_save_LIBS
3246fi
3247echo "$as_me:3247: result: $ac_cv_lib_g_main" >&5
3248echo "${ECHO_T}$ac_cv_lib_g_main" >&6
3249if test $ac_cv_lib_g_main = yes; then
3250 cat >>confdefs.h <<EOF
3251#define HAVE_LIBG 1
3252EOF
3253
3254 LIBS="-lg $LIBS"
3255
3256fi
3257
3258echo "$as_me:3258: checking for main in -lgdbm" >&5
3259echo $ECHO_N "checking for main in -lgdbm... $ECHO_C" >&6
3260if test "${ac_cv_lib_gdbm_main+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3262else
3263 ac_check_lib_save_LIBS=$LIBS
3264LIBS="-lgdbm $LIBS"
3265cat >conftest.$ac_ext <<_ACEOF
3266#line 3266 "configure"
3267#include "confdefs.h"
3268
3269int
3270main ()
3271{
3272main ();
3273 ;
3274 return 0;
3275}
3276_ACEOF
3277rm -f conftest.$ac_objext conftest$ac_exeext
3278if { (eval echo "$as_me:3278: \"$ac_link\"") >&5
3279 (eval $ac_link) 2>&5
3280 ac_status=$?
3281 echo "$as_me:3281: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -s conftest$ac_exeext'
3284 { (eval echo "$as_me:3284: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:3287: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 ac_cv_lib_gdbm_main=yes
3290else
3291 echo "$as_me: failed program was:" >&5
3292cat conftest.$ac_ext >&5
3293ac_cv_lib_gdbm_main=no
3294fi
3295rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3296LIBS=$ac_check_lib_save_LIBS
3297fi
3298echo "$as_me:3298: result: $ac_cv_lib_gdbm_main" >&5
3299echo "${ECHO_T}$ac_cv_lib_gdbm_main" >&6
3300if test $ac_cv_lib_gdbm_main = yes; then
3301 cat >>confdefs.h <<EOF
3302#define HAVE_LIBGDBM 1
3303EOF
3304
3305 LIBS="-lgdbm $LIBS"
3306
3307fi
3308
3309echo "$as_me:3309: checking for main in -lm" >&5
3310echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3311if test "${ac_cv_lib_m_main+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3313else
3314 ac_check_lib_save_LIBS=$LIBS
3315LIBS="-lm $LIBS"
3316cat >conftest.$ac_ext <<_ACEOF
3317#line 3317 "configure"
3318#include "confdefs.h"
3319
3320int
3321main ()
3322{
3323main ();
3324 ;
3325 return 0;
3326}
3327_ACEOF
3328rm -f conftest.$ac_objext conftest$ac_exeext
3329if { (eval echo "$as_me:3329: \"$ac_link\"") >&5
3330 (eval $ac_link) 2>&5
3331 ac_status=$?
3332 echo "$as_me:3332: \$? = $ac_status" >&5
3333 (exit $ac_status); } &&
3334 { ac_try='test -s conftest$ac_exeext'
3335 { (eval echo "$as_me:3335: \"$ac_try\"") >&5
3336 (eval $ac_try) 2>&5
3337 ac_status=$?
3338 echo "$as_me:3338: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3340 ac_cv_lib_m_main=yes
3341else
3342 echo "$as_me: failed program was:" >&5
3343cat conftest.$ac_ext >&5
3344ac_cv_lib_m_main=no
3345fi
3346rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3347LIBS=$ac_check_lib_save_LIBS
3348fi
3349echo "$as_me:3349: result: $ac_cv_lib_m_main" >&5
3350echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3351if test $ac_cv_lib_m_main = yes; then
3352 cat >>confdefs.h <<EOF
3353#define HAVE_LIBM 1
3354EOF
3355
3356 LIBS="-lm $LIBS"
3357
3358fi
3359
3360echo "$as_me:3360: checking for main in -lstdc++" >&5
3361echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
3362if test "${ac_cv_lib_stdcpp_main+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3364else
3365 ac_check_lib_save_LIBS=$LIBS
3366LIBS="-lstdc++ $LIBS"
3367cat >conftest.$ac_ext <<_ACEOF
3368#line 3368 "configure"
3369#include "confdefs.h"
3370
3371int
3372main ()
3373{
3374main ();
3375 ;
3376 return 0;
3377}
3378_ACEOF
3379rm -f conftest.$ac_objext conftest$ac_exeext
3380if { (eval echo "$as_me:3380: \"$ac_link\"") >&5
3381 (eval $ac_link) 2>&5
3382 ac_status=$?
3383 echo "$as_me:3383: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try='test -s conftest$ac_exeext'
3386 { (eval echo "$as_me:3386: \"$ac_try\"") >&5
3387 (eval $ac_try) 2>&5
3388 ac_status=$?
3389 echo "$as_me:3389: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 ac_cv_lib_stdcpp_main=yes
3392else
3393 echo "$as_me: failed program was:" >&5
3394cat conftest.$ac_ext >&5
3395ac_cv_lib_stdcpp_main=no
3396fi
3397rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3398LIBS=$ac_check_lib_save_LIBS
3399fi
3400echo "$as_me:3400: result: $ac_cv_lib_stdcpp_main" >&5
3401echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
3402if test $ac_cv_lib_stdcpp_main = yes; then
3403 cat >>confdefs.h <<EOF
3404#define HAVE_LIBSTDC__ 1
3405EOF
3406
3407 LIBS="-lstdc++ $LIBS"
3408
3409fi
3410
3411echo "$as_me:3411: checking for main in -lcrypt" >&5
3412echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
3413if test "${ac_cv_lib_crypt_main+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3415else
3416 ac_check_lib_save_LIBS=$LIBS
3417LIBS="-lcrypt $LIBS"
3418cat >conftest.$ac_ext <<_ACEOF
3419#line 3419 "configure"
3420#include "confdefs.h"
3421
3422int
3423main ()
3424{
3425main ();
3426 ;
3427 return 0;
3428}
3429_ACEOF
3430rm -f conftest.$ac_objext conftest$ac_exeext
3431if { (eval echo "$as_me:3431: \"$ac_link\"") >&5
3432 (eval $ac_link) 2>&5
3433 ac_status=$?
3434 echo "$as_me:3434: \$? = $ac_status" >&5
3435 (exit $ac_status); } &&
3436 { ac_try='test -s conftest$ac_exeext'
3437 { (eval echo "$as_me:3437: \"$ac_try\"") >&5
3438 (eval $ac_try) 2>&5
3439 ac_status=$?
3440 echo "$as_me:3440: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3442 ac_cv_lib_crypt_main=yes
3443else
3444 echo "$as_me: failed program was:" >&5
3445cat conftest.$ac_ext >&5
3446ac_cv_lib_crypt_main=no
3447fi
3448rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3449LIBS=$ac_check_lib_save_LIBS
3450fi
3451echo "$as_me:3451: result: $ac_cv_lib_crypt_main" >&5
3452echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
3453if test $ac_cv_lib_crypt_main = yes; then
3454 cat >>confdefs.h <<EOF
3455#define HAVE_LIBCRYPT 1
3456EOF
3457
3458 LIBS="-lcrypt $LIBS"
3459
3460fi
3461
3462ac_header_dirent=no
3463for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3464 ac_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $ac_tr_sh`
3465echo "$as_me:3465: checking for $ac_hdr that defines DIR" >&5
3466echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3467if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3469else
3470 cat >conftest.$ac_ext <<_ACEOF
3471#line 3471 "configure"
3472#include "confdefs.h"
3473#include <sys/types.h>
3474#include <$ac_hdr>
3475
3476int
3477main ()
3478{
3479DIR *dirp = 0;
3480 ;
3481 return 0;
3482}
3483_ACEOF
3484rm -f conftest.$ac_objext
3485if { (eval echo "$as_me:3485: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>&5
3487 ac_status=$?
3488 echo "$as_me:3488: \$? = $ac_status" >&5
3489 (exit $ac_status); } &&
3490 { ac_try='test -s conftest.$ac_objext'
3491 { (eval echo "$as_me:3491: \"$ac_try\"") >&5
3492 (eval $ac_try) 2>&5
3493 ac_status=$?
3494 echo "$as_me:3494: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3496 eval "$ac_ac_Header=yes"
3497else
3498 echo "$as_me: failed program was:" >&5
3499cat conftest.$ac_ext >&5
3500eval "$ac_ac_Header=no"
3501fi
3502rm -f conftest.$ac_objext conftest.$ac_ext
3503fi
3504echo "$as_me:3504: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3505echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3506if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3507 cat >>confdefs.h <<EOF
3508#define `echo "HAVE_$ac_hdr" | $ac_tr_cpp` 1
3509EOF
3510
3511ac_header_dirent=$ac_hdr; break
3512fi
3513
3514done
3515# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3516if test $ac_header_dirent = dirent.h; then
3517 echo "$as_me:3517: checking for opendir in -ldir" >&5
3518echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
3519if test "${ac_cv_lib_dir_opendir+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3521else
3522 ac_check_lib_save_LIBS=$LIBS
3523LIBS="-ldir $LIBS"
3524cat >conftest.$ac_ext <<_ACEOF
3525#line 3525 "configure"
3526#include "confdefs.h"
3527
3528/* Override any gcc2 internal prototype to avoid an error. */
3529#ifdef __cplusplus
3530extern "C"
3531#endif
3532/* We use char because int might match the return type of a gcc2
3533 builtin and then its argument prototype would still apply. */
3534char opendir ();
3535int
3536main ()
3537{
3538opendir ();
3539 ;
3540 return 0;
3541}
3542_ACEOF
3543rm -f conftest.$ac_objext conftest$ac_exeext
3544if { (eval echo "$as_me:3544: \"$ac_link\"") >&5
3545 (eval $ac_link) 2>&5
3546 ac_status=$?
3547 echo "$as_me:3547: \$? = $ac_status" >&5
3548 (exit $ac_status); } &&
3549 { ac_try='test -s conftest$ac_exeext'
3550 { (eval echo "$as_me:3550: \"$ac_try\"") >&5
3551 (eval $ac_try) 2>&5
3552 ac_status=$?
3553 echo "$as_me:3553: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3555 ac_cv_lib_dir_opendir=yes
3556else
3557 echo "$as_me: failed program was:" >&5
3558cat conftest.$ac_ext >&5
3559ac_cv_lib_dir_opendir=no
3560fi
3561rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3562LIBS=$ac_check_lib_save_LIBS
3563fi
3564echo "$as_me:3564: result: $ac_cv_lib_dir_opendir" >&5
3565echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
3566if test $ac_cv_lib_dir_opendir = yes; then
3567 LIBS="$LIBS -ldir"
3568fi
3569
3570else
3571 echo "$as_me:3571: checking for opendir in -lx" >&5
3572echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
3573if test "${ac_cv_lib_x_opendir+set}" = set; then
3574 echo $ECHO_N "(cached) $ECHO_C" >&6
3575else
3576 ac_check_lib_save_LIBS=$LIBS
3577LIBS="-lx $LIBS"
3578cat >conftest.$ac_ext <<_ACEOF
3579#line 3579 "configure"
3580#include "confdefs.h"
3581
3582/* Override any gcc2 internal prototype to avoid an error. */
3583#ifdef __cplusplus
3584extern "C"
3585#endif
3586/* We use char because int might match the return type of a gcc2
3587 builtin and then its argument prototype would still apply. */
3588char opendir ();
3589int
3590main ()
3591{
3592opendir ();
3593 ;
3594 return 0;
3595}
3596_ACEOF
3597rm -f conftest.$ac_objext conftest$ac_exeext
3598if { (eval echo "$as_me:3598: \"$ac_link\"") >&5
3599 (eval $ac_link) 2>&5
3600 ac_status=$?
3601 echo "$as_me:3601: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try='test -s conftest$ac_exeext'
3604 { (eval echo "$as_me:3604: \"$ac_try\"") >&5
3605 (eval $ac_try) 2>&5
3606 ac_status=$?
3607 echo "$as_me:3607: \$? = $ac_status" >&5
3608 (exit $ac_status); }; }; then
3609 ac_cv_lib_x_opendir=yes
3610else
3611 echo "$as_me: failed program was:" >&5
3612cat conftest.$ac_ext >&5
3613ac_cv_lib_x_opendir=no
3614fi
3615rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3616LIBS=$ac_check_lib_save_LIBS
3617fi
3618echo "$as_me:3618: result: $ac_cv_lib_x_opendir" >&5
3619echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
3620if test $ac_cv_lib_x_opendir = yes; then
3621 LIBS="$LIBS -lx"
3622fi
3623
3624fi
3625
3626echo "$as_me:3626: checking for ANSI C header files" >&5
3627echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3628if test "${ac_cv_header_stdc+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3630else
3631 cat >conftest.$ac_ext <<_ACEOF
3632#line 3632 "configure"
3633#include "confdefs.h"
3634#include <stdlib.h>
3635#include <stdarg.h>
3636#include <string.h>
3637#include <float.h>
3638
3639_ACEOF
3640if { (eval echo "$as_me:3640: \"$ac_cpp conftest.$ac_ext\"") >&5
3641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3642 ac_status=$?
3643 egrep -v '^ *\+' conftest.er1 >conftest.err
3644 rm -f conftest.er1
3645 cat conftest.err >&5
3646 echo "$as_me:3646: \$? = $ac_status" >&5
3647 (exit $ac_status); } >/dev/null; then
3648 if test -s conftest.err; then
3649 ac_cpp_err=$ac_c_preproc_warn_flag
3650 else
3651 ac_cpp_err=
3652 fi
3653else
3654 ac_cpp_err=yes
3655fi
3656if test -z "$ac_cpp_err"; then
3657 ac_cv_header_stdc=yes
3658else
3659 echo "$as_me: failed program was:" >&5
3660 cat conftest.$ac_ext >&5
3661 ac_cv_header_stdc=no
3662fi
3663rm -f conftest.err conftest.$ac_ext
3664
3665if test $ac_cv_header_stdc = yes; then
3666 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3667 cat >conftest.$ac_ext <<_ACEOF
3668#line 3668 "configure"
3669#include "confdefs.h"
3670#include <string.h>
3671
3672_ACEOF
3673if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3674 egrep "memchr" >/dev/null 2>&1; then
3675 :
3676else
3677 ac_cv_header_stdc=no
3678fi
3679rm -f conftest*
3680
3681fi
3682
3683if test $ac_cv_header_stdc = yes; then
3684 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3685 cat >conftest.$ac_ext <<_ACEOF
3686#line 3686 "configure"
3687#include "confdefs.h"
3688#include <stdlib.h>
3689
3690_ACEOF
3691if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3692 egrep "free" >/dev/null 2>&1; then
3693 :
3694else
3695 ac_cv_header_stdc=no
3696fi
3697rm -f conftest*
3698
3699fi
3700
3701if test $ac_cv_header_stdc = yes; then
3702 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3703 if test "$cross_compiling" = yes; then
3704 :
3705else
3706 cat >conftest.$ac_ext <<_ACEOF
3707#line 3707 "configure"
3708#include "confdefs.h"
3709#include <ctype.h>
3710#if ((' ' & 0x0FF) == 0x020)
3711# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3712# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3713#else
3714# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3715 || ('j' <= (c) && (c) <= 'r') \
3716 || ('s' <= (c) && (c) <= 'z'))
3717# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3718#endif
3719
3720#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3721int
3722main ()
3723{
3724 int i;
3725 for (i = 0; i < 256; i++)
3726 if (XOR (islower (i), ISLOWER (i))
3727 || toupper (i) != TOUPPER (i))
3728 exit(2);
3729 exit (0);
3730}
3731_ACEOF
3732rm -f conftest$ac_exeext
3733if { (eval echo "$as_me:3733: \"$ac_link\"") >&5
3734 (eval $ac_link) 2>&5
3735 ac_status=$?
3736 echo "$as_me:3736: \$? = $ac_status" >&5
3737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3738 { (eval echo "$as_me:3738: \"$ac_try\"") >&5
3739 (eval $ac_try) 2>&5
3740 ac_status=$?
3741 echo "$as_me:3741: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3743 :
3744else
3745 echo "$as_me: program exited with status $ac_status" >&5
3746echo "$as_me: failed program was:" >&5
3747cat conftest.$ac_ext >&5
3748ac_cv_header_stdc=no
3749fi
3750rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
3751fi
3752fi
3753fi
3754echo "$as_me:3754: result: $ac_cv_header_stdc" >&5
3755echo "${ECHO_T}$ac_cv_header_stdc" >&6
3756if test $ac_cv_header_stdc = yes; then
3757
3758cat >>confdefs.h <<\EOF
3759#define STDC_HEADERS 1
3760EOF
3761
3762fi
3763
3764for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h
3765do
3766ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3767echo "$as_me:3767: checking for $ac_header" >&5
3768echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3769if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3771else
3772 cat >conftest.$ac_ext <<_ACEOF
3773#line 3773 "configure"
3774#include "confdefs.h"
3775#include <$ac_header>
3776_ACEOF
3777if { (eval echo "$as_me:3777: \"$ac_cpp conftest.$ac_ext\"") >&5
3778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3779 ac_status=$?
3780 egrep -v '^ *\+' conftest.er1 >conftest.err
3781 rm -f conftest.er1
3782 cat conftest.err >&5
3783 echo "$as_me:3783: \$? = $ac_status" >&5
3784 (exit $ac_status); } >/dev/null; then
3785 if test -s conftest.err; then
3786 ac_cpp_err=$ac_c_preproc_warn_flag
3787 else
3788 ac_cpp_err=
3789 fi
3790else
3791 ac_cpp_err=yes
3792fi
3793if test -z "$ac_cpp_err"; then
3794 eval "$ac_ac_Header=yes"
3795else
3796 echo "$as_me: failed program was:" >&5
3797 cat conftest.$ac_ext >&5
3798 eval "$ac_ac_Header=no"
3799fi
3800rm -f conftest.err conftest.$ac_ext
3801fi
3802echo "$as_me:3802: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3803echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3804if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3805 cat >>confdefs.h <<EOF
3806#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3807EOF
3808
3809fi
3810done
3811
3812cat >conftest.$ac_ext <<_ACEOF
3813#line 3813 "configure"
3814#include "confdefs.h"
3815#include <stdio.h>
3816
3817_ACEOF
3818if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3819 egrep "fread" >/dev/null 2>&1; then
3820 cat >>confdefs.h <<\EOF
3821#define HAVE_FREAD_DECL 1
3822EOF
3823
3824fi
3825rm -f conftest*
3826
3827cat >conftest.$ac_ext <<_ACEOF
3828#line 3828 "configure"
3829#include "confdefs.h"
3830#include <stdio.h>
3831
3832_ACEOF
3833if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3834 egrep "fgetc" >/dev/null 2>&1; then
3835 cat >>confdefs.h <<\EOF
3836#define HAVE_FGETC_DECL 1
3837EOF
3838
3839fi
3840rm -f conftest*
3841
3842cat >conftest.$ac_ext <<_ACEOF
3843#line 3843 "configure"
3844#include "confdefs.h"
3845#include <sys/procfs.h>
3846
3847_ACEOF
3848if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3849 egrep "pr_brksize" >/dev/null 2>&1; then
3850 cat >>confdefs.h <<\EOF
3851#define HAVE_PR_BRKSIZE 1
3852EOF
3853
3854fi
3855rm -f conftest*
3856
3857# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3858# for constant arguments. Useless!
3859echo "$as_me:3859: checking for working alloca.h" >&5
3860echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3861if test "${ac_cv_working_alloca_h+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3863else
3864 cat >conftest.$ac_ext <<_ACEOF
3865#line 3865 "configure"
3866#include "confdefs.h"
3867#include <alloca.h>
3868int
3869main ()
3870{
3871char *p = (char *) alloca (2 * sizeof (int));
3872 ;
3873 return 0;
3874}
3875_ACEOF
3876rm -f conftest.$ac_objext conftest$ac_exeext
3877if { (eval echo "$as_me:3877: \"$ac_link\"") >&5
3878 (eval $ac_link) 2>&5
3879 ac_status=$?
3880 echo "$as_me:3880: \$? = $ac_status" >&5
3881 (exit $ac_status); } &&
3882 { ac_try='test -s conftest$ac_exeext'
3883 { (eval echo "$as_me:3883: \"$ac_try\"") >&5
3884 (eval $ac_try) 2>&5
3885 ac_status=$?
3886 echo "$as_me:3886: \$? = $ac_status" >&5
3887 (exit $ac_status); }; }; then
3888 ac_cv_working_alloca_h=yes
3889else
3890 echo "$as_me: failed program was:" >&5
3891cat conftest.$ac_ext >&5
3892ac_cv_working_alloca_h=no
3893fi
3894rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3895fi
3896echo "$as_me:3896: result: $ac_cv_working_alloca_h" >&5
3897echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3898if test $ac_cv_working_alloca_h = yes; then
3899
3900cat >>confdefs.h <<\EOF
3901#define HAVE_ALLOCA_H 1
3902EOF
3903
3904fi
3905
3906echo "$as_me:3906: checking for alloca" >&5
3907echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3908if test "${ac_cv_func_alloca_works+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910else
3911 cat >conftest.$ac_ext <<_ACEOF
3912#line 3912 "configure"
3913#include "confdefs.h"
3914#ifdef __GNUC__
3915# define alloca __builtin_alloca
3916#else
3917# ifdef _MSC_VER
3918# include <malloc.h>
3919# define alloca _alloca
3920# else
3921# if HAVE_ALLOCA_H
3922# include <alloca.h>
3923# else
3924# ifdef _AIX
3925 #pragma alloca
3926# else
3927# ifndef alloca /* predefined by HP cc +Olibcalls */
3928char *alloca ();
3929# endif
3930# endif
3931# endif
3932# endif
3933#endif
3934
3935int
3936main ()
3937{
3938char *p = (char *) alloca (1);
3939 ;
3940 return 0;
3941}
3942_ACEOF
3943rm -f conftest.$ac_objext conftest$ac_exeext
3944if { (eval echo "$as_me:3944: \"$ac_link\"") >&5
3945 (eval $ac_link) 2>&5
3946 ac_status=$?
3947 echo "$as_me:3947: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try='test -s conftest$ac_exeext'
3950 { (eval echo "$as_me:3950: \"$ac_try\"") >&5
3951 (eval $ac_try) 2>&5
3952 ac_status=$?
3953 echo "$as_me:3953: \$? = $ac_status" >&5
3954 (exit $ac_status); }; }; then
3955 ac_cv_func_alloca_works=yes
3956else
3957 echo "$as_me: failed program was:" >&5
3958cat conftest.$ac_ext >&5
3959ac_cv_func_alloca_works=no
3960fi
3961rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3962fi
3963echo "$as_me:3963: result: $ac_cv_func_alloca_works" >&5
3964echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3965
3966if test $ac_cv_func_alloca_works = yes; then
3967
3968cat >>confdefs.h <<\EOF
3969#define HAVE_ALLOCA 1
3970EOF
3971
3972else
3973 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3974# that cause trouble. Some versions do not even contain alloca or
3975# contain a buggy version. If you still want to use their alloca,
3976# use ar to extract alloca.o from them instead of compiling alloca.c.
3977
3978ALLOCA=alloca.$ac_objext
3979
3980cat >>confdefs.h <<\EOF
3981#define C_ALLOCA 1
3982EOF
3983
3984echo "$as_me:3984: checking whether \`alloca.c' needs Cray hooks" >&5
3985echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3986if test "${ac_cv_os_cray+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3988else
3989 cat >conftest.$ac_ext <<_ACEOF
3990#line 3990 "configure"
3991#include "confdefs.h"
3992#if defined(CRAY) && ! defined(CRAY2)
3993webecray
3994#else
3995wenotbecray
3996#endif
3997
3998_ACEOF
3999if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4000 egrep "webecray" >/dev/null 2>&1; then
4001 ac_cv_os_cray=yes
4002else
4003 ac_cv_os_cray=no
4004fi
4005rm -f conftest*
4006
4007fi
4008echo "$as_me:4008: result: $ac_cv_os_cray" >&5
4009echo "${ECHO_T}$ac_cv_os_cray" >&6
4010if test $ac_cv_os_cray = yes; then
4011 for ac_func in _getb67 GETB67 getb67; do
4012 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4013echo "$as_me:4013: checking for $ac_func" >&5
4014echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4015if eval "test \"\${$ac_ac_var+set}\" = set"; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4017else
4018 cat >conftest.$ac_ext <<_ACEOF
4019#line 4019 "configure"
4020#include "confdefs.h"
4021/* System header to define __stub macros and hopefully few prototypes,
4022 which can conflict with char $ac_func (); below. */
4023#include <assert.h>
4024/* Override any gcc2 internal prototype to avoid an error. */
4025#ifdef __cplusplus
4026extern "C"
4027#endif
4028/* We use char because int might match the return type of a gcc2
4029 builtin and then its argument prototype would still apply. */
4030char $ac_func ();
4031char (*f) ();
4032
4033int
4034main ()
4035{
4036/* The GNU C library defines this for functions which it implements
4037 to always fail with ENOSYS. Some functions are actually named
4038 something starting with __ and the normal name is an alias. */
4039#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4040choke me
4041#else
4042f = $ac_func;
4043#endif
4044
4045 ;
4046 return 0;
4047}
4048_ACEOF
4049rm -f conftest.$ac_objext conftest$ac_exeext
4050if { (eval echo "$as_me:4050: \"$ac_link\"") >&5
4051 (eval $ac_link) 2>&5
4052 ac_status=$?
4053 echo "$as_me:4053: \$? = $ac_status" >&5
4054 (exit $ac_status); } &&
4055 { ac_try='test -s conftest$ac_exeext'
4056 { (eval echo "$as_me:4056: \"$ac_try\"") >&5
4057 (eval $ac_try) 2>&5
4058 ac_status=$?
4059 echo "$as_me:4059: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4061 eval "$ac_ac_var=yes"
4062else
4063 echo "$as_me: failed program was:" >&5
4064cat conftest.$ac_ext >&5
4065eval "$ac_ac_var=no"
4066fi
4067rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4068fi
4069echo "$as_me:4069: result: `eval echo '${'$ac_ac_var'}'`" >&5
4070echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4071if test `eval echo '${'$ac_ac_var'}'` = yes; then
4072
4073cat >>confdefs.h <<EOF
4074#define CRAY_STACKSEG_END $ac_func
4075EOF
4076
4077 break
4078fi
4079
4080 done
4081fi
4082
4083echo "$as_me:4083: checking stack direction for C alloca" >&5
4084echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4085if test "${ac_cv_c_stack_direction+set}" = set; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4087else
4088 if test "$cross_compiling" = yes; then
4089 ac_cv_c_stack_direction=0
4090else
4091 cat >conftest.$ac_ext <<_ACEOF
4092#line 4092 "configure"
4093#include "confdefs.h"
4094int
4095find_stack_direction ()
4096{
4097 static char *addr = 0;
4098 auto char dummy;
4099 if (addr == 0)
4100 {
4101 addr = &dummy;
4102 return find_stack_direction ();
4103 }
4104 else
4105 return (&dummy > addr) ? 1 : -1;
4106}
4107
4108int
4109main ()
4110{
4111 exit (find_stack_direction () < 0);
4112}
4113_ACEOF
4114rm -f conftest$ac_exeext
4115if { (eval echo "$as_me:4115: \"$ac_link\"") >&5
4116 (eval $ac_link) 2>&5
4117 ac_status=$?
4118 echo "$as_me:4118: \$? = $ac_status" >&5
4119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4120 { (eval echo "$as_me:4120: \"$ac_try\"") >&5
4121 (eval $ac_try) 2>&5
4122 ac_status=$?
4123 echo "$as_me:4123: \$? = $ac_status" >&5
4124 (exit $ac_status); }; }; then
4125 ac_cv_c_stack_direction=1
4126else
4127 echo "$as_me: program exited with status $ac_status" >&5
4128echo "$as_me: failed program was:" >&5
4129cat conftest.$ac_ext >&5
4130ac_cv_c_stack_direction=-1
4131fi
4132rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
4133fi
4134fi
4135echo "$as_me:4135: result: $ac_cv_c_stack_direction" >&5
4136echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4137
4138cat >>confdefs.h <<EOF
4139#define STACK_DIRECTION $ac_cv_c_stack_direction
4140EOF
4141
4142fi
4143
4144if test $ac_cv_c_compiler_gnu = yes; then
4145 echo "$as_me:4145: checking whether $CC needs -traditional" >&5
4146echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4147if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4149else
4150 ac_pattern="Autoconf.*'x'"
4151 cat >conftest.$ac_ext <<_ACEOF
4152#line 4152 "configure"
4153#include "confdefs.h"
4154#include <sgtty.h>
4155Autoconf TIOCGETP
4156_ACEOF
4157if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4158 egrep "$ac_pattern" >/dev/null 2>&1; then
4159 ac_cv_prog_gcc_traditional=yes
4160else
4161 ac_cv_prog_gcc_traditional=no
4162fi
4163rm -f conftest*
4164
4165 if test $ac_cv_prog_gcc_traditional = no; then
4166 cat >conftest.$ac_ext <<_ACEOF
4167#line 4167 "configure"
4168#include "confdefs.h"
4169#include <termio.h>
4170Autoconf TCGETA
4171_ACEOF
4172if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 egrep "$ac_pattern" >/dev/null 2>&1; then
4174 ac_cv_prog_gcc_traditional=yes
4175fi
4176rm -f conftest*
4177
4178 fi
4179fi
4180echo "$as_me:4180: result: $ac_cv_prog_gcc_traditional" >&5
4181echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4182 if test $ac_cv_prog_gcc_traditional = yes; then
4183 CC="$CC -traditional"
4184 fi
4185fi
4186
4187echo "$as_me:4187: checking return type of signal handlers" >&5
4188echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4189if test "${ac_cv_type_signal+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4191else
4192 cat >conftest.$ac_ext <<_ACEOF
4193#line 4193 "configure"
4194#include "confdefs.h"
4195#include <sys/types.h>
4196#include <signal.h>
4197#ifdef signal
4198# undef signal
4199#endif
4200#ifdef __cplusplus
4201extern "C" void (*signal (int, void (*)(int)))(int);
4202#else
4203void (*signal ()) ();
4204#endif
4205
4206int
4207main ()
4208{
4209int i;
4210 ;
4211 return 0;
4212}
4213_ACEOF
4214rm -f conftest.$ac_objext
4215if { (eval echo "$as_me:4215: \"$ac_compile\"") >&5
4216 (eval $ac_compile) 2>&5
4217 ac_status=$?
4218 echo "$as_me:4218: \$? = $ac_status" >&5
4219 (exit $ac_status); } &&
4220 { ac_try='test -s conftest.$ac_objext'
4221 { (eval echo "$as_me:4221: \"$ac_try\"") >&5
4222 (eval $ac_try) 2>&5
4223 ac_status=$?
4224 echo "$as_me:4224: \$? = $ac_status" >&5
4225 (exit $ac_status); }; }; then
4226 ac_cv_type_signal=void
4227else
4228 echo "$as_me: failed program was:" >&5
4229cat conftest.$ac_ext >&5
4230ac_cv_type_signal=int
4231fi
4232rm -f conftest.$ac_objext conftest.$ac_ext
4233fi
4234echo "$as_me:4234: result: $ac_cv_type_signal" >&5
4235echo "${ECHO_T}$ac_cv_type_signal" >&6
4236
4237cat >>confdefs.h <<EOF
4238#define RETSIGTYPE $ac_cv_type_signal
4239EOF
4240
4241for ac_func in vprintf
4242do
4243ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4244echo "$as_me:4244: checking for $ac_func" >&5
4245echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4246if eval "test \"\${$ac_ac_var+set}\" = set"; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4248else
4249 cat >conftest.$ac_ext <<_ACEOF
4250#line 4250 "configure"
4251#include "confdefs.h"
4252/* System header to define __stub macros and hopefully few prototypes,
4253 which can conflict with char $ac_func (); below. */
4254#include <assert.h>
4255/* Override any gcc2 internal prototype to avoid an error. */
4256#ifdef __cplusplus
4257extern "C"
4258#endif
4259/* We use char because int might match the return type of a gcc2
4260 builtin and then its argument prototype would still apply. */
4261char $ac_func ();
4262char (*f) ();
4263
4264int
4265main ()
4266{
4267/* The GNU C library defines this for functions which it implements
4268 to always fail with ENOSYS. Some functions are actually named
4269 something starting with __ and the normal name is an alias. */
4270#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4271choke me
4272#else
4273f = $ac_func;
4274#endif
4275
4276 ;
4277 return 0;
4278}
4279_ACEOF
4280rm -f conftest.$ac_objext conftest$ac_exeext
4281if { (eval echo "$as_me:4281: \"$ac_link\"") >&5
4282 (eval $ac_link) 2>&5
4283 ac_status=$?
4284 echo "$as_me:4284: \$? = $ac_status" >&5
4285 (exit $ac_status); } &&
4286 { ac_try='test -s conftest$ac_exeext'
4287 { (eval echo "$as_me:4287: \"$ac_try\"") >&5
4288 (eval $ac_try) 2>&5
4289 ac_status=$?
4290 echo "$as_me:4290: \$? = $ac_status" >&5
4291 (exit $ac_status); }; }; then
4292 eval "$ac_ac_var=yes"
4293else
4294 echo "$as_me: failed program was:" >&5
4295cat conftest.$ac_ext >&5
4296eval "$ac_ac_var=no"
4297fi
4298rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4299fi
4300echo "$as_me:4300: result: `eval echo '${'$ac_ac_var'}'`" >&5
4301echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4302if test `eval echo '${'$ac_ac_var'}'` = yes; then
4303 cat >>confdefs.h <<EOF
4304#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4305EOF
4306
4307echo "$as_me:4307: checking for _doprnt" >&5
4308echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4309if test "${ac_cv_func__doprnt+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4311else
4312 cat >conftest.$ac_ext <<_ACEOF
4313#line 4313 "configure"
4314#include "confdefs.h"
4315/* System header to define __stub macros and hopefully few prototypes,
4316 which can conflict with char _doprnt (); below. */
4317#include <assert.h>
4318/* Override any gcc2 internal prototype to avoid an error. */
4319#ifdef __cplusplus
4320extern "C"
4321#endif
4322/* We use char because int might match the return type of a gcc2
4323 builtin and then its argument prototype would still apply. */
4324char _doprnt ();
4325char (*f) ();
4326
4327int
4328main ()
4329{
4330/* The GNU C library defines this for functions which it implements
4331 to always fail with ENOSYS. Some functions are actually named
4332 something starting with __ and the normal name is an alias. */
4333#if defined (__stub__doprnt) || defined (__stub____doprnt)
4334choke me
4335#else
4336f = _doprnt;
4337#endif
4338
4339 ;
4340 return 0;
4341}
4342_ACEOF
4343rm -f conftest.$ac_objext conftest$ac_exeext
4344if { (eval echo "$as_me:4344: \"$ac_link\"") >&5
4345 (eval $ac_link) 2>&5
4346 ac_status=$?
4347 echo "$as_me:4347: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try='test -s conftest$ac_exeext'
4350 { (eval echo "$as_me:4350: \"$ac_try\"") >&5
4351 (eval $ac_try) 2>&5
4352 ac_status=$?
4353 echo "$as_me:4353: \$? = $ac_status" >&5
4354 (exit $ac_status); }; }; then
4355 ac_cv_func__doprnt=yes
4356else
4357 echo "$as_me: failed program was:" >&5
4358cat conftest.$ac_ext >&5
4359ac_cv_func__doprnt=no
4360fi
4361rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4362fi
4363echo "$as_me:4363: result: $ac_cv_func__doprnt" >&5
4364echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4365if test $ac_cv_func__doprnt = yes; then
4366
4367cat >>confdefs.h <<\EOF
4368#define HAVE_DOPRNT 1
4369EOF
4370
4371fi
4372
4373fi
4374done
4375
4376for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
4377do
4378ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4379echo "$as_me:4379: checking for $ac_func" >&5
4380echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4381if eval "test \"\${$ac_ac_var+set}\" = set"; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4383else
4384 cat >conftest.$ac_ext <<_ACEOF
4385#line 4385 "configure"
4386#include "confdefs.h"
4387/* System header to define __stub macros and hopefully few prototypes,
4388 which can conflict with char $ac_func (); below. */
4389#include <assert.h>
4390/* Override any gcc2 internal prototype to avoid an error. */
4391#ifdef __cplusplus
4392extern "C"
4393#endif
4394/* We use char because int might match the return type of a gcc2
4395 builtin and then its argument prototype would still apply. */
4396char $ac_func ();
4397char (*f) ();
4398
4399int
4400main ()
4401{
4402/* The GNU C library defines this for functions which it implements
4403 to always fail with ENOSYS. Some functions are actually named
4404 something starting with __ and the normal name is an alias. */
4405#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4406choke me
4407#else
4408f = $ac_func;
4409#endif
4410
4411 ;
4412 return 0;
4413}
4414_ACEOF
4415rm -f conftest.$ac_objext conftest$ac_exeext
4416if { (eval echo "$as_me:4416: \"$ac_link\"") >&5
4417 (eval $ac_link) 2>&5
4418 ac_status=$?
4419 echo "$as_me:4419: \$? = $ac_status" >&5
4420 (exit $ac_status); } &&
4421 { ac_try='test -s conftest$ac_exeext'
4422 { (eval echo "$as_me:4422: \"$ac_try\"") >&5
4423 (eval $ac_try) 2>&5
4424 ac_status=$?
4425 echo "$as_me:4425: \$? = $ac_status" >&5
4426 (exit $ac_status); }; }; then
4427 eval "$ac_ac_var=yes"
4428else
4429 echo "$as_me: failed program was:" >&5
4430cat conftest.$ac_ext >&5
4431eval "$ac_ac_var=no"
4432fi
4433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4434fi
4435echo "$as_me:4435: result: `eval echo '${'$ac_ac_var'}'`" >&5
4436echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4437if test `eval echo '${'$ac_ac_var'}'` = yes; then
4438 cat >>confdefs.h <<EOF
4439#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4440EOF
4441
4442fi
4443done
4444
4445for ac_func in ftruncate strstr strcasecmp
4446do
4447ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4448echo "$as_me:4448: checking for $ac_func" >&5
4449echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4450if eval "test \"\${$ac_ac_var+set}\" = set"; then
4451 echo $ECHO_N "(cached) $ECHO_C" >&6
4452else
4453 cat >conftest.$ac_ext <<_ACEOF
4454#line 4454 "configure"
4455#include "confdefs.h"
4456/* System header to define __stub macros and hopefully few prototypes,
4457 which can conflict with char $ac_func (); below. */
4458#include <assert.h>
4459/* Override any gcc2 internal prototype to avoid an error. */
4460#ifdef __cplusplus
4461extern "C"
4462#endif
4463/* We use char because int might match the return type of a gcc2
4464 builtin and then its argument prototype would still apply. */
4465char $ac_func ();
4466char (*f) ();
4467
4468int
4469main ()
4470{
4471/* The GNU C library defines this for functions which it implements
4472 to always fail with ENOSYS. Some functions are actually named
4473 something starting with __ and the normal name is an alias. */
4474#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4475choke me
4476#else
4477f = $ac_func;
4478#endif
4479
4480 ;
4481 return 0;
4482}
4483_ACEOF
4484rm -f conftest.$ac_objext conftest$ac_exeext
4485if { (eval echo "$as_me:4485: \"$ac_link\"") >&5
4486 (eval $ac_link) 2>&5
4487 ac_status=$?
4488 echo "$as_me:4488: \$? = $ac_status" >&5
4489 (exit $ac_status); } &&
4490 { ac_try='test -s conftest$ac_exeext'
4491 { (eval echo "$as_me:4491: \"$ac_try\"") >&5
4492 (eval $ac_try) 2>&5
4493 ac_status=$?
4494 echo "$as_me:4494: \$? = $ac_status" >&5
4495 (exit $ac_status); }; }; then
4496 eval "$ac_ac_var=yes"
4497else
4498 echo "$as_me: failed program was:" >&5
4499cat conftest.$ac_ext >&5
4500eval "$ac_ac_var=no"
4501fi
4502rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4503fi
4504echo "$as_me:4504: result: `eval echo '${'$ac_ac_var'}'`" >&5
4505echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4506if test `eval echo '${'$ac_ac_var'}'` = yes; then
4507 cat >>confdefs.h <<EOF
4508#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4509EOF
4510
4511else
4512 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
4513fi
4514done
4515
4516# *** Custom checking (based on GNU tar configure.in) ***
4517# ---------------------------------------------------------------------------
4518echo "$as_me:4518: checking for HP-UX needing gmalloc" >&5
4519echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
4520if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
4521 echo "$as_me:4521: result: yes" >&5
4522echo "${ECHO_T}yes" >&6
4523 LIBOBJS="$LIBOBJS gmalloc.o"
4524 cat >>confdefs.h <<\EOF
4525#define HAVE_VALLOC 1
4526EOF
4527
4528else
4529 echo "$as_me:4529: result: no" >&5
4530echo "${ECHO_T}no" >&6
4531
4532for ac_func in valloc
4533do
4534ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4535echo "$as_me:4535: checking for $ac_func" >&5
4536echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4537if eval "test \"\${$ac_ac_var+set}\" = set"; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4539else
4540 cat >conftest.$ac_ext <<_ACEOF
4541#line 4541 "configure"
4542#include "confdefs.h"
4543/* System header to define __stub macros and hopefully few prototypes,
4544 which can conflict with char $ac_func (); below. */
4545#include <assert.h>
4546/* Override any gcc2 internal prototype to avoid an error. */
4547#ifdef __cplusplus
4548extern "C"
4549#endif
4550/* We use char because int might match the return type of a gcc2
4551 builtin and then its argument prototype would still apply. */
4552char $ac_func ();
4553char (*f) ();
4554
4555int
4556main ()
4557{
4558/* The GNU C library defines this for functions which it implements
4559 to always fail with ENOSYS. Some functions are actually named
4560 something starting with __ and the normal name is an alias. */
4561#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4562choke me
4563#else
4564f = $ac_func;
4565#endif
4566
4567 ;
4568 return 0;
4569}
4570_ACEOF
4571rm -f conftest.$ac_objext conftest$ac_exeext
4572if { (eval echo "$as_me:4572: \"$ac_link\"") >&5
4573 (eval $ac_link) 2>&5
4574 ac_status=$?
4575 echo "$as_me:4575: \$? = $ac_status" >&5
4576 (exit $ac_status); } &&
4577 { ac_try='test -s conftest$ac_exeext'
4578 { (eval echo "$as_me:4578: \"$ac_try\"") >&5
4579 (eval $ac_try) 2>&5
4580 ac_status=$?
4581 echo "$as_me:4581: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 eval "$ac_ac_var=yes"
4584else
4585 echo "$as_me: failed program was:" >&5
4586cat conftest.$ac_ext >&5
4587eval "$ac_ac_var=no"
4588fi
4589rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4590fi
4591echo "$as_me:4591: result: `eval echo '${'$ac_ac_var'}'`" >&5
4592echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4593if test `eval echo '${'$ac_ac_var'}'` = yes; then
4594 cat >>confdefs.h <<EOF
4595#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4596EOF
4597
4598fi
4599done
4600
4601fi
4602
4603echo "$as_me:4603: checking if malloc debugging is wanted" >&5
4604echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
4605
4606# Check whether --with-dmalloc or --without-dmalloc was given.
4607if test "${with_dmalloc+set}" = set; then
4608 withval="$with_dmalloc"
4609 if test "$withval" = yes; then
4610 echo "$as_me:4610: result: yes" >&5
4611echo "${ECHO_T}yes" >&6
4612 cat >>confdefs.h <<\EOF
4613#define WITH_DMALLOC 1
4614EOF
4615
4616 LIBS="$LIBS -ldmalloc"
4617 LDFLAGS="$LDFLAGS -g"
4618else
4619 echo "$as_me:4619: result: no" >&5
4620echo "${ECHO_T}no" >&6
4621fi
4622else
4623 echo "$as_me:4623: result: no" >&5
4624echo "${ECHO_T}no" >&6
4625fi;
4626
4627echo "$as_me:4627: checking which of rx or regex is wanted" >&5
4628echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
4629
4630# Check whether --with-regex or --without-regex was given.
4631if test "${with_regex+set}" = set; then
4632 withval="$with_regex"
4633 if test "$withval" = yes; then
4634 ac_with_regex=1
4635 echo "$as_me:4635: result: regex" >&5
4636echo "${ECHO_T}regex" >&6
4637 cat >>confdefs.h <<\EOF
4638#define WITH_REGEX 1
4639EOF
4640
4641 LIBOBJS="$LIBOBJS regex.o"
4642fi
4643fi;
4644if test -z "$ac_with_regex"; then
4645 echo "$as_me:4645: result: rx" >&5
4646echo "${ECHO_T}rx" >&6
4647 echo "$as_me:4647: checking for re_rx_search" >&5
4648echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
4649if test "${ac_cv_func_re_rx_search+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4651else
4652 cat >conftest.$ac_ext <<_ACEOF
4653#line 4653 "configure"
4654#include "confdefs.h"
4655/* System header to define __stub macros and hopefully few prototypes,
4656 which can conflict with char re_rx_search (); below. */
4657#include <assert.h>
4658/* Override any gcc2 internal prototype to avoid an error. */
4659#ifdef __cplusplus
4660extern "C"
4661#endif
4662/* We use char because int might match the return type of a gcc2
4663 builtin and then its argument prototype would still apply. */
4664char re_rx_search ();
4665char (*f) ();
4666
4667int
4668main ()
4669{
4670/* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
4674choke me
4675#else
4676f = re_rx_search;
4677#endif
4678
4679 ;
4680 return 0;
4681}
4682_ACEOF
4683rm -f conftest.$ac_objext conftest$ac_exeext
4684if { (eval echo "$as_me:4684: \"$ac_link\"") >&5
4685 (eval $ac_link) 2>&5
4686 ac_status=$?
4687 echo "$as_me:4687: \$? = $ac_status" >&5
4688 (exit $ac_status); } &&
4689 { ac_try='test -s conftest$ac_exeext'
4690 { (eval echo "$as_me:4690: \"$ac_try\"") >&5
4691 (eval $ac_try) 2>&5
4692 ac_status=$?
4693 echo "$as_me:4693: \$? = $ac_status" >&5
4694 (exit $ac_status); }; }; then
4695 ac_cv_func_re_rx_search=yes
4696else
4697 echo "$as_me: failed program was:" >&5
4698cat conftest.$ac_ext >&5
4699ac_cv_func_re_rx_search=no
4700fi
4701rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4702fi
4703echo "$as_me:4703: result: $ac_cv_func_re_rx_search" >&5
4704echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
4705if test $ac_cv_func_re_rx_search = yes; then
4706 :
4707else
4708 LIBOBJS="$LIBOBJS rx.o"
4709fi
4710
4711fi
4712
4713# ---------------------------------------------------------------------------
4714if test "$ac_cv_func_alloca" = 'no'; then
4715 LIBOBJS="$LIBOBJS xmalloc.o error.o"
4716fi
4717
4718# ---------------------------------------------------------------------------
4719
4720ac_ext=cc
4721ac_cpp='$CXXCPP $CPPFLAGS'
4722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4725
4726echo "$as_me:4726: checking \"that the GDBM library is available\"" >&5
4727echo $ECHO_N "checking \"that the GDBM library is available\"... $ECHO_C" >&6
4728
4729cat >conftest.$ac_ext <<_ACEOF
4730#line 4730 "configure"
4731#include "confdefs.h"
4732#include <gdbm.h>
4733
4734int
4735main ()
4736{
4737
4738 ;
4739 return 0;
4740}
4741_ACEOF
4742rm -f conftest.$ac_objext
4743if { (eval echo "$as_me:4743: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>&5
4745 ac_status=$?
4746 echo "$as_me:4746: \$? = $ac_status" >&5
4747 (exit $ac_status); } &&
4748 { ac_try='test -s conftest.$ac_objext'
4749 { (eval echo "$as_me:4749: \"$ac_try\"") >&5
4750 (eval $ac_try) 2>&5
4751 ac_status=$?
4752 echo "$as_me:4752: \$? = $ac_status" >&5
4753 (exit $ac_status); }; }; then
4754 success=yes
4755else
4756 echo "$as_me: failed program was:" >&5
4757cat conftest.$ac_ext >&5
4758success=no
4759
4760fi
4761rm -f conftest.$ac_objext conftest.$ac_ext
4762echo "$as_me:4762: result: $success" >&5
4763echo "${ECHO_T}$success" >&6
4764if test $success = "no"; then
4765{ { echo "$as_me:4765: error: \"GDBM Library not available - cannot install\"" >&5
4766echo "$as_me: error: \"GDBM Library not available - cannot install\"" >&2;}
4767 { (exit 1); exit 1; }; }
4768fi
4769
4770success=no
4771echo "$as_me:4771: checking \"whether STL library has known faults\"" >&5
4772echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
4773
4774cat >conftest.$ac_ext <<_ACEOF
4775#line 4775 "configure"
4776#include "confdefs.h"
4777#include <vector>
4778
4779int
4780main ()
4781{
4782
4783 ;
4784 return 0;
4785}
4786_ACEOF
4787rm -f conftest.$ac_objext
4788if { (eval echo "$as_me:4788: \"$ac_compile\"") >&5
4789 (eval $ac_compile) 2>&5
4790 ac_status=$?
4791 echo "$as_me:4791: \$? = $ac_status" >&5
4792 (exit $ac_status); } &&
4793 { ac_try='test -s conftest.$ac_objext'
4794 { (eval echo "$as_me:4794: \"$ac_try\"") >&5
4795 (eval $ac_try) 2>&5
4796 ac_status=$?
4797 echo "$as_me:4797: \$? = $ac_status" >&5
4798 (exit $ac_status); }; }; then
4799 success=yes
4800else
4801 echo "$as_me: failed program was:" >&5
4802cat conftest.$ac_ext >&5
4803fi
4804rm -f conftest.$ac_objext conftest.$ac_ext
4805
4806if test $success = "no"; then
4807cat >conftest.$ac_ext <<_ACEOF
4808#line 4808 "configure"
4809#include "confdefs.h"
4810#include <vector.h>
4811
4812int
4813main ()
4814{
4815
4816 ;
4817 return 0;
4818}
4819_ACEOF
4820rm -f conftest.$ac_objext
4821if { (eval echo "$as_me:4821: \"$ac_compile\"") >&5
4822 (eval $ac_compile) 2>&5
4823 ac_status=$?
4824 echo "$as_me:4824: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:4827: \"$ac_try\"") >&5
4828 (eval $ac_try) 2>&5
4829 ac_status=$?
4830 echo "$as_me:4830: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 success="yes"
4833else
4834 echo "$as_me: failed program was:" >&5
4835cat conftest.$ac_ext >&5
4836fi
4837rm -f conftest.$ac_objext conftest.$ac_ext
4838fi
4839
4840if test $success = "no"; then
4841cat >conftest.$ac_ext <<_ACEOF
4842#line 4842 "configure"
4843#include "confdefs.h"
4844#include <ospace\\std\\vector>
4845
4846int
4847main ()
4848{
4849
4850 ;
4851 return 0;
4852}
4853_ACEOF
4854rm -f conftest.$ac_objext
4855if { (eval echo "$as_me:4855: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>&5
4857 ac_status=$?
4858 echo "$as_me:4858: \$? = $ac_status" >&5
4859 (exit $ac_status); } &&
4860 { ac_try='test -s conftest.$ac_objext'
4861 { (eval echo "$as_me:4861: \"$ac_try\"") >&5
4862 (eval $ac_try) 2>&5
4863 ac_status=$?
4864 echo "$as_me:4864: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then
4866 success="yes"
4867else
4868 echo "$as_me: failed program was:" >&5
4869cat conftest.$ac_ext >&5
4870fi
4871rm -f conftest.$ac_objext conftest.$ac_ext
4872fi
4873
4874if test $success = yes; then
4875echo "$as_me:4875: result: \"no\"" >&5
4876echo "${ECHO_T}\"no\"" >&6
4877else
4878echo "$as_me:4878: result: \"yes\"" >&5
4879echo "${ECHO_T}\"yes\"" >&6
4880{ { echo "$as_me:4880: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
4881echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
4882 { (exit 1); exit 1; }; }
4883fi
4884
4885gsdlos=`uname | tr A-Z a-z`
4886
4887echo "$as_me:4887: checking for HP-UX needing gmalloc" >&5
4888echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
4889if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
4890 echo "$as_me:4890: result: yes" >&5
4891echo "${ECHO_T}yes" >&6
4892 LIBOBJS="$LIBOBJS gmalloc.o"
4893 cat >>confdefs.h <<\EOF
4894#define HAVE_VALLOC 1
4895EOF
4896
4897else
4898 echo "$as_me:4898: result: no" >&5
4899echo "${ECHO_T}no" >&6
4900
4901for ac_func in valloc
4902do
4903ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4904echo "$as_me:4904: checking for $ac_func" >&5
4905echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4906if eval "test \"\${$ac_ac_var+set}\" = set"; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4908else
4909 cat >conftest.$ac_ext <<_ACEOF
4910#line 4910 "configure"
4911#include "confdefs.h"
4912/* System header to define __stub macros and hopefully few prototypes,
4913 which can conflict with char $ac_func (); below. */
4914#include <assert.h>
4915/* Override any gcc2 internal prototype to avoid an error. */
4916#ifdef __cplusplus
4917extern "C"
4918#endif
4919/* We use char because int might match the return type of a gcc2
4920 builtin and then its argument prototype would still apply. */
4921char $ac_func ();
4922char (*f) ();
4923
4924int
4925main ()
4926{
4927/* The GNU C library defines this for functions which it implements
4928 to always fail with ENOSYS. Some functions are actually named
4929 something starting with __ and the normal name is an alias. */
4930#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4931choke me
4932#else
4933f = $ac_func;
4934#endif
4935
4936 ;
4937 return 0;
4938}
4939_ACEOF
4940rm -f conftest.$ac_objext conftest$ac_exeext
4941if { (eval echo "$as_me:4941: \"$ac_link\"") >&5
4942 (eval $ac_link) 2>&5
4943 ac_status=$?
4944 echo "$as_me:4944: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try='test -s conftest$ac_exeext'
4947 { (eval echo "$as_me:4947: \"$ac_try\"") >&5
4948 (eval $ac_try) 2>&5
4949 ac_status=$?
4950 echo "$as_me:4950: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 eval "$ac_ac_var=yes"
4953else
4954 echo "$as_me: failed program was:" >&5
4955cat conftest.$ac_ext >&5
4956eval "$ac_ac_var=no"
4957fi
4958rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4959fi
4960echo "$as_me:4960: result: `eval echo '${'$ac_ac_var'}'`" >&5
4961echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4962if test `eval echo '${'$ac_ac_var'}'` = yes; then
4963 cat >>confdefs.h <<EOF
4964#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
4965EOF
4966
4967fi
4968done
4969
4970fi
4971
4972echo "$as_me:4972: checking if malloc debugging is wanted" >&5
4973echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
4974
4975# Check whether --with-dmalloc or --without-dmalloc was given.
4976if test "${with_dmalloc+set}" = set; then
4977 withval="$with_dmalloc"
4978 if test "$withval" = yes; then
4979 echo "$as_me:4979: result: yes" >&5
4980echo "${ECHO_T}yes" >&6
4981 cat >>confdefs.h <<\EOF
4982#define WITH_DMALLOC 1
4983EOF
4984
4985 LIBS="$LIBS -ldmalloc"
4986 LDFLAGS="$LDFLAGS -g"
4987else
4988 echo "$as_me:4988: result: no" >&5
4989echo "${ECHO_T}no" >&6
4990fi
4991else
4992 echo "$as_me:4992: result: no" >&5
4993echo "${ECHO_T}no" >&6
4994fi;
4995
4996echo "$as_me:4996: checking which of rx or regex is wanted" >&5
4997echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
4998
4999# Check whether --with-regex or --without-regex was given.
5000if test "${with_regex+set}" = set; then
5001 withval="$with_regex"
5002 if test "$withval" = yes; then
5003 ac_with_regex=1
5004 echo "$as_me:5004: result: regex" >&5
5005echo "${ECHO_T}regex" >&6
5006 cat >>confdefs.h <<\EOF
5007#define WITH_REGEX 1
5008EOF
5009
5010 LIBOBJS="$LIBOBJS regex.o"
5011fi
5012fi;
5013if test -z "$ac_with_regex"; then
5014 echo "$as_me:5014: result: rx" >&5
5015echo "${ECHO_T}rx" >&6
5016 echo "$as_me:5016: checking for re_rx_search" >&5
5017echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
5018if test "${ac_cv_func_re_rx_search+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5020else
5021 cat >conftest.$ac_ext <<_ACEOF
5022#line 5022 "configure"
5023#include "confdefs.h"
5024/* System header to define __stub macros and hopefully few prototypes,
5025 which can conflict with char re_rx_search (); below. */
5026#include <assert.h>
5027/* Override any gcc2 internal prototype to avoid an error. */
5028#ifdef __cplusplus
5029extern "C"
5030#endif
5031/* We use char because int might match the return type of a gcc2
5032 builtin and then its argument prototype would still apply. */
5033char re_rx_search ();
5034char (*f) ();
5035
5036int
5037main ()
5038{
5039/* The GNU C library defines this for functions which it implements
5040 to always fail with ENOSYS. Some functions are actually named
5041 something starting with __ and the normal name is an alias. */
5042#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
5043choke me
5044#else
5045f = re_rx_search;
5046#endif
5047
5048 ;
5049 return 0;
5050}
5051_ACEOF
5052rm -f conftest.$ac_objext conftest$ac_exeext
5053if { (eval echo "$as_me:5053: \"$ac_link\"") >&5
5054 (eval $ac_link) 2>&5
5055 ac_status=$?
5056 echo "$as_me:5056: \$? = $ac_status" >&5
5057 (exit $ac_status); } &&
5058 { ac_try='test -s conftest$ac_exeext'
5059 { (eval echo "$as_me:5059: \"$ac_try\"") >&5
5060 (eval $ac_try) 2>&5
5061 ac_status=$?
5062 echo "$as_me:5062: \$? = $ac_status" >&5
5063 (exit $ac_status); }; }; then
5064 ac_cv_func_re_rx_search=yes
5065else
5066 echo "$as_me: failed program was:" >&5
5067cat conftest.$ac_ext >&5
5068ac_cv_func_re_rx_search=no
5069fi
5070rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5071fi
5072echo "$as_me:5072: result: $ac_cv_func_re_rx_search" >&5
5073echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
5074if test $ac_cv_func_re_rx_search = yes; then
5075 :
5076else
5077 LIBOBJS="$LIBOBJS rx.o"
5078fi
5079
5080fi
5081
5082# ---------------------------------------------------------------------------
5083if test "$ac_cv_func_alloca" = 'no'; then
5084 LIBOBJS="$LIBOBJS xmalloc.o error.o"
5085fi
5086
5087# ---------------------------------------------------------------------------
5088
5089ac_config_files="$ac_config_files Makefile"
5090cat >confcache <<\_ACEOF
5091# This file is a shell script that caches the results of configure
5092# tests run on this system so they can be shared between configure
5093# scripts and configure runs, see configure's option --config-cache.
5094# It is not useful on other systems. If it contains results you don't
5095# want to keep, you may remove or edit it.
5096#
5097# config.status only pays attention to the cache file if you give it
5098# the --recheck option to rerun configure.
5099#
5100# `ac_cv_env_foo' variables (set or unset) will be overriden when
5101# loading this file, other *unset* `ac_cv_foo' will be assigned the
5102# following values.
5103
5104_ACEOF
5105
5106# The following way of writing the cache mishandles newlines in values,
5107# but we know of no workaround that is simple, portable, and efficient.
5108# So, don't put newlines in cache variables' values.
5109# Ultrix sh set writes to stderr and can't be redirected directly,
5110# and sets the high bit in the cache file unless we assign to the vars.
5111{
5112 (set) 2>&1 |
5113 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5114 *ac_space=\ *)
5115 # `set' does not quote correctly, so add quotes (double-quote
5116 # substitution turns \\\\ into \\, and sed turns \\ into \).
5117 sed -n \
5118 "s/'/'\\\\''/g;
5119 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5120 ;;
5121 *)
5122 # `set' quotes correctly as required by POSIX, so do not add quotes.
5123 sed -n \
5124 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5125 ;;
5126 esac;
5127} |
5128 sed '
5129 t clear
5130 : clear
5131 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5132 t end
5133 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5134 : end' >>confcache
5135if cmp -s $cache_file confcache; then :; else
5136 if test -w $cache_file; then
5137 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5138 cat confcache >$cache_file
5139 else
5140 echo "not updating unwritable cache $cache_file"
5141 fi
5142fi
5143rm -f confcache
5144
5145test "x$prefix" = xNONE && prefix=$ac_default_prefix
5146# Let make expand exec_prefix.
5147test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5148
5149# VPATH may cause trouble with some makes, so we remove $(srcdir),
5150# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5151# trailing colons and then remove the whole line if VPATH becomes empty
5152# (actually we leave an empty line to preserve line numbers).
5153if test "x$srcdir" = x.; then
5154 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5155s/:*\$(srcdir):*/:/;
5156s/:*\${srcdir}:*/:/;
5157s/:*@srcdir@:*/:/;
5158s/^\([^=]*=[ ]*\):*/\1/;
5159s/:*$//;
5160s/^[^=]*=[ ]*$//;
5161}'
5162fi
5163
5164DEFS=-DHAVE_CONFIG_H
5165
5166: ${CONFIG_STATUS=./config.status}
5167ac_clean_files_save=$ac_clean_files
5168ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5169{ echo "$as_me:5169: creating $CONFIG_STATUS" >&5
5170echo "$as_me: creating $CONFIG_STATUS" >&6;}
5171cat >$CONFIG_STATUS <<_ACEOF
5172#! $SHELL
5173# Generated automatically by configure.
5174# Run this file to recreate the current configuration.
5175# Compiler output produced by configure, useful for debugging
5176# configure, is in config.log if it exists.
5177
5178debug=false
5179SHELL=\${CONFIG_SHELL-$SHELL}
5180ac_cs_invocation="\$0 \$@"
5181
5182_ACEOF
5183
5184cat >>$CONFIG_STATUS <<\_ACEOF
5185# Be Bourne compatible
5186if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5187 emulate sh
5188 NULLCMD=:
5189elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5190 set -o posix
5191fi
5192
5193# Name of the executable.
5194as_me=`echo "$0" |sed 's,.*[\\/],,'`
5195
5196if expr a : '\(a\)' >/dev/null 2>&1; then
5197 as_expr=expr
5198else
5199 as_expr=false
5200fi
5201
5202rm -f conf$$ conf$$.exe conf$$.file
5203echo >conf$$.file
5204if ln -s conf$$.file conf$$ 2>/dev/null; then
5205 # We could just check for DJGPP; but this test a) works b) is more generic
5206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5207 if test -f conf$$.exe; then
5208 # Don't use ln at all; we don't have any links
5209 as_ln_s='cp -p'
5210 else
5211 as_ln_s='ln -s'
5212 fi
5213elif ln conf$$.file conf$$ 2>/dev/null; then
5214 as_ln_s=ln
5215else
5216 as_ln_s='cp -p'
5217fi
5218rm -f conf$$ conf$$.exe conf$$.file
5219
5220as_executable_p="test -f"
5221
5222# Support unset when possible.
5223if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5224 as_unset=unset
5225else
5226 as_unset=false
5227fi
5228
5229# NLS nuisances.
5230$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
5231$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
5232$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
5233$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
5234$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
5235$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
5236$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
5237$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
5238
5239# IFS
5240# We need space, tab and new line, in precisely that order.
5241as_nl='
5242'
5243IFS=" $as_nl"
5244
5245# CDPATH.
5246$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
5247
5248exec 6>&1
5249
5250_ACEOF
5251
5252# Files that config.status was made for.
5253if test -n "$ac_config_files"; then
5254 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5255fi
5256
5257if test -n "$ac_config_headers"; then
5258 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5259fi
5260
5261if test -n "$ac_config_links"; then
5262 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5263fi
5264
5265if test -n "$ac_config_commands"; then
5266 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5267fi
5268
5269cat >>$CONFIG_STATUS <<\EOF
5270
5271ac_cs_usage="\
5272\`$as_me' instantiates files from templates according to the
5273current configuration.
5274
5275Usage: $0 [OPTIONS] [FILE]...
5276
5277 -h, --help print this help, then exit
5278 -V, --version print version number, then exit
5279 -d, --debug don't remove temporary files
5280 --recheck update $as_me by reconfiguring in the same conditions
5281 --file=FILE[:TEMPLATE]
5282 instantiate the configuration file FILE
5283 --header=FILE[:TEMPLATE]
5284 instantiate the configuration header FILE
5285
5286Configuration files:
5287$config_files
5288
5289Configuration headers:
5290$config_headers
5291
5292Report bugs to <bug-autoconf@gnu.org>."
5293EOF
5294
5295cat >>$CONFIG_STATUS <<EOF
5296ac_cs_version="\\
5297config.status
5298configured by $0, generated by GNU Autoconf 2.50,
5299 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5300
5301Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5302Free Software Foundation, Inc.
5303This config.status script is free software; the Free Software Foundation
5304gives unlimited permission to copy, distribute and modify it."
5305srcdir=$srcdir
5306INSTALL="$INSTALL"
5307EOF
5308
5309cat >>$CONFIG_STATUS <<\EOF
5310# If no file are specified by the user, then we need to provide default
5311# value. By we need to know if files were specified by the user.
5312ac_need_defaults=:
5313while test $# != 0
5314do
5315 case $1 in
5316 --*=*)
5317 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5318 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5319 shift
5320 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5321 shift
5322 ;;
5323 -*);;
5324 *) # This is not an option, so the user has probably given explicit
5325 # arguments.
5326 ac_need_defaults=false;;
5327 esac
5328
5329 case $1 in
5330 # Handling of the options.
5331EOF
5332cat >>$CONFIG_STATUS <<EOF
5333 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5334 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5335 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5336EOF
5337cat >>$CONFIG_STATUS <<\EOF
5338 --version | --vers* | -V )
5339 echo "$ac_cs_version"; exit 0 ;;
5340 --he | --h)
5341 # Conflict between --help and --header
5342 { { echo "$as_me:5342: error: ambiguous option: $1
5343Try \`$0 --help' for more information." >&5
5344echo "$as_me: error: ambiguous option: $1
5345Try \`$0 --help' for more information." >&2;}
5346 { (exit 1); exit 1; }; };;
5347 --help | --hel | -h )
5348 echo "$ac_cs_usage"; exit 0 ;;
5349 --debug | --d* | -d )
5350 debug=: ;;
5351 --file | --fil | --fi | --f )
5352 shift
5353 CONFIG_FILES="$CONFIG_FILES $1"
5354 ac_need_defaults=false;;
5355 --header | --heade | --head | --hea )
5356 shift
5357 CONFIG_HEADERS="$CONFIG_HEADERS $1"
5358 ac_need_defaults=false;;
5359
5360 # Handling of arguments.
5361 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5362 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5363
5364 # This is an error.
5365 -*) { { echo "$as_me:5365: error: unrecognized option: $1
5366Try \`$0 --help' for more information." >&5
5367echo "$as_me: error: unrecognized option: $1
5368Try \`$0 --help' for more information." >&2;}
5369 { (exit 1); exit 1; }; } ;;
5370 *) { { echo "$as_me:5370: error: invalid argument: $1" >&5
5371echo "$as_me: error: invalid argument: $1" >&2;}
5372 { (exit 1); exit 1; }; };;
5373 esac
5374 shift
5375done
5376
5377exec 5>>config.log
5378cat >&5 << _ACEOF
5379
5380## ----------------------- ##
5381## Running config.status. ##
5382## ----------------------- ##
5383
5384This file was extended by $as_me 2.50, executed with
5385 > $ac_cs_invocation
5386on `(hostname || uname -n) 2>/dev/null | sed 1q`
5387
5388_ACEOF
5389EOF
5390
5391cat >>$CONFIG_STATUS <<\EOF
5392# If the user did not use the arguments to specify the items to instantiate,
5393# then the envvar interface is used. Set only those that are not.
5394# We use the long form for the default assignment because of an extremely
5395# bizarre bug on SunOS 4.1.3.
5396if $ac_need_defaults; then
5397 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5398 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5399fi
5400
5401# Create a temporary directory, and hook for its removal unless debugging.
5402$debug ||
5403{
5404 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5405 trap '{ (exit $?); exit $?; }' 1 2 13 15
5406}
5407
5408# Create a (secure) tmp directory for tmp files.
5409: ${TMPDIR=/tmp}
5410{
5411 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5412 test -n "$tmp" && test -d "$tmp"
5413} ||
5414{
5415 tmp=$TMPDIR/cs$$-$RANDOM
5416 (umask 077 && mkdir $tmp)
5417} ||
5418{
5419 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5420 { (exit 1); exit 1; }
5421}
5422
5423EOF
5424
5425cat >>$CONFIG_STATUS <<EOF
5426
5427#
5428# CONFIG_FILES section.
5429#
5430
5431# No need to generate the scripts if there are no CONFIG_FILES.
5432# This happens for instance when ./config.status config.h
5433if test -n "\$CONFIG_FILES"; then
5434 # Protect against being on the right side of a sed subst in config.status.
5435 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5436 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5437s,@SHELL@,$SHELL,;t t
5438s,@exec_prefix@,$exec_prefix,;t t
5439s,@prefix@,$prefix,;t t
5440s,@program_transform_name@,$program_transform_name,;t t
5441s,@bindir@,$bindir,;t t
5442s,@sbindir@,$sbindir,;t t
5443s,@libexecdir@,$libexecdir,;t t
5444s,@datadir@,$datadir,;t t
5445s,@sysconfdir@,$sysconfdir,;t t
5446s,@sharedstatedir@,$sharedstatedir,;t t
5447s,@localstatedir@,$localstatedir,;t t
5448s,@libdir@,$libdir,;t t
5449s,@includedir@,$includedir,;t t
5450s,@oldincludedir@,$oldincludedir,;t t
5451s,@infodir@,$infodir,;t t
5452s,@mandir@,$mandir,;t t
5453s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5454s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5455s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5456s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5457s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5458s,@ECHO_C@,$ECHO_C,;t t
5459s,@ECHO_N@,$ECHO_N,;t t
5460s,@ECHO_T@,$ECHO_T,;t t
5461s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5462s,@DEFS@,$DEFS,;t t
5463s,@LIBS@,$LIBS,;t t
5464s,@PACKAGE@,$PACKAGE,;t t
5465s,@VERSION@,$VERSION,;t t
5466s,@USE_FASTCGI@,$USE_FASTCGI,;t t
5467s,@CFLAGS@,$CFLAGS,;t t
5468s,@CC@,$CC,;t t
5469s,@LDFLAGS@,$LDFLAGS,;t t
5470s,@CPPFLAGS@,$CPPFLAGS,;t t
5471s,@ac_ct_CC@,$ac_ct_CC,;t t
5472s,@EXEEXT@,$EXEEXT,;t t
5473s,@OBJEXT@,$OBJEXT,;t t
5474s,@CXX@,$CXX,;t t
5475s,@CXXFLAGS@,$CXXFLAGS,;t t
5476s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5477s,@AWK@,$AWK,;t t
5478s,@YACC@,$YACC,;t t
5479s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5480s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5481s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5482s,@LN_S@,$LN_S,;t t
5483s,@SET_MAKE@,$SET_MAKE,;t t
5484s,@RANLIB@,$RANLIB,;t t
5485s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5486s,@CPP@,$CPP,;t t
5487s,@U@,$U,;t t
5488s,@ANSI2KNR@,$ANSI2KNR,;t t
5489s,@ALLOCA@,$ALLOCA,;t t
5490s,@LIBOBJS@,$LIBOBJS,;t t
5491s,@gsdlos@,$gsdlos,;t t
5492CEOF
5493
5494EOF
5495
5496 cat >>$CONFIG_STATUS <<\EOF
5497 # Split the substitutions into bite-sized pieces for seds with
5498 # small command number limits, like on Digital OSF/1 and HP-UX.
5499 ac_max_sed_lines=48
5500 ac_sed_frag=1 # Number of current file.
5501 ac_beg=1 # First line for current file.
5502 ac_end=$ac_max_sed_lines # Line after last line for current file.
5503 ac_more_lines=:
5504 ac_sed_cmds=
5505 while $ac_more_lines; do
5506 if test $ac_beg -gt 1; then
5507 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5508 else
5509 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5510 fi
5511 if test ! -s $tmp/subs.frag; then
5512 ac_more_lines=false
5513 else
5514 # The purpose of the label and of the branching condition is to
5515 # speed up the sed processing (if there are no `@' at all, there
5516 # is no need to browse any of the substitutions).
5517 # These are the two extra sed commands mentioned above.
5518 (echo ':t
5519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5520 if test -z "$ac_sed_cmds"; then
5521 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5522 else
5523 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5524 fi
5525 ac_sed_frag=`expr $ac_sed_frag + 1`
5526 ac_beg=$ac_end
5527 ac_end=`expr $ac_end + $ac_max_sed_lines`
5528 fi
5529 done
5530 if test -z "$ac_sed_cmds"; then
5531 ac_sed_cmds=cat
5532 fi
5533fi # test -n "$CONFIG_FILES"
5534
5535EOF
5536cat >>$CONFIG_STATUS <<\EOF
5537for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5538 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5539 case $ac_file in
5540 - | *:- | *:-:* ) # input from stdin
5541 cat >$tmp/stdin
5542 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5543 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5544 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5545 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5546 * ) ac_file_in=$ac_file.in ;;
5547 esac
5548
5549 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5550 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5551 X"$ac_file" : 'X\(//\)[^/]' \| \
5552 X"$ac_file" : 'X\(//\)$' \| \
5553 X"$ac_file" : 'X\(/\)' \| \
5554 . : '\(.\)' 2>/dev/null ||
5555echo X"$ac_file" |
5556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5558 /^X\(\/\/\)$/{ s//\1/; q; }
5559 /^X\(\/\).*/{ s//\1/; q; }
5560 s/.*/./; q'`
5561 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5562 { case "$ac_dir" in
5563 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5564 *) as_incr_dir=.;;
5565esac
5566as_dummy="$ac_dir"
5567for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5568 case $as_mkdir_dir in
5569 # Skip DOS drivespec
5570 ?:) as_incr_dir=$as_mkdir_dir ;;
5571 *)
5572 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5573 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5574 ;;
5575 esac
5576done; }
5577
5578 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
5579 # A "../" for each directory in $ac_dir_suffix.
5580 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
5581 else
5582 ac_dir_suffix= ac_dots=
5583 fi
5584
5585 case $srcdir in
5586 .) ac_srcdir=.
5587 if test -z "$ac_dots"; then
5588 ac_top_srcdir=.
5589 else
5590 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
5591 fi ;;
5592 [\\/]* | ?:[\\/]* )
5593 ac_srcdir=$srcdir$ac_dir_suffix;
5594 ac_top_srcdir=$srcdir ;;
5595 *) # Relative path.
5596 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
5597 ac_top_srcdir=$ac_dots$srcdir ;;
5598 esac
5599
5600 case $INSTALL in
5601 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5602 *) ac_INSTALL=$ac_dots$INSTALL ;;
5603 esac
5604
5605 if test x"$ac_file" != x-; then
5606 { echo "$as_me:5606: creating $ac_file" >&5
5607echo "$as_me: creating $ac_file" >&6;}
5608 rm -f "$ac_file"
5609 fi
5610 # Let's still pretend it is `configure' which instantiates (i.e., don't
5611 # use $as_me), people would be surprised to read:
5612 # /* config.h. Generated automatically by config.status. */
5613 configure_input="Generated automatically from `echo $ac_file_in |
5614 sed 's,.*/,,'` by configure."
5615
5616 # First look for the input files in the build tree, otherwise in the
5617 # src tree.
5618 ac_file_inputs=`IFS=:
5619 for f in $ac_file_in; do
5620 case $f in
5621 -) echo $tmp/stdin ;;
5622 [\\/$]*)
5623 # Absolute (can't be DOS-style, as IFS=:)
5624 test -f "$f" || { { echo "$as_me:5624: error: cannot find input file: $f" >&5
5625echo "$as_me: error: cannot find input file: $f" >&2;}
5626 { (exit 1); exit 1; }; }
5627 echo $f;;
5628 *) # Relative
5629 if test -f "$f"; then
5630 # Build tree
5631 echo $f
5632 elif test -f "$srcdir/$f"; then
5633 # Source tree
5634 echo $srcdir/$f
5635 else
5636 # /dev/null tree
5637 { { echo "$as_me:5637: error: cannot find input file: $f" >&5
5638echo "$as_me: error: cannot find input file: $f" >&2;}
5639 { (exit 1); exit 1; }; }
5640 fi;;
5641 esac
5642 done` || { (exit 1); exit 1; }
5643EOF
5644cat >>$CONFIG_STATUS <<EOF
5645 sed "$ac_vpsub
5646$extrasub
5647EOF
5648cat >>$CONFIG_STATUS <<\EOF
5649:t
5650/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5651s,@configure_input@,$configure_input,;t t
5652s,@srcdir@,$ac_srcdir,;t t
5653s,@top_srcdir@,$ac_top_srcdir,;t t
5654s,@INSTALL@,$ac_INSTALL,;t t
5655" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5656 rm -f $tmp/stdin
5657 if test x"$ac_file" != x-; then
5658 mv $tmp/out $ac_file
5659 else
5660 cat $tmp/out
5661 rm -f $tmp/out
5662 fi
5663
5664done
5665EOF
5666cat >>$CONFIG_STATUS <<\EOF
5667
5668#
5669# CONFIG_HEADER section.
5670#
5671
5672# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5673# NAME is the cpp macro being defined and VALUE is the value it is being given.
5674#
5675# ac_d sets the value in "#define NAME VALUE" lines.
5676ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5677ac_dB='[ ].*$,\1#\2'
5678ac_dC=' '
5679ac_dD=',;t'
5680# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5681ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5682ac_uB='$,\1#\2define\3'
5683ac_uC=' '
5684ac_uD=',;t'
5685
5686for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5687 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5688 case $ac_file in
5689 - | *:- | *:-:* ) # input from stdin
5690 cat >$tmp/stdin
5691 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5692 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5693 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5694 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5695 * ) ac_file_in=$ac_file.in ;;
5696 esac
5697
5698 test x"$ac_file" != x- && { echo "$as_me:5698: creating $ac_file" >&5
5699echo "$as_me: creating $ac_file" >&6;}
5700
5701 # First look for the input files in the build tree, otherwise in the
5702 # src tree.
5703 ac_file_inputs=`IFS=:
5704 for f in $ac_file_in; do
5705 case $f in
5706 -) echo $tmp/stdin ;;
5707 [\\/$]*)
5708 # Absolute (can't be DOS-style, as IFS=:)
5709 test -f "$f" || { { echo "$as_me:5709: error: cannot find input file: $f" >&5
5710echo "$as_me: error: cannot find input file: $f" >&2;}
5711 { (exit 1); exit 1; }; }
5712 echo $f;;
5713 *) # Relative
5714 if test -f "$f"; then
5715 # Build tree
5716 echo $f
5717 elif test -f "$srcdir/$f"; then
5718 # Source tree
5719 echo $srcdir/$f
5720 else
5721 # /dev/null tree
5722 { { echo "$as_me:5722: error: cannot find input file: $f" >&5
5723echo "$as_me: error: cannot find input file: $f" >&2;}
5724 { (exit 1); exit 1; }; }
5725 fi;;
5726 esac
5727 done` || { (exit 1); exit 1; }
5728 # Remove the trailing spaces.
5729 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5730
5731EOF
5732
5733# Transform confdefs.h into two sed scripts, `conftest.defines' and
5734# `conftest.undefs', that substitutes the proper values into
5735# config.h.in to produce config.h. The first handles `#define'
5736# templates, and the second `#undef' templates.
5737# And first: Protect against being on the right side of a sed subst in
5738# config.status. Protect against being in an unquoted here document
5739# in config.status.
5740rm -f conftest.defines conftest.undefs
5741# Using a here document instead of a string reduces the quoting nightmare.
5742# Putting comments in sed scripts is not portable.
5743#
5744# `end' is used to avoid that the second main sed command (meant for
5745# 0-ary CPP macros) applies to n-ary macro definitions.
5746# See the Autoconf documentation for `clear'.
5747cat >confdef2sed.sed <<\EOF
5748s/[\\&,]/\\&/g
5749s,[\\$`],\\&,g
5750t clear
5751: clear
5752s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
5753t end
5754s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5755: end
5756EOF
5757# If some macros were called several times there might be several times
5758# the same #defines, which is useless. Nevertheless, we may not want to
5759# sort them, since we want the *last* AC-DEFINE to be honored.
5760uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5761sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5762rm -f confdef2sed.sed
5763
5764# This sed command replaces #undef with comments. This is necessary, for
5765# example, in the case of _POSIX_SOURCE, which is predefined and required
5766# on some systems where configure will not decide to define it.
5767cat >>conftest.undefs <<\EOF
5768s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5769EOF
5770
5771# Break up conftest.defines because some shells have a limit on the size
5772# of here documents, and old seds have small limits too (100 cmds).
5773echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5774echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5775echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5776echo ' :' >>$CONFIG_STATUS
5777rm -f conftest.tail
5778while grep . conftest.defines >/dev/null
5779do
5780 # Write a limited-size here document to $tmp/defines.sed.
5781 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5782 # Speed up: don't consider the non `#define' lines.
5783 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5784 # Work around the forget-to-reset-the-flag bug.
5785 echo 't clr' >>$CONFIG_STATUS
5786 echo ': clr' >>$CONFIG_STATUS
5787 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5788 echo 'CEOF
5789 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5790 rm -f $tmp/in
5791 mv $tmp/out $tmp/in
5792' >>$CONFIG_STATUS
5793 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5794 rm -f conftest.defines
5795 mv conftest.tail conftest.defines
5796done
5797rm -f conftest.defines
5798echo ' fi # egrep' >>$CONFIG_STATUS
5799echo >>$CONFIG_STATUS
5800
5801# Break up conftest.undefs because some shells have a limit on the size
5802# of here documents, and old seds have small limits too (100 cmds).
5803echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5804rm -f conftest.tail
5805while grep . conftest.undefs >/dev/null
5806do
5807 # Write a limited-size here document to $tmp/undefs.sed.
5808 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5809 # Speed up: don't consider the non `#undef'
5810 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5811 # Work around the forget-to-reset-the-flag bug.
5812 echo 't clr' >>$CONFIG_STATUS
5813 echo ': clr' >>$CONFIG_STATUS
5814 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5815 echo 'CEOF
5816 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5817 rm -f $tmp/in
5818 mv $tmp/out $tmp/in
5819' >>$CONFIG_STATUS
5820 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5821 rm -f conftest.undefs
5822 mv conftest.tail conftest.undefs
5823done
5824rm -f conftest.undefs
5825
5826cat >>$CONFIG_STATUS <<\EOF
5827 # Let's still pretend it is `configure' which instantiates (i.e., don't
5828 # use $as_me), people would be surprised to read:
5829 # /* config.h. Generated automatically by config.status. */
5830 if test x"$ac_file" = x-; then
5831 echo "/* Generated automatically by configure. */" >$tmp/config.h
5832 else
5833 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
5834 fi
5835 cat $tmp/in >>$tmp/config.h
5836 rm -f $tmp/in
5837 if test x"$ac_file" != x-; then
5838 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5839 { echo "$as_me:5839: $ac_file is unchanged" >&5
5840echo "$as_me: $ac_file is unchanged" >&6;}
5841 else
5842 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5843 X"$ac_file" : 'X\(//\)[^/]' \| \
5844 X"$ac_file" : 'X\(//\)$' \| \
5845 X"$ac_file" : 'X\(/\)' \| \
5846 . : '\(.\)' 2>/dev/null ||
5847echo X"$ac_file" |
5848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5849 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5850 /^X\(\/\/\)$/{ s//\1/; q; }
5851 /^X\(\/\).*/{ s//\1/; q; }
5852 s/.*/./; q'`
5853 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5854 { case "$ac_dir" in
5855 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5856 *) as_incr_dir=.;;
5857esac
5858as_dummy="$ac_dir"
5859for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5860 case $as_mkdir_dir in
5861 # Skip DOS drivespec
5862 ?:) as_incr_dir=$as_mkdir_dir ;;
5863 *)
5864 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5865 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
5866 ;;
5867 esac
5868done; }
5869
5870 fi
5871 rm -f $ac_file
5872 mv $tmp/config.h $ac_file
5873 fi
5874 else
5875 cat $tmp/config.h
5876 rm -f $tmp/config.h
5877 fi
5878done
5879EOF
5880
5881cat >>$CONFIG_STATUS <<\EOF
5882
5883{ (exit 0); exit 0; }
5884EOF
5885chmod +x $CONFIG_STATUS
5886ac_clean_files=$ac_clean_files_save
5887
5888# configure is writing to config.log, and then calls config.status.
5889# config.status does its own redirection, appending to config.log.
5890# Unfortunately, on DOS this fails, as config.log is still kept open
5891# by configure, so config.status won't be able to write to it; its
5892# output is simply discarded. So we exec the FD to /dev/null,
5893# effectively closing config.log, so it can be properly (re)opened and
5894# appended to by config.status. When coming back to configure, we
5895# need to make the FD available again.
5896if test "$no_create" != yes; then
5897 ac_cs_success=:
5898 exec 5>/dev/null
5899 $SHELL $CONFIG_STATUS || ac_cs_success=false
5900 exec 5>>config.log
5901 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5902 # would make configure fail if this is the last instruction.
5903 $ac_cs_success || { (exit 1); exit 1; }
5904fi
5905
Note: See TracBrowser for help on using the repository browser.