source: main/trunk/gs2build/configure@ 21371

Last change on this file since 21371 was 21371, checked in by ak19, 14 years ago

ENABLE_JNI switch added in

File size: 238.5 KB
RevLine 
[16589]1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization. ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete. It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274# Factoring default headers for most tests.
275ac_includes_default="\
276#include <stdio.h>
277#if HAVE_SYS_TYPES_H
278# include <sys/types.h>
279#endif
280#if HAVE_SYS_STAT_H
281# include <sys/stat.h>
282#endif
283#if STDC_HEADERS
284# include <stdlib.h>
285# include <stddef.h>
286#else
287# if HAVE_STDLIB_H
288# include <stdlib.h>
289# endif
290#endif
291#if HAVE_STRING_H
292# if !STDC_HEADERS && HAVE_MEMORY_H
293# include <memory.h>
294# endif
295# include <string.h>
296#endif
297#if HAVE_STRINGS_H
298# include <strings.h>
299#endif
300#if HAVE_INTTYPES_H
301# include <inttypes.h>
302#else
303# if HAVE_STDINT_H
304# include <stdint.h>
305# endif
306#endif
307#if HAVE_UNISTD_H
308# include <unistd.h>
309#endif"
310
[19844]311ac_subdirs_all="$ac_subdirs_all common-src build-src"
[21371]312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
[16589]313ac_subst_files=''
314
315# Initialize some variables set by options.
316ac_init_help=
317ac_init_version=false
318# The variables have the same names as the options, with
319# dashes changed to underlines.
320cache_file=/dev/null
321exec_prefix=NONE
322no_create=
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
331verbose=
332x_includes=NONE
333x_libraries=NONE
334
335# Installation directory options.
336# These are left unexpanded so users can "make install exec_prefix=/foo"
337# and all the variables that are supposed to be based on exec_prefix
338# by default will actually change.
339# Use braces instead of parens because sh, perl, etc. also accept them.
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
353ac_prev=
354for ac_option
355do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650done
651
652if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656fi
657
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667done
668
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679done
680
681# There might be people who depend on the old broken behavior: `$host'
682# used to hold the argument of --host etc.
683# FIXME: To remove some day.
684build=$build_alias
685host=$host_alias
686target=$target_alias
687
688# FIXME: To remove some day.
689if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697fi
698
699ac_tool_prefix=
700test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702test "$silent" = yes && exec 6>/dev/null
703
704
705# Find the source files, if location was not specified.
706if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725else
726 ac_srcdir_defaulted=no
727fi
728if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736fi
737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741ac_env_build_alias_set=${build_alias+set}
742ac_env_build_alias_value=$build_alias
743ac_cv_env_build_alias_set=${build_alias+set}
744ac_cv_env_build_alias_value=$build_alias
745ac_env_host_alias_set=${host_alias+set}
746ac_env_host_alias_value=$host_alias
747ac_cv_env_host_alias_set=${host_alias+set}
748ac_cv_env_host_alias_value=$host_alias
749ac_env_target_alias_set=${target_alias+set}
750ac_env_target_alias_value=$target_alias
751ac_cv_env_target_alias_set=${target_alias+set}
752ac_cv_env_target_alias_value=$target_alias
753ac_env_CC_set=${CC+set}
754ac_env_CC_value=$CC
755ac_cv_env_CC_set=${CC+set}
756ac_cv_env_CC_value=$CC
757ac_env_CFLAGS_set=${CFLAGS+set}
758ac_env_CFLAGS_value=$CFLAGS
759ac_cv_env_CFLAGS_set=${CFLAGS+set}
760ac_cv_env_CFLAGS_value=$CFLAGS
761ac_env_LDFLAGS_set=${LDFLAGS+set}
762ac_env_LDFLAGS_value=$LDFLAGS
763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764ac_cv_env_LDFLAGS_value=$LDFLAGS
765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766ac_env_CPPFLAGS_value=$CPPFLAGS
767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769ac_env_CXX_set=${CXX+set}
770ac_env_CXX_value=$CXX
771ac_cv_env_CXX_set=${CXX+set}
772ac_cv_env_CXX_value=$CXX
773ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774ac_env_CXXFLAGS_value=$CXXFLAGS
775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776ac_cv_env_CXXFLAGS_value=$CXXFLAGS
777ac_env_CPP_set=${CPP+set}
778ac_env_CPP_value=$CPP
779ac_cv_env_CPP_set=${CPP+set}
780ac_cv_env_CPP_value=$CPP
781
782#
783# Report the --help message.
784#
785if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
788 cat <<_ACEOF
789\`configure' configures this package to adapt to many kinds of systems.
790
791Usage: $0 [OPTION]... [VAR=VALUE]...
792
793To assign environment variables (e.g., CC, CFLAGS...), specify them as
794VAR=VALUE. See below for descriptions of some of the useful variables.
795
796Defaults for the options are specified in brackets.
797
798Configuration:
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808
809_ACEOF
810
811 cat <<_ACEOF
812Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
814 [$ac_default_prefix]
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 [PREFIX]
817
818By default, \`make install' will install all the files in
819\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821for instance \`--prefix=\$HOME'.
822
823For better control, use the options below.
824
825Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
838_ACEOF
839
840 cat <<\_ACEOF
841
842System types:
843 --build=BUILD configure for building on BUILD [guessed]
844 --host=HOST cross-compile to build programs to run on HOST [BUILD]
845 --target=TARGET configure for building compilers for TARGET [HOST]
846_ACEOF
847fi
848
849if test -n "$ac_init_help"; then
850
851 cat <<\_ACEOF
852
853Optional Features:
854 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
855 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
856 --enable-corba Enable CORBA support
857 --enable-z3950 Enable Z39.50 client support
858 --disable-yaz Disable YAZ compilation
859 --disable-accentfold Disable Accent Folding for MGPP
860 --disable-sqlite Disable SQLite support
[21371]861 --enable-jni Enable JNI compilation
[21346]862 --disable-mg Disable MG compilation
863 --disable-mgpp Disable MGPP compilation
864 --disable-lucene Disable Lucene compilation
[16589]865
866Optional Packages:
867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
869 --with-micodir Use installed MICO directory
[16598]870 --with-dmalloc use dmalloc, as in
871 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
872 --with-regex use older regex in lieu of GNU rx for matching
[16589]873
874Some influential environment variables:
875 CC C compiler command
876 CFLAGS C compiler flags
877 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
878 nonstandard directory <lib dir>
879 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
880 headers in a nonstandard directory <include dir>
881 CXX C++ compiler command
882 CXXFLAGS C++ compiler flags
883 CPP C preprocessor
884
885Use these variables to override the choices made by `configure' or to help
886it to find libraries and programs with nonstandard names/locations.
887
888_ACEOF
889fi
890
891if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
893 ac_popdir=`pwd`
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
896 ac_builddir=.
897
898if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
902else
903 ac_dir_suffix= ac_top_builddir=
904fi
905
906case $srcdir in
907 .) # No --srcdir option. We are building in place.
908 ac_srcdir=.
909 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=.
911 else
912 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
913 fi ;;
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
917 *) # Relative path.
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920esac
921
922# Do not use `cd foo && pwd` to compute absolute paths, because
923# the directories may not exist.
924case `pwd` in
925.) ac_abs_builddir="$ac_dir";;
926*)
927 case "$ac_dir" in
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
931 esac;;
932esac
933case $ac_abs_builddir in
934.) ac_abs_top_builddir=${ac_top_builddir}.;;
935*)
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
940 esac;;
941esac
942case $ac_abs_builddir in
943.) ac_abs_srcdir=$ac_srcdir;;
944*)
945 case $ac_srcdir in
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
949 esac;;
950esac
951case $ac_abs_builddir in
952.) ac_abs_top_srcdir=$ac_top_srcdir;;
953*)
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 esac;;
959esac
960
961 cd $ac_dir
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
964 echo
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
967 echo
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
971 echo
972 $ac_configure --help
973 else
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 fi
976 cd $ac_popdir
977 done
978fi
979
980test -n "$ac_init_help" && exit 0
981if $ac_init_version; then
982 cat <<\_ACEOF
983
984Copyright (C) 2003 Free Software Foundation, Inc.
985This configure script is free software; the Free Software Foundation
986gives unlimited permission to copy, distribute and modify it.
987_ACEOF
988 exit 0
989fi
990exec 5>config.log
991cat >&5 <<_ACEOF
992This file contains any messages produced by compilers while
993running configure, to aid debugging if configure makes a mistake.
994
995It was created by $as_me, which was
996generated by GNU Autoconf 2.59. Invocation command line was
997
998 $ $0 $@
999
1000_ACEOF
1001{
1002cat <<_ASUNAME
1003## --------- ##
1004## Platform. ##
1005## --------- ##
1006
1007hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1008uname -m = `(uname -m) 2>/dev/null || echo unknown`
1009uname -r = `(uname -r) 2>/dev/null || echo unknown`
1010uname -s = `(uname -s) 2>/dev/null || echo unknown`
1011uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012
1013/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1014/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015
1016/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1017/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1018/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1019hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1020/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1021/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1022/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1023
1024_ASUNAME
1025
1026as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027for as_dir in $PATH
1028do
1029 IFS=$as_save_IFS
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1032done
1033
1034} >&5
1035
1036cat >&5 <<_ACEOF
1037
1038
1039## ----------- ##
1040## Core tests. ##
1041## ----------- ##
1042
1043_ACEOF
1044
1045
1046# Keep a trace of the command line.
1047# Strip out --no-create and --no-recursion so they do not pile up.
1048# Strip out --silent because we don't want to record it for future runs.
1049# Also quote any args containing shell meta-characters.
1050# Make two passes to allow for proper duplicate-argument suppression.
1051ac_configure_args=
1052ac_configure_args0=
1053ac_configure_args1=
1054ac_sep=
1055ac_must_keep_next=false
1056for ac_pass in 1 2
1057do
1058 for ac_arg
1059 do
1060 case $ac_arg in
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1064 continue ;;
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1067 esac
1068 case $ac_pass in
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 2)
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1074 else
1075 case $ac_arg in
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 esac
1083 ;;
1084 -* ) ac_must_keep_next=true ;;
1085 esac
1086 fi
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1089 ac_sep=" "
1090 ;;
1091 esac
1092 done
1093done
1094$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096
1097# When interrupted or exit'd, cleanup temporary files, and complete
1098# config.log. We remove comments because anyway the quotes in there
1099# would cause problems or look ugly.
1100# WARNING: Be sure not to use single quotes in there, as some shells,
1101# such as our DU 5.0 friend, will then `close' the trap.
1102trap 'exit_status=$?
1103 # Save into config.log some information that might help in debugging.
1104 {
1105 echo
1106
1107 cat <<\_ASBOX
1108## ---------------- ##
1109## Cache variables. ##
1110## ---------------- ##
1111_ASBOX
1112 echo
1113 # The following way of writing the cache mishandles newlines in values,
1114{
1115 (set) 2>&1 |
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 *ac_space=\ *)
1118 sed -n \
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 ;;
1122 *)
1123 sed -n \
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ;;
1126 esac;
1127}
1128 echo
1129
1130 cat <<\_ASBOX
1131## ----------------- ##
1132## Output variables. ##
1133## ----------------- ##
1134_ASBOX
1135 echo
1136 for ac_var in $ac_subst_vars
1137 do
1138 eval ac_val=$`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1140 done | sort
1141 echo
1142
1143 if test -n "$ac_subst_files"; then
1144 cat <<\_ASBOX
1145## ------------- ##
1146## Output files. ##
1147## ------------- ##
1148_ASBOX
1149 echo
1150 for ac_var in $ac_subst_files
1151 do
1152 eval ac_val=$`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1154 done | sort
1155 echo
1156 fi
1157
1158 if test -s confdefs.h; then
1159 cat <<\_ASBOX
1160## ----------- ##
1161## confdefs.h. ##
1162## ----------- ##
1163_ASBOX
1164 echo
1165 sed "/^$/d" confdefs.h | sort
1166 echo
1167 fi
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1171 } >&5
1172 rm -f core *.core &&
1173 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1174 exit $exit_status
1175 ' 0
1176for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1178done
1179ac_signal=0
1180
1181# confdefs.h avoids OS command line length limits that DEFS can exceed.
1182rm -rf conftest* confdefs.h
1183# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184echo >confdefs.h
1185
1186# Predefined preprocessor variables.
1187
1188cat >>confdefs.h <<_ACEOF
1189#define PACKAGE_NAME "$PACKAGE_NAME"
1190_ACEOF
1191
1192
1193cat >>confdefs.h <<_ACEOF
1194#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1195_ACEOF
1196
1197
1198cat >>confdefs.h <<_ACEOF
1199#define PACKAGE_VERSION "$PACKAGE_VERSION"
1200_ACEOF
1201
1202
1203cat >>confdefs.h <<_ACEOF
1204#define PACKAGE_STRING "$PACKAGE_STRING"
1205_ACEOF
1206
1207
1208cat >>confdefs.h <<_ACEOF
1209#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1210_ACEOF
1211
1212
1213# Let the site file select an alternate cache file if it wants to.
1214# Prefer explicitly selected file to automatically selected ones.
1215if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 else
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 fi
1221fi
1222for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's/^/| /' "$ac_site_file" >&5
1227 . "$ac_site_file"
1228 fi
1229done
1230
1231if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236echo "$as_me: loading cache $cache_file" >&6;}
1237 case $cache_file in
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1240 esac
1241 fi
1242else
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244echo "$as_me: creating cache $cache_file" >&6;}
1245 >$cache_file
1246fi
1247
1248# Check that the precious variables saved in the cache have kept the same
1249# value.
1250ac_cache_corrupted=false
1251for ac_var in `(set) 2>&1 |
1252 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1258 set,)
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1260echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1262 ,set)
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1264echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1266 ,);;
1267 *)
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1270echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1276 fi;;
1277 esac
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1280 case $ac_new_val in
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1284 esac
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1288 esac
1289 fi
1290done
1291if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1295echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1297fi
1298
1299ac_ext=c
1300ac_cpp='$CPP $CPPFLAGS'
1301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1303ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323 ac_config_headers="$ac_config_headers config.h"
1324
1325
1326PACKAGE=gsdl
1327VERSION=2.82-svn
1328cat >>confdefs.h <<_ACEOF
1329#define PACKAGE "$PACKAGE"
1330_ACEOF
1331
1332cat >>confdefs.h <<_ACEOF
1333#define VERSION "$VERSION"
1334_ACEOF
1335
1336
1337
1338
1339USE_FASTCGI=0
1340if test USE_FASTCGI = 1; then
1341cat >>confdefs.h <<\_ACEOF
1342#define USE_FASTCGI 1
1343_ACEOF
1344
1345
1346fi
1347
1348if test USE_LANGACTION = 1; then
1349cat >>confdefs.h <<\_ACEOF
1350#define USE_LANGACTION 1
1351_ACEOF
1352
1353
1354fi
1355
1356# Check whether --enable-corba or --disable-corba was given.
1357if test "${enable_corba+set}" = set; then
1358 enableval="$enable_corba"
1359 USE_CORBA=1
1360else
1361 USE_CORBA=0
1362fi;
1363cat >>confdefs.h <<_ACEOF
1364#define USE_CORBA $USE_CORBA
1365_ACEOF
1366
1367
1368
1369
1370# Check whether --with-micodir or --without-micodir was given.
1371if test "${with_micodir+set}" = set; then
1372 withval="$with_micodir"
[21371]1373 MICO_DIR=$withval
[16589]1374else
1375 MICO_DIR="default"
1376fi;
1377cat >>confdefs.h <<_ACEOF
1378#define MICO_DIR "$MICO_DIR"
1379_ACEOF
1380
1381
1382
1383# Check whether --enable-z3950 or --disable-z3950 was given.
1384if test "${enable_z3950+set}" = set; then
1385 enableval="$enable_z3950"
1386 USE_Z3950=1
1387else
1388 USE_Z3950=0
1389fi;
1390if test USE_Z3950 = 1; then
1391cat >>confdefs.h <<\_ACEOF
1392#define USE_Z3950 $USE_Z3950
1393_ACEOF
1394
1395
1396fi
1397
1398# Check whether --enable-yaz or --disable-yaz was given.
1399if test "${enable_yaz+set}" = set; then
1400 enableval="$enable_yaz"
1401 USE_YAZ=0
1402else
1403 USE_YAZ=1
1404fi;
1405cat >>confdefs.h <<\_ACEOF
1406#define USE_YAZ $USE_YAZ
1407_ACEOF
1408
1409
1410
1411# Check whether --enable-accentfold or --disable-accentfold was given.
1412if test "${enable_accentfold+set}" = set; then
1413 enableval="$enable_accentfold"
1414 ENABLE_ACCENTFOLD=0
1415else
1416 ENABLE_ACCENTFOLD=1
1417fi;
1418cat >>confdefs.h <<\_ACEOF
1419#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
1420_ACEOF
1421
1422
1423
1424# Check whether --enable-sqlite or --disable-sqlite was given.
1425if test "${enable_sqlite+set}" = set; then
1426 enableval="$enable_sqlite"
1427 USE_SQLITE=0
1428else
1429 USE_SQLITE=1
1430fi;
1431cat >>confdefs.h <<\_ACEOF
1432#define USE_SQLITE $USE_SQLITE
1433_ACEOF
1434
1435
1436
[21371]1437# Check whether --enable-jni or --disable-jni was given.
1438if test "${enable_jni+set}" = set; then
1439 enableval="$enable_jni"
1440 ENABLE_JNI=$enableval
1441else
1442 ENABLE_JNI=no
1443fi;
1444if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
1445 ENABLE_JNI=1
1446 cat >>confdefs.h <<\_ACEOF
1447#define ENABLE_JNI
1448_ACEOF
1449
1450else
1451 ENABLE_JNI=0
1452fi
1453
1454
[21346]1455# Check whether --enable-mg or --disable-mg was given.
1456if test "${enable_mg+set}" = set; then
1457 enableval="$enable_mg"
1458 ENABLE_MG=$enableval
1459else
1460 ENABLE_MG=yes
1461fi;
1462if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
1463 ENABLE_MG=1
1464 cat >>confdefs.h <<\_ACEOF
1465#define ENABLE_MG
1466_ACEOF
1467
1468 else
1469 ENABLE_MG=0
1470 fi
1471
1472
1473
1474# Check whether --enable-mgpp or --disable-mgpp was given.
1475if test "${enable_mgpp+set}" = set; then
1476 enableval="$enable_mgpp"
1477 ENABLE_MGPP=$enableval
1478else
1479 ENABLE_MGPP=yes
1480fi;
1481if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
1482 ENABLE_MGPP=1
1483 cat >>confdefs.h <<\_ACEOF
1484#define ENABLE_MGPP
1485_ACEOF
1486
1487else
1488 ENABLE_MGPP=0
1489fi
1490
1491
1492# Check whether --enable-lucene or --disable-lucene was given.
1493if test "${enable_lucene+set}" = set; then
1494 enableval="$enable_lucene"
1495 ENABLE_LUCENE=$enableval
1496else
1497 ENABLE_LUCENE=yes
1498fi;
1499if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
1500 ENABLE_LUCENE=1
1501 cat >>confdefs.h <<\_ACEOF
1502#define ENABLE_LUCENE
1503_ACEOF
1504
1505else
1506 ENABLE_LUCENE=0
1507fi
1508
1509
[16589]1510LDFLAGS=$LDFLAGS
1511
1512if test -z "$CFLAGS"; then
1513CFLAGS=-O2
1514fi
1515
1516
1517
1518ac_ext=c
1519ac_cpp='$CPP $CPPFLAGS'
1520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522ac_compiler_gnu=$ac_cv_c_compiler_gnu
1523if test -n "$ac_tool_prefix"; then
1524 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1525set dummy ${ac_tool_prefix}gcc; ac_word=$2
1526echo "$as_me:$LINENO: checking for $ac_word" >&5
1527echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1528if test "${ac_cv_prog_CC+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1530else
1531 if test -n "$CC"; then
1532 ac_cv_prog_CC="$CC" # Let the user override the test.
1533else
1534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535for as_dir in $PATH
1536do
1537 IFS=$as_save_IFS
1538 test -z "$as_dir" && as_dir=.
1539 for ac_exec_ext in '' $ac_executable_extensions; do
1540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1541 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 break 2
1544 fi
1545done
1546done
1547
1548fi
1549fi
1550CC=$ac_cv_prog_CC
1551if test -n "$CC"; then
1552 echo "$as_me:$LINENO: result: $CC" >&5
1553echo "${ECHO_T}$CC" >&6
1554else
1555 echo "$as_me:$LINENO: result: no" >&5
1556echo "${ECHO_T}no" >&6
1557fi
1558
1559fi
1560if test -z "$ac_cv_prog_CC"; then
1561 ac_ct_CC=$CC
1562 # Extract the first word of "gcc", so it can be a program name with args.
1563set dummy gcc; ac_word=$2
1564echo "$as_me:$LINENO: checking for $ac_word" >&5
1565echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1566if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1568else
1569 if test -n "$ac_ct_CC"; then
1570 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1571else
1572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573for as_dir in $PATH
1574do
1575 IFS=$as_save_IFS
1576 test -z "$as_dir" && as_dir=.
1577 for ac_exec_ext in '' $ac_executable_extensions; do
1578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1579 ac_cv_prog_ac_ct_CC="gcc"
1580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581 break 2
1582 fi
1583done
1584done
1585
1586fi
1587fi
1588ac_ct_CC=$ac_cv_prog_ac_ct_CC
1589if test -n "$ac_ct_CC"; then
1590 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1591echo "${ECHO_T}$ac_ct_CC" >&6
1592else
1593 echo "$as_me:$LINENO: result: no" >&5
1594echo "${ECHO_T}no" >&6
1595fi
1596
1597 CC=$ac_ct_CC
1598else
1599 CC="$ac_cv_prog_CC"
1600fi
1601
1602if test -z "$CC"; then
1603 if test -n "$ac_tool_prefix"; then
1604 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1605set dummy ${ac_tool_prefix}cc; ac_word=$2
1606echo "$as_me:$LINENO: checking for $ac_word" >&5
1607echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1608if test "${ac_cv_prog_CC+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1610else
1611 if test -n "$CC"; then
1612 ac_cv_prog_CC="$CC" # Let the user override the test.
1613else
1614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615for as_dir in $PATH
1616do
1617 IFS=$as_save_IFS
1618 test -z "$as_dir" && as_dir=.
1619 for ac_exec_ext in '' $ac_executable_extensions; do
1620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1621 ac_cv_prog_CC="${ac_tool_prefix}cc"
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 break 2
1624 fi
1625done
1626done
1627
1628fi
1629fi
1630CC=$ac_cv_prog_CC
1631if test -n "$CC"; then
1632 echo "$as_me:$LINENO: result: $CC" >&5
1633echo "${ECHO_T}$CC" >&6
1634else
1635 echo "$as_me:$LINENO: result: no" >&5
1636echo "${ECHO_T}no" >&6
1637fi
1638
1639fi
1640if test -z "$ac_cv_prog_CC"; then
1641 ac_ct_CC=$CC
1642 # Extract the first word of "cc", so it can be a program name with args.
1643set dummy cc; ac_word=$2
1644echo "$as_me:$LINENO: checking for $ac_word" >&5
1645echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6
1648else
1649 if test -n "$ac_ct_CC"; then
1650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1651else
1652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653for as_dir in $PATH
1654do
1655 IFS=$as_save_IFS
1656 test -z "$as_dir" && as_dir=.
1657 for ac_exec_ext in '' $ac_executable_extensions; do
1658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659 ac_cv_prog_ac_ct_CC="cc"
1660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 break 2
1662 fi
1663done
1664done
1665
1666fi
1667fi
1668ac_ct_CC=$ac_cv_prog_ac_ct_CC
1669if test -n "$ac_ct_CC"; then
1670 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1671echo "${ECHO_T}$ac_ct_CC" >&6
1672else
1673 echo "$as_me:$LINENO: result: no" >&5
1674echo "${ECHO_T}no" >&6
1675fi
1676
1677 CC=$ac_ct_CC
1678else
1679 CC="$ac_cv_prog_CC"
1680fi
1681
1682fi
1683if test -z "$CC"; then
1684 # Extract the first word of "cc", so it can be a program name with args.
1685set dummy cc; ac_word=$2
1686echo "$as_me:$LINENO: checking for $ac_word" >&5
1687echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688if test "${ac_cv_prog_CC+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1690else
1691 if test -n "$CC"; then
1692 ac_cv_prog_CC="$CC" # Let the user override the test.
1693else
1694 ac_prog_rejected=no
1695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696for as_dir in $PATH
1697do
1698 IFS=$as_save_IFS
1699 test -z "$as_dir" && as_dir=.
1700 for ac_exec_ext in '' $ac_executable_extensions; do
1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1702 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1703 ac_prog_rejected=yes
1704 continue
1705 fi
1706 ac_cv_prog_CC="cc"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 break 2
1709 fi
1710done
1711done
1712
1713if test $ac_prog_rejected = yes; then
1714 # We found a bogon in the path, so make sure we never use it.
1715 set dummy $ac_cv_prog_CC
1716 shift
1717 if test $# != 0; then
1718 # We chose a different compiler from the bogus one.
1719 # However, it has the same basename, so the bogon will be chosen
1720 # first if we set CC to just the basename; use the full file name.
1721 shift
1722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1723 fi
1724fi
1725fi
1726fi
1727CC=$ac_cv_prog_CC
1728if test -n "$CC"; then
1729 echo "$as_me:$LINENO: result: $CC" >&5
1730echo "${ECHO_T}$CC" >&6
1731else
1732 echo "$as_me:$LINENO: result: no" >&5
1733echo "${ECHO_T}no" >&6
1734fi
1735
1736fi
1737if test -z "$CC"; then
1738 if test -n "$ac_tool_prefix"; then
1739 for ac_prog in cl
1740 do
1741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1742set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1743echo "$as_me:$LINENO: checking for $ac_word" >&5
1744echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1745if test "${ac_cv_prog_CC+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1747else
1748 if test -n "$CC"; then
1749 ac_cv_prog_CC="$CC" # Let the user override the test.
1750else
1751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752for as_dir in $PATH
1753do
1754 IFS=$as_save_IFS
1755 test -z "$as_dir" && as_dir=.
1756 for ac_exec_ext in '' $ac_executable_extensions; do
1757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1758 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 break 2
1761 fi
1762done
1763done
1764
1765fi
1766fi
1767CC=$ac_cv_prog_CC
1768if test -n "$CC"; then
1769 echo "$as_me:$LINENO: result: $CC" >&5
1770echo "${ECHO_T}$CC" >&6
1771else
1772 echo "$as_me:$LINENO: result: no" >&5
1773echo "${ECHO_T}no" >&6
1774fi
1775
1776 test -n "$CC" && break
1777 done
1778fi
1779if test -z "$CC"; then
1780 ac_ct_CC=$CC
1781 for ac_prog in cl
1782do
1783 # Extract the first word of "$ac_prog", so it can be a program name with args.
1784set dummy $ac_prog; ac_word=$2
1785echo "$as_me:$LINENO: checking for $ac_word" >&5
1786echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1789else
1790 if test -n "$ac_ct_CC"; then
1791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1792else
1793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794for as_dir in $PATH
1795do
1796 IFS=$as_save_IFS
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_prog_ac_ct_CC="$ac_prog"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 break 2
1803 fi
1804done
1805done
1806
1807fi
1808fi
1809ac_ct_CC=$ac_cv_prog_ac_ct_CC
1810if test -n "$ac_ct_CC"; then
1811 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1812echo "${ECHO_T}$ac_ct_CC" >&6
1813else
1814 echo "$as_me:$LINENO: result: no" >&5
1815echo "${ECHO_T}no" >&6
1816fi
1817
1818 test -n "$ac_ct_CC" && break
1819done
1820
1821 CC=$ac_ct_CC
1822fi
1823
1824fi
1825
1826
1827test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1828See \`config.log' for more details." >&5
1829echo "$as_me: error: no acceptable C compiler found in \$PATH
1830See \`config.log' for more details." >&2;}
1831 { (exit 1); exit 1; }; }
1832
1833# Provide some information about the compiler.
1834echo "$as_me:$LINENO:" \
1835 "checking for C compiler version" >&5
1836ac_compiler=`set X $ac_compile; echo $2`
1837{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1838 (eval $ac_compiler --version </dev/null >&5) 2>&5
1839 ac_status=$?
1840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1841 (exit $ac_status); }
1842{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1843 (eval $ac_compiler -v </dev/null >&5) 2>&5
1844 ac_status=$?
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1848 (eval $ac_compiler -V </dev/null >&5) 2>&5
1849 ac_status=$?
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852
1853cat >conftest.$ac_ext <<_ACEOF
1854/* confdefs.h. */
1855_ACEOF
1856cat confdefs.h >>conftest.$ac_ext
1857cat >>conftest.$ac_ext <<_ACEOF
1858/* end confdefs.h. */
1859
1860int
1861main ()
1862{
1863
1864 ;
1865 return 0;
1866}
1867_ACEOF
1868ac_clean_files_save=$ac_clean_files
1869ac_clean_files="$ac_clean_files a.out a.exe b.out"
1870# Try to create an executable without -o first, disregard a.out.
1871# It will help us diagnose broken compilers, and finding out an intuition
1872# of exeext.
1873echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1874echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1875ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1876if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1877 (eval $ac_link_default) 2>&5
1878 ac_status=$?
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; then
1881 # Find the output, starting from the most likely. This scheme is
1882# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1883# resort.
1884
1885# Be careful to initialize this variable, since it used to be cached.
1886# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1887ac_cv_exeext=
1888# b.out is created by i960 compilers.
1889for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1890do
1891 test -f "$ac_file" || continue
1892 case $ac_file in
1893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1894 ;;
1895 conftest.$ac_ext )
1896 # This is the source file.
1897 ;;
1898 [ab].out )
1899 # We found the default executable, but exeext='' is most
1900 # certainly right.
1901 break;;
1902 *.* )
1903 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1904 # FIXME: I believe we export ac_cv_exeext for Libtool,
1905 # but it would be cool to find out if it's true. Does anybody
1906 # maintain Libtool? --akim.
1907 export ac_cv_exeext
1908 break;;
1909 * )
1910 break;;
1911 esac
1912done
1913else
1914 echo "$as_me: failed program was:" >&5
1915sed 's/^/| /' conftest.$ac_ext >&5
1916
1917{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1918See \`config.log' for more details." >&5
1919echo "$as_me: error: C compiler cannot create executables
1920See \`config.log' for more details." >&2;}
1921 { (exit 77); exit 77; }; }
1922fi
1923
1924ac_exeext=$ac_cv_exeext
1925echo "$as_me:$LINENO: result: $ac_file" >&5
1926echo "${ECHO_T}$ac_file" >&6
1927
1928# Check the compiler produces executables we can run. If not, either
1929# the compiler is broken, or we cross compile.
1930echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1931echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1932# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1933# If not cross compiling, check that we can run a simple program.
1934if test "$cross_compiling" != yes; then
1935 if { ac_try='./$ac_file'
1936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1937 (eval $ac_try) 2>&5
1938 ac_status=$?
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; }; then
1941 cross_compiling=no
1942 else
1943 if test "$cross_compiling" = maybe; then
1944 cross_compiling=yes
1945 else
1946 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1947If you meant to cross compile, use \`--host'.
1948See \`config.log' for more details." >&5
1949echo "$as_me: error: cannot run C compiled programs.
1950If you meant to cross compile, use \`--host'.
1951See \`config.log' for more details." >&2;}
1952 { (exit 1); exit 1; }; }
1953 fi
1954 fi
1955fi
1956echo "$as_me:$LINENO: result: yes" >&5
1957echo "${ECHO_T}yes" >&6
1958
1959rm -f a.out a.exe conftest$ac_cv_exeext b.out
1960ac_clean_files=$ac_clean_files_save
1961# Check the compiler produces executables we can run. If not, either
1962# the compiler is broken, or we cross compile.
1963echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1964echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1965echo "$as_me:$LINENO: result: $cross_compiling" >&5
1966echo "${ECHO_T}$cross_compiling" >&6
1967
1968echo "$as_me:$LINENO: checking for suffix of executables" >&5
1969echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1970if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1971 (eval $ac_link) 2>&5
1972 ac_status=$?
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); }; then
1975 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1976# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1977# work properly (i.e., refer to `conftest.exe'), while it won't with
1978# `rm'.
1979for ac_file in conftest.exe conftest conftest.*; do
1980 test -f "$ac_file" || continue
1981 case $ac_file in
1982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1983 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1984 export ac_cv_exeext
1985 break;;
1986 * ) break;;
1987 esac
1988done
1989else
1990 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1991See \`config.log' for more details." >&5
1992echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1993See \`config.log' for more details." >&2;}
1994 { (exit 1); exit 1; }; }
1995fi
1996
1997rm -f conftest$ac_cv_exeext
1998echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1999echo "${ECHO_T}$ac_cv_exeext" >&6
2000
2001rm -f conftest.$ac_ext
2002EXEEXT=$ac_cv_exeext
2003ac_exeext=$EXEEXT
2004echo "$as_me:$LINENO: checking for suffix of object files" >&5
2005echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2006if test "${ac_cv_objext+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2008else
2009 cat >conftest.$ac_ext <<_ACEOF
2010/* confdefs.h. */
2011_ACEOF
2012cat confdefs.h >>conftest.$ac_ext
2013cat >>conftest.$ac_ext <<_ACEOF
2014/* end confdefs.h. */
2015
2016int
2017main ()
2018{
2019
2020 ;
2021 return 0;
2022}
2023_ACEOF
2024rm -f conftest.o conftest.obj
2025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2026 (eval $ac_compile) 2>&5
2027 ac_status=$?
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; then
2030 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2031 case $ac_file in
2032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2033 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2034 break;;
2035 esac
2036done
2037else
2038 echo "$as_me: failed program was:" >&5
2039sed 's/^/| /' conftest.$ac_ext >&5
2040
2041{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2042See \`config.log' for more details." >&5
2043echo "$as_me: error: cannot compute suffix of object files: cannot compile
2044See \`config.log' for more details." >&2;}
2045 { (exit 1); exit 1; }; }
2046fi
2047
2048rm -f conftest.$ac_cv_objext conftest.$ac_ext
2049fi
2050echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2051echo "${ECHO_T}$ac_cv_objext" >&6
2052OBJEXT=$ac_cv_objext
2053ac_objext=$OBJEXT
2054echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2055echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2056if test "${ac_cv_c_compiler_gnu+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2058else
2059 cat >conftest.$ac_ext <<_ACEOF
2060/* confdefs.h. */
2061_ACEOF
2062cat confdefs.h >>conftest.$ac_ext
2063cat >>conftest.$ac_ext <<_ACEOF
2064/* end confdefs.h. */
2065
2066int
2067main ()
2068{
2069#ifndef __GNUC__
2070 choke me
2071#endif
2072
2073 ;
2074 return 0;
2075}
2076_ACEOF
2077rm -f conftest.$ac_objext
2078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2079 (eval $ac_compile) 2>conftest.er1
2080 ac_status=$?
2081 grep -v '^ *+' conftest.er1 >conftest.err
2082 rm -f conftest.er1
2083 cat conftest.err >&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); } &&
2086 { ac_try='test -z "$ac_c_werror_flag"
2087 || test ! -s conftest.err'
2088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2089 (eval $ac_try) 2>&5
2090 ac_status=$?
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }; } &&
2093 { ac_try='test -s conftest.$ac_objext'
2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 (eval $ac_try) 2>&5
2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; }; then
2099 ac_compiler_gnu=yes
2100else
2101 echo "$as_me: failed program was:" >&5
2102sed 's/^/| /' conftest.$ac_ext >&5
2103
2104ac_compiler_gnu=no
2105fi
2106rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2107ac_cv_c_compiler_gnu=$ac_compiler_gnu
2108
2109fi
2110echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2111echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2112GCC=`test $ac_compiler_gnu = yes && echo yes`
2113ac_test_CFLAGS=${CFLAGS+set}
2114ac_save_CFLAGS=$CFLAGS
2115CFLAGS="-g"
2116echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2117echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2118if test "${ac_cv_prog_cc_g+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2120else
2121 cat >conftest.$ac_ext <<_ACEOF
2122/* confdefs.h. */
2123_ACEOF
2124cat confdefs.h >>conftest.$ac_ext
2125cat >>conftest.$ac_ext <<_ACEOF
2126/* end confdefs.h. */
2127
2128int
2129main ()
2130{
2131
2132 ;
2133 return 0;
2134}
2135_ACEOF
2136rm -f conftest.$ac_objext
2137if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2138 (eval $ac_compile) 2>conftest.er1
2139 ac_status=$?
2140 grep -v '^ *+' conftest.er1 >conftest.err
2141 rm -f conftest.er1
2142 cat conftest.err >&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); } &&
2145 { ac_try='test -z "$ac_c_werror_flag"
2146 || test ! -s conftest.err'
2147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2148 (eval $ac_try) 2>&5
2149 ac_status=$?
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); }; } &&
2152 { ac_try='test -s conftest.$ac_objext'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154 (eval $ac_try) 2>&5
2155 ac_status=$?
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2158 ac_cv_prog_cc_g=yes
2159else
2160 echo "$as_me: failed program was:" >&5
2161sed 's/^/| /' conftest.$ac_ext >&5
2162
2163ac_cv_prog_cc_g=no
2164fi
2165rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2166fi
2167echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2168echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2169if test "$ac_test_CFLAGS" = set; then
2170 CFLAGS=$ac_save_CFLAGS
2171elif test $ac_cv_prog_cc_g = yes; then
2172 if test "$GCC" = yes; then
2173 CFLAGS="-g -O2"
2174 else
2175 CFLAGS="-g"
2176 fi
2177else
2178 if test "$GCC" = yes; then
2179 CFLAGS="-O2"
2180 else
2181 CFLAGS=
2182 fi
2183fi
2184echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2185echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2186if test "${ac_cv_prog_cc_stdc+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188else
2189 ac_cv_prog_cc_stdc=no
2190ac_save_CC=$CC
2191cat >conftest.$ac_ext <<_ACEOF
2192/* confdefs.h. */
2193_ACEOF
2194cat confdefs.h >>conftest.$ac_ext
2195cat >>conftest.$ac_ext <<_ACEOF
2196/* end confdefs.h. */
2197#include <stdarg.h>
2198#include <stdio.h>
2199#include <sys/types.h>
2200#include <sys/stat.h>
2201/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2202struct buf { int x; };
2203FILE * (*rcsopen) (struct buf *, struct stat *, int);
2204static char *e (p, i)
2205 char **p;
2206 int i;
2207{
2208 return p[i];
2209}
2210static char *f (char * (*g) (char **, int), char **p, ...)
2211{
2212 char *s;
2213 va_list v;
2214 va_start (v,p);
2215 s = g (p, va_arg (v,int));
2216 va_end (v);
2217 return s;
2218}
2219
2220/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2221 function prototypes and stuff, but not '\xHH' hex character constants.
2222 These don't provoke an error unfortunately, instead are silently treated
2223 as 'x'. The following induces an error, until -std1 is added to get
2224 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2225 array size at least. It's necessary to write '\x00'==0 to get something
2226 that's true only with -std1. */
2227int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2228
2229int test (int i, double x);
2230struct s1 {int (*f) (int a);};
2231struct s2 {int (*f) (double a);};
2232int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2233int argc;
2234char **argv;
2235int
2236main ()
2237{
2238return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2239 ;
2240 return 0;
2241}
2242_ACEOF
2243# Don't try gcc -ansi; that turns off useful extensions and
2244# breaks some systems' header files.
2245# AIX -qlanglvl=ansi
2246# Ultrix and OSF/1 -std1
2247# HP-UX 10.20 and later -Ae
2248# HP-UX older versions -Aa -D_HPUX_SOURCE
2249# SVR4 -Xc -D__EXTENSIONS__
2250for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2251do
2252 CC="$ac_save_CC $ac_arg"
2253 rm -f conftest.$ac_objext
2254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255 (eval $ac_compile) 2>conftest.er1
2256 ac_status=$?
2257 grep -v '^ *+' conftest.er1 >conftest.err
2258 rm -f conftest.er1
2259 cat conftest.err >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try='test -z "$ac_c_werror_flag"
2263 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 (eval $ac_try) 2>&5
2266 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } &&
2269 { ac_try='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 (eval $ac_try) 2>&5
2272 ac_status=$?
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2275 ac_cv_prog_cc_stdc=$ac_arg
2276break
2277else
2278 echo "$as_me: failed program was:" >&5
2279sed 's/^/| /' conftest.$ac_ext >&5
2280
2281fi
2282rm -f conftest.err conftest.$ac_objext
2283done
2284rm -f conftest.$ac_ext conftest.$ac_objext
2285CC=$ac_save_CC
2286
2287fi
2288
2289case "x$ac_cv_prog_cc_stdc" in
2290 x|xno)
2291 echo "$as_me:$LINENO: result: none needed" >&5
2292echo "${ECHO_T}none needed" >&6 ;;
2293 *)
2294 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2295echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2296 CC="$CC $ac_cv_prog_cc_stdc" ;;
2297esac
2298
2299# Some people use a C++ compiler to compile C. Since we use `exit',
2300# in C++ we need to declare it. In case someone uses the same compiler
2301# for both compiling C and C++ we need to have the C++ compiler decide
2302# the declaration of exit, since it's the most demanding environment.
2303cat >conftest.$ac_ext <<_ACEOF
2304#ifndef __cplusplus
2305 choke me
2306#endif
2307_ACEOF
2308rm -f conftest.$ac_objext
2309if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>conftest.er1
2311 ac_status=$?
2312 grep -v '^ *+' conftest.er1 >conftest.err
2313 rm -f conftest.er1
2314 cat conftest.err >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } &&
2317 { ac_try='test -z "$ac_c_werror_flag"
2318 || test ! -s conftest.err'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 (eval $ac_try) 2>&5
2321 ac_status=$?
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; } &&
2324 { ac_try='test -s conftest.$ac_objext'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 (eval $ac_try) 2>&5
2327 ac_status=$?
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; }; then
2330 for ac_declaration in \
2331 '' \
2332 'extern "C" void std::exit (int) throw (); using std::exit;' \
2333 'extern "C" void std::exit (int); using std::exit;' \
2334 'extern "C" void exit (int) throw ();' \
2335 'extern "C" void exit (int);' \
2336 'void exit (int);'
2337do
2338 cat >conftest.$ac_ext <<_ACEOF
2339/* confdefs.h. */
2340_ACEOF
2341cat confdefs.h >>conftest.$ac_ext
2342cat >>conftest.$ac_ext <<_ACEOF
2343/* end confdefs.h. */
2344$ac_declaration
2345#include <stdlib.h>
2346int
2347main ()
2348{
2349exit (42);
2350 ;
2351 return 0;
2352}
2353_ACEOF
2354rm -f conftest.$ac_objext
2355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2356 (eval $ac_compile) 2>conftest.er1
2357 ac_status=$?
2358 grep -v '^ *+' conftest.er1 >conftest.err
2359 rm -f conftest.er1
2360 cat conftest.err >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try='test -z "$ac_c_werror_flag"
2364 || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2366 (eval $ac_try) 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2372 (eval $ac_try) 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2376 :
2377else
2378 echo "$as_me: failed program was:" >&5
2379sed 's/^/| /' conftest.$ac_ext >&5
2380
2381continue
2382fi
2383rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2384 cat >conftest.$ac_ext <<_ACEOF
2385/* confdefs.h. */
2386_ACEOF
2387cat confdefs.h >>conftest.$ac_ext
2388cat >>conftest.$ac_ext <<_ACEOF
2389/* end confdefs.h. */
2390$ac_declaration
2391int
2392main ()
2393{
2394exit (42);
2395 ;
2396 return 0;
2397}
2398_ACEOF
2399rm -f conftest.$ac_objext
2400if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2402 ac_status=$?
2403 grep -v '^ *+' conftest.er1 >conftest.err
2404 rm -f conftest.er1
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 (eval $ac_try) 2>&5
2412 ac_status=$?
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 (eval $ac_try) 2>&5
2418 ac_status=$?
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 break
2422else
2423 echo "$as_me: failed program was:" >&5
2424sed 's/^/| /' conftest.$ac_ext >&5
2425
2426fi
2427rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2428done
2429rm -f conftest*
2430if test -n "$ac_declaration"; then
2431 echo '#ifdef __cplusplus' >>confdefs.h
2432 echo $ac_declaration >>confdefs.h
2433 echo '#endif' >>confdefs.h
2434fi
2435
2436else
2437 echo "$as_me: failed program was:" >&5
2438sed 's/^/| /' conftest.$ac_ext >&5
2439
2440fi
2441rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2442ac_ext=c
2443ac_cpp='$CPP $CPPFLAGS'
2444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447
2448ac_ext=cc
2449ac_cpp='$CXXCPP $CPPFLAGS'
2450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2453if test -n "$ac_tool_prefix"; then
2454 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2455 do
2456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2457set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2458echo "$as_me:$LINENO: checking for $ac_word" >&5
2459echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460if test "${ac_cv_prog_CXX+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2462else
2463 if test -n "$CXX"; then
2464 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2465else
2466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467for as_dir in $PATH
2468do
2469 IFS=$as_save_IFS
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 break 2
2476 fi
2477done
2478done
2479
2480fi
2481fi
2482CXX=$ac_cv_prog_CXX
2483if test -n "$CXX"; then
2484 echo "$as_me:$LINENO: result: $CXX" >&5
2485echo "${ECHO_T}$CXX" >&6
2486else
2487 echo "$as_me:$LINENO: result: no" >&5
2488echo "${ECHO_T}no" >&6
2489fi
2490
2491 test -n "$CXX" && break
2492 done
2493fi
2494if test -z "$CXX"; then
2495 ac_ct_CXX=$CXX
2496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2497do
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499set dummy $ac_prog; ac_word=$2
2500echo "$as_me:$LINENO: checking for $ac_word" >&5
2501echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504else
2505 if test -n "$ac_ct_CXX"; then
2506 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2507else
2508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509for as_dir in $PATH
2510do
2511 IFS=$as_save_IFS
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 break 2
2518 fi
2519done
2520done
2521
2522fi
2523fi
2524ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2525if test -n "$ac_ct_CXX"; then
2526 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2527echo "${ECHO_T}$ac_ct_CXX" >&6
2528else
2529 echo "$as_me:$LINENO: result: no" >&5
2530echo "${ECHO_T}no" >&6
2531fi
2532
2533 test -n "$ac_ct_CXX" && break
2534done
2535test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2536
2537 CXX=$ac_ct_CXX
2538fi
2539
2540
2541# Provide some information about the compiler.
2542echo "$as_me:$LINENO:" \
2543 "checking for C++ compiler version" >&5
2544ac_compiler=`set X $ac_compile; echo $2`
2545{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2546 (eval $ac_compiler --version </dev/null >&5) 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }
2550{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2551 (eval $ac_compiler -v </dev/null >&5) 2>&5
2552 ac_status=$?
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2556 (eval $ac_compiler -V </dev/null >&5) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2560
2561echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2562echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2563if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2565else
2566 cat >conftest.$ac_ext <<_ACEOF
2567/* confdefs.h. */
2568_ACEOF
2569cat confdefs.h >>conftest.$ac_ext
2570cat >>conftest.$ac_ext <<_ACEOF
2571/* end confdefs.h. */
2572
2573int
2574main ()
2575{
2576#ifndef __GNUC__
2577 choke me
2578#endif
2579
2580 ;
2581 return 0;
2582}
2583_ACEOF
2584rm -f conftest.$ac_objext
2585if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2587 ac_status=$?
2588 grep -v '^ *+' conftest.er1 >conftest.err
2589 rm -f conftest.er1
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_cxx_werror_flag"
2594 || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 (eval $ac_try) 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2606 ac_compiler_gnu=yes
2607else
2608 echo "$as_me: failed program was:" >&5
2609sed 's/^/| /' conftest.$ac_ext >&5
2610
2611ac_compiler_gnu=no
2612fi
2613rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2615
2616fi
2617echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2618echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2619GXX=`test $ac_compiler_gnu = yes && echo yes`
2620ac_test_CXXFLAGS=${CXXFLAGS+set}
2621ac_save_CXXFLAGS=$CXXFLAGS
2622CXXFLAGS="-g"
2623echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2624echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2625if test "${ac_cv_prog_cxx_g+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2627else
2628 cat >conftest.$ac_ext <<_ACEOF
2629/* confdefs.h. */
2630_ACEOF
2631cat confdefs.h >>conftest.$ac_ext
2632cat >>conftest.$ac_ext <<_ACEOF
2633/* end confdefs.h. */
2634
2635int
2636main ()
2637{
2638
2639 ;
2640 return 0;
2641}
2642_ACEOF
2643rm -f conftest.$ac_objext
2644if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2645 (eval $ac_compile) 2>conftest.er1
2646 ac_status=$?
2647 grep -v '^ *+' conftest.er1 >conftest.err
2648 rm -f conftest.er1
2649 cat conftest.err >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); } &&
2652 { ac_try='test -z "$ac_cxx_werror_flag"
2653 || test ! -s conftest.err'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 (eval $ac_try) 2>&5
2656 ac_status=$?
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; } &&
2659 { ac_try='test -s conftest.$ac_objext'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 (eval $ac_try) 2>&5
2662 ac_status=$?
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2665 ac_cv_prog_cxx_g=yes
2666else
2667 echo "$as_me: failed program was:" >&5
2668sed 's/^/| /' conftest.$ac_ext >&5
2669
2670ac_cv_prog_cxx_g=no
2671fi
2672rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2673fi
2674echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2675echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2676if test "$ac_test_CXXFLAGS" = set; then
2677 CXXFLAGS=$ac_save_CXXFLAGS
2678elif test $ac_cv_prog_cxx_g = yes; then
2679 if test "$GXX" = yes; then
2680 CXXFLAGS="-g -O2"
2681 else
2682 CXXFLAGS="-g"
2683 fi
2684else
2685 if test "$GXX" = yes; then
2686 CXXFLAGS="-O2"
2687 else
2688 CXXFLAGS=
2689 fi
2690fi
2691for ac_declaration in \
2692 '' \
2693 'extern "C" void std::exit (int) throw (); using std::exit;' \
2694 'extern "C" void std::exit (int); using std::exit;' \
2695 'extern "C" void exit (int) throw ();' \
2696 'extern "C" void exit (int);' \
2697 'void exit (int);'
2698do
2699 cat >conftest.$ac_ext <<_ACEOF
2700/* confdefs.h. */
2701_ACEOF
2702cat confdefs.h >>conftest.$ac_ext
2703cat >>conftest.$ac_ext <<_ACEOF
2704/* end confdefs.h. */
2705$ac_declaration
2706#include <stdlib.h>
2707int
2708main ()
2709{
2710exit (42);
2711 ;
2712 return 0;
2713}
2714_ACEOF
2715rm -f conftest.$ac_objext
2716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2717 (eval $ac_compile) 2>conftest.er1
2718 ac_status=$?
2719 grep -v '^ *+' conftest.er1 >conftest.err
2720 rm -f conftest.er1
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_cxx_werror_flag"
2725 || test ! -s conftest.err'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727 (eval $ac_try) 2>&5
2728 ac_status=$?
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; } &&
2731 { ac_try='test -s conftest.$ac_objext'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 (eval $ac_try) 2>&5
2734 ac_status=$?
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2737 :
2738else
2739 echo "$as_me: failed program was:" >&5
2740sed 's/^/| /' conftest.$ac_ext >&5
2741
2742continue
2743fi
2744rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2745 cat >conftest.$ac_ext <<_ACEOF
2746/* confdefs.h. */
2747_ACEOF
2748cat confdefs.h >>conftest.$ac_ext
2749cat >>conftest.$ac_ext <<_ACEOF
2750/* end confdefs.h. */
2751$ac_declaration
2752int
2753main ()
2754{
2755exit (42);
2756 ;
2757 return 0;
2758}
2759_ACEOF
2760rm -f conftest.$ac_objext
2761if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2762 (eval $ac_compile) 2>conftest.er1
2763 ac_status=$?
2764 grep -v '^ *+' conftest.er1 >conftest.err
2765 rm -f conftest.er1
2766 cat conftest.err >&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } &&
2769 { ac_try='test -z "$ac_cxx_werror_flag"
2770 || test ! -s conftest.err'
2771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 (eval $ac_try) 2>&5
2773 ac_status=$?
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }; } &&
2776 { ac_try='test -s conftest.$ac_objext'
2777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 (eval $ac_try) 2>&5
2779 ac_status=$?
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; }; then
2782 break
2783else
2784 echo "$as_me: failed program was:" >&5
2785sed 's/^/| /' conftest.$ac_ext >&5
2786
2787fi
2788rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2789done
2790rm -f conftest*
2791if test -n "$ac_declaration"; then
2792 echo '#ifdef __cplusplus' >>confdefs.h
2793 echo $ac_declaration >>confdefs.h
2794 echo '#endif' >>confdefs.h
2795fi
2796
2797ac_ext=c
2798ac_cpp='$CPP $CPPFLAGS'
2799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801ac_compiler_gnu=$ac_cv_c_compiler_gnu
2802
2803for ac_prog in gawk mawk nawk awk
2804do
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806set dummy $ac_prog; ac_word=$2
2807echo "$as_me:$LINENO: checking for $ac_word" >&5
2808echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2809if test "${ac_cv_prog_AWK+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2811else
2812 if test -n "$AWK"; then
2813 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2814else
2815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816for as_dir in $PATH
2817do
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_AWK="$ac_prog"
2823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 break 2
2825 fi
2826done
2827done
2828
2829fi
2830fi
2831AWK=$ac_cv_prog_AWK
2832if test -n "$AWK"; then
2833 echo "$as_me:$LINENO: result: $AWK" >&5
2834echo "${ECHO_T}$AWK" >&6
2835else
2836 echo "$as_me:$LINENO: result: no" >&5
2837echo "${ECHO_T}no" >&6
2838fi
2839
2840 test -n "$AWK" && break
2841done
2842
2843for ac_prog in 'bison -y' byacc
2844do
2845 # Extract the first word of "$ac_prog", so it can be a program name with args.
2846set dummy $ac_prog; ac_word=$2
2847echo "$as_me:$LINENO: checking for $ac_word" >&5
2848echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2849if test "${ac_cv_prog_YACC+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2851else
2852 if test -n "$YACC"; then
2853 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2854else
2855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856for as_dir in $PATH
2857do
2858 IFS=$as_save_IFS
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_YACC="$ac_prog"
2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 break 2
2865 fi
2866done
2867done
2868
2869fi
2870fi
2871YACC=$ac_cv_prog_YACC
2872if test -n "$YACC"; then
2873 echo "$as_me:$LINENO: result: $YACC" >&5
2874echo "${ECHO_T}$YACC" >&6
2875else
2876 echo "$as_me:$LINENO: result: no" >&5
2877echo "${ECHO_T}no" >&6
2878fi
2879
2880 test -n "$YACC" && break
2881done
2882test -n "$YACC" || YACC="yacc"
2883
2884ac_aux_dir=
2885for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2886 if test -f $ac_dir/install-sh; then
2887 ac_aux_dir=$ac_dir
2888 ac_install_sh="$ac_aux_dir/install-sh -c"
2889 break
2890 elif test -f $ac_dir/install.sh; then
2891 ac_aux_dir=$ac_dir
2892 ac_install_sh="$ac_aux_dir/install.sh -c"
2893 break
2894 elif test -f $ac_dir/shtool; then
2895 ac_aux_dir=$ac_dir
2896 ac_install_sh="$ac_aux_dir/shtool install -c"
2897 break
2898 fi
2899done
2900if test -z "$ac_aux_dir"; then
2901 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2902echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2903 { (exit 1); exit 1; }; }
2904fi
2905ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2906ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2907ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2908
2909# Make sure we can run config.sub.
2910$ac_config_sub sun4 >/dev/null 2>&1 ||
2911 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2912echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2913 { (exit 1); exit 1; }; }
2914
2915echo "$as_me:$LINENO: checking build system type" >&5
2916echo $ECHO_N "checking build system type... $ECHO_C" >&6
2917if test "${ac_cv_build+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2919else
2920 ac_cv_build_alias=$build_alias
2921test -z "$ac_cv_build_alias" &&
2922 ac_cv_build_alias=`$ac_config_guess`
2923test -z "$ac_cv_build_alias" &&
2924 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2925echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2926 { (exit 1); exit 1; }; }
2927ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2928 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2929echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2930 { (exit 1); exit 1; }; }
2931
2932fi
2933echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2934echo "${ECHO_T}$ac_cv_build" >&6
2935build=$ac_cv_build
2936build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2937build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2938build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2939
2940
2941echo "$as_me:$LINENO: checking host system type" >&5
2942echo $ECHO_N "checking host system type... $ECHO_C" >&6
2943if test "${ac_cv_host+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2945else
2946 ac_cv_host_alias=$host_alias
2947test -z "$ac_cv_host_alias" &&
2948 ac_cv_host_alias=$ac_cv_build_alias
2949ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2950 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2951echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2952 { (exit 1); exit 1; }; }
2953
2954fi
2955echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2956echo "${ECHO_T}$ac_cv_host" >&6
2957host=$ac_cv_host
2958host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2959host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2960host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2961
2962
2963echo "$as_me:$LINENO: checking target system type" >&5
2964echo $ECHO_N "checking target system type... $ECHO_C" >&6
2965if test "${ac_cv_target+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2967else
2968 ac_cv_target_alias=$target_alias
2969test "x$ac_cv_target_alias" = "x" &&
2970 ac_cv_target_alias=$ac_cv_host_alias
2971ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2972 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2973echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2974 { (exit 1); exit 1; }; }
2975
2976fi
2977echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2978echo "${ECHO_T}$ac_cv_target" >&6
2979target=$ac_cv_target
2980target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2981target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2982target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2983
2984
2985# The aliases save the names the user supplied, while $host etc.
2986# will get canonicalized.
2987test -n "$target_alias" &&
2988 test "$program_prefix$program_suffix$program_transform_name" = \
2989 NONENONEs,x,x, &&
2990 program_prefix=${target_alias}-
2991# Find a good install program. We prefer a C program (faster),
2992# so one script is as good as another. But avoid the broken or
2993# incompatible versions:
2994# SysV /etc/install, /usr/sbin/install
2995# SunOS /usr/etc/install
2996# IRIX /sbin/install
2997# AIX /bin/install
2998# AmigaOS /C/install, which installs bootblocks on floppy discs
2999# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3000# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3001# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3002# OS/2's system install, which has a completely different semantic
3003# ./install, which can be erroneously created by make from ./install.sh.
3004echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3005echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3006if test -z "$INSTALL"; then
3007if test "${ac_cv_path_install+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3009else
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011for as_dir in $PATH
3012do
3013 IFS=$as_save_IFS
3014 test -z "$as_dir" && as_dir=.
3015 # Account for people who put trailing slashes in PATH elements.
3016case $as_dir/ in
3017 ./ | .// | /cC/* | \
3018 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3019 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3020 /usr/ucb/* ) ;;
3021 *)
3022 # OSF1 and SCO ODT 3.0 have their own names for install.
3023 # Don't use installbsd from OSF since it installs stuff as root
3024 # by default.
3025 for ac_prog in ginstall scoinst install; do
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3028 if test $ac_prog = install &&
3029 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3030 # AIX install. It has an incompatible calling convention.
3031 :
3032 elif test $ac_prog = install &&
3033 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3034 # program-specific install script used by HP pwplus--don't use.
3035 :
3036 else
3037 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3038 break 3
3039 fi
3040 fi
3041 done
3042 done
3043 ;;
3044esac
3045done
3046
3047
3048fi
3049 if test "${ac_cv_path_install+set}" = set; then
3050 INSTALL=$ac_cv_path_install
3051 else
3052 # As a last resort, use the slow shell script. We don't cache a
3053 # path for INSTALL within a source directory, because that will
3054 # break other packages using the cache if that directory is
3055 # removed, or if the path is relative.
3056 INSTALL=$ac_install_sh
3057 fi
3058fi
3059echo "$as_me:$LINENO: result: $INSTALL" >&5
3060echo "${ECHO_T}$INSTALL" >&6
3061
3062# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3063# It thinks the first close brace ends the variable substitution.
3064test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3065
3066test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3067
3068test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3069
3070echo "$as_me:$LINENO: checking whether ln -s works" >&5
3071echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3072LN_S=$as_ln_s
3073if test "$LN_S" = "ln -s"; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075echo "${ECHO_T}yes" >&6
3076else
3077 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3078echo "${ECHO_T}no, using $LN_S" >&6
3079fi
3080
3081echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3082echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3083set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3084if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3086else
3087 cat >conftest.make <<\_ACEOF
3088all:
3089 @echo 'ac_maketemp="$(MAKE)"'
3090_ACEOF
3091# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3092eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3093if test -n "$ac_maketemp"; then
3094 eval ac_cv_prog_make_${ac_make}_set=yes
3095else
3096 eval ac_cv_prog_make_${ac_make}_set=no
3097fi
3098rm -f conftest.make
3099fi
3100if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3101 echo "$as_me:$LINENO: result: yes" >&5
3102echo "${ECHO_T}yes" >&6
3103 SET_MAKE=
3104else
3105 echo "$as_me:$LINENO: result: no" >&5
3106echo "${ECHO_T}no" >&6
3107 SET_MAKE="MAKE=${MAKE-make}"
3108fi
3109
3110if test -n "$ac_tool_prefix"; then
3111 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3112set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3113echo "$as_me:$LINENO: checking for $ac_word" >&5
3114echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3115if test "${ac_cv_prog_RANLIB+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117else
3118 if test -n "$RANLIB"; then
3119 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3120else
3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122for as_dir in $PATH
3123do
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 break 2
3131 fi
3132done
3133done
3134
3135fi
3136fi
3137RANLIB=$ac_cv_prog_RANLIB
3138if test -n "$RANLIB"; then
3139 echo "$as_me:$LINENO: result: $RANLIB" >&5
3140echo "${ECHO_T}$RANLIB" >&6
3141else
3142 echo "$as_me:$LINENO: result: no" >&5
3143echo "${ECHO_T}no" >&6
3144fi
3145
3146fi
3147if test -z "$ac_cv_prog_RANLIB"; then
3148 ac_ct_RANLIB=$RANLIB
3149 # Extract the first word of "ranlib", so it can be a program name with args.
3150set dummy ranlib; ac_word=$2
3151echo "$as_me:$LINENO: checking for $ac_word" >&5
3152echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3153if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3155else
3156 if test -n "$ac_ct_RANLIB"; then
3157 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3158else
3159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160for as_dir in $PATH
3161do
3162 IFS=$as_save_IFS
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3166 ac_cv_prog_ac_ct_RANLIB="ranlib"
3167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 break 2
3169 fi
3170done
3171done
3172
3173 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3174fi
3175fi
3176ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3177if test -n "$ac_ct_RANLIB"; then
3178 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3179echo "${ECHO_T}$ac_ct_RANLIB" >&6
3180else
3181 echo "$as_me:$LINENO: result: no" >&5
3182echo "${ECHO_T}no" >&6
3183fi
3184
3185 RANLIB=$ac_ct_RANLIB
3186else
3187 RANLIB="$ac_cv_prog_RANLIB"
3188fi
3189
3190
3191echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
3192echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
3193arch_64bit=no
3194case "$host_cpu" in
3195x86_64) arch_64bit=yes ;;
3196esac
3197
3198if test "$arch_64bit" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200echo "${ECHO_T}yes" >&6
3201 if test -z "$COMPAT32BITFLAGS" ; then
3202 COMPAT32BITFLAGS="-m32"
3203 fi
3204else
3205 echo "$as_me:$LINENO: result: no" >&5
3206echo "${ECHO_T}no" >&6
3207 if test -z "$COMPAT32BITFLAGS" ; then
3208 COMPAT32BITFLAGS=
3209 fi
3210fi
3211export COMPAT32BITFLAGS
3212
3213
3214
3215#moved CORBA MICO directory test to get version of MICO
3216if test $USE_CORBA = 1; then
3217
3218if test $MICO_DIR = "default"; then
3219#do something
3220MICO_INC="-I packages/mico/mico/include"
3221else
3222#build the micotest program
3223MICO_INC= ""
3224if test $MICO_DIR != yes; then
3225MICO_INC="-I $MICO_DIR"
3226fi
3227fi
3228
3229#get MICO_VER value
3230sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
3231sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
3232MICO_VER=`./micotest` || MICO_VER=2.3.5
3233sh -c "rm micotest"
3234sh -c "rm micotest.o"
3235
3236#do test of MICO_VER
3237if test MICO_VER != 0; then
3238cat >>confdefs.h <<\_ACEOF
3239#define MICO_VER 1
3240_ACEOF
3241
3242
3243fi
3244#end USE_CORBA test
3245fi
3246
3247
3248ac_ext=c
3249ac_cpp='$CPP $CPPFLAGS'
3250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252ac_compiler_gnu=$ac_cv_c_compiler_gnu
3253echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3254echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3255# On Suns, sometimes $CPP names a directory.
3256if test -n "$CPP" && test -d "$CPP"; then
3257 CPP=
3258fi
3259if test -z "$CPP"; then
3260 if test "${ac_cv_prog_CPP+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3262else
3263 # Double quotes because CPP needs to be expanded
3264 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3265 do
3266 ac_preproc_ok=false
3267for ac_c_preproc_warn_flag in '' yes
3268do
3269 # Use a header file that comes with gcc, so configuring glibc
3270 # with a fresh cross-compiler works.
3271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3272 # <limits.h> exists even on freestanding compilers.
3273 # On the NeXT, cc -E runs the code through the compiler's parser,
3274 # not just through cpp. "Syntax error" is here to catch this case.
3275 cat >conftest.$ac_ext <<_ACEOF
3276/* confdefs.h. */
3277_ACEOF
3278cat confdefs.h >>conftest.$ac_ext
3279cat >>conftest.$ac_ext <<_ACEOF
3280/* end confdefs.h. */
3281#ifdef __STDC__
3282# include <limits.h>
3283#else
3284# include <assert.h>
3285#endif
3286 Syntax error
3287_ACEOF
3288if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3290 ac_status=$?
3291 grep -v '^ *+' conftest.er1 >conftest.err
3292 rm -f conftest.er1
3293 cat conftest.err >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } >/dev/null; then
3296 if test -s conftest.err; then
3297 ac_cpp_err=$ac_c_preproc_warn_flag
3298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3299 else
3300 ac_cpp_err=
3301 fi
3302else
3303 ac_cpp_err=yes
3304fi
3305if test -z "$ac_cpp_err"; then
3306 :
3307else
3308 echo "$as_me: failed program was:" >&5
3309sed 's/^/| /' conftest.$ac_ext >&5
3310
3311 # Broken: fails on valid input.
3312continue
3313fi
3314rm -f conftest.err conftest.$ac_ext
3315
3316 # OK, works on sane cases. Now check whether non-existent headers
3317 # can be detected and how.
3318 cat >conftest.$ac_ext <<_ACEOF
3319/* confdefs.h. */
3320_ACEOF
3321cat confdefs.h >>conftest.$ac_ext
3322cat >>conftest.$ac_ext <<_ACEOF
3323/* end confdefs.h. */
3324#include <ac_nonexistent.h>
3325_ACEOF
3326if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3328 ac_status=$?
3329 grep -v '^ *+' conftest.er1 >conftest.err
3330 rm -f conftest.er1
3331 cat conftest.err >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); } >/dev/null; then
3334 if test -s conftest.err; then
3335 ac_cpp_err=$ac_c_preproc_warn_flag
3336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3337 else
3338 ac_cpp_err=
3339 fi
3340else
3341 ac_cpp_err=yes
3342fi
3343if test -z "$ac_cpp_err"; then
3344 # Broken: success on invalid input.
3345continue
3346else
3347 echo "$as_me: failed program was:" >&5
3348sed 's/^/| /' conftest.$ac_ext >&5
3349
3350 # Passes both tests.
3351ac_preproc_ok=:
3352break
3353fi
3354rm -f conftest.err conftest.$ac_ext
3355
3356done
3357# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3358rm -f conftest.err conftest.$ac_ext
3359if $ac_preproc_ok; then
3360 break
3361fi
3362
3363 done
3364 ac_cv_prog_CPP=$CPP
3365
3366fi
3367 CPP=$ac_cv_prog_CPP
3368else
3369 ac_cv_prog_CPP=$CPP
3370fi
3371echo "$as_me:$LINENO: result: $CPP" >&5
3372echo "${ECHO_T}$CPP" >&6
3373ac_preproc_ok=false
3374for ac_c_preproc_warn_flag in '' yes
3375do
3376 # Use a header file that comes with gcc, so configuring glibc
3377 # with a fresh cross-compiler works.
3378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3379 # <limits.h> exists even on freestanding compilers.
3380 # On the NeXT, cc -E runs the code through the compiler's parser,
3381 # not just through cpp. "Syntax error" is here to catch this case.
3382 cat >conftest.$ac_ext <<_ACEOF
3383/* confdefs.h. */
3384_ACEOF
3385cat confdefs.h >>conftest.$ac_ext
3386cat >>conftest.$ac_ext <<_ACEOF
3387/* end confdefs.h. */
3388#ifdef __STDC__
3389# include <limits.h>
3390#else
3391# include <assert.h>
3392#endif
3393 Syntax error
3394_ACEOF
3395if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3397 ac_status=$?
3398 grep -v '^ *+' conftest.er1 >conftest.err
3399 rm -f conftest.er1
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } >/dev/null; then
3403 if test -s conftest.err; then
3404 ac_cpp_err=$ac_c_preproc_warn_flag
3405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3406 else
3407 ac_cpp_err=
3408 fi
3409else
3410 ac_cpp_err=yes
3411fi
3412if test -z "$ac_cpp_err"; then
3413 :
3414else
3415 echo "$as_me: failed program was:" >&5
3416sed 's/^/| /' conftest.$ac_ext >&5
3417
3418 # Broken: fails on valid input.
3419continue
3420fi
3421rm -f conftest.err conftest.$ac_ext
3422
3423 # OK, works on sane cases. Now check whether non-existent headers
3424 # can be detected and how.
3425 cat >conftest.$ac_ext <<_ACEOF
3426/* confdefs.h. */
3427_ACEOF
3428cat confdefs.h >>conftest.$ac_ext
3429cat >>conftest.$ac_ext <<_ACEOF
3430/* end confdefs.h. */
3431#include <ac_nonexistent.h>
3432_ACEOF
3433if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3435 ac_status=$?
3436 grep -v '^ *+' conftest.er1 >conftest.err
3437 rm -f conftest.er1
3438 cat conftest.err >&5
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } >/dev/null; then
3441 if test -s conftest.err; then
3442 ac_cpp_err=$ac_c_preproc_warn_flag
3443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3444 else
3445 ac_cpp_err=
3446 fi
3447else
3448 ac_cpp_err=yes
3449fi
3450if test -z "$ac_cpp_err"; then
3451 # Broken: success on invalid input.
3452continue
3453else
3454 echo "$as_me: failed program was:" >&5
3455sed 's/^/| /' conftest.$ac_ext >&5
3456
3457 # Passes both tests.
3458ac_preproc_ok=:
3459break
3460fi
3461rm -f conftest.err conftest.$ac_ext
3462
3463done
3464# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3465rm -f conftest.err conftest.$ac_ext
3466if $ac_preproc_ok; then
3467 :
3468else
3469 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3470See \`config.log' for more details." >&5
3471echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3472See \`config.log' for more details." >&2;}
3473 { (exit 1); exit 1; }; }
3474fi
3475
3476ac_ext=c
3477ac_cpp='$CPP $CPPFLAGS'
3478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3480ac_compiler_gnu=$ac_cv_c_compiler_gnu
3481
3482
3483echo "$as_me:$LINENO: checking for egrep" >&5
3484echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3485if test "${ac_cv_prog_egrep+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3487else
3488 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3489 then ac_cv_prog_egrep='grep -E'
3490 else ac_cv_prog_egrep='egrep'
3491 fi
3492fi
3493echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3494echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3495 EGREP=$ac_cv_prog_egrep
3496
3497
3498
3499echo "$as_me:$LINENO: checking for AIX" >&5
3500echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3501cat >conftest.$ac_ext <<_ACEOF
3502/* confdefs.h. */
3503_ACEOF
3504cat confdefs.h >>conftest.$ac_ext
3505cat >>conftest.$ac_ext <<_ACEOF
3506/* end confdefs.h. */
3507#ifdef _AIX
3508 yes
3509#endif
3510
3511_ACEOF
3512if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3513 $EGREP "yes" >/dev/null 2>&1; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515echo "${ECHO_T}yes" >&6
3516cat >>confdefs.h <<\_ACEOF
3517#define _ALL_SOURCE 1
3518_ACEOF
3519
3520else
3521 echo "$as_me:$LINENO: result: no" >&5
3522echo "${ECHO_T}no" >&6
3523fi
3524rm -f conftest*
3525
3526
3527echo "$as_me:$LINENO: checking for library containing strerror" >&5
3528echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3529if test "${ac_cv_search_strerror+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3531else
3532 ac_func_search_save_LIBS=$LIBS
3533ac_cv_search_strerror=no
3534cat >conftest.$ac_ext <<_ACEOF
3535/* confdefs.h. */
3536_ACEOF
3537cat confdefs.h >>conftest.$ac_ext
3538cat >>conftest.$ac_ext <<_ACEOF
3539/* end confdefs.h. */
3540
3541/* Override any gcc2 internal prototype to avoid an error. */
3542#ifdef __cplusplus
3543extern "C"
3544#endif
3545/* We use char because int might match the return type of a gcc2
3546 builtin and then its argument prototype would still apply. */
3547char strerror ();
3548int
3549main ()
3550{
3551strerror ();
3552 ;
3553 return 0;
3554}
3555_ACEOF
3556rm -f conftest.$ac_objext conftest$ac_exeext
3557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3558 (eval $ac_link) 2>conftest.er1
3559 ac_status=$?
3560 grep -v '^ *+' conftest.er1 >conftest.err
3561 rm -f conftest.er1
3562 cat conftest.err >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } &&
3565 { ac_try='test -z "$ac_c_werror_flag"
3566 || test ! -s conftest.err'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 (eval $ac_try) 2>&5
3569 ac_status=$?
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; } &&
3572 { ac_try='test -s conftest$ac_exeext'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 (eval $ac_try) 2>&5
3575 ac_status=$?
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_cv_search_strerror="none required"
3579else
3580 echo "$as_me: failed program was:" >&5
3581sed 's/^/| /' conftest.$ac_ext >&5
3582
3583fi
3584rm -f conftest.err conftest.$ac_objext \
3585 conftest$ac_exeext conftest.$ac_ext
3586if test "$ac_cv_search_strerror" = no; then
3587 for ac_lib in cposix; do
3588 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3589 cat >conftest.$ac_ext <<_ACEOF
3590/* confdefs.h. */
3591_ACEOF
3592cat confdefs.h >>conftest.$ac_ext
3593cat >>conftest.$ac_ext <<_ACEOF
3594/* end confdefs.h. */
3595
3596/* Override any gcc2 internal prototype to avoid an error. */
3597#ifdef __cplusplus
3598extern "C"
3599#endif
3600/* We use char because int might match the return type of a gcc2
3601 builtin and then its argument prototype would still apply. */
3602char strerror ();
3603int
3604main ()
3605{
3606strerror ();
3607 ;
3608 return 0;
3609}
3610_ACEOF
3611rm -f conftest.$ac_objext conftest$ac_exeext
3612if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3613 (eval $ac_link) 2>conftest.er1
3614 ac_status=$?
3615 grep -v '^ *+' conftest.er1 >conftest.err
3616 rm -f conftest.er1
3617 cat conftest.err >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try='test -z "$ac_c_werror_flag"
3621 || test ! -s conftest.err'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; } &&
3627 { ac_try='test -s conftest$ac_exeext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 (eval $ac_try) 2>&5
3630 ac_status=$?
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
3633 ac_cv_search_strerror="-l$ac_lib"
3634break
3635else
3636 echo "$as_me: failed program was:" >&5
3637sed 's/^/| /' conftest.$ac_ext >&5
3638
3639fi
3640rm -f conftest.err conftest.$ac_objext \
3641 conftest$ac_exeext conftest.$ac_ext
3642 done
3643fi
3644LIBS=$ac_func_search_save_LIBS
3645fi
3646echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3647echo "${ECHO_T}$ac_cv_search_strerror" >&6
3648if test "$ac_cv_search_strerror" != no; then
3649 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3650
3651fi
3652
3653echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3654echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3655if test "${ac_cv_header_stdc+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3657else
3658 cat >conftest.$ac_ext <<_ACEOF
3659/* confdefs.h. */
3660_ACEOF
3661cat confdefs.h >>conftest.$ac_ext
3662cat >>conftest.$ac_ext <<_ACEOF
3663/* end confdefs.h. */
3664#include <stdlib.h>
3665#include <stdarg.h>
3666#include <string.h>
3667#include <float.h>
3668
3669int
3670main ()
3671{
3672
3673 ;
3674 return 0;
3675}
3676_ACEOF
3677rm -f conftest.$ac_objext
3678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3679 (eval $ac_compile) 2>conftest.er1
3680 ac_status=$?
3681 grep -v '^ *+' conftest.er1 >conftest.err
3682 rm -f conftest.er1
3683 cat conftest.err >&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); } &&
3686 { ac_try='test -z "$ac_c_werror_flag"
3687 || test ! -s conftest.err'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 (eval $ac_try) 2>&5
3690 ac_status=$?
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; } &&
3693 { ac_try='test -s conftest.$ac_objext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 (eval $ac_try) 2>&5
3696 ac_status=$?
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3699 ac_cv_header_stdc=yes
3700else
3701 echo "$as_me: failed program was:" >&5
3702sed 's/^/| /' conftest.$ac_ext >&5
3703
3704ac_cv_header_stdc=no
3705fi
3706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3707
3708if test $ac_cv_header_stdc = yes; then
3709 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3710 cat >conftest.$ac_ext <<_ACEOF
3711/* confdefs.h. */
3712_ACEOF
3713cat confdefs.h >>conftest.$ac_ext
3714cat >>conftest.$ac_ext <<_ACEOF
3715/* end confdefs.h. */
3716#include <string.h>
3717
3718_ACEOF
3719if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3720 $EGREP "memchr" >/dev/null 2>&1; then
3721 :
3722else
3723 ac_cv_header_stdc=no
3724fi
3725rm -f conftest*
3726
3727fi
3728
3729if test $ac_cv_header_stdc = yes; then
3730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3731 cat >conftest.$ac_ext <<_ACEOF
3732/* confdefs.h. */
3733_ACEOF
3734cat confdefs.h >>conftest.$ac_ext
3735cat >>conftest.$ac_ext <<_ACEOF
3736/* end confdefs.h. */
3737#include <stdlib.h>
3738
3739_ACEOF
3740if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3741 $EGREP "free" >/dev/null 2>&1; then
3742 :
3743else
3744 ac_cv_header_stdc=no
3745fi
3746rm -f conftest*
3747
3748fi
3749
3750if test $ac_cv_header_stdc = yes; then
3751 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3752 if test "$cross_compiling" = yes; then
3753 :
3754else
3755 cat >conftest.$ac_ext <<_ACEOF
3756/* confdefs.h. */
3757_ACEOF
3758cat confdefs.h >>conftest.$ac_ext
3759cat >>conftest.$ac_ext <<_ACEOF
3760/* end confdefs.h. */
3761#include <ctype.h>
3762#if ((' ' & 0x0FF) == 0x020)
3763# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3764# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3765#else
3766# define ISLOWER(c) \
3767 (('a' <= (c) && (c) <= 'i') \
3768 || ('j' <= (c) && (c) <= 'r') \
3769 || ('s' <= (c) && (c) <= 'z'))
3770# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3771#endif
3772
3773#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3774int
3775main ()
3776{
3777 int i;
3778 for (i = 0; i < 256; i++)
3779 if (XOR (islower (i), ISLOWER (i))
3780 || toupper (i) != TOUPPER (i))
3781 exit(2);
3782 exit (0);
3783}
3784_ACEOF
3785rm -f conftest$ac_exeext
3786if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3787 (eval $ac_link) 2>&5
3788 ac_status=$?
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 (eval $ac_try) 2>&5
3793 ac_status=$?
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3796 :
3797else
3798 echo "$as_me: program exited with status $ac_status" >&5
3799echo "$as_me: failed program was:" >&5
3800sed 's/^/| /' conftest.$ac_ext >&5
3801
3802( exit $ac_status )
3803ac_cv_header_stdc=no
3804fi
3805rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3806fi
3807fi
3808fi
3809echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3810echo "${ECHO_T}$ac_cv_header_stdc" >&6
3811if test $ac_cv_header_stdc = yes; then
3812
3813cat >>confdefs.h <<\_ACEOF
3814#define STDC_HEADERS 1
3815_ACEOF
3816
3817fi
3818
3819# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3830 inttypes.h stdint.h unistd.h
3831do
3832as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833echo "$as_me:$LINENO: checking for $ac_header" >&5
3834echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3835if eval "test \"\${$as_ac_Header+set}\" = set"; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837else
3838 cat >conftest.$ac_ext <<_ACEOF
3839/* confdefs.h. */
3840_ACEOF
3841cat confdefs.h >>conftest.$ac_ext
3842cat >>conftest.$ac_ext <<_ACEOF
3843/* end confdefs.h. */
3844$ac_includes_default
3845
3846#include <$ac_header>
3847_ACEOF
3848rm -f conftest.$ac_objext
3849if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } &&
3857 { ac_try='test -z "$ac_c_werror_flag"
3858 || test ! -s conftest.err'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 (eval $ac_try) 2>&5
3861 ac_status=$?
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; } &&
3864 { ac_try='test -s conftest.$ac_objext'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 (eval $ac_try) 2>&5
3867 ac_status=$?
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; }; then
3870 eval "$as_ac_Header=yes"
3871else
3872 echo "$as_me: failed program was:" >&5
3873sed 's/^/| /' conftest.$ac_ext >&5
3874
3875eval "$as_ac_Header=no"
3876fi
3877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3878fi
3879echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3880echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3881if test `eval echo '${'$as_ac_Header'}'` = yes; then
3882 cat >>confdefs.h <<_ACEOF
3883#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3884_ACEOF
3885
3886fi
3887
3888done
3889
3890
3891if test "${ac_cv_header_minix_config_h+set}" = set; then
3892 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3893echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3894if test "${ac_cv_header_minix_config_h+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3896fi
3897echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3898echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3899else
3900 # Is the header compilable?
3901echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3902echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3903cat >conftest.$ac_ext <<_ACEOF
3904/* confdefs.h. */
3905_ACEOF
3906cat confdefs.h >>conftest.$ac_ext
3907cat >>conftest.$ac_ext <<_ACEOF
3908/* end confdefs.h. */
3909$ac_includes_default
3910#include <minix/config.h>
3911_ACEOF
3912rm -f conftest.$ac_objext
3913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3914 (eval $ac_compile) 2>conftest.er1
3915 ac_status=$?
3916 grep -v '^ *+' conftest.er1 >conftest.err
3917 rm -f conftest.er1
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } &&
3921 { ac_try='test -z "$ac_c_werror_flag"
3922 || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 (eval $ac_try) 2>&5
3925 ac_status=$?
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try='test -s conftest.$ac_objext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 (eval $ac_try) 2>&5
3931 ac_status=$?
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_header_compiler=yes
3935else
3936 echo "$as_me: failed program was:" >&5
3937sed 's/^/| /' conftest.$ac_ext >&5
3938
3939ac_header_compiler=no
3940fi
3941rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3942echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3943echo "${ECHO_T}$ac_header_compiler" >&6
3944
3945# Is the header present?
3946echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3947echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3948cat >conftest.$ac_ext <<_ACEOF
3949/* confdefs.h. */
3950_ACEOF
3951cat confdefs.h >>conftest.$ac_ext
3952cat >>conftest.$ac_ext <<_ACEOF
3953/* end confdefs.h. */
3954#include <minix/config.h>
3955_ACEOF
3956if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3958 ac_status=$?
3959 grep -v '^ *+' conftest.er1 >conftest.err
3960 rm -f conftest.er1
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } >/dev/null; then
3964 if test -s conftest.err; then
3965 ac_cpp_err=$ac_c_preproc_warn_flag
3966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3967 else
3968 ac_cpp_err=
3969 fi
3970else
3971 ac_cpp_err=yes
3972fi
3973if test -z "$ac_cpp_err"; then
3974 ac_header_preproc=yes
3975else
3976 echo "$as_me: failed program was:" >&5
3977sed 's/^/| /' conftest.$ac_ext >&5
3978
3979 ac_header_preproc=no
3980fi
3981rm -f conftest.err conftest.$ac_ext
3982echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3983echo "${ECHO_T}$ac_header_preproc" >&6
3984
3985# So? What about this header?
3986case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3987 yes:no: )
3988 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3989echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3990 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3991echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3992 ac_header_preproc=yes
3993 ;;
3994 no:yes:* )
3995 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3996echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3997 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3998echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3999 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4000echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4001 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4002echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4004echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4005 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4006echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4007 (
4008 cat <<\_ASBOX
4009## ------------------------------------------ ##
4010## Report this to the AC_PACKAGE_NAME lists. ##
4011## ------------------------------------------ ##
4012_ASBOX
4013 ) |
4014 sed "s/^/$as_me: WARNING: /" >&2
4015 ;;
4016esac
4017echo "$as_me:$LINENO: checking for minix/config.h" >&5
4018echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4019if test "${ac_cv_header_minix_config_h+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4021else
4022 ac_cv_header_minix_config_h=$ac_header_preproc
4023fi
4024echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4025echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4026
4027fi
4028if test $ac_cv_header_minix_config_h = yes; then
4029 MINIX=yes
4030else
4031 MINIX=
4032fi
4033
4034
4035if test "$MINIX" = yes; then
4036
4037cat >>confdefs.h <<\_ACEOF
4038#define _POSIX_SOURCE 1
4039_ACEOF
4040
4041
4042cat >>confdefs.h <<\_ACEOF
4043#define _POSIX_1_SOURCE 2
4044_ACEOF
4045
4046
4047cat >>confdefs.h <<\_ACEOF
4048#define _MINIX 1
4049_ACEOF
4050
4051fi
4052
[16598]4053echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
4054echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
4055if test "${ac_cv_prog_cc_stdc+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4057else
4058 ac_cv_prog_cc_stdc=no
4059ac_save_CFLAGS="$CFLAGS"
4060# Don't try gcc -ansi; that turns off useful extensions and
4061# breaks some systems' header files.
4062# AIX -qlanglvl=ansi
4063# Ultrix and OSF/1 -std1
4064# HP-UX -Aa -D_HPUX_SOURCE
4065# SVR4 -Xc
4066for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
4067do
4068 CFLAGS="$ac_save_CFLAGS $ac_arg"
4069 cat >conftest.$ac_ext <<_ACEOF
4070/* confdefs.h. */
4071_ACEOF
4072cat confdefs.h >>conftest.$ac_ext
4073cat >>conftest.$ac_ext <<_ACEOF
4074/* end confdefs.h. */
4075#if !defined(__STDC__) || __STDC__ != 1
4076choke me
4077#endif
4078
4079int
4080main ()
4081{
4082int test (int i, double x);
4083struct s1 {int (*f) (int a);};
4084struct s2 {int (*f) (double a);};
4085 ;
4086 return 0;
4087}
4088_ACEOF
4089rm -f conftest.$ac_objext
4090if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4091 (eval $ac_compile) 2>conftest.er1
4092 ac_status=$?
4093 grep -v '^ *+' conftest.er1 >conftest.err
4094 rm -f conftest.er1
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } &&
4098 { ac_try='test -z "$ac_c_werror_flag"
4099 || test ! -s conftest.err'
4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 (eval $ac_try) 2>&5
4102 ac_status=$?
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; } &&
4105 { ac_try='test -s conftest.$ac_objext'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 (eval $ac_try) 2>&5
4108 ac_status=$?
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; }; then
4111 ac_cv_prog_cc_stdc="$ac_arg"; break
4112else
4113 echo "$as_me: failed program was:" >&5
4114sed 's/^/| /' conftest.$ac_ext >&5
4115
4116fi
4117rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4118done
4119CFLAGS="$ac_save_CFLAGS"
4120
4121fi
4122
4123echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4124echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4125case "x$ac_cv_prog_cc_stdc" in
4126 x|xno) ;;
4127 *) CC="$CC $ac_cv_prog_cc_stdc" ;;
4128esac
4129
4130
4131echo "$as_me:$LINENO: checking for function prototypes" >&5
4132echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4133if test "$ac_cv_prog_cc_stdc" != no; then
4134 echo "$as_me:$LINENO: result: yes" >&5
4135echo "${ECHO_T}yes" >&6
4136 cat >>confdefs.h <<\_ACEOF
4137#define PROTOTYPES 1
4138_ACEOF
4139
4140 U= ANSI2KNR=
4141else
4142 echo "$as_me:$LINENO: result: no" >&5
4143echo "${ECHO_T}no" >&6
4144 U=_ ANSI2KNR=ansi2knr
4145fi
4146
[16589]4147echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4148echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4149if test "${ac_cv_c_const+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4151else
4152 cat >conftest.$ac_ext <<_ACEOF
4153/* confdefs.h. */
4154_ACEOF
4155cat confdefs.h >>conftest.$ac_ext
4156cat >>conftest.$ac_ext <<_ACEOF
4157/* end confdefs.h. */
4158
4159int
4160main ()
4161{
4162/* FIXME: Include the comments suggested by Paul. */
4163#ifndef __cplusplus
4164 /* Ultrix mips cc rejects this. */
4165 typedef int charset[2];
4166 const charset x;
4167 /* SunOS 4.1.1 cc rejects this. */
4168 char const *const *ccp;
4169 char **p;
4170 /* NEC SVR4.0.2 mips cc rejects this. */
4171 struct point {int x, y;};
4172 static struct point const zero = {0,0};
4173 /* AIX XL C 1.02.0.0 rejects this.
4174 It does not let you subtract one const X* pointer from another in
4175 an arm of an if-expression whose if-part is not a constant
4176 expression */
4177 const char *g = "string";
4178 ccp = &g + (g ? g-g : 0);
4179 /* HPUX 7.0 cc rejects these. */
4180 ++ccp;
4181 p = (char**) ccp;
4182 ccp = (char const *const *) p;
4183 { /* SCO 3.2v4 cc rejects this. */
4184 char *t;
4185 char const *s = 0 ? (char *) 0 : (char const *) 0;
4186
4187 *t++ = 0;
4188 }
4189 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4190 int x[] = {25, 17};
4191 const int *foo = &x[0];
4192 ++foo;
4193 }
4194 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4195 typedef const int *iptr;
4196 iptr p = 0;
4197 ++p;
4198 }
4199 { /* AIX XL C 1.02.0.0 rejects this saying
4200 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4201 struct s { int j; const int *ap[3]; };
4202 struct s *b; b->j = 5;
4203 }
4204 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4205 const int foo = 10;
4206 }
4207#endif
4208
4209 ;
4210 return 0;
4211}
4212_ACEOF
4213rm -f conftest.$ac_objext
4214if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4215 (eval $ac_compile) 2>conftest.er1
4216 ac_status=$?
4217 grep -v '^ *+' conftest.er1 >conftest.err
4218 rm -f conftest.er1
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try='test -z "$ac_c_werror_flag"
4223 || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4225 (eval $ac_try) 2>&5
4226 ac_status=$?
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; } &&
4229 { ac_try='test -s conftest.$ac_objext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231 (eval $ac_try) 2>&5
4232 ac_status=$?
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 ac_cv_c_const=yes
4236else
4237 echo "$as_me: failed program was:" >&5
4238sed 's/^/| /' conftest.$ac_ext >&5
4239
4240ac_cv_c_const=no
4241fi
4242rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4243fi
4244echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4245echo "${ECHO_T}$ac_cv_c_const" >&6
4246if test $ac_cv_c_const = no; then
4247
4248cat >>confdefs.h <<\_ACEOF
4249#define const
4250_ACEOF
4251
4252fi
4253
4254echo "$as_me:$LINENO: checking for off_t" >&5
4255echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4256if test "${ac_cv_type_off_t+set}" = set; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4258else
4259 cat >conftest.$ac_ext <<_ACEOF
4260/* confdefs.h. */
4261_ACEOF
4262cat confdefs.h >>conftest.$ac_ext
4263cat >>conftest.$ac_ext <<_ACEOF
4264/* end confdefs.h. */
4265$ac_includes_default
4266int
4267main ()
4268{
4269if ((off_t *) 0)
4270 return 0;
4271if (sizeof (off_t))
4272 return 0;
4273 ;
4274 return 0;
4275}
4276_ACEOF
4277rm -f conftest.$ac_objext
4278if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>conftest.er1
4280 ac_status=$?
4281 grep -v '^ *+' conftest.er1 >conftest.err
4282 rm -f conftest.er1
4283 cat conftest.err >&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } &&
4286 { ac_try='test -z "$ac_c_werror_flag"
4287 || test ! -s conftest.err'
4288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 (eval $ac_try) 2>&5
4290 ac_status=$?
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); }; } &&
4293 { ac_try='test -s conftest.$ac_objext'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 (eval $ac_try) 2>&5
4296 ac_status=$?
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; }; then
4299 ac_cv_type_off_t=yes
4300else
4301 echo "$as_me: failed program was:" >&5
4302sed 's/^/| /' conftest.$ac_ext >&5
4303
4304ac_cv_type_off_t=no
4305fi
4306rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4307fi
4308echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4309echo "${ECHO_T}$ac_cv_type_off_t" >&6
4310if test $ac_cv_type_off_t = yes; then
4311 :
4312else
4313
4314cat >>confdefs.h <<_ACEOF
4315#define off_t long
4316_ACEOF
4317
4318fi
4319
4320echo "$as_me:$LINENO: checking for size_t" >&5
4321echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4322if test "${ac_cv_type_size_t+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4324else
4325 cat >conftest.$ac_ext <<_ACEOF
4326/* confdefs.h. */
4327_ACEOF
4328cat confdefs.h >>conftest.$ac_ext
4329cat >>conftest.$ac_ext <<_ACEOF
4330/* end confdefs.h. */
4331$ac_includes_default
4332int
4333main ()
4334{
4335if ((size_t *) 0)
4336 return 0;
4337if (sizeof (size_t))
4338 return 0;
4339 ;
4340 return 0;
4341}
4342_ACEOF
4343rm -f conftest.$ac_objext
4344if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4345 (eval $ac_compile) 2>conftest.er1
4346 ac_status=$?
4347 grep -v '^ *+' conftest.er1 >conftest.err
4348 rm -f conftest.er1
4349 cat conftest.err >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 { ac_try='test -z "$ac_c_werror_flag"
4353 || test ! -s conftest.err'
4354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 (eval $ac_try) 2>&5
4356 ac_status=$?
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; } &&
4359 { ac_try='test -s conftest.$ac_objext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 (eval $ac_try) 2>&5
4362 ac_status=$?
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 ac_cv_type_size_t=yes
4366else
4367 echo "$as_me: failed program was:" >&5
4368sed 's/^/| /' conftest.$ac_ext >&5
4369
4370ac_cv_type_size_t=no
4371fi
4372rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4373fi
4374echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4375echo "${ECHO_T}$ac_cv_type_size_t" >&6
4376if test $ac_cv_type_size_t = yes; then
4377 :
4378else
4379
4380cat >>confdefs.h <<_ACEOF
4381#define size_t unsigned
4382_ACEOF
4383
4384fi
4385
4386echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4387echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4388if test "${ac_cv_header_time+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390else
4391 cat >conftest.$ac_ext <<_ACEOF
4392/* confdefs.h. */
4393_ACEOF
4394cat confdefs.h >>conftest.$ac_ext
4395cat >>conftest.$ac_ext <<_ACEOF
4396/* end confdefs.h. */
4397#include <sys/types.h>
4398#include <sys/time.h>
4399#include <time.h>
4400
4401int
4402main ()
4403{
4404if ((struct tm *) 0)
4405return 0;
4406 ;
4407 return 0;
4408}
4409_ACEOF
4410rm -f conftest.$ac_objext
4411if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4412 (eval $ac_compile) 2>conftest.er1
4413 ac_status=$?
4414 grep -v '^ *+' conftest.er1 >conftest.err
4415 rm -f conftest.er1
4416 cat conftest.err >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); } &&
4419 { ac_try='test -z "$ac_c_werror_flag"
4420 || test ! -s conftest.err'
4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 (eval $ac_try) 2>&5
4423 ac_status=$?
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; } &&
4426 { ac_try='test -s conftest.$ac_objext'
4427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 (eval $ac_try) 2>&5
4429 ac_status=$?
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }; }; then
4432 ac_cv_header_time=yes
4433else
4434 echo "$as_me: failed program was:" >&5
4435sed 's/^/| /' conftest.$ac_ext >&5
4436
4437ac_cv_header_time=no
4438fi
4439rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4440fi
4441echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4442echo "${ECHO_T}$ac_cv_header_time" >&6
4443if test $ac_cv_header_time = yes; then
4444
4445cat >>confdefs.h <<\_ACEOF
4446#define TIME_WITH_SYS_TIME 1
4447_ACEOF
4448
4449fi
4450
4451echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4452echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4453if test "${ac_cv_struct_tm+set}" = set; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4455else
4456 cat >conftest.$ac_ext <<_ACEOF
4457/* confdefs.h. */
4458_ACEOF
4459cat confdefs.h >>conftest.$ac_ext
4460cat >>conftest.$ac_ext <<_ACEOF
4461/* end confdefs.h. */
4462#include <sys/types.h>
4463#include <time.h>
4464
4465int
4466main ()
4467{
4468struct tm *tp; tp->tm_sec;
4469 ;
4470 return 0;
4471}
4472_ACEOF
4473rm -f conftest.$ac_objext
4474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>conftest.er1
4476 ac_status=$?
4477 grep -v '^ *+' conftest.er1 >conftest.err
4478 rm -f conftest.er1
4479 cat conftest.err >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); } &&
4482 { ac_try='test -z "$ac_c_werror_flag"
4483 || test ! -s conftest.err'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4485 (eval $ac_try) 2>&5
4486 ac_status=$?
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; } &&
4489 { ac_try='test -s conftest.$ac_objext'
4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4491 (eval $ac_try) 2>&5
4492 ac_status=$?
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; }; then
4495 ac_cv_struct_tm=time.h
4496else
4497 echo "$as_me: failed program was:" >&5
4498sed 's/^/| /' conftest.$ac_ext >&5
4499
4500ac_cv_struct_tm=sys/time.h
4501fi
4502rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4503fi
4504echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4505echo "${ECHO_T}$ac_cv_struct_tm" >&6
4506if test $ac_cv_struct_tm = sys/time.h; then
4507
4508cat >>confdefs.h <<\_ACEOF
4509#define TM_IN_SYS_TIME 1
4510_ACEOF
4511
4512fi
4513
4514
4515if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
4516cat >conftest.$ac_ext <<_ACEOF
4517/* confdefs.h. */
4518_ACEOF
4519cat confdefs.h >>conftest.$ac_ext
4520cat >>conftest.$ac_ext <<_ACEOF
4521/* end confdefs.h. */
4522#include <stdio.h>
4523
4524int
4525main ()
4526{
4527 FILE *rubbish = popen("yes", "r");
4528 ;
4529 return 0;
4530}
4531_ACEOF
4532rm -f conftest.$ac_objext
4533if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4534 (eval $ac_compile) 2>conftest.er1
4535 ac_status=$?
4536 grep -v '^ *+' conftest.er1 >conftest.err
4537 rm -f conftest.er1
4538 cat conftest.err >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); } &&
4541 { ac_try='test -z "$ac_c_werror_flag"
4542 || test ! -s conftest.err'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4544 (eval $ac_try) 2>&5
4545 ac_status=$?
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; } &&
4548 { ac_try='test -s conftest.$ac_objext'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 (eval $ac_try) 2>&5
4551 ac_status=$?
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; }; then
4554 :
4555else
4556 echo "$as_me: failed program was:" >&5
4557sed 's/^/| /' conftest.$ac_ext >&5
4558
4559CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
4560fi
4561rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4562fi
4563
4564
4565
4566echo "$as_me:$LINENO: checking for main in -lg" >&5
4567echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
4568if test "${ac_cv_lib_g_main+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570else
4571 ac_check_lib_save_LIBS=$LIBS
4572LIBS="-lg $LIBS"
4573cat >conftest.$ac_ext <<_ACEOF
4574/* confdefs.h. */
4575_ACEOF
4576cat confdefs.h >>conftest.$ac_ext
4577cat >>conftest.$ac_ext <<_ACEOF
4578/* end confdefs.h. */
4579
4580
4581int
4582main ()
4583{
4584main ();
4585 ;
4586 return 0;
4587}
4588_ACEOF
4589rm -f conftest.$ac_objext conftest$ac_exeext
4590if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4591 (eval $ac_link) 2>conftest.er1
4592 ac_status=$?
4593 grep -v '^ *+' conftest.er1 >conftest.err
4594 rm -f conftest.er1
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } &&
4598 { ac_try='test -z "$ac_c_werror_flag"
4599 || test ! -s conftest.err'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 (eval $ac_try) 2>&5
4602 ac_status=$?
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; } &&
4605 { ac_try='test -s conftest$ac_exeext'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 (eval $ac_try) 2>&5
4608 ac_status=$?
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; }; then
4611 ac_cv_lib_g_main=yes
4612else
4613 echo "$as_me: failed program was:" >&5
4614sed 's/^/| /' conftest.$ac_ext >&5
4615
4616ac_cv_lib_g_main=no
4617fi
4618rm -f conftest.err conftest.$ac_objext \
4619 conftest$ac_exeext conftest.$ac_ext
4620LIBS=$ac_check_lib_save_LIBS
4621fi
4622echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
4623echo "${ECHO_T}$ac_cv_lib_g_main" >&6
4624if test $ac_cv_lib_g_main = yes; then
4625 cat >>confdefs.h <<_ACEOF
4626#define HAVE_LIBG 1
4627_ACEOF
4628
4629 LIBS="-lg $LIBS"
4630
4631fi
4632ac_cv_lib_g=ac_cv_lib_g_main
4633
4634
4635echo "$as_me:$LINENO: checking for main in -lm" >&5
4636echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4637if test "${ac_cv_lib_m_main+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639else
4640 ac_check_lib_save_LIBS=$LIBS
4641LIBS="-lm $LIBS"
4642cat >conftest.$ac_ext <<_ACEOF
4643/* confdefs.h. */
4644_ACEOF
4645cat confdefs.h >>conftest.$ac_ext
4646cat >>conftest.$ac_ext <<_ACEOF
4647/* end confdefs.h. */
4648
4649
4650int
4651main ()
4652{
4653main ();
4654 ;
4655 return 0;
4656}
4657_ACEOF
4658rm -f conftest.$ac_objext conftest$ac_exeext
4659if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4660 (eval $ac_link) 2>conftest.er1
4661 ac_status=$?
4662 grep -v '^ *+' conftest.er1 >conftest.err
4663 rm -f conftest.er1
4664 cat conftest.err >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try='test -z "$ac_c_werror_flag"
4668 || test ! -s conftest.err'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 (eval $ac_try) 2>&5
4671 ac_status=$?
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try='test -s conftest$ac_exeext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 (eval $ac_try) 2>&5
4677 ac_status=$?
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4680 ac_cv_lib_m_main=yes
4681else
4682 echo "$as_me: failed program was:" >&5
4683sed 's/^/| /' conftest.$ac_ext >&5
4684
4685ac_cv_lib_m_main=no
4686fi
4687rm -f conftest.err conftest.$ac_objext \
4688 conftest$ac_exeext conftest.$ac_ext
4689LIBS=$ac_check_lib_save_LIBS
4690fi
4691echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4692echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4693if test $ac_cv_lib_m_main = yes; then
4694 cat >>confdefs.h <<_ACEOF
4695#define HAVE_LIBM 1
4696_ACEOF
4697
4698 LIBS="-lm $LIBS"
4699
4700fi
4701ac_cv_lib_m=ac_cv_lib_m_main
4702
4703
4704echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
4705echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
4706if test "${ac_cv_lib_crypt_main+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4708else
4709 ac_check_lib_save_LIBS=$LIBS
4710LIBS="-lcrypt $LIBS"
4711cat >conftest.$ac_ext <<_ACEOF
4712/* confdefs.h. */
4713_ACEOF
4714cat confdefs.h >>conftest.$ac_ext
4715cat >>conftest.$ac_ext <<_ACEOF
4716/* end confdefs.h. */
4717
4718
4719int
4720main ()
4721{
4722main ();
4723 ;
4724 return 0;
4725}
4726_ACEOF
4727rm -f conftest.$ac_objext conftest$ac_exeext
4728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4729 (eval $ac_link) 2>conftest.er1
4730 ac_status=$?
4731 grep -v '^ *+' conftest.er1 >conftest.err
4732 rm -f conftest.er1
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try='test -z "$ac_c_werror_flag"
4737 || test ! -s conftest.err'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 (eval $ac_try) 2>&5
4740 ac_status=$?
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try='test -s conftest$ac_exeext'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 (eval $ac_try) 2>&5
4746 ac_status=$?
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; }; then
4749 ac_cv_lib_crypt_main=yes
4750else
4751 echo "$as_me: failed program was:" >&5
4752sed 's/^/| /' conftest.$ac_ext >&5
4753
4754ac_cv_lib_crypt_main=no
4755fi
4756rm -f conftest.err conftest.$ac_objext \
4757 conftest$ac_exeext conftest.$ac_ext
4758LIBS=$ac_check_lib_save_LIBS
4759fi
4760echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
4761echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
4762if test $ac_cv_lib_crypt_main = yes; then
4763 cat >>confdefs.h <<_ACEOF
4764#define HAVE_LIBCRYPT 1
4765_ACEOF
4766
4767 LIBS="-lcrypt $LIBS"
4768
4769fi
4770ac_cv_lib_crypt=ac_cv_lib_crypt_main
4771
4772if test $ENABLE_ACCENTFOLD = 1; then
4773
4774echo "$as_me:$LINENO: checking for main in -liconv" >&5
4775echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
4776if test "${ac_cv_lib_iconv_main+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4778else
4779 ac_check_lib_save_LIBS=$LIBS
4780LIBS="-liconv $LIBS"
4781cat >conftest.$ac_ext <<_ACEOF
4782/* confdefs.h. */
4783_ACEOF
4784cat confdefs.h >>conftest.$ac_ext
4785cat >>conftest.$ac_ext <<_ACEOF
4786/* end confdefs.h. */
4787
4788
4789int
4790main ()
4791{
4792main ();
4793 ;
4794 return 0;
4795}
4796_ACEOF
4797rm -f conftest.$ac_objext conftest$ac_exeext
4798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4799 (eval $ac_link) 2>conftest.er1
4800 ac_status=$?
4801 grep -v '^ *+' conftest.er1 >conftest.err
4802 rm -f conftest.er1
4803 cat conftest.err >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } &&
4806 { ac_try='test -z "$ac_c_werror_flag"
4807 || test ! -s conftest.err'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 (eval $ac_try) 2>&5
4810 ac_status=$?
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; } &&
4813 { ac_try='test -s conftest$ac_exeext'
4814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 (eval $ac_try) 2>&5
4816 ac_status=$?
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; }; then
4819 ac_cv_lib_iconv_main=yes
4820else
4821 echo "$as_me: failed program was:" >&5
4822sed 's/^/| /' conftest.$ac_ext >&5
4823
4824ac_cv_lib_iconv_main=no
4825fi
4826rm -f conftest.err conftest.$ac_objext \
4827 conftest$ac_exeext conftest.$ac_ext
4828LIBS=$ac_check_lib_save_LIBS
4829fi
4830echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
4831echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
4832if test $ac_cv_lib_iconv_main = yes; then
4833 cat >>confdefs.h <<_ACEOF
4834#define HAVE_LIBICONV 1
4835_ACEOF
4836
4837 LIBS="-liconv $LIBS"
4838
4839fi
4840ac_cv_lib_iconv=ac_cv_lib_iconv_main
4841
4842fi
4843
4844
4845
4846
4847
4848
4849ac_header_dirent=no
4850for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4851 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4852echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4853echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4854if eval "test \"\${$as_ac_Header+set}\" = set"; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4856else
4857 cat >conftest.$ac_ext <<_ACEOF
4858/* confdefs.h. */
4859_ACEOF
4860cat confdefs.h >>conftest.$ac_ext
4861cat >>conftest.$ac_ext <<_ACEOF
4862/* end confdefs.h. */
4863#include <sys/types.h>
4864#include <$ac_hdr>
4865
4866int
4867main ()
4868{
4869if ((DIR *) 0)
4870return 0;
4871 ;
4872 return 0;
4873}
4874_ACEOF
4875rm -f conftest.$ac_objext
4876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4877 (eval $ac_compile) 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } &&
4884 { ac_try='test -z "$ac_c_werror_flag"
4885 || test ! -s conftest.err'
4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887 (eval $ac_try) 2>&5
4888 ac_status=$?
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); }; } &&
4891 { ac_try='test -s conftest.$ac_objext'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 (eval $ac_try) 2>&5
4894 ac_status=$?
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; }; then
4897 eval "$as_ac_Header=yes"
4898else
4899 echo "$as_me: failed program was:" >&5
4900sed 's/^/| /' conftest.$ac_ext >&5
4901
4902eval "$as_ac_Header=no"
4903fi
4904rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4905fi
4906echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4907echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4908if test `eval echo '${'$as_ac_Header'}'` = yes; then
4909 cat >>confdefs.h <<_ACEOF
4910#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4911_ACEOF
4912
4913ac_header_dirent=$ac_hdr; break
4914fi
4915
4916done
4917# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4918if test $ac_header_dirent = dirent.h; then
4919 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4920echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4921if test "${ac_cv_search_opendir+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4923else
4924 ac_func_search_save_LIBS=$LIBS
4925ac_cv_search_opendir=no
4926cat >conftest.$ac_ext <<_ACEOF
4927/* confdefs.h. */
4928_ACEOF
4929cat confdefs.h >>conftest.$ac_ext
4930cat >>conftest.$ac_ext <<_ACEOF
4931/* end confdefs.h. */
4932
4933/* Override any gcc2 internal prototype to avoid an error. */
4934#ifdef __cplusplus
4935extern "C"
4936#endif
4937/* We use char because int might match the return type of a gcc2
4938 builtin and then its argument prototype would still apply. */
4939char opendir ();
4940int
4941main ()
4942{
4943opendir ();
4944 ;
4945 return 0;
4946}
4947_ACEOF
4948rm -f conftest.$ac_objext conftest$ac_exeext
4949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4950 (eval $ac_link) 2>conftest.er1
4951 ac_status=$?
4952 grep -v '^ *+' conftest.er1 >conftest.err
4953 rm -f conftest.er1
4954 cat conftest.err >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try='test -z "$ac_c_werror_flag"
4958 || test ! -s conftest.err'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 (eval $ac_try) 2>&5
4961 ac_status=$?
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; } &&
4964 { ac_try='test -s conftest$ac_exeext'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 (eval $ac_try) 2>&5
4967 ac_status=$?
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; }; then
4970 ac_cv_search_opendir="none required"
4971else
4972 echo "$as_me: failed program was:" >&5
4973sed 's/^/| /' conftest.$ac_ext >&5
4974
4975fi
4976rm -f conftest.err conftest.$ac_objext \
4977 conftest$ac_exeext conftest.$ac_ext
4978if test "$ac_cv_search_opendir" = no; then
4979 for ac_lib in dir; do
4980 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4981 cat >conftest.$ac_ext <<_ACEOF
4982/* confdefs.h. */
4983_ACEOF
4984cat confdefs.h >>conftest.$ac_ext
4985cat >>conftest.$ac_ext <<_ACEOF
4986/* end confdefs.h. */
4987
4988/* Override any gcc2 internal prototype to avoid an error. */
4989#ifdef __cplusplus
4990extern "C"
4991#endif
4992/* We use char because int might match the return type of a gcc2
4993 builtin and then its argument prototype would still apply. */
4994char opendir ();
4995int
4996main ()
4997{
4998opendir ();
4999 ;
5000 return 0;
5001}
5002_ACEOF
5003rm -f conftest.$ac_objext conftest$ac_exeext
5004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5005 (eval $ac_link) 2>conftest.er1
5006 ac_status=$?
5007 grep -v '^ *+' conftest.er1 >conftest.err
5008 rm -f conftest.er1
5009 cat conftest.err >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } &&
5012 { ac_try='test -z "$ac_c_werror_flag"
5013 || test ! -s conftest.err'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 (eval $ac_try) 2>&5
5016 ac_status=$?
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; } &&
5019 { ac_try='test -s conftest$ac_exeext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 (eval $ac_try) 2>&5
5022 ac_status=$?
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5025 ac_cv_search_opendir="-l$ac_lib"
5026break
5027else
5028 echo "$as_me: failed program was:" >&5
5029sed 's/^/| /' conftest.$ac_ext >&5
5030
5031fi
5032rm -f conftest.err conftest.$ac_objext \
5033 conftest$ac_exeext conftest.$ac_ext
5034 done
5035fi
5036LIBS=$ac_func_search_save_LIBS
5037fi
5038echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5039echo "${ECHO_T}$ac_cv_search_opendir" >&6
5040if test "$ac_cv_search_opendir" != no; then
5041 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5042
5043fi
5044
5045else
5046 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5047echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5048if test "${ac_cv_search_opendir+set}" = set; then
5049 echo $ECHO_N "(cached) $ECHO_C" >&6
5050else
5051 ac_func_search_save_LIBS=$LIBS
5052ac_cv_search_opendir=no
5053cat >conftest.$ac_ext <<_ACEOF
5054/* confdefs.h. */
5055_ACEOF
5056cat confdefs.h >>conftest.$ac_ext
5057cat >>conftest.$ac_ext <<_ACEOF
5058/* end confdefs.h. */
5059
5060/* Override any gcc2 internal prototype to avoid an error. */
5061#ifdef __cplusplus
5062extern "C"
5063#endif
5064/* We use char because int might match the return type of a gcc2
5065 builtin and then its argument prototype would still apply. */
5066char opendir ();
5067int
5068main ()
5069{
5070opendir ();
5071 ;
5072 return 0;
5073}
5074_ACEOF
5075rm -f conftest.$ac_objext conftest$ac_exeext
5076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5077 (eval $ac_link) 2>conftest.er1
5078 ac_status=$?
5079 grep -v '^ *+' conftest.er1 >conftest.err
5080 rm -f conftest.er1
5081 cat conftest.err >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); } &&
5084 { ac_try='test -z "$ac_c_werror_flag"
5085 || test ! -s conftest.err'
5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 (eval $ac_try) 2>&5
5088 ac_status=$?
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); }; } &&
5091 { ac_try='test -s conftest$ac_exeext'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 (eval $ac_try) 2>&5
5094 ac_status=$?
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then
5097 ac_cv_search_opendir="none required"
5098else
5099 echo "$as_me: failed program was:" >&5
5100sed 's/^/| /' conftest.$ac_ext >&5
5101
5102fi
5103rm -f conftest.err conftest.$ac_objext \
5104 conftest$ac_exeext conftest.$ac_ext
5105if test "$ac_cv_search_opendir" = no; then
5106 for ac_lib in x; do
5107 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5108 cat >conftest.$ac_ext <<_ACEOF
5109/* confdefs.h. */
5110_ACEOF
5111cat confdefs.h >>conftest.$ac_ext
5112cat >>conftest.$ac_ext <<_ACEOF
5113/* end confdefs.h. */
5114
5115/* Override any gcc2 internal prototype to avoid an error. */
5116#ifdef __cplusplus
5117extern "C"
5118#endif
5119/* We use char because int might match the return type of a gcc2
5120 builtin and then its argument prototype would still apply. */
5121char opendir ();
5122int
5123main ()
5124{
5125opendir ();
5126 ;
5127 return 0;
5128}
5129_ACEOF
5130rm -f conftest.$ac_objext conftest$ac_exeext
5131if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5132 (eval $ac_link) 2>conftest.er1
5133 ac_status=$?
5134 grep -v '^ *+' conftest.er1 >conftest.err
5135 rm -f conftest.er1
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } &&
5139 { ac_try='test -z "$ac_c_werror_flag"
5140 || test ! -s conftest.err'
5141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 (eval $ac_try) 2>&5
5143 ac_status=$?
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; } &&
5146 { ac_try='test -s conftest$ac_exeext'
5147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 (eval $ac_try) 2>&5
5149 ac_status=$?
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; }; then
5152 ac_cv_search_opendir="-l$ac_lib"
5153break
5154else
5155 echo "$as_me: failed program was:" >&5
5156sed 's/^/| /' conftest.$ac_ext >&5
5157
5158fi
5159rm -f conftest.err conftest.$ac_objext \
5160 conftest$ac_exeext conftest.$ac_ext
5161 done
5162fi
5163LIBS=$ac_func_search_save_LIBS
5164fi
5165echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5166echo "${ECHO_T}$ac_cv_search_opendir" >&6
5167if test "$ac_cv_search_opendir" != no; then
5168 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5169
5170fi
5171
5172fi
5173
5174echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5175echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5176if test "${ac_cv_header_stdc+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5178else
5179 cat >conftest.$ac_ext <<_ACEOF
5180/* confdefs.h. */
5181_ACEOF
5182cat confdefs.h >>conftest.$ac_ext
5183cat >>conftest.$ac_ext <<_ACEOF
5184/* end confdefs.h. */
5185#include <stdlib.h>
5186#include <stdarg.h>
5187#include <string.h>
5188#include <float.h>
5189
5190int
5191main ()
5192{
5193
5194 ;
5195 return 0;
5196}
5197_ACEOF
5198rm -f conftest.$ac_objext
5199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5200 (eval $ac_compile) 2>conftest.er1
5201 ac_status=$?
5202 grep -v '^ *+' conftest.er1 >conftest.err
5203 rm -f conftest.er1
5204 cat conftest.err >&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } &&
5207 { ac_try='test -z "$ac_c_werror_flag"
5208 || test ! -s conftest.err'
5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 (eval $ac_try) 2>&5
5211 ac_status=$?
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest.$ac_objext'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 (eval $ac_try) 2>&5
5217 ac_status=$?
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; }; then
5220 ac_cv_header_stdc=yes
5221else
5222 echo "$as_me: failed program was:" >&5
5223sed 's/^/| /' conftest.$ac_ext >&5
5224
5225ac_cv_header_stdc=no
5226fi
5227rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5228
5229if test $ac_cv_header_stdc = yes; then
5230 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5231 cat >conftest.$ac_ext <<_ACEOF
5232/* confdefs.h. */
5233_ACEOF
5234cat confdefs.h >>conftest.$ac_ext
5235cat >>conftest.$ac_ext <<_ACEOF
5236/* end confdefs.h. */
5237#include <string.h>
5238
5239_ACEOF
5240if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5241 $EGREP "memchr" >/dev/null 2>&1; then
5242 :
5243else
5244 ac_cv_header_stdc=no
5245fi
5246rm -f conftest*
5247
5248fi
5249
5250if test $ac_cv_header_stdc = yes; then
5251 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5252 cat >conftest.$ac_ext <<_ACEOF
5253/* confdefs.h. */
5254_ACEOF
5255cat confdefs.h >>conftest.$ac_ext
5256cat >>conftest.$ac_ext <<_ACEOF
5257/* end confdefs.h. */
5258#include <stdlib.h>
5259
5260_ACEOF
5261if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5262 $EGREP "free" >/dev/null 2>&1; then
5263 :
5264else
5265 ac_cv_header_stdc=no
5266fi
5267rm -f conftest*
5268
5269fi
5270
5271if test $ac_cv_header_stdc = yes; then
5272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5273 if test "$cross_compiling" = yes; then
5274 :
5275else
5276 cat >conftest.$ac_ext <<_ACEOF
5277/* confdefs.h. */
5278_ACEOF
5279cat confdefs.h >>conftest.$ac_ext
5280cat >>conftest.$ac_ext <<_ACEOF
5281/* end confdefs.h. */
5282#include <ctype.h>
5283#if ((' ' & 0x0FF) == 0x020)
5284# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5285# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5286#else
5287# define ISLOWER(c) \
5288 (('a' <= (c) && (c) <= 'i') \
5289 || ('j' <= (c) && (c) <= 'r') \
5290 || ('s' <= (c) && (c) <= 'z'))
5291# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5292#endif
5293
5294#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5295int
5296main ()
5297{
5298 int i;
5299 for (i = 0; i < 256; i++)
5300 if (XOR (islower (i), ISLOWER (i))
5301 || toupper (i) != TOUPPER (i))
5302 exit(2);
5303 exit (0);
5304}
5305_ACEOF
5306rm -f conftest$ac_exeext
5307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5308 (eval $ac_link) 2>&5
5309 ac_status=$?
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 (eval $ac_try) 2>&5
5314 ac_status=$?
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); }; }; then
5317 :
5318else
5319 echo "$as_me: program exited with status $ac_status" >&5
5320echo "$as_me: failed program was:" >&5
5321sed 's/^/| /' conftest.$ac_ext >&5
5322
5323( exit $ac_status )
5324ac_cv_header_stdc=no
5325fi
5326rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5327fi
5328fi
5329fi
5330echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5331echo "${ECHO_T}$ac_cv_header_stdc" >&6
5332if test $ac_cv_header_stdc = yes; then
5333
5334cat >>confdefs.h <<\_ACEOF
5335#define STDC_HEADERS 1
5336_ACEOF
5337
5338fi
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
5350do
5351as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5352if eval "test \"\${$as_ac_Header+set}\" = set"; then
5353 echo "$as_me:$LINENO: checking for $ac_header" >&5
5354echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5355if eval "test \"\${$as_ac_Header+set}\" = set"; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5357fi
5358echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5359echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5360else
5361 # Is the header compilable?
5362echo "$as_me:$LINENO: checking $ac_header usability" >&5
5363echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5364cat >conftest.$ac_ext <<_ACEOF
5365/* confdefs.h. */
5366_ACEOF
5367cat confdefs.h >>conftest.$ac_ext
5368cat >>conftest.$ac_ext <<_ACEOF
5369/* end confdefs.h. */
5370$ac_includes_default
5371#include <$ac_header>
5372_ACEOF
5373rm -f conftest.$ac_objext
5374if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375 (eval $ac_compile) 2>conftest.er1
5376 ac_status=$?
5377 grep -v '^ *+' conftest.er1 >conftest.err
5378 rm -f conftest.er1
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try='test -z "$ac_c_werror_flag"
5383 || test ! -s conftest.err'
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385 (eval $ac_try) 2>&5
5386 ac_status=$?
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; } &&
5389 { ac_try='test -s conftest.$ac_objext'
5390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 (eval $ac_try) 2>&5
5392 ac_status=$?
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_header_compiler=yes
5396else
5397 echo "$as_me: failed program was:" >&5
5398sed 's/^/| /' conftest.$ac_ext >&5
5399
5400ac_header_compiler=no
5401fi
5402rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5403echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5404echo "${ECHO_T}$ac_header_compiler" >&6
5405
5406# Is the header present?
5407echo "$as_me:$LINENO: checking $ac_header presence" >&5
5408echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5409cat >conftest.$ac_ext <<_ACEOF
5410/* confdefs.h. */
5411_ACEOF
5412cat confdefs.h >>conftest.$ac_ext
5413cat >>conftest.$ac_ext <<_ACEOF
5414/* end confdefs.h. */
5415#include <$ac_header>
5416_ACEOF
5417if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5419 ac_status=$?
5420 grep -v '^ *+' conftest.er1 >conftest.err
5421 rm -f conftest.er1
5422 cat conftest.err >&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); } >/dev/null; then
5425 if test -s conftest.err; then
5426 ac_cpp_err=$ac_c_preproc_warn_flag
5427 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5428 else
5429 ac_cpp_err=
5430 fi
5431else
5432 ac_cpp_err=yes
5433fi
5434if test -z "$ac_cpp_err"; then
5435 ac_header_preproc=yes
5436else
5437 echo "$as_me: failed program was:" >&5
5438sed 's/^/| /' conftest.$ac_ext >&5
5439
5440 ac_header_preproc=no
5441fi
5442rm -f conftest.err conftest.$ac_ext
5443echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5444echo "${ECHO_T}$ac_header_preproc" >&6
5445
5446# So? What about this header?
5447case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5448 yes:no: )
5449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5450echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5452echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5453 ac_header_preproc=yes
5454 ;;
5455 no:yes:* )
5456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5457echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5459echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5461echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5463echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5465echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5467echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5468 (
5469 cat <<\_ASBOX
5470## ------------------------------------------ ##
5471## Report this to the AC_PACKAGE_NAME lists. ##
5472## ------------------------------------------ ##
5473_ASBOX
5474 ) |
5475 sed "s/^/$as_me: WARNING: /" >&2
5476 ;;
5477esac
5478echo "$as_me:$LINENO: checking for $ac_header" >&5
5479echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5480if eval "test \"\${$as_ac_Header+set}\" = set"; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5482else
5483 eval "$as_ac_Header=\$ac_header_preproc"
5484fi
5485echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5486echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5487
5488fi
5489if test `eval echo '${'$as_ac_Header'}'` = yes; then
5490 cat >>confdefs.h <<_ACEOF
5491#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5492_ACEOF
5493
5494fi
5495
5496done
5497
5498cat >conftest.$ac_ext <<_ACEOF
5499/* confdefs.h. */
5500_ACEOF
5501cat confdefs.h >>conftest.$ac_ext
5502cat >>conftest.$ac_ext <<_ACEOF
5503/* end confdefs.h. */
5504#include <stdio.h>
5505
5506_ACEOF
5507if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 $EGREP "fread" >/dev/null 2>&1; then
5509 cat >>confdefs.h <<\_ACEOF
5510#define HAVE_FREAD_DECL 1
5511_ACEOF
5512
5513fi
5514rm -f conftest*
5515
5516cat >conftest.$ac_ext <<_ACEOF
5517/* confdefs.h. */
5518_ACEOF
5519cat confdefs.h >>conftest.$ac_ext
5520cat >>conftest.$ac_ext <<_ACEOF
5521/* end confdefs.h. */
5522#include <stdio.h>
5523
5524_ACEOF
5525if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5526 $EGREP "fgetc" >/dev/null 2>&1; then
5527 cat >>confdefs.h <<\_ACEOF
5528#define HAVE_FGETC_DECL 1
5529_ACEOF
5530
5531fi
5532rm -f conftest*
5533
5534cat >conftest.$ac_ext <<_ACEOF
5535/* confdefs.h. */
5536_ACEOF
5537cat confdefs.h >>conftest.$ac_ext
5538cat >>conftest.$ac_ext <<_ACEOF
5539/* end confdefs.h. */
5540#include <sys/procfs.h>
5541
5542_ACEOF
5543if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5544 $EGREP "pr_brksize" >/dev/null 2>&1; then
5545 cat >>confdefs.h <<\_ACEOF
5546#define HAVE_PR_BRKSIZE 1
5547_ACEOF
5548
5549fi
5550rm -f conftest*
5551
5552
5553# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5554# for constant arguments. Useless!
5555echo "$as_me:$LINENO: checking for working alloca.h" >&5
5556echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5557if test "${ac_cv_working_alloca_h+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5559else
5560 cat >conftest.$ac_ext <<_ACEOF
5561/* confdefs.h. */
5562_ACEOF
5563cat confdefs.h >>conftest.$ac_ext
5564cat >>conftest.$ac_ext <<_ACEOF
5565/* end confdefs.h. */
5566#include <alloca.h>
5567int
5568main ()
5569{
5570char *p = (char *) alloca (2 * sizeof (int));
5571 ;
5572 return 0;
5573}
5574_ACEOF
5575rm -f conftest.$ac_objext conftest$ac_exeext
5576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5577 (eval $ac_link) 2>conftest.er1
5578 ac_status=$?
5579 grep -v '^ *+' conftest.er1 >conftest.err
5580 rm -f conftest.er1
5581 cat conftest.err >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } &&
5584 { ac_try='test -z "$ac_c_werror_flag"
5585 || test ! -s conftest.err'
5586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5587 (eval $ac_try) 2>&5
5588 ac_status=$?
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; } &&
5591 { ac_try='test -s conftest$ac_exeext'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 (eval $ac_try) 2>&5
5594 ac_status=$?
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; }; then
5597 ac_cv_working_alloca_h=yes
5598else
5599 echo "$as_me: failed program was:" >&5
5600sed 's/^/| /' conftest.$ac_ext >&5
5601
5602ac_cv_working_alloca_h=no
5603fi
5604rm -f conftest.err conftest.$ac_objext \
5605 conftest$ac_exeext conftest.$ac_ext
5606fi
5607echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5608echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5609if test $ac_cv_working_alloca_h = yes; then
5610
5611cat >>confdefs.h <<\_ACEOF
5612#define HAVE_ALLOCA_H 1
5613_ACEOF
5614
5615fi
5616
5617echo "$as_me:$LINENO: checking for alloca" >&5
5618echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5619if test "${ac_cv_func_alloca_works+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5621else
5622 cat >conftest.$ac_ext <<_ACEOF
5623/* confdefs.h. */
5624_ACEOF
5625cat confdefs.h >>conftest.$ac_ext
5626cat >>conftest.$ac_ext <<_ACEOF
5627/* end confdefs.h. */
5628#ifdef __GNUC__
5629# define alloca __builtin_alloca
5630#else
5631# ifdef _MSC_VER
5632# include <malloc.h>
5633# define alloca _alloca
5634# else
5635# if HAVE_ALLOCA_H
5636# include <alloca.h>
5637# else
5638# ifdef _AIX
5639 #pragma alloca
5640# else
5641# ifndef alloca /* predefined by HP cc +Olibcalls */
5642char *alloca ();
5643# endif
5644# endif
5645# endif
5646# endif
5647#endif
5648
5649int
5650main ()
5651{
5652char *p = (char *) alloca (1);
5653 ;
5654 return 0;
5655}
5656_ACEOF
5657rm -f conftest.$ac_objext conftest$ac_exeext
5658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5659 (eval $ac_link) 2>conftest.er1
5660 ac_status=$?
5661 grep -v '^ *+' conftest.er1 >conftest.err
5662 rm -f conftest.er1
5663 cat conftest.err >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } &&
5666 { ac_try='test -z "$ac_c_werror_flag"
5667 || test ! -s conftest.err'
5668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5669 (eval $ac_try) 2>&5
5670 ac_status=$?
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); }; } &&
5673 { ac_try='test -s conftest$ac_exeext'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5675 (eval $ac_try) 2>&5
5676 ac_status=$?
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then
5679 ac_cv_func_alloca_works=yes
5680else
5681 echo "$as_me: failed program was:" >&5
5682sed 's/^/| /' conftest.$ac_ext >&5
5683
5684ac_cv_func_alloca_works=no
5685fi
5686rm -f conftest.err conftest.$ac_objext \
5687 conftest$ac_exeext conftest.$ac_ext
5688fi
5689echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5690echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5691
5692if test $ac_cv_func_alloca_works = yes; then
5693
5694cat >>confdefs.h <<\_ACEOF
5695#define HAVE_ALLOCA 1
5696_ACEOF
5697
5698else
5699 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5700# that cause trouble. Some versions do not even contain alloca or
5701# contain a buggy version. If you still want to use their alloca,
5702# use ar to extract alloca.o from them instead of compiling alloca.c.
5703
5704ALLOCA=alloca.$ac_objext
5705
5706cat >>confdefs.h <<\_ACEOF
5707#define C_ALLOCA 1
5708_ACEOF
5709
5710
5711echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5712echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5713if test "${ac_cv_os_cray+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715else
5716 cat >conftest.$ac_ext <<_ACEOF
5717/* confdefs.h. */
5718_ACEOF
5719cat confdefs.h >>conftest.$ac_ext
5720cat >>conftest.$ac_ext <<_ACEOF
5721/* end confdefs.h. */
5722#if defined(CRAY) && ! defined(CRAY2)
5723webecray
5724#else
5725wenotbecray
5726#endif
5727
5728_ACEOF
5729if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5730 $EGREP "webecray" >/dev/null 2>&1; then
5731 ac_cv_os_cray=yes
5732else
5733 ac_cv_os_cray=no
5734fi
5735rm -f conftest*
5736
5737fi
5738echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5739echo "${ECHO_T}$ac_cv_os_cray" >&6
5740if test $ac_cv_os_cray = yes; then
5741 for ac_func in _getb67 GETB67 getb67; do
5742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5743echo "$as_me:$LINENO: checking for $ac_func" >&5
5744echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5745if eval "test \"\${$as_ac_var+set}\" = set"; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5747else
5748 cat >conftest.$ac_ext <<_ACEOF
5749/* confdefs.h. */
5750_ACEOF
5751cat confdefs.h >>conftest.$ac_ext
5752cat >>conftest.$ac_ext <<_ACEOF
5753/* end confdefs.h. */
5754/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5756#define $ac_func innocuous_$ac_func
5757
5758/* System header to define __stub macros and hopefully few prototypes,
5759 which can conflict with char $ac_func (); below.
5760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5761 <limits.h> exists even on freestanding compilers. */
5762
5763#ifdef __STDC__
5764# include <limits.h>
5765#else
5766# include <assert.h>
5767#endif
5768
5769#undef $ac_func
5770
5771/* Override any gcc2 internal prototype to avoid an error. */
5772#ifdef __cplusplus
5773extern "C"
5774{
5775#endif
5776/* We use char because int might match the return type of a gcc2
5777 builtin and then its argument prototype would still apply. */
5778char $ac_func ();
5779/* The GNU C library defines this for functions which it implements
5780 to always fail with ENOSYS. Some functions are actually named
5781 something starting with __ and the normal name is an alias. */
5782#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5783choke me
5784#else
5785char (*f) () = $ac_func;
5786#endif
5787#ifdef __cplusplus
5788}
5789#endif
5790
5791int
5792main ()
5793{
5794return f != $ac_func;
5795 ;
5796 return 0;
5797}
5798_ACEOF
5799rm -f conftest.$ac_objext conftest$ac_exeext
5800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5801 (eval $ac_link) 2>conftest.er1
5802 ac_status=$?
5803 grep -v '^ *+' conftest.er1 >conftest.err
5804 rm -f conftest.er1
5805 cat conftest.err >&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); } &&
5808 { ac_try='test -z "$ac_c_werror_flag"
5809 || test ! -s conftest.err'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 (eval $ac_try) 2>&5
5812 ac_status=$?
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; } &&
5815 { ac_try='test -s conftest$ac_exeext'
5816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5817 (eval $ac_try) 2>&5
5818 ac_status=$?
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; }; then
5821 eval "$as_ac_var=yes"
5822else
5823 echo "$as_me: failed program was:" >&5
5824sed 's/^/| /' conftest.$ac_ext >&5
5825
5826eval "$as_ac_var=no"
5827fi
5828rm -f conftest.err conftest.$ac_objext \
5829 conftest$ac_exeext conftest.$ac_ext
5830fi
5831echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5832echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5833if test `eval echo '${'$as_ac_var'}'` = yes; then
5834
5835cat >>confdefs.h <<_ACEOF
5836#define CRAY_STACKSEG_END $ac_func
5837_ACEOF
5838
5839 break
5840fi
5841
5842 done
5843fi
5844
5845echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5846echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5847if test "${ac_cv_c_stack_direction+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5849else
5850 if test "$cross_compiling" = yes; then
5851 ac_cv_c_stack_direction=0
5852else
5853 cat >conftest.$ac_ext <<_ACEOF
5854/* confdefs.h. */
5855_ACEOF
5856cat confdefs.h >>conftest.$ac_ext
5857cat >>conftest.$ac_ext <<_ACEOF
5858/* end confdefs.h. */
5859int
5860find_stack_direction ()
5861{
5862 static char *addr = 0;
5863 auto char dummy;
5864 if (addr == 0)
5865 {
5866 addr = &dummy;
5867 return find_stack_direction ();
5868 }
5869 else
5870 return (&dummy > addr) ? 1 : -1;
5871}
5872
5873int
5874main ()
5875{
5876 exit (find_stack_direction () < 0);
5877}
5878_ACEOF
5879rm -f conftest$ac_exeext
5880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5881 (eval $ac_link) 2>&5
5882 ac_status=$?
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5886 (eval $ac_try) 2>&5
5887 ac_status=$?
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); }; }; then
5890 ac_cv_c_stack_direction=1
5891else
5892 echo "$as_me: program exited with status $ac_status" >&5
5893echo "$as_me: failed program was:" >&5
5894sed 's/^/| /' conftest.$ac_ext >&5
5895
5896( exit $ac_status )
5897ac_cv_c_stack_direction=-1
5898fi
5899rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5900fi
5901fi
5902echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5903echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5904
5905cat >>confdefs.h <<_ACEOF
5906#define STACK_DIRECTION $ac_cv_c_stack_direction
5907_ACEOF
5908
5909
5910fi
5911
5912if test $ac_cv_c_compiler_gnu = yes; then
5913 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5914echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
5915if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5917else
5918 ac_pattern="Autoconf.*'x'"
5919 cat >conftest.$ac_ext <<_ACEOF
5920/* confdefs.h. */
5921_ACEOF
5922cat confdefs.h >>conftest.$ac_ext
5923cat >>conftest.$ac_ext <<_ACEOF
5924/* end confdefs.h. */
5925#include <sgtty.h>
5926Autoconf TIOCGETP
5927_ACEOF
5928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5929 $EGREP "$ac_pattern" >/dev/null 2>&1; then
5930 ac_cv_prog_gcc_traditional=yes
5931else
5932 ac_cv_prog_gcc_traditional=no
5933fi
5934rm -f conftest*
5935
5936
5937 if test $ac_cv_prog_gcc_traditional = no; then
5938 cat >conftest.$ac_ext <<_ACEOF
5939/* confdefs.h. */
5940_ACEOF
5941cat confdefs.h >>conftest.$ac_ext
5942cat >>conftest.$ac_ext <<_ACEOF
5943/* end confdefs.h. */
5944#include <termio.h>
5945Autoconf TCGETA
5946_ACEOF
5947if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5948 $EGREP "$ac_pattern" >/dev/null 2>&1; then
5949 ac_cv_prog_gcc_traditional=yes
5950fi
5951rm -f conftest*
5952
5953 fi
5954fi
5955echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5956echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
5957 if test $ac_cv_prog_gcc_traditional = yes; then
5958 CC="$CC -traditional"
5959 fi
5960fi
5961
5962echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5963echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5964if test "${ac_cv_type_signal+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5966else
5967 cat >conftest.$ac_ext <<_ACEOF
5968/* confdefs.h. */
5969_ACEOF
5970cat confdefs.h >>conftest.$ac_ext
5971cat >>conftest.$ac_ext <<_ACEOF
5972/* end confdefs.h. */
5973#include <sys/types.h>
5974#include <signal.h>
5975#ifdef signal
5976# undef signal
5977#endif
5978#ifdef __cplusplus
5979extern "C" void (*signal (int, void (*)(int)))(int);
5980#else
5981void (*signal ()) ();
5982#endif
5983
5984int
5985main ()
5986{
5987int i;
5988 ;
5989 return 0;
5990}
5991_ACEOF
5992rm -f conftest.$ac_objext
5993if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5994 (eval $ac_compile) 2>conftest.er1
5995 ac_status=$?
5996 grep -v '^ *+' conftest.er1 >conftest.err
5997 rm -f conftest.er1
5998 cat conftest.err >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); } &&
6001 { ac_try='test -z "$ac_c_werror_flag"
6002 || test ! -s conftest.err'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 (eval $ac_try) 2>&5
6005 ac_status=$?
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; } &&
6008 { ac_try='test -s conftest.$ac_objext'
6009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 (eval $ac_try) 2>&5
6011 ac_status=$?
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); }; }; then
6014 ac_cv_type_signal=void
6015else
6016 echo "$as_me: failed program was:" >&5
6017sed 's/^/| /' conftest.$ac_ext >&5
6018
6019ac_cv_type_signal=int
6020fi
6021rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6022fi
6023echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6024echo "${ECHO_T}$ac_cv_type_signal" >&6
6025
6026cat >>confdefs.h <<_ACEOF
6027#define RETSIGTYPE $ac_cv_type_signal
6028_ACEOF
6029
6030
6031
6032for ac_func in vprintf
6033do
6034as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6035echo "$as_me:$LINENO: checking for $ac_func" >&5
6036echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6037if eval "test \"\${$as_ac_var+set}\" = set"; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6039else
6040 cat >conftest.$ac_ext <<_ACEOF
6041/* confdefs.h. */
6042_ACEOF
6043cat confdefs.h >>conftest.$ac_ext
6044cat >>conftest.$ac_ext <<_ACEOF
6045/* end confdefs.h. */
6046/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6048#define $ac_func innocuous_$ac_func
6049
6050/* System header to define __stub macros and hopefully few prototypes,
6051 which can conflict with char $ac_func (); below.
6052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6053 <limits.h> exists even on freestanding compilers. */
6054
6055#ifdef __STDC__
6056# include <limits.h>
6057#else
6058# include <assert.h>
6059#endif
6060
6061#undef $ac_func
6062
6063/* Override any gcc2 internal prototype to avoid an error. */
6064#ifdef __cplusplus
6065extern "C"
6066{
6067#endif
6068/* We use char because int might match the return type of a gcc2
6069 builtin and then its argument prototype would still apply. */
6070char $ac_func ();
6071/* The GNU C library defines this for functions which it implements
6072 to always fail with ENOSYS. Some functions are actually named
6073 something starting with __ and the normal name is an alias. */
6074#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6075choke me
6076#else
6077char (*f) () = $ac_func;
6078#endif
6079#ifdef __cplusplus
6080}
6081#endif
6082
6083int
6084main ()
6085{
6086return f != $ac_func;
6087 ;
6088 return 0;
6089}
6090_ACEOF
6091rm -f conftest.$ac_objext conftest$ac_exeext
6092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6093 (eval $ac_link) 2>conftest.er1
6094 ac_status=$?
6095 grep -v '^ *+' conftest.er1 >conftest.err
6096 rm -f conftest.er1
6097 cat conftest.err >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } &&
6100 { ac_try='test -z "$ac_c_werror_flag"
6101 || test ! -s conftest.err'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 (eval $ac_try) 2>&5
6104 ac_status=$?
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; } &&
6107 { ac_try='test -s conftest$ac_exeext'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 (eval $ac_try) 2>&5
6110 ac_status=$?
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; }; then
6113 eval "$as_ac_var=yes"
6114else
6115 echo "$as_me: failed program was:" >&5
6116sed 's/^/| /' conftest.$ac_ext >&5
6117
6118eval "$as_ac_var=no"
6119fi
6120rm -f conftest.err conftest.$ac_objext \
6121 conftest$ac_exeext conftest.$ac_ext
6122fi
6123echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6124echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6125if test `eval echo '${'$as_ac_var'}'` = yes; then
6126 cat >>confdefs.h <<_ACEOF
6127#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6128_ACEOF
6129
6130echo "$as_me:$LINENO: checking for _doprnt" >&5
6131echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
6132if test "${ac_cv_func__doprnt+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6134else
6135 cat >conftest.$ac_ext <<_ACEOF
6136/* confdefs.h. */
6137_ACEOF
6138cat confdefs.h >>conftest.$ac_ext
6139cat >>conftest.$ac_ext <<_ACEOF
6140/* end confdefs.h. */
6141/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6143#define _doprnt innocuous__doprnt
6144
6145/* System header to define __stub macros and hopefully few prototypes,
6146 which can conflict with char _doprnt (); below.
6147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6148 <limits.h> exists even on freestanding compilers. */
6149
6150#ifdef __STDC__
6151# include <limits.h>
6152#else
6153# include <assert.h>
6154#endif
6155
6156#undef _doprnt
6157
6158/* Override any gcc2 internal prototype to avoid an error. */
6159#ifdef __cplusplus
6160extern "C"
6161{
6162#endif
6163/* We use char because int might match the return type of a gcc2
6164 builtin and then its argument prototype would still apply. */
6165char _doprnt ();
6166/* The GNU C library defines this for functions which it implements
6167 to always fail with ENOSYS. Some functions are actually named
6168 something starting with __ and the normal name is an alias. */
6169#if defined (__stub__doprnt) || defined (__stub____doprnt)
6170choke me
6171#else
6172char (*f) () = _doprnt;
6173#endif
6174#ifdef __cplusplus
6175}
6176#endif
6177
6178int
6179main ()
6180{
6181return f != _doprnt;
6182 ;
6183 return 0;
6184}
6185_ACEOF
6186rm -f conftest.$ac_objext conftest$ac_exeext
6187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6188 (eval $ac_link) 2>conftest.er1
6189 ac_status=$?
6190 grep -v '^ *+' conftest.er1 >conftest.err
6191 rm -f conftest.er1
6192 cat conftest.err >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); } &&
6195 { ac_try='test -z "$ac_c_werror_flag"
6196 || test ! -s conftest.err'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 (eval $ac_try) 2>&5
6199 ac_status=$?
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; } &&
6202 { ac_try='test -s conftest$ac_exeext'
6203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 (eval $ac_try) 2>&5
6205 ac_status=$?
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; }; then
6208 ac_cv_func__doprnt=yes
6209else
6210 echo "$as_me: failed program was:" >&5
6211sed 's/^/| /' conftest.$ac_ext >&5
6212
6213ac_cv_func__doprnt=no
6214fi
6215rm -f conftest.err conftest.$ac_objext \
6216 conftest$ac_exeext conftest.$ac_ext
6217fi
6218echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6219echo "${ECHO_T}$ac_cv_func__doprnt" >&6
6220if test $ac_cv_func__doprnt = yes; then
6221
6222cat >>confdefs.h <<\_ACEOF
6223#define HAVE_DOPRNT 1
6224_ACEOF
6225
6226fi
6227
6228fi
6229done
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
6243do
6244as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6245echo "$as_me:$LINENO: checking for $ac_func" >&5
6246echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6247if eval "test \"\${$as_ac_var+set}\" = set"; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6249else
6250 cat >conftest.$ac_ext <<_ACEOF
6251/* confdefs.h. */
6252_ACEOF
6253cat confdefs.h >>conftest.$ac_ext
6254cat >>conftest.$ac_ext <<_ACEOF
6255/* end confdefs.h. */
6256/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6258#define $ac_func innocuous_$ac_func
6259
6260/* System header to define __stub macros and hopefully few prototypes,
6261 which can conflict with char $ac_func (); below.
6262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6263 <limits.h> exists even on freestanding compilers. */
6264
6265#ifdef __STDC__
6266# include <limits.h>
6267#else
6268# include <assert.h>
6269#endif
6270
6271#undef $ac_func
6272
6273/* Override any gcc2 internal prototype to avoid an error. */
6274#ifdef __cplusplus
6275extern "C"
6276{
6277#endif
6278/* We use char because int might match the return type of a gcc2
6279 builtin and then its argument prototype would still apply. */
6280char $ac_func ();
6281/* The GNU C library defines this for functions which it implements
6282 to always fail with ENOSYS. Some functions are actually named
6283 something starting with __ and the normal name is an alias. */
6284#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6285choke me
6286#else
6287char (*f) () = $ac_func;
6288#endif
6289#ifdef __cplusplus
6290}
6291#endif
6292
6293int
6294main ()
6295{
6296return f != $ac_func;
6297 ;
6298 return 0;
6299}
6300_ACEOF
6301rm -f conftest.$ac_objext conftest$ac_exeext
6302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6303 (eval $ac_link) 2>conftest.er1
6304 ac_status=$?
6305 grep -v '^ *+' conftest.er1 >conftest.err
6306 rm -f conftest.er1
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } &&
6310 { ac_try='test -z "$ac_c_werror_flag"
6311 || test ! -s conftest.err'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 (eval $ac_try) 2>&5
6314 ac_status=$?
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; } &&
6317 { ac_try='test -s conftest$ac_exeext'
6318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 (eval $ac_try) 2>&5
6320 ac_status=$?
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then
6323 eval "$as_ac_var=yes"
6324else
6325 echo "$as_me: failed program was:" >&5
6326sed 's/^/| /' conftest.$ac_ext >&5
6327
6328eval "$as_ac_var=no"
6329fi
6330rm -f conftest.err conftest.$ac_objext \
6331 conftest$ac_exeext conftest.$ac_ext
6332fi
6333echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6334echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6335if test `eval echo '${'$as_ac_var'}'` = yes; then
6336 cat >>confdefs.h <<_ACEOF
6337#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6338_ACEOF
6339
6340fi
6341done
6342
6343
6344
6345
6346for ac_func in ftruncate strstr strcasecmp
6347do
6348as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6349echo "$as_me:$LINENO: checking for $ac_func" >&5
6350echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6351if eval "test \"\${$as_ac_var+set}\" = set"; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6353else
6354 cat >conftest.$ac_ext <<_ACEOF
6355/* confdefs.h. */
6356_ACEOF
6357cat confdefs.h >>conftest.$ac_ext
6358cat >>conftest.$ac_ext <<_ACEOF
6359/* end confdefs.h. */
6360/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6362#define $ac_func innocuous_$ac_func
6363
6364/* System header to define __stub macros and hopefully few prototypes,
6365 which can conflict with char $ac_func (); below.
6366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6367 <limits.h> exists even on freestanding compilers. */
6368
6369#ifdef __STDC__
6370# include <limits.h>
6371#else
6372# include <assert.h>
6373#endif
6374
6375#undef $ac_func
6376
6377/* Override any gcc2 internal prototype to avoid an error. */
6378#ifdef __cplusplus
6379extern "C"
6380{
6381#endif
6382/* We use char because int might match the return type of a gcc2
6383 builtin and then its argument prototype would still apply. */
6384char $ac_func ();
6385/* The GNU C library defines this for functions which it implements
6386 to always fail with ENOSYS. Some functions are actually named
6387 something starting with __ and the normal name is an alias. */
6388#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6389choke me
6390#else
6391char (*f) () = $ac_func;
6392#endif
6393#ifdef __cplusplus
6394}
6395#endif
6396
6397int
6398main ()
6399{
6400return f != $ac_func;
6401 ;
6402 return 0;
6403}
6404_ACEOF
6405rm -f conftest.$ac_objext conftest$ac_exeext
6406if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6407 (eval $ac_link) 2>conftest.er1
6408 ac_status=$?
6409 grep -v '^ *+' conftest.er1 >conftest.err
6410 rm -f conftest.er1
6411 cat conftest.err >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try='test -z "$ac_c_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 (eval $ac_try) 2>&5
6418 ac_status=$?
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try='test -s conftest$ac_exeext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 (eval $ac_try) 2>&5
6424 ac_status=$?
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6427 eval "$as_ac_var=yes"
6428else
6429 echo "$as_me: failed program was:" >&5
6430sed 's/^/| /' conftest.$ac_ext >&5
6431
6432eval "$as_ac_var=no"
6433fi
6434rm -f conftest.err conftest.$ac_objext \
6435 conftest$ac_exeext conftest.$ac_ext
6436fi
6437echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6438echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6439if test `eval echo '${'$as_ac_var'}'` = yes; then
6440 cat >>confdefs.h <<_ACEOF
6441#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6442_ACEOF
6443
6444else
6445 case $LIBOBJS in
6446 "$ac_func.$ac_objext" | \
6447 *" $ac_func.$ac_objext" | \
6448 "$ac_func.$ac_objext "* | \
6449 *" $ac_func.$ac_objext "* ) ;;
6450 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
6451esac
6452
6453fi
6454done
6455
6456
6457
6458echo "$as_me:$LINENO: checking for textdomain" >&5
6459echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
6460if test "${ac_cv_func_textdomain+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6462else
6463 cat >conftest.$ac_ext <<_ACEOF
6464/* confdefs.h. */
6465_ACEOF
6466cat confdefs.h >>conftest.$ac_ext
6467cat >>conftest.$ac_ext <<_ACEOF
6468/* end confdefs.h. */
6469/* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
6470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6471#define textdomain innocuous_textdomain
6472
6473/* System header to define __stub macros and hopefully few prototypes,
6474 which can conflict with char textdomain (); below.
6475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6476 <limits.h> exists even on freestanding compilers. */
6477
6478#ifdef __STDC__
6479# include <limits.h>
6480#else
6481# include <assert.h>
6482#endif
6483
6484#undef textdomain
6485
6486/* Override any gcc2 internal prototype to avoid an error. */
6487#ifdef __cplusplus
6488extern "C"
6489{
6490#endif
6491/* We use char because int might match the return type of a gcc2
6492 builtin and then its argument prototype would still apply. */
6493char textdomain ();
6494/* The GNU C library defines this for functions which it implements
6495 to always fail with ENOSYS. Some functions are actually named
6496 something starting with __ and the normal name is an alias. */
6497#if defined (__stub_textdomain) || defined (__stub___textdomain)
6498choke me
6499#else
6500char (*f) () = textdomain;
6501#endif
6502#ifdef __cplusplus
6503}
6504#endif
6505
6506int
6507main ()
6508{
6509return f != textdomain;
6510 ;
6511 return 0;
6512}
6513_ACEOF
6514rm -f conftest.$ac_objext conftest$ac_exeext
6515if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6516 (eval $ac_link) 2>conftest.er1
6517 ac_status=$?
6518 grep -v '^ *+' conftest.er1 >conftest.err
6519 rm -f conftest.er1
6520 cat conftest.err >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try='test -z "$ac_c_werror_flag"
6524 || test ! -s conftest.err'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 (eval $ac_try) 2>&5
6527 ac_status=$?
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; } &&
6530 { ac_try='test -s conftest$ac_exeext'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 (eval $ac_try) 2>&5
6533 ac_status=$?
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }; then
6536 ac_cv_func_textdomain=yes
6537else
6538 echo "$as_me: failed program was:" >&5
6539sed 's/^/| /' conftest.$ac_ext >&5
6540
6541ac_cv_func_textdomain=no
6542fi
6543rm -f conftest.err conftest.$ac_objext \
6544 conftest$ac_exeext conftest.$ac_ext
6545fi
6546echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
6547echo "${ECHO_T}$ac_cv_func_textdomain" >&6
6548if test $ac_cv_func_textdomain = yes; then
6549 cat >>confdefs.h <<\_ACEOF
6550#define ENABLE_NLS 1
6551_ACEOF
6552
6553fi
6554
6555
6556# *** Custom checking (based on GNU tar configure.in) ***
6557# ---------------------------------------------------------------------------
6558echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
6559echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
6560if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
6561 echo "$as_me:$LINENO: result: yes" >&5
6562echo "${ECHO_T}yes" >&6
6563 case $LIBOBJS in
6564 "gmalloc.$ac_objext" | \
6565 *" gmalloc.$ac_objext" | \
6566 "gmalloc.$ac_objext "* | \
6567 *" gmalloc.$ac_objext "* ) ;;
6568 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
6569esac
6570
6571 cat >>confdefs.h <<\_ACEOF
6572#define HAVE_VALLOC 1
6573_ACEOF
6574
6575else
6576 echo "$as_me:$LINENO: result: no" >&5
6577echo "${ECHO_T}no" >&6
6578
6579for ac_func in valloc
6580do
6581as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6582echo "$as_me:$LINENO: checking for $ac_func" >&5
6583echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6584if eval "test \"\${$as_ac_var+set}\" = set"; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6586else
6587 cat >conftest.$ac_ext <<_ACEOF
6588/* confdefs.h. */
6589_ACEOF
6590cat confdefs.h >>conftest.$ac_ext
6591cat >>conftest.$ac_ext <<_ACEOF
6592/* end confdefs.h. */
6593/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6595#define $ac_func innocuous_$ac_func
6596
6597/* System header to define __stub macros and hopefully few prototypes,
6598 which can conflict with char $ac_func (); below.
6599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6600 <limits.h> exists even on freestanding compilers. */
6601
6602#ifdef __STDC__
6603# include <limits.h>
6604#else
6605# include <assert.h>
6606#endif
6607
6608#undef $ac_func
6609
6610/* Override any gcc2 internal prototype to avoid an error. */
6611#ifdef __cplusplus
6612extern "C"
6613{
6614#endif
6615/* We use char because int might match the return type of a gcc2
6616 builtin and then its argument prototype would still apply. */
6617char $ac_func ();
6618/* The GNU C library defines this for functions which it implements
6619 to always fail with ENOSYS. Some functions are actually named
6620 something starting with __ and the normal name is an alias. */
6621#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6622choke me
6623#else
6624char (*f) () = $ac_func;
6625#endif
6626#ifdef __cplusplus
6627}
6628#endif
6629
6630int
6631main ()
6632{
6633return f != $ac_func;
6634 ;
6635 return 0;
6636}
6637_ACEOF
6638rm -f conftest.$ac_objext conftest$ac_exeext
6639if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6640 (eval $ac_link) 2>conftest.er1
6641 ac_status=$?
6642 grep -v '^ *+' conftest.er1 >conftest.err
6643 rm -f conftest.er1
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 (eval $ac_try) 2>&5
6651 ac_status=$?
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try='test -s conftest$ac_exeext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 (eval $ac_try) 2>&5
6657 ac_status=$?
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 eval "$as_ac_var=yes"
6661else
6662 echo "$as_me: failed program was:" >&5
6663sed 's/^/| /' conftest.$ac_ext >&5
6664
6665eval "$as_ac_var=no"
6666fi
6667rm -f conftest.err conftest.$ac_objext \
6668 conftest$ac_exeext conftest.$ac_ext
6669fi
6670echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6671echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6672if test `eval echo '${'$as_ac_var'}'` = yes; then
6673 cat >>confdefs.h <<_ACEOF
6674#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6675_ACEOF
6676
6677fi
6678done
6679
6680fi
6681
6682# we cannot generate static libraries under Darwin
6683echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
6684echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
6685if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687echo "${ECHO_T}yes" >&6
6688 STATIC=""
6689else
6690 echo "$as_me:$LINENO: result: no" >&5
6691echo "${ECHO_T}no" >&6
6692 STATIC="-static "
6693fi
6694
6695
[16598]6696echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
6697echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
[16589]6698
[16598]6699# Check whether --with-dmalloc or --without-dmalloc was given.
6700if test "${with_dmalloc+set}" = set; then
6701 withval="$with_dmalloc"
6702 if test "$withval" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704echo "${ECHO_T}yes" >&6
6705 cat >>confdefs.h <<\_ACEOF
6706#define WITH_DMALLOC 1
6707_ACEOF
6708
6709 LIBS="$LIBS -ldmalloc"
6710 LDFLAGS="$LDFLAGS -g"
6711else
6712 echo "$as_me:$LINENO: result: no" >&5
6713echo "${ECHO_T}no" >&6
6714fi
6715else
6716 echo "$as_me:$LINENO: result: no" >&5
6717echo "${ECHO_T}no" >&6
6718fi;
6719
6720echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
6721echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
6722
6723# Check whether --with-regex or --without-regex was given.
6724if test "${with_regex+set}" = set; then
6725 withval="$with_regex"
6726 if test "$withval" = yes; then
6727 ac_with_regex=1
6728 echo "$as_me:$LINENO: result: regex" >&5
6729echo "${ECHO_T}regex" >&6
6730 cat >>confdefs.h <<\_ACEOF
6731#define WITH_REGEX 1
6732_ACEOF
6733
6734 case $LIBOBJS in
6735 "regex.$ac_objext" | \
6736 *" regex.$ac_objext" | \
6737 "regex.$ac_objext "* | \
6738 *" regex.$ac_objext "* ) ;;
6739 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
6740esac
6741
6742fi
6743fi;
6744if test -z "$ac_with_regex"; then
6745 echo "$as_me:$LINENO: result: rx" >&5
6746echo "${ECHO_T}rx" >&6
6747 echo "$as_me:$LINENO: checking for re_rx_search" >&5
6748echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
6749if test "${ac_cv_func_re_rx_search+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6751else
6752 cat >conftest.$ac_ext <<_ACEOF
6753/* confdefs.h. */
6754_ACEOF
6755cat confdefs.h >>conftest.$ac_ext
6756cat >>conftest.$ac_ext <<_ACEOF
6757/* end confdefs.h. */
6758/* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
6759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6760#define re_rx_search innocuous_re_rx_search
6761
6762/* System header to define __stub macros and hopefully few prototypes,
6763 which can conflict with char re_rx_search (); below.
6764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6765 <limits.h> exists even on freestanding compilers. */
6766
6767#ifdef __STDC__
6768# include <limits.h>
6769#else
6770# include <assert.h>
6771#endif
6772
6773#undef re_rx_search
6774
6775/* Override any gcc2 internal prototype to avoid an error. */
6776#ifdef __cplusplus
6777extern "C"
6778{
6779#endif
6780/* We use char because int might match the return type of a gcc2
6781 builtin and then its argument prototype would still apply. */
6782char re_rx_search ();
6783/* The GNU C library defines this for functions which it implements
6784 to always fail with ENOSYS. Some functions are actually named
6785 something starting with __ and the normal name is an alias. */
6786#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
6787choke me
6788#else
6789char (*f) () = re_rx_search;
6790#endif
6791#ifdef __cplusplus
6792}
6793#endif
6794
6795int
6796main ()
6797{
6798return f != re_rx_search;
6799 ;
6800 return 0;
6801}
6802_ACEOF
6803rm -f conftest.$ac_objext conftest$ac_exeext
6804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6805 (eval $ac_link) 2>conftest.er1
6806 ac_status=$?
6807 grep -v '^ *+' conftest.er1 >conftest.err
6808 rm -f conftest.er1
6809 cat conftest.err >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); } &&
6812 { ac_try='test -z "$ac_c_werror_flag"
6813 || test ! -s conftest.err'
6814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6815 (eval $ac_try) 2>&5
6816 ac_status=$?
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); }; } &&
6819 { ac_try='test -s conftest$ac_exeext'
6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821 (eval $ac_try) 2>&5
6822 ac_status=$?
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; }; then
6825 ac_cv_func_re_rx_search=yes
6826else
6827 echo "$as_me: failed program was:" >&5
6828sed 's/^/| /' conftest.$ac_ext >&5
6829
6830ac_cv_func_re_rx_search=no
6831fi
6832rm -f conftest.err conftest.$ac_objext \
6833 conftest$ac_exeext conftest.$ac_ext
6834fi
6835echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
6836echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
6837if test $ac_cv_func_re_rx_search = yes; then
6838 :
6839else
6840 case $LIBOBJS in
6841 "rx.$ac_objext" | \
6842 *" rx.$ac_objext" | \
6843 "rx.$ac_objext "* | \
6844 *" rx.$ac_objext "* ) ;;
6845 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
6846esac
6847
6848fi
6849
6850fi
6851
6852
[16589]6853# ---------------------------------------------------------------------------
6854if test "$ac_cv_func_alloca" = 'no'; then
6855 case $LIBOBJS in
6856 "xmalloc.$ac_objext" | \
6857 *" xmalloc.$ac_objext" | \
6858 "xmalloc.$ac_objext "* | \
6859 *" xmalloc.$ac_objext "* ) ;;
6860 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
6861esac
6862
6863 case $LIBOBJS in
6864 "error.$ac_objext" | \
6865 *" error.$ac_objext" | \
6866 "error.$ac_objext "* | \
6867 *" error.$ac_objext "* ) ;;
6868 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
6869esac
6870
6871fi
6872
6873
6874# ---------------------------------------------------------------------------
6875
6876ac_ext=cc
6877ac_cpp='$CXXCPP $CPPFLAGS'
6878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6881
6882
6883success=no
6884echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
6885echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
6886
[19840]6887
[16589]6888cat >conftest.$ac_ext <<_ACEOF
6889/* confdefs.h. */
6890_ACEOF
6891cat confdefs.h >>conftest.$ac_ext
6892cat >>conftest.$ac_ext <<_ACEOF
6893/* end confdefs.h. */
6894#include <vector>
6895
6896int
6897main ()
6898{
6899
6900 ;
6901 return 0;
6902}
6903_ACEOF
6904rm -f conftest.$ac_objext
6905if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906 (eval $ac_compile) 2>conftest.er1
6907 ac_status=$?
6908 grep -v '^ *+' conftest.er1 >conftest.err
6909 rm -f conftest.er1
6910 cat conftest.err >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } &&
6913 { ac_try='test -z "$ac_cxx_werror_flag"
6914 || test ! -s conftest.err'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 (eval $ac_try) 2>&5
6917 ac_status=$?
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; } &&
6920 { ac_try='test -s conftest.$ac_objext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 (eval $ac_try) 2>&5
6923 ac_status=$?
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6926 success=yes
6927else
6928 echo "$as_me: failed program was:" >&5
6929sed 's/^/| /' conftest.$ac_ext >&5
6930
6931fi
6932rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6933
6934if test $success = "no"; then
6935cat >conftest.$ac_ext <<_ACEOF
6936/* confdefs.h. */
6937_ACEOF
6938cat confdefs.h >>conftest.$ac_ext
6939cat >>conftest.$ac_ext <<_ACEOF
6940/* end confdefs.h. */
6941#include <vector.h>
6942
6943int
6944main ()
6945{
6946
6947 ;
6948 return 0;
6949}
6950_ACEOF
6951rm -f conftest.$ac_objext
6952if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6953 (eval $ac_compile) 2>conftest.er1
6954 ac_status=$?
6955 grep -v '^ *+' conftest.er1 >conftest.err
6956 rm -f conftest.er1
6957 cat conftest.err >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; } &&
6967 { ac_try='test -s conftest.$ac_objext'
6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 (eval $ac_try) 2>&5
6970 ac_status=$?
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); }; }; then
6973 success="yes"
6974else
6975 echo "$as_me: failed program was:" >&5
6976sed 's/^/| /' conftest.$ac_ext >&5
6977
6978fi
6979rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6980fi
6981
6982if test $success = "no"; then
6983cat >conftest.$ac_ext <<_ACEOF
6984/* confdefs.h. */
6985_ACEOF
6986cat confdefs.h >>conftest.$ac_ext
6987cat >>conftest.$ac_ext <<_ACEOF
6988/* end confdefs.h. */
6989#include <ospace\\std\\vector>
6990
6991int
6992main ()
6993{
6994
6995 ;
6996 return 0;
6997}
6998_ACEOF
6999rm -f conftest.$ac_objext
7000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7001 (eval $ac_compile) 2>conftest.er1
7002 ac_status=$?
7003 grep -v '^ *+' conftest.er1 >conftest.err
7004 rm -f conftest.er1
7005 cat conftest.err >&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } &&
7008 { ac_try='test -z "$ac_cxx_werror_flag"
7009 || test ! -s conftest.err'
7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 (eval $ac_try) 2>&5
7012 ac_status=$?
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); }; } &&
7015 { ac_try='test -s conftest.$ac_objext'
7016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 (eval $ac_try) 2>&5
7018 ac_status=$?
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); }; }; then
7021 success="yes"
7022else
7023 echo "$as_me: failed program was:" >&5
7024sed 's/^/| /' conftest.$ac_ext >&5
7025
7026fi
7027rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7028fi
7029
7030if test $success = yes; then
7031echo "$as_me:$LINENO: result: \"no\"" >&5
7032echo "${ECHO_T}\"no\"" >&6
7033else
7034echo "$as_me:$LINENO: result: \"yes\"" >&5
7035echo "${ECHO_T}\"yes\"" >&6
7036{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
7037echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
7038 { (exit 1); exit 1; }; }
7039fi
7040
7041gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
7042# check for running bash under cygwin
7043 if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
7044 then
7045 gsdlos=windows
7046 fi
7047
7048
7049# check for endianness
7050echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7051echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7052if test "${ac_cv_c_bigendian+set}" = set; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7054else
7055 # See if sys/param.h defines the BYTE_ORDER macro.
7056cat >conftest.$ac_ext <<_ACEOF
7057/* confdefs.h. */
7058_ACEOF
7059cat confdefs.h >>conftest.$ac_ext
7060cat >>conftest.$ac_ext <<_ACEOF
7061/* end confdefs.h. */
7062#include <sys/types.h>
7063#include <sys/param.h>
7064
7065int
7066main ()
7067{
7068#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7069 bogus endian macros
7070#endif
7071
7072 ;
7073 return 0;
7074}
7075_ACEOF
7076rm -f conftest.$ac_objext
7077if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078 (eval $ac_compile) 2>conftest.er1
7079 ac_status=$?
7080 grep -v '^ *+' conftest.er1 >conftest.err
7081 rm -f conftest.er1
7082 cat conftest.err >&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } &&
7085 { ac_try='test -z "$ac_cxx_werror_flag"
7086 || test ! -s conftest.err'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 (eval $ac_try) 2>&5
7089 ac_status=$?
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; } &&
7092 { ac_try='test -s conftest.$ac_objext'
7093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7094 (eval $ac_try) 2>&5
7095 ac_status=$?
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; }; then
7098 # It does; now see whether it defined to BIG_ENDIAN or not.
7099cat >conftest.$ac_ext <<_ACEOF
7100/* confdefs.h. */
7101_ACEOF
7102cat confdefs.h >>conftest.$ac_ext
7103cat >>conftest.$ac_ext <<_ACEOF
7104/* end confdefs.h. */
7105#include <sys/types.h>
7106#include <sys/param.h>
7107
7108int
7109main ()
7110{
7111#if BYTE_ORDER != BIG_ENDIAN
7112 not big endian
7113#endif
7114
7115 ;
7116 return 0;
7117}
7118_ACEOF
7119rm -f conftest.$ac_objext
7120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7121 (eval $ac_compile) 2>conftest.er1
7122 ac_status=$?
7123 grep -v '^ *+' conftest.er1 >conftest.err
7124 rm -f conftest.er1
7125 cat conftest.err >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); } &&
7128 { ac_try='test -z "$ac_cxx_werror_flag"
7129 || test ! -s conftest.err'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 (eval $ac_try) 2>&5
7132 ac_status=$?
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; } &&
7135 { ac_try='test -s conftest.$ac_objext'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 (eval $ac_try) 2>&5
7138 ac_status=$?
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; }; then
7141 ac_cv_c_bigendian=yes
7142else
7143 echo "$as_me: failed program was:" >&5
7144sed 's/^/| /' conftest.$ac_ext >&5
7145
7146ac_cv_c_bigendian=no
7147fi
7148rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7149else
7150 echo "$as_me: failed program was:" >&5
7151sed 's/^/| /' conftest.$ac_ext >&5
7152
7153# It does not; compile a test program.
7154if test "$cross_compiling" = yes; then
7155 # try to guess the endianness by grepping values into an object file
7156 ac_cv_c_bigendian=unknown
7157 cat >conftest.$ac_ext <<_ACEOF
7158/* confdefs.h. */
7159_ACEOF
7160cat confdefs.h >>conftest.$ac_ext
7161cat >>conftest.$ac_ext <<_ACEOF
7162/* end confdefs.h. */
7163short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7164short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7165void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
7166short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7167short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7168void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
7169int
7170main ()
7171{
7172 _ascii (); _ebcdic ();
7173 ;
7174 return 0;
7175}
7176_ACEOF
7177rm -f conftest.$ac_objext
7178if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7179 (eval $ac_compile) 2>conftest.er1
7180 ac_status=$?
7181 grep -v '^ *+' conftest.er1 >conftest.err
7182 rm -f conftest.er1
7183 cat conftest.err >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } &&
7186 { ac_try='test -z "$ac_cxx_werror_flag"
7187 || test ! -s conftest.err'
7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 (eval $ac_try) 2>&5
7190 ac_status=$?
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; } &&
7193 { ac_try='test -s conftest.$ac_objext'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195 (eval $ac_try) 2>&5
7196 ac_status=$?
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; }; then
7199 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
7200 ac_cv_c_bigendian=yes
7201fi
7202if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
7203 if test "$ac_cv_c_bigendian" = unknown; then
7204 ac_cv_c_bigendian=no
7205 else
7206 # finding both strings is unlikely to happen, but who knows?
7207 ac_cv_c_bigendian=unknown
7208 fi
7209fi
7210else
7211 echo "$as_me: failed program was:" >&5
7212sed 's/^/| /' conftest.$ac_ext >&5
7213
7214fi
7215rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7216else
7217 cat >conftest.$ac_ext <<_ACEOF
7218/* confdefs.h. */
7219_ACEOF
7220cat confdefs.h >>conftest.$ac_ext
7221cat >>conftest.$ac_ext <<_ACEOF
7222/* end confdefs.h. */
7223int
7224main ()
7225{
7226 /* Are we little or big endian? From Harbison&Steele. */
7227 union
7228 {
7229 long l;
7230 char c[sizeof (long)];
7231 } u;
7232 u.l = 1;
7233 exit (u.c[sizeof (long) - 1] == 1);
7234}
7235_ACEOF
7236rm -f conftest$ac_exeext
7237if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238 (eval $ac_link) 2>&5
7239 ac_status=$?
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243 (eval $ac_try) 2>&5
7244 ac_status=$?
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); }; }; then
7247 ac_cv_c_bigendian=no
7248else
7249 echo "$as_me: program exited with status $ac_status" >&5
7250echo "$as_me: failed program was:" >&5
7251sed 's/^/| /' conftest.$ac_ext >&5
7252
7253( exit $ac_status )
7254ac_cv_c_bigendian=yes
7255fi
7256rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7257fi
7258fi
7259rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7260fi
7261echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7262echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7263case $ac_cv_c_bigendian in
7264 yes)
7265
7266cat >>confdefs.h <<\_ACEOF
7267#define WORDS_BIGENDIAN 1
7268_ACEOF
7269 ;;
7270 no)
7271 ;;
7272 *)
7273 { { echo "$as_me:$LINENO: error: unknown endianness
7274presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7275echo "$as_me: error: unknown endianness
7276presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7277 { (exit 1); exit 1; }; } ;;
7278esac
7279
7280# ---------------------------------------------------------------------------
7281if test "$ac_cv_func_alloca" = 'no'; then
7282 case $LIBOBJS in
7283 "xmalloc.o.$ac_objext" | \
7284 *" xmalloc.o.$ac_objext" | \
7285 "xmalloc.o.$ac_objext "* | \
7286 *" xmalloc.o.$ac_objext "* ) ;;
7287 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
7288esac
7289
7290 case $LIBOBJS in
7291 "error.$ac_objext" | \
7292 *" error.$ac_objext" | \
7293 "error.$ac_objext "* | \
7294 *" error.$ac_objext "* ) ;;
7295 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
7296esac
7297
7298fi
7299
7300# ---------------------------------------------------------------------------
7301
7302moduleDirs=""
7303MODULEDIRS=""
[16598]7304if test -d modules ; then
[16589]7305 for x in `find modules -mindepth 1 -maxdepth 2`; do
7306 if test -d "$x"; then
7307 d="$x/Makefile.in"
7308 if test -e "$d"; then
7309 moduleDirs="$moduleDirs $x/Makefile"
7310 MODULEDIRS="$MODULEDIRS $x"
7311 fi
7312 fi
7313 done
7314 echo "Making $moduleDirs in modules directory"
7315
7316fi
7317
7318
7319# ---------------------------------------------------------------------------
7320
7321# indexers needs a bindir option to get the binaries into the right place
7322gsdlprefix=`pwd`
7323ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos "
7324
7325
[19844]7326subdirs="$subdirs common-src build-src"
[16589]7327
7328
7329# the list of folders in the src folder
7330srclist="common-src/Makefile \
7331 build-src/Makefile"
7332
7333 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
7334cat >confcache <<\_ACEOF
7335# This file is a shell script that caches the results of configure
7336# tests run on this system so they can be shared between configure
7337# scripts and configure runs, see configure's option --config-cache.
7338# It is not useful on other systems. If it contains results you don't
7339# want to keep, you may remove or edit it.
7340#
7341# config.status only pays attention to the cache file if you give it
7342# the --recheck option to rerun configure.
7343#
7344# `ac_cv_env_foo' variables (set or unset) will be overridden when
7345# loading this file, other *unset* `ac_cv_foo' will be assigned the
7346# following values.
7347
7348_ACEOF
7349
7350# The following way of writing the cache mishandles newlines in values,
7351# but we know of no workaround that is simple, portable, and efficient.
7352# So, don't put newlines in cache variables' values.
7353# Ultrix sh set writes to stderr and can't be redirected directly,
7354# and sets the high bit in the cache file unless we assign to the vars.
7355{
7356 (set) 2>&1 |
7357 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7358 *ac_space=\ *)
7359 # `set' does not quote correctly, so add quotes (double-quote
7360 # substitution turns \\\\ into \\, and sed turns \\ into \).
7361 sed -n \
7362 "s/'/'\\\\''/g;
7363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7364 ;;
7365 *)
7366 # `set' quotes correctly as required by POSIX, so do not add quotes.
7367 sed -n \
7368 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7369 ;;
7370 esac;
7371} |
7372 sed '
7373 t clear
7374 : clear
7375 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7376 t end
7377 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7378 : end' >>confcache
7379if diff $cache_file confcache >/dev/null 2>&1; then :; else
7380 if test -w $cache_file; then
7381 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7382 cat confcache >$cache_file
7383 else
7384 echo "not updating unwritable cache $cache_file"
7385 fi
7386fi
7387rm -f confcache
7388
7389test "x$prefix" = xNONE && prefix=$ac_default_prefix
7390# Let make expand exec_prefix.
7391test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7392
7393# VPATH may cause trouble with some makes, so we remove $(srcdir),
7394# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7395# trailing colons and then remove the whole line if VPATH becomes empty
7396# (actually we leave an empty line to preserve line numbers).
7397if test "x$srcdir" = x.; then
7398 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7399s/:*\$(srcdir):*/:/;
7400s/:*\${srcdir}:*/:/;
7401s/:*@srcdir@:*/:/;
7402s/^\([^=]*=[ ]*\):*/\1/;
7403s/:*$//;
7404s/^[^=]*=[ ]*$//;
7405}'
7406fi
7407
7408DEFS=-DHAVE_CONFIG_H
7409
7410ac_libobjs=
7411ac_ltlibobjs=
7412for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7413 # 1. Remove the extension, and $U if already installed.
7414 ac_i=`echo "$ac_i" |
7415 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7416 # 2. Add them.
7417 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7418 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7419done
7420LIBOBJS=$ac_libobjs
7421
7422LTLIBOBJS=$ac_ltlibobjs
7423
7424
7425
7426: ${CONFIG_STATUS=./config.status}
7427ac_clean_files_save=$ac_clean_files
7428ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7429{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7430echo "$as_me: creating $CONFIG_STATUS" >&6;}
7431cat >$CONFIG_STATUS <<_ACEOF
7432#! $SHELL
7433# Generated by $as_me.
7434# Run this file to recreate the current configuration.
7435# Compiler output produced by configure, useful for debugging
7436# configure, is in config.log if it exists.
7437
7438debug=false
7439ac_cs_recheck=false
7440ac_cs_silent=false
7441SHELL=\${CONFIG_SHELL-$SHELL}
7442_ACEOF
7443
7444cat >>$CONFIG_STATUS <<\_ACEOF
7445## --------------------- ##
7446## M4sh Initialization. ##
7447## --------------------- ##
7448
7449# Be Bourne compatible
7450if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7451 emulate sh
7452 NULLCMD=:
7453 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7454 # is contrary to our usage. Disable this feature.
7455 alias -g '${1+"$@"}'='"$@"'
7456elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7457 set -o posix
7458fi
7459DUALCASE=1; export DUALCASE # for MKS sh
7460
7461# Support unset when possible.
7462if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7463 as_unset=unset
7464else
7465 as_unset=false
7466fi
7467
7468
7469# Work around bugs in pre-3.0 UWIN ksh.
7470$as_unset ENV MAIL MAILPATH
7471PS1='$ '
7472PS2='> '
7473PS4='+ '
7474
7475# NLS nuisances.
7476for as_var in \
7477 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7478 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7479 LC_TELEPHONE LC_TIME
7480do
7481 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7482 eval $as_var=C; export $as_var
7483 else
7484 $as_unset $as_var
7485 fi
7486done
7487
7488# Required to use basename.
7489if expr a : '\(a\)' >/dev/null 2>&1; then
7490 as_expr=expr
7491else
7492 as_expr=false
7493fi
7494
7495if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7496 as_basename=basename
7497else
7498 as_basename=false
7499fi
7500
7501
7502# Name of the executable.
7503as_me=`$as_basename "$0" ||
7504$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7505 X"$0" : 'X\(//\)$' \| \
7506 X"$0" : 'X\(/\)$' \| \
7507 . : '\(.\)' 2>/dev/null ||
7508echo X/"$0" |
7509 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7510 /^X\/\(\/\/\)$/{ s//\1/; q; }
7511 /^X\/\(\/\).*/{ s//\1/; q; }
7512 s/.*/./; q'`
7513
7514
7515# PATH needs CR, and LINENO needs CR and PATH.
7516# Avoid depending upon Character Ranges.
7517as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7518as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7519as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7520as_cr_digits='0123456789'
7521as_cr_alnum=$as_cr_Letters$as_cr_digits
7522
7523# The user is always right.
7524if test "${PATH_SEPARATOR+set}" != set; then
7525 echo "#! /bin/sh" >conf$$.sh
7526 echo "exit 0" >>conf$$.sh
7527 chmod +x conf$$.sh
7528 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7529 PATH_SEPARATOR=';'
7530 else
7531 PATH_SEPARATOR=:
7532 fi
7533 rm -f conf$$.sh
7534fi
7535
7536
7537 as_lineno_1=$LINENO
7538 as_lineno_2=$LINENO
7539 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7540 test "x$as_lineno_1" != "x$as_lineno_2" &&
7541 test "x$as_lineno_3" = "x$as_lineno_2" || {
7542 # Find who we are. Look in the path if we contain no path at all
7543 # relative or not.
7544 case $0 in
7545 *[\\/]* ) as_myself=$0 ;;
7546 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547for as_dir in $PATH
7548do
7549 IFS=$as_save_IFS
7550 test -z "$as_dir" && as_dir=.
7551 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7552done
7553
7554 ;;
7555 esac
7556 # We did not find ourselves, most probably we were run as `sh COMMAND'
7557 # in which case we are not to be found in the path.
7558 if test "x$as_myself" = x; then
7559 as_myself=$0
7560 fi
7561 if test ! -f "$as_myself"; then
7562 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7563echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7564 { (exit 1); exit 1; }; }
7565 fi
7566 case $CONFIG_SHELL in
7567 '')
7568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7570do
7571 IFS=$as_save_IFS
7572 test -z "$as_dir" && as_dir=.
7573 for as_base in sh bash ksh sh5; do
7574 case $as_dir in
7575 /*)
7576 if ("$as_dir/$as_base" -c '
7577 as_lineno_1=$LINENO
7578 as_lineno_2=$LINENO
7579 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7580 test "x$as_lineno_1" != "x$as_lineno_2" &&
7581 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7582 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7583 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7584 CONFIG_SHELL=$as_dir/$as_base
7585 export CONFIG_SHELL
7586 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7587 fi;;
7588 esac
7589 done
7590done
7591;;
7592 esac
7593
7594 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7595 # uniformly replaced by the line number. The first 'sed' inserts a
7596 # line-number line before each line; the second 'sed' does the real
7597 # work. The second script uses 'N' to pair each line-number line
7598 # with the numbered line, and appends trailing '-' during
7599 # substitution so that $LINENO is not a special case at line end.
7600 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7601 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7602 sed '=' <$as_myself |
7603 sed '
7604 N
7605 s,$,-,
7606 : loop
7607 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7608 t loop
7609 s,-$,,
7610 s,^['$as_cr_digits']*\n,,
7611 ' >$as_me.lineno &&
7612 chmod +x $as_me.lineno ||
7613 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7614echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7615 { (exit 1); exit 1; }; }
7616
7617 # Don't try to exec as it changes $[0], causing all sort of problems
7618 # (the dirname of $[0] is not the place where we might find the
7619 # original and so on. Autoconf is especially sensible to this).
7620 . ./$as_me.lineno
7621 # Exit status is that of the last command.
7622 exit
7623}
7624
7625
7626case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7627 *c*,-n*) ECHO_N= ECHO_C='
7628' ECHO_T=' ' ;;
7629 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7630 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7631esac
7632
7633if expr a : '\(a\)' >/dev/null 2>&1; then
7634 as_expr=expr
7635else
7636 as_expr=false
7637fi
7638
7639rm -f conf$$ conf$$.exe conf$$.file
7640echo >conf$$.file
7641if ln -s conf$$.file conf$$ 2>/dev/null; then
7642 # We could just check for DJGPP; but this test a) works b) is more generic
7643 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7644 if test -f conf$$.exe; then
7645 # Don't use ln at all; we don't have any links
7646 as_ln_s='cp -p'
7647 else
7648 as_ln_s='ln -s'
7649 fi
7650elif ln conf$$.file conf$$ 2>/dev/null; then
7651 as_ln_s=ln
7652else
7653 as_ln_s='cp -p'
7654fi
7655rm -f conf$$ conf$$.exe conf$$.file
7656
7657if mkdir -p . 2>/dev/null; then
7658 as_mkdir_p=:
7659else
7660 test -d ./-p && rmdir ./-p
7661 as_mkdir_p=false
7662fi
7663
7664as_executable_p="test -f"
7665
7666# Sed expression to map a string onto a valid CPP name.
7667as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7668
7669# Sed expression to map a string onto a valid variable name.
7670as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7671
7672
7673# IFS
7674# We need space, tab and new line, in precisely that order.
7675as_nl='
7676'
7677IFS=" $as_nl"
7678
7679# CDPATH.
7680$as_unset CDPATH
7681
7682exec 6>&1
7683
7684# Open the log real soon, to keep \$[0] and so on meaningful, and to
7685# report actual input values of CONFIG_FILES etc. instead of their
7686# values after options handling. Logging --version etc. is OK.
7687exec 5>>config.log
7688{
7689 echo
7690 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7691## Running $as_me. ##
7692_ASBOX
7693} >&5
7694cat >&5 <<_CSEOF
7695
7696This file was extended by $as_me, which was
7697generated by GNU Autoconf 2.59. Invocation command line was
7698
7699 CONFIG_FILES = $CONFIG_FILES
7700 CONFIG_HEADERS = $CONFIG_HEADERS
7701 CONFIG_LINKS = $CONFIG_LINKS
7702 CONFIG_COMMANDS = $CONFIG_COMMANDS
7703 $ $0 $@
7704
7705_CSEOF
7706echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7707echo >&5
7708_ACEOF
7709
7710# Files that config.status was made for.
7711if test -n "$ac_config_files"; then
7712 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7713fi
7714
7715if test -n "$ac_config_headers"; then
7716 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7717fi
7718
7719if test -n "$ac_config_links"; then
7720 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7721fi
7722
7723if test -n "$ac_config_commands"; then
7724 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7725fi
7726
7727cat >>$CONFIG_STATUS <<\_ACEOF
7728
7729ac_cs_usage="\
7730\`$as_me' instantiates files from templates according to the
7731current configuration.
7732
7733Usage: $0 [OPTIONS] [FILE]...
7734
7735 -h, --help print this help, then exit
7736 -V, --version print version number, then exit
7737 -q, --quiet do not print progress messages
7738 -d, --debug don't remove temporary files
7739 --recheck update $as_me by reconfiguring in the same conditions
7740 --file=FILE[:TEMPLATE]
7741 instantiate the configuration file FILE
7742 --header=FILE[:TEMPLATE]
7743 instantiate the configuration header FILE
7744
7745Configuration files:
7746$config_files
7747
7748Configuration headers:
7749$config_headers
7750
7751Report bugs to <[email protected]>."
7752_ACEOF
7753
7754cat >>$CONFIG_STATUS <<_ACEOF
7755ac_cs_version="\\
7756config.status
7757configured by $0, generated by GNU Autoconf 2.59,
7758 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7759
7760Copyright (C) 2003 Free Software Foundation, Inc.
7761This config.status script is free software; the Free Software Foundation
7762gives unlimited permission to copy, distribute and modify it."
7763srcdir=$srcdir
7764INSTALL="$INSTALL"
7765_ACEOF
7766
7767cat >>$CONFIG_STATUS <<\_ACEOF
7768# If no file are specified by the user, then we need to provide default
7769# value. By we need to know if files were specified by the user.
7770ac_need_defaults=:
7771while test $# != 0
7772do
7773 case $1 in
7774 --*=*)
7775 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7776 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7777 ac_shift=:
7778 ;;
7779 -*)
7780 ac_option=$1
7781 ac_optarg=$2
7782 ac_shift=shift
7783 ;;
7784 *) # This is not an option, so the user has probably given explicit
7785 # arguments.
7786 ac_option=$1
7787 ac_need_defaults=false;;
7788 esac
7789
7790 case $ac_option in
7791 # Handling of the options.
7792_ACEOF
7793cat >>$CONFIG_STATUS <<\_ACEOF
7794 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7795 ac_cs_recheck=: ;;
7796 --version | --vers* | -V )
7797 echo "$ac_cs_version"; exit 0 ;;
7798 --he | --h)
7799 # Conflict between --help and --header
7800 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7801Try \`$0 --help' for more information." >&5
7802echo "$as_me: error: ambiguous option: $1
7803Try \`$0 --help' for more information." >&2;}
7804 { (exit 1); exit 1; }; };;
7805 --help | --hel | -h )
7806 echo "$ac_cs_usage"; exit 0 ;;
7807 --debug | --d* | -d )
7808 debug=: ;;
7809 --file | --fil | --fi | --f )
7810 $ac_shift
7811 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7812 ac_need_defaults=false;;
7813 --header | --heade | --head | --hea )
7814 $ac_shift
7815 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7816 ac_need_defaults=false;;
7817 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7818 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7819 ac_cs_silent=: ;;
7820
7821 # This is an error.
7822 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7823Try \`$0 --help' for more information." >&5
7824echo "$as_me: error: unrecognized option: $1
7825Try \`$0 --help' for more information." >&2;}
7826 { (exit 1); exit 1; }; } ;;
7827
7828 *) ac_config_targets="$ac_config_targets $1" ;;
7829
7830 esac
7831 shift
7832done
7833
7834ac_configure_extra_args=
7835
7836if $ac_cs_silent; then
7837 exec 6>/dev/null
7838 ac_configure_extra_args="$ac_configure_extra_args --silent"
7839fi
7840
7841_ACEOF
7842cat >>$CONFIG_STATUS <<_ACEOF
7843if \$ac_cs_recheck; then
7844 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7845 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7846fi
7847
7848_ACEOF
7849
7850
7851
7852
7853
7854cat >>$CONFIG_STATUS <<\_ACEOF
7855for ac_config_target in $ac_config_targets
7856do
7857 case "$ac_config_target" in
7858 # Handling of arguments.
7859 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7860 "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
7861 "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
7862 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7863 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7864echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7865 { (exit 1); exit 1; }; };;
7866 esac
7867done
7868
7869# If the user did not use the arguments to specify the items to instantiate,
7870# then the envvar interface is used. Set only those that are not.
7871# We use the long form for the default assignment because of an extremely
7872# bizarre bug on SunOS 4.1.3.
7873if $ac_need_defaults; then
7874 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7875 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7876fi
7877
7878# Have a temporary directory for convenience. Make it in the build tree
7879# simply because there is no reason to put it here, and in addition,
7880# creating and moving files from /tmp can sometimes cause problems.
7881# Create a temporary directory, and hook for its removal unless debugging.
7882$debug ||
7883{
7884 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7885 trap '{ (exit 1); exit 1; }' 1 2 13 15
7886}
7887
7888# Create a (secure) tmp directory for tmp files.
7889
7890{
7891 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7892 test -n "$tmp" && test -d "$tmp"
7893} ||
7894{
7895 tmp=./confstat$$-$RANDOM
7896 (umask 077 && mkdir $tmp)
7897} ||
7898{
7899 echo "$me: cannot create a temporary directory in ." >&2
7900 { (exit 1); exit 1; }
7901}
7902
7903_ACEOF
7904
7905cat >>$CONFIG_STATUS <<_ACEOF
7906
7907#
7908# CONFIG_FILES section.
7909#
7910
7911# No need to generate the scripts if there are no CONFIG_FILES.
7912# This happens for instance when ./config.status config.h
7913if test -n "\$CONFIG_FILES"; then
7914 # Protect against being on the right side of a sed subst in config.status.
7915 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7916 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7917s,@SHELL@,$SHELL,;t t
7918s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7919s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7920s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7921s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7922s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7923s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7924s,@exec_prefix@,$exec_prefix,;t t
7925s,@prefix@,$prefix,;t t
7926s,@program_transform_name@,$program_transform_name,;t t
7927s,@bindir@,$bindir,;t t
7928s,@sbindir@,$sbindir,;t t
7929s,@libexecdir@,$libexecdir,;t t
7930s,@datadir@,$datadir,;t t
7931s,@sysconfdir@,$sysconfdir,;t t
7932s,@sharedstatedir@,$sharedstatedir,;t t
7933s,@localstatedir@,$localstatedir,;t t
7934s,@libdir@,$libdir,;t t
7935s,@includedir@,$includedir,;t t
7936s,@oldincludedir@,$oldincludedir,;t t
7937s,@infodir@,$infodir,;t t
7938s,@mandir@,$mandir,;t t
7939s,@build_alias@,$build_alias,;t t
7940s,@host_alias@,$host_alias,;t t
7941s,@target_alias@,$target_alias,;t t
7942s,@DEFS@,$DEFS,;t t
7943s,@ECHO_C@,$ECHO_C,;t t
7944s,@ECHO_N@,$ECHO_N,;t t
7945s,@ECHO_T@,$ECHO_T,;t t
7946s,@LIBS@,$LIBS,;t t
7947s,@PACKAGE@,$PACKAGE,;t t
7948s,@VERSION@,$VERSION,;t t
7949s,@USE_FASTCGI@,$USE_FASTCGI,;t t
7950s,@USE_LANGACTION@,$USE_LANGACTION,;t t
7951s,@USE_CORBA@,$USE_CORBA,;t t
7952s,@MICO_DIR@,$MICO_DIR,;t t
7953s,@USE_Z3950@,$USE_Z3950,;t t
7954s,@USE_YAZ@,$USE_YAZ,;t t
7955s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
7956s,@USE_SQLITE@,$USE_SQLITE,;t t
[21371]7957s,@ENABLE_JNI@,$ENABLE_JNI,;t t
[21346]7958s,@ENABLE_MG@,$ENABLE_MG,;t t
7959s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
7960s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
[16589]7961s,@LDFLAGS@,$LDFLAGS,;t t
7962s,@CFLAGS@,$CFLAGS,;t t
7963s,@CC@,$CC,;t t
7964s,@CPPFLAGS@,$CPPFLAGS,;t t
7965s,@ac_ct_CC@,$ac_ct_CC,;t t
7966s,@EXEEXT@,$EXEEXT,;t t
7967s,@OBJEXT@,$OBJEXT,;t t
7968s,@CXX@,$CXX,;t t
7969s,@CXXFLAGS@,$CXXFLAGS,;t t
7970s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7971s,@AWK@,$AWK,;t t
7972s,@YACC@,$YACC,;t t
7973s,@build@,$build,;t t
7974s,@build_cpu@,$build_cpu,;t t
7975s,@build_vendor@,$build_vendor,;t t
7976s,@build_os@,$build_os,;t t
7977s,@host@,$host,;t t
7978s,@host_cpu@,$host_cpu,;t t
7979s,@host_vendor@,$host_vendor,;t t
7980s,@host_os@,$host_os,;t t
7981s,@target@,$target,;t t
7982s,@target_cpu@,$target_cpu,;t t
7983s,@target_vendor@,$target_vendor,;t t
7984s,@target_os@,$target_os,;t t
7985s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7986s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7987s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7988s,@LN_S@,$LN_S,;t t
7989s,@SET_MAKE@,$SET_MAKE,;t t
7990s,@RANLIB@,$RANLIB,;t t
7991s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7992s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
7993s,@MICO_VER@,$MICO_VER,;t t
7994s,@CPP@,$CPP,;t t
7995s,@EGREP@,$EGREP,;t t
[16598]7996s,@U@,$U,;t t
7997s,@ANSI2KNR@,$ANSI2KNR,;t t
[16589]7998s,@ALLOCA@,$ALLOCA,;t t
7999s,@LIBOBJS@,$LIBOBJS,;t t
8000s,@STATIC@,$STATIC,;t t
8001s,@gsdlos@,$gsdlos,;t t
8002s,@MODULEDIRS@,$MODULEDIRS,;t t
8003s,@subdirs@,$subdirs,;t t
8004s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8005CEOF
8006
8007_ACEOF
8008
8009 cat >>$CONFIG_STATUS <<\_ACEOF
8010 # Split the substitutions into bite-sized pieces for seds with
8011 # small command number limits, like on Digital OSF/1 and HP-UX.
8012 ac_max_sed_lines=48
8013 ac_sed_frag=1 # Number of current file.
8014 ac_beg=1 # First line for current file.
8015 ac_end=$ac_max_sed_lines # Line after last line for current file.
8016 ac_more_lines=:
8017 ac_sed_cmds=
8018 while $ac_more_lines; do
8019 if test $ac_beg -gt 1; then
8020 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8021 else
8022 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8023 fi
8024 if test ! -s $tmp/subs.frag; then
8025 ac_more_lines=false
8026 else
8027 # The purpose of the label and of the branching condition is to
8028 # speed up the sed processing (if there are no `@' at all, there
8029 # is no need to browse any of the substitutions).
8030 # These are the two extra sed commands mentioned above.
8031 (echo ':t
8032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8033 if test -z "$ac_sed_cmds"; then
8034 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8035 else
8036 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8037 fi
8038 ac_sed_frag=`expr $ac_sed_frag + 1`
8039 ac_beg=$ac_end
8040 ac_end=`expr $ac_end + $ac_max_sed_lines`
8041 fi
8042 done
8043 if test -z "$ac_sed_cmds"; then
8044 ac_sed_cmds=cat
8045 fi
8046fi # test -n "$CONFIG_FILES"
8047
8048_ACEOF
8049cat >>$CONFIG_STATUS <<\_ACEOF
8050for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8051 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8052 case $ac_file in
8053 - | *:- | *:-:* ) # input from stdin
8054 cat >$tmp/stdin
8055 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8056 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8057 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8058 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8059 * ) ac_file_in=$ac_file.in ;;
8060 esac
8061
8062 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8063 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8064$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8065 X"$ac_file" : 'X\(//\)[^/]' \| \
8066 X"$ac_file" : 'X\(//\)$' \| \
8067 X"$ac_file" : 'X\(/\)' \| \
8068 . : '\(.\)' 2>/dev/null ||
8069echo X"$ac_file" |
8070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8072 /^X\(\/\/\)$/{ s//\1/; q; }
8073 /^X\(\/\).*/{ s//\1/; q; }
8074 s/.*/./; q'`
8075 { if $as_mkdir_p; then
8076 mkdir -p "$ac_dir"
8077 else
8078 as_dir="$ac_dir"
8079 as_dirs=
8080 while test ! -d "$as_dir"; do
8081 as_dirs="$as_dir $as_dirs"
8082 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8083$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8084 X"$as_dir" : 'X\(//\)[^/]' \| \
8085 X"$as_dir" : 'X\(//\)$' \| \
8086 X"$as_dir" : 'X\(/\)' \| \
8087 . : '\(.\)' 2>/dev/null ||
8088echo X"$as_dir" |
8089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8091 /^X\(\/\/\)$/{ s//\1/; q; }
8092 /^X\(\/\).*/{ s//\1/; q; }
8093 s/.*/./; q'`
8094 done
8095 test ! -n "$as_dirs" || mkdir $as_dirs
8096 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8097echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8098 { (exit 1); exit 1; }; }; }
8099
8100 ac_builddir=.
8101
8102if test "$ac_dir" != .; then
8103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8104 # A "../" for each directory in $ac_dir_suffix.
8105 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8106else
8107 ac_dir_suffix= ac_top_builddir=
8108fi
8109
8110case $srcdir in
8111 .) # No --srcdir option. We are building in place.
8112 ac_srcdir=.
8113 if test -z "$ac_top_builddir"; then
8114 ac_top_srcdir=.
8115 else
8116 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8117 fi ;;
8118 [\\/]* | ?:[\\/]* ) # Absolute path.
8119 ac_srcdir=$srcdir$ac_dir_suffix;
8120 ac_top_srcdir=$srcdir ;;
8121 *) # Relative path.
8122 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8123 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8124esac
8125
8126# Do not use `cd foo && pwd` to compute absolute paths, because
8127# the directories may not exist.
8128case `pwd` in
8129.) ac_abs_builddir="$ac_dir";;
8130*)
8131 case "$ac_dir" in
8132 .) ac_abs_builddir=`pwd`;;
8133 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8134 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8135 esac;;
8136esac
8137case $ac_abs_builddir in
8138.) ac_abs_top_builddir=${ac_top_builddir}.;;
8139*)
8140 case ${ac_top_builddir}. in
8141 .) ac_abs_top_builddir=$ac_abs_builddir;;
8142 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8143 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8144 esac;;
8145esac
8146case $ac_abs_builddir in
8147.) ac_abs_srcdir=$ac_srcdir;;
8148*)
8149 case $ac_srcdir in
8150 .) ac_abs_srcdir=$ac_abs_builddir;;
8151 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8152 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8153 esac;;
8154esac
8155case $ac_abs_builddir in
8156.) ac_abs_top_srcdir=$ac_top_srcdir;;
8157*)
8158 case $ac_top_srcdir in
8159 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8160 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8161 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8162 esac;;
8163esac
8164
8165
8166 case $INSTALL in
8167 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8168 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8169 esac
8170
8171 if test x"$ac_file" != x-; then
8172 { echo "$as_me:$LINENO: creating $ac_file" >&5
8173echo "$as_me: creating $ac_file" >&6;}
8174 rm -f "$ac_file"
8175 fi
8176 # Let's still pretend it is `configure' which instantiates (i.e., don't
8177 # use $as_me), people would be surprised to read:
8178 # /* config.h. Generated by config.status. */
8179 if test x"$ac_file" = x-; then
8180 configure_input=
8181 else
8182 configure_input="$ac_file. "
8183 fi
8184 configure_input=$configure_input"Generated from `echo $ac_file_in |
8185 sed 's,.*/,,'` by configure."
8186
8187 # First look for the input files in the build tree, otherwise in the
8188 # src tree.
8189 ac_file_inputs=`IFS=:
8190 for f in $ac_file_in; do
8191 case $f in
8192 -) echo $tmp/stdin ;;
8193 [\\/$]*)
8194 # Absolute (can't be DOS-style, as IFS=:)
8195 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8196echo "$as_me: error: cannot find input file: $f" >&2;}
8197 { (exit 1); exit 1; }; }
8198 echo "$f";;
8199 *) # Relative
8200 if test -f "$f"; then
8201 # Build tree
8202 echo "$f"
8203 elif test -f "$srcdir/$f"; then
8204 # Source tree
8205 echo "$srcdir/$f"
8206 else
8207 # /dev/null tree
8208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8209echo "$as_me: error: cannot find input file: $f" >&2;}
8210 { (exit 1); exit 1; }; }
8211 fi;;
8212 esac
8213 done` || { (exit 1); exit 1; }
8214_ACEOF
8215cat >>$CONFIG_STATUS <<_ACEOF
8216 sed "$ac_vpsub
8217$extrasub
8218_ACEOF
8219cat >>$CONFIG_STATUS <<\_ACEOF
8220:t
8221/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8222s,@configure_input@,$configure_input,;t t
8223s,@srcdir@,$ac_srcdir,;t t
8224s,@abs_srcdir@,$ac_abs_srcdir,;t t
8225s,@top_srcdir@,$ac_top_srcdir,;t t
8226s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8227s,@builddir@,$ac_builddir,;t t
8228s,@abs_builddir@,$ac_abs_builddir,;t t
8229s,@top_builddir@,$ac_top_builddir,;t t
8230s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8231s,@INSTALL@,$ac_INSTALL,;t t
8232" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8233 rm -f $tmp/stdin
8234 if test x"$ac_file" != x-; then
8235 mv $tmp/out $ac_file
8236 else
8237 cat $tmp/out
8238 rm -f $tmp/out
8239 fi
8240
8241done
8242_ACEOF
8243cat >>$CONFIG_STATUS <<\_ACEOF
8244
8245#
8246# CONFIG_HEADER section.
8247#
8248
8249# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8250# NAME is the cpp macro being defined and VALUE is the value it is being given.
8251#
8252# ac_d sets the value in "#define NAME VALUE" lines.
8253ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8254ac_dB='[ ].*$,\1#\2'
8255ac_dC=' '
8256ac_dD=',;t'
8257# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8258ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8259ac_uB='$,\1#\2define\3'
8260ac_uC=' '
8261ac_uD=',;t'
8262
8263for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8264 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8265 case $ac_file in
8266 - | *:- | *:-:* ) # input from stdin
8267 cat >$tmp/stdin
8268 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8269 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8270 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8271 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8272 * ) ac_file_in=$ac_file.in ;;
8273 esac
8274
8275 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8276echo "$as_me: creating $ac_file" >&6;}
8277
8278 # First look for the input files in the build tree, otherwise in the
8279 # src tree.
8280 ac_file_inputs=`IFS=:
8281 for f in $ac_file_in; do
8282 case $f in
8283 -) echo $tmp/stdin ;;
8284 [\\/$]*)
8285 # Absolute (can't be DOS-style, as IFS=:)
8286 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8287echo "$as_me: error: cannot find input file: $f" >&2;}
8288 { (exit 1); exit 1; }; }
8289 # Do quote $f, to prevent DOS paths from being IFS'd.
8290 echo "$f";;
8291 *) # Relative
8292 if test -f "$f"; then
8293 # Build tree
8294 echo "$f"
8295 elif test -f "$srcdir/$f"; then
8296 # Source tree
8297 echo "$srcdir/$f"
8298 else
8299 # /dev/null tree
8300 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8301echo "$as_me: error: cannot find input file: $f" >&2;}
8302 { (exit 1); exit 1; }; }
8303 fi;;
8304 esac
8305 done` || { (exit 1); exit 1; }
8306 # Remove the trailing spaces.
8307 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8308
8309_ACEOF
8310
8311# Transform confdefs.h into two sed scripts, `conftest.defines' and
8312# `conftest.undefs', that substitutes the proper values into
8313# config.h.in to produce config.h. The first handles `#define'
8314# templates, and the second `#undef' templates.
8315# And first: Protect against being on the right side of a sed subst in
8316# config.status. Protect against being in an unquoted here document
8317# in config.status.
8318rm -f conftest.defines conftest.undefs
8319# Using a here document instead of a string reduces the quoting nightmare.
8320# Putting comments in sed scripts is not portable.
8321#
8322# `end' is used to avoid that the second main sed command (meant for
8323# 0-ary CPP macros) applies to n-ary macro definitions.
8324# See the Autoconf documentation for `clear'.
8325cat >confdef2sed.sed <<\_ACEOF
8326s/[\\&,]/\\&/g
8327s,[\\$`],\\&,g
8328t clear
8329: clear
8330s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8331t end
8332s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8333: end
8334_ACEOF
8335# If some macros were called several times there might be several times
8336# the same #defines, which is useless. Nevertheless, we may not want to
8337# sort them, since we want the *last* AC-DEFINE to be honored.
8338uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8339sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8340rm -f confdef2sed.sed
8341
8342# This sed command replaces #undef with comments. This is necessary, for
8343# example, in the case of _POSIX_SOURCE, which is predefined and required
8344# on some systems where configure will not decide to define it.
8345cat >>conftest.undefs <<\_ACEOF
8346s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8347_ACEOF
8348
8349# Break up conftest.defines because some shells have a limit on the size
8350# of here documents, and old seds have small limits too (100 cmds).
8351echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8352echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8353echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8354echo ' :' >>$CONFIG_STATUS
8355rm -f conftest.tail
8356while grep . conftest.defines >/dev/null
8357do
8358 # Write a limited-size here document to $tmp/defines.sed.
8359 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8360 # Speed up: don't consider the non `#define' lines.
8361 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8362 # Work around the forget-to-reset-the-flag bug.
8363 echo 't clr' >>$CONFIG_STATUS
8364 echo ': clr' >>$CONFIG_STATUS
8365 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8366 echo 'CEOF
8367 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8368 rm -f $tmp/in
8369 mv $tmp/out $tmp/in
8370' >>$CONFIG_STATUS
8371 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8372 rm -f conftest.defines
8373 mv conftest.tail conftest.defines
8374done
8375rm -f conftest.defines
8376echo ' fi # grep' >>$CONFIG_STATUS
8377echo >>$CONFIG_STATUS
8378
8379# Break up conftest.undefs because some shells have a limit on the size
8380# of here documents, and old seds have small limits too (100 cmds).
8381echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8382rm -f conftest.tail
8383while grep . conftest.undefs >/dev/null
8384do
8385 # Write a limited-size here document to $tmp/undefs.sed.
8386 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8387 # Speed up: don't consider the non `#undef'
8388 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8389 # Work around the forget-to-reset-the-flag bug.
8390 echo 't clr' >>$CONFIG_STATUS
8391 echo ': clr' >>$CONFIG_STATUS
8392 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8393 echo 'CEOF
8394 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8395 rm -f $tmp/in
8396 mv $tmp/out $tmp/in
8397' >>$CONFIG_STATUS
8398 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8399 rm -f conftest.undefs
8400 mv conftest.tail conftest.undefs
8401done
8402rm -f conftest.undefs
8403
8404cat >>$CONFIG_STATUS <<\_ACEOF
8405 # Let's still pretend it is `configure' which instantiates (i.e., don't
8406 # use $as_me), people would be surprised to read:
8407 # /* config.h. Generated by config.status. */
8408 if test x"$ac_file" = x-; then
8409 echo "/* Generated by configure. */" >$tmp/config.h
8410 else
8411 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8412 fi
8413 cat $tmp/in >>$tmp/config.h
8414 rm -f $tmp/in
8415 if test x"$ac_file" != x-; then
8416 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8417 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8418echo "$as_me: $ac_file is unchanged" >&6;}
8419 else
8420 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8421$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8422 X"$ac_file" : 'X\(//\)[^/]' \| \
8423 X"$ac_file" : 'X\(//\)$' \| \
8424 X"$ac_file" : 'X\(/\)' \| \
8425 . : '\(.\)' 2>/dev/null ||
8426echo X"$ac_file" |
8427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8429 /^X\(\/\/\)$/{ s//\1/; q; }
8430 /^X\(\/\).*/{ s//\1/; q; }
8431 s/.*/./; q'`
8432 { if $as_mkdir_p; then
8433 mkdir -p "$ac_dir"
8434 else
8435 as_dir="$ac_dir"
8436 as_dirs=
8437 while test ! -d "$as_dir"; do
8438 as_dirs="$as_dir $as_dirs"
8439 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8440$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8441 X"$as_dir" : 'X\(//\)[^/]' \| \
8442 X"$as_dir" : 'X\(//\)$' \| \
8443 X"$as_dir" : 'X\(/\)' \| \
8444 . : '\(.\)' 2>/dev/null ||
8445echo X"$as_dir" |
8446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8448 /^X\(\/\/\)$/{ s//\1/; q; }
8449 /^X\(\/\).*/{ s//\1/; q; }
8450 s/.*/./; q'`
8451 done
8452 test ! -n "$as_dirs" || mkdir $as_dirs
8453 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8454echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8455 { (exit 1); exit 1; }; }; }
8456
8457 rm -f $ac_file
8458 mv $tmp/config.h $ac_file
8459 fi
8460 else
8461 cat $tmp/config.h
8462 rm -f $tmp/config.h
8463 fi
8464done
8465_ACEOF
8466
8467cat >>$CONFIG_STATUS <<\_ACEOF
8468
8469{ (exit 0); exit 0; }
8470_ACEOF
8471chmod +x $CONFIG_STATUS
8472ac_clean_files=$ac_clean_files_save
8473
8474
8475# configure is writing to config.log, and then calls config.status.
8476# config.status does its own redirection, appending to config.log.
8477# Unfortunately, on DOS this fails, as config.log is still kept open
8478# by configure, so config.status won't be able to write to it; its
8479# output is simply discarded. So we exec the FD to /dev/null,
8480# effectively closing config.log, so it can be properly (re)opened and
8481# appended to by config.status. When coming back to configure, we
8482# need to make the FD available again.
8483if test "$no_create" != yes; then
8484 ac_cs_success=:
8485 ac_config_status_args=
8486 test "$silent" = yes &&
8487 ac_config_status_args="$ac_config_status_args --quiet"
8488 exec 5>/dev/null
8489 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8490 exec 5>>config.log
8491 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8492 # would make configure fail if this is the last instruction.
8493 $ac_cs_success || { (exit 1); exit 1; }
8494fi
8495
8496#
8497# CONFIG_SUBDIRS section.
8498#
8499if test "$no_recursion" != yes; then
8500
8501 # Remove --cache-file and --srcdir arguments so they do not pile up.
8502 ac_sub_configure_args=
8503 ac_prev=
8504 for ac_arg in $ac_configure_args; do
8505 if test -n "$ac_prev"; then
8506 ac_prev=
8507 continue
8508 fi
8509 case $ac_arg in
8510 -cache-file | --cache-file | --cache-fil | --cache-fi \
8511 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8512 ac_prev=cache_file ;;
8513 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8514 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8515 | --c=*)
8516 ;;
8517 --config-cache | -C)
8518 ;;
8519 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8520 ac_prev=srcdir ;;
8521 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8522 ;;
8523 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8524 ac_prev=prefix ;;
8525 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
8526 ;;
8527 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
8528 esac
8529 done
8530
8531 # Always prepend --prefix to ensure using the same prefix
8532 # in subdir configurations.
8533 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
8534
8535 ac_popdir=`pwd`
8536 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
8537
8538 # Do not complain, so a configure script can configure whichever
8539 # parts of a large source tree are present.
8540 test -d $srcdir/$ac_dir || continue
8541
8542 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
8543echo "$as_me: configuring in $ac_dir" >&6;}
8544 { if $as_mkdir_p; then
8545 mkdir -p "$ac_dir"
8546 else
8547 as_dir="$ac_dir"
8548 as_dirs=
8549 while test ! -d "$as_dir"; do
8550 as_dirs="$as_dir $as_dirs"
8551 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8552$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8553 X"$as_dir" : 'X\(//\)[^/]' \| \
8554 X"$as_dir" : 'X\(//\)$' \| \
8555 X"$as_dir" : 'X\(/\)' \| \
8556 . : '\(.\)' 2>/dev/null ||
8557echo X"$as_dir" |
8558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8560 /^X\(\/\/\)$/{ s//\1/; q; }
8561 /^X\(\/\).*/{ s//\1/; q; }
8562 s/.*/./; q'`
8563 done
8564 test ! -n "$as_dirs" || mkdir $as_dirs
8565 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8566echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8567 { (exit 1); exit 1; }; }; }
8568
8569 ac_builddir=.
8570
8571if test "$ac_dir" != .; then
8572 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8573 # A "../" for each directory in $ac_dir_suffix.
8574 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8575else
8576 ac_dir_suffix= ac_top_builddir=
8577fi
8578
8579case $srcdir in
8580 .) # No --srcdir option. We are building in place.
8581 ac_srcdir=.
8582 if test -z "$ac_top_builddir"; then
8583 ac_top_srcdir=.
8584 else
8585 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8586 fi ;;
8587 [\\/]* | ?:[\\/]* ) # Absolute path.
8588 ac_srcdir=$srcdir$ac_dir_suffix;
8589 ac_top_srcdir=$srcdir ;;
8590 *) # Relative path.
8591 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8592 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8593esac
8594
8595# Do not use `cd foo && pwd` to compute absolute paths, because
8596# the directories may not exist.
8597case `pwd` in
8598.) ac_abs_builddir="$ac_dir";;
8599*)
8600 case "$ac_dir" in
8601 .) ac_abs_builddir=`pwd`;;
8602 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8603 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8604 esac;;
8605esac
8606case $ac_abs_builddir in
8607.) ac_abs_top_builddir=${ac_top_builddir}.;;
8608*)
8609 case ${ac_top_builddir}. in
8610 .) ac_abs_top_builddir=$ac_abs_builddir;;
8611 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8612 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8613 esac;;
8614esac
8615case $ac_abs_builddir in
8616.) ac_abs_srcdir=$ac_srcdir;;
8617*)
8618 case $ac_srcdir in
8619 .) ac_abs_srcdir=$ac_abs_builddir;;
8620 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8621 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8622 esac;;
8623esac
8624case $ac_abs_builddir in
8625.) ac_abs_top_srcdir=$ac_top_srcdir;;
8626*)
8627 case $ac_top_srcdir in
8628 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8629 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8630 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8631 esac;;
8632esac
8633
8634
8635 cd $ac_dir
8636
8637 # Check for guested configure; otherwise get Cygnus style configure.
8638 if test -f $ac_srcdir/configure.gnu; then
8639 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
8640 elif test -f $ac_srcdir/configure; then
8641 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
8642 elif test -f $ac_srcdir/configure.in; then
8643 ac_sub_configure=$ac_configure
8644 else
8645 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
8646echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8647 ac_sub_configure=
8648 fi
8649
8650 # The recursion is here.
8651 if test -n "$ac_sub_configure"; then
8652 # Make the cache file name correct relative to the subdirectory.
8653 case $cache_file in
8654 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
8655 *) # Relative path.
8656 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
8657 esac
8658
8659 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8660echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8661 # The eval makes quoting arguments work.
8662 eval $ac_sub_configure $ac_sub_configure_args \
8663 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
8664 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
8665echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
8666 { (exit 1); exit 1; }; }
8667 fi
8668
8669 cd $ac_popdir
8670 done
8671fi
8672
8673
8674
Note: See TracBrowser for help on using the repository browser.