source: main/trunk/gs2runtime/configure@ 21487

Last change on this file since 21487 was 21487, checked in by davidb, 12 years ago

Adjustments to bring configure/Makefile logic in to line with main greenstone2 code

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