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