Test merging of string constants.
[deliverable/binutils-gdb.git] / gold / configure
CommitLineData
bae7f79e
ILT
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization. ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete. It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_unique_file="gold.cc"
54dc6425
ILT
275# Factoring default headers for most tests.
276ac_includes_default="\
277#include <stdio.h>
278#if HAVE_SYS_TYPES_H
279# include <sys/types.h>
280#endif
281#if HAVE_SYS_STAT_H
282# include <sys/stat.h>
283#endif
284#if STDC_HEADERS
285# include <stdlib.h>
286# include <stddef.h>
287#else
288# if HAVE_STDLIB_H
289# include <stdlib.h>
290# endif
291#endif
292#if HAVE_STRING_H
293# if !STDC_HEADERS && HAVE_MEMORY_H
294# include <memory.h>
295# endif
296# include <string.h>
297#endif
298#if HAVE_STRINGS_H
299# include <strings.h>
300#endif
301#if HAVE_INTTYPES_H
302# include <inttypes.h>
303#else
304# if HAVE_STDINT_H
305# include <stdint.h>
306# endif
307#endif
308#if HAVE_UNISTD_H
309# include <unistd.h>
310#endif"
311
6eee141f 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar TARGETOBJS 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC RANLIB ac_ct_RANLIB LN_S USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE NATIVE_LINKER_TRUE NATIVE_LINKER_FALSE GCC_TRUE GCC_FALSE FN_PTRS_IN_SO_WITHOUT_PIC_TRUE FN_PTRS_IN_SO_WITHOUT_PIC_FALSE TLS_TRUE TLS_FALSE WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CXXFLAGS LIBOBJS CXXCPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LTLIBOBJS'
bae7f79e
ILT
313ac_subst_files=''
314
315# Initialize some variables set by options.
316ac_init_help=
317ac_init_version=false
318# The variables have the same names as the options, with
319# dashes changed to underlines.
320cache_file=/dev/null
321exec_prefix=NONE
322no_create=
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
331verbose=
332x_includes=NONE
333x_libraries=NONE
334
335# Installation directory options.
336# These are left unexpanded so users can "make install exec_prefix=/foo"
337# and all the variables that are supposed to be based on exec_prefix
338# by default will actually change.
339# Use braces instead of parens because sh, perl, etc. also accept them.
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
353ac_prev=
354for ac_option
355do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650done
651
652if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656fi
657
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667done
668
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679done
680
681# There might be people who depend on the old broken behavior: `$host'
682# used to hold the argument of --host etc.
683# FIXME: To remove some day.
684build=$build_alias
685host=$host_alias
686target=$target_alias
687
688# FIXME: To remove some day.
689if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697fi
698
699ac_tool_prefix=
700test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702test "$silent" = yes && exec 6>/dev/null
703
704
705# Find the source files, if location was not specified.
706if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725else
726 ac_srcdir_defaulted=no
727fi
728if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736fi
737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741ac_env_build_alias_set=${build_alias+set}
742ac_env_build_alias_value=$build_alias
743ac_cv_env_build_alias_set=${build_alias+set}
744ac_cv_env_build_alias_value=$build_alias
745ac_env_host_alias_set=${host_alias+set}
746ac_env_host_alias_value=$host_alias
747ac_cv_env_host_alias_set=${host_alias+set}
748ac_cv_env_host_alias_value=$host_alias
749ac_env_target_alias_set=${target_alias+set}
750ac_env_target_alias_value=$target_alias
751ac_cv_env_target_alias_set=${target_alias+set}
752ac_cv_env_target_alias_value=$target_alias
753ac_env_CC_set=${CC+set}
754ac_env_CC_value=$CC
755ac_cv_env_CC_set=${CC+set}
756ac_cv_env_CC_value=$CC
757ac_env_CFLAGS_set=${CFLAGS+set}
758ac_env_CFLAGS_value=$CFLAGS
759ac_cv_env_CFLAGS_set=${CFLAGS+set}
760ac_cv_env_CFLAGS_value=$CFLAGS
761ac_env_LDFLAGS_set=${LDFLAGS+set}
762ac_env_LDFLAGS_value=$LDFLAGS
763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764ac_cv_env_LDFLAGS_value=$LDFLAGS
765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766ac_env_CPPFLAGS_value=$CPPFLAGS
767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769ac_env_CXX_set=${CXX+set}
770ac_env_CXX_value=$CXX
771ac_cv_env_CXX_set=${CXX+set}
772ac_cv_env_CXX_value=$CXX
773ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774ac_env_CXXFLAGS_value=$CXXFLAGS
775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776ac_cv_env_CXXFLAGS_value=$CXXFLAGS
54dc6425
ILT
777ac_env_CXXCPP_set=${CXXCPP+set}
778ac_env_CXXCPP_value=$CXXCPP
779ac_cv_env_CXXCPP_set=${CXXCPP+set}
780ac_cv_env_CXXCPP_value=$CXXCPP
bae7f79e
ILT
781
782#
783# Report the --help message.
784#
785if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
788 cat <<_ACEOF
789\`configure' configures this package to adapt to many kinds of systems.
790
791Usage: $0 [OPTION]... [VAR=VALUE]...
792
793To assign environment variables (e.g., CC, CFLAGS...), specify them as
794VAR=VALUE. See below for descriptions of some of the useful variables.
795
796Defaults for the options are specified in brackets.
797
798Configuration:
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808
809_ACEOF
810
811 cat <<_ACEOF
812Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
814 [$ac_default_prefix]
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 [PREFIX]
817
818By default, \`make install' will install all the files in
819\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821for instance \`--prefix=\$HOME'.
822
823For better control, use the options below.
824
825Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
838_ACEOF
839
840 cat <<\_ACEOF
841
842Program names:
843 --program-prefix=PREFIX prepend PREFIX to installed program names
844 --program-suffix=SUFFIX append SUFFIX to installed program names
845 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
846
847System types:
848 --build=BUILD configure for building on BUILD [guessed]
849 --host=HOST cross-compile to build programs to run on HOST [BUILD]
850 --target=TARGET configure for building compilers for TARGET [HOST]
851_ACEOF
852fi
853
854if test -n "$ac_init_help"; then
855
856 cat <<\_ACEOF
857
858Optional Features:
859 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
860 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
193a53d9 861 --enable-targets alternative target configurations
bae7f79e
ILT
862 --disable-dependency-tracking speeds up one-time build
863 --enable-dependency-tracking do not reject slow dependency extractors
864 --disable-nls do not use Native Language Support
865 --enable-werror treat compile warnings as errors
866 --enable-build-warnings enable build-time compiler warnings
867 --enable-maintainer-mode enable make rules and dependencies not useful
868 (and sometimes confusing) to the casual installer
869
ad2d6943
ILT
870Optional Packages:
871 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
873 --with-sysroot=DIR search for usr/lib et al within DIR
874
bae7f79e
ILT
875Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
882 CXX C++ compiler command
883 CXXFLAGS C++ compiler flags
54dc6425 884 CXXCPP C++ preprocessor
bae7f79e
ILT
885
886Use these variables to override the choices made by `configure' or to help
887it to find libraries and programs with nonstandard names/locations.
888
889_ACEOF
890fi
891
892if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
894 ac_popdir=`pwd`
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
897 ac_builddir=.
898
899if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
903else
904 ac_dir_suffix= ac_top_builddir=
905fi
906
907case $srcdir in
908 .) # No --srcdir option. We are building in place.
909 ac_srcdir=.
910 if test -z "$ac_top_builddir"; then
911 ac_top_srcdir=.
912 else
913 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
914 fi ;;
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
918 *) # Relative path.
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
921esac
922
923# Do not use `cd foo && pwd` to compute absolute paths, because
924# the directories may not exist.
925case `pwd` in
926.) ac_abs_builddir="$ac_dir";;
927*)
928 case "$ac_dir" in
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
932 esac;;
933esac
934case $ac_abs_builddir in
935.) ac_abs_top_builddir=${ac_top_builddir}.;;
936*)
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
941 esac;;
942esac
943case $ac_abs_builddir in
944.) ac_abs_srcdir=$ac_srcdir;;
945*)
946 case $ac_srcdir in
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
950 esac;;
951esac
952case $ac_abs_builddir in
953.) ac_abs_top_srcdir=$ac_top_srcdir;;
954*)
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 esac;;
960esac
961
962 cd $ac_dir
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
965 echo
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
968 echo
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
972 echo
973 $ac_configure --help
974 else
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 fi
977 cd $ac_popdir
978 done
979fi
980
981test -n "$ac_init_help" && exit 0
982if $ac_init_version; then
983 cat <<\_ACEOF
984
985Copyright (C) 2003 Free Software Foundation, Inc.
986This configure script is free software; the Free Software Foundation
987gives unlimited permission to copy, distribute and modify it.
988_ACEOF
989 exit 0
990fi
991exec 5>config.log
992cat >&5 <<_ACEOF
993This file contains any messages produced by compilers while
994running configure, to aid debugging if configure makes a mistake.
995
996It was created by $as_me, which was
997generated by GNU Autoconf 2.59. Invocation command line was
998
999 $ $0 $@
1000
1001_ACEOF
1002{
1003cat <<_ASUNAME
1004## --------- ##
1005## Platform. ##
1006## --------- ##
1007
1008hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012uname -v = `(uname -v) 2>/dev/null || echo unknown`
1013
1014/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1016
1017/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1024
1025_ASUNAME
1026
1027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028for as_dir in $PATH
1029do
1030 IFS=$as_save_IFS
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1033done
1034
1035} >&5
1036
1037cat >&5 <<_ACEOF
1038
1039
1040## ----------- ##
1041## Core tests. ##
1042## ----------- ##
1043
1044_ACEOF
1045
1046
1047# Keep a trace of the command line.
1048# Strip out --no-create and --no-recursion so they do not pile up.
1049# Strip out --silent because we don't want to record it for future runs.
1050# Also quote any args containing shell meta-characters.
1051# Make two passes to allow for proper duplicate-argument suppression.
1052ac_configure_args=
1053ac_configure_args0=
1054ac_configure_args1=
1055ac_sep=
1056ac_must_keep_next=false
1057for ac_pass in 1 2
1058do
1059 for ac_arg
1060 do
1061 case $ac_arg in
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 continue ;;
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 esac
1069 case $ac_pass in
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 2)
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1075 else
1076 case $ac_arg in
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 esac
1084 ;;
1085 -* ) ac_must_keep_next=true ;;
1086 esac
1087 fi
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1090 ac_sep=" "
1091 ;;
1092 esac
1093 done
1094done
1095$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097
1098# When interrupted or exit'd, cleanup temporary files, and complete
1099# config.log. We remove comments because anyway the quotes in there
1100# would cause problems or look ugly.
1101# WARNING: Be sure not to use single quotes in there, as some shells,
1102# such as our DU 5.0 friend, will then `close' the trap.
1103trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1105 {
1106 echo
1107
1108 cat <<\_ASBOX
1109## ---------------- ##
1110## Cache variables. ##
1111## ---------------- ##
1112_ASBOX
1113 echo
1114 # The following way of writing the cache mishandles newlines in values,
1115{
1116 (set) 2>&1 |
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 *ac_space=\ *)
1119 sed -n \
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 ;;
1123 *)
1124 sed -n \
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ;;
1127 esac;
1128}
1129 echo
1130
1131 cat <<\_ASBOX
1132## ----------------- ##
1133## Output variables. ##
1134## ----------------- ##
1135_ASBOX
1136 echo
1137 for ac_var in $ac_subst_vars
1138 do
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1141 done | sort
1142 echo
1143
1144 if test -n "$ac_subst_files"; then
1145 cat <<\_ASBOX
1146## ------------- ##
1147## Output files. ##
1148## ------------- ##
1149_ASBOX
1150 echo
1151 for ac_var in $ac_subst_files
1152 do
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1155 done | sort
1156 echo
1157 fi
1158
1159 if test -s confdefs.h; then
1160 cat <<\_ASBOX
1161## ----------- ##
1162## confdefs.h. ##
1163## ----------- ##
1164_ASBOX
1165 echo
1166 sed "/^$/d" confdefs.h | sort
1167 echo
1168 fi
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1172 } >&5
1173 rm -f core *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 exit $exit_status
1176 ' 0
1177for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179done
1180ac_signal=0
1181
1182# confdefs.h avoids OS command line length limits that DEFS can exceed.
1183rm -rf conftest* confdefs.h
1184# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185echo >confdefs.h
1186
1187# Predefined preprocessor variables.
1188
1189cat >>confdefs.h <<_ACEOF
1190#define PACKAGE_NAME "$PACKAGE_NAME"
1191_ACEOF
1192
1193
1194cat >>confdefs.h <<_ACEOF
1195#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196_ACEOF
1197
1198
1199cat >>confdefs.h <<_ACEOF
1200#define PACKAGE_VERSION "$PACKAGE_VERSION"
1201_ACEOF
1202
1203
1204cat >>confdefs.h <<_ACEOF
1205#define PACKAGE_STRING "$PACKAGE_STRING"
1206_ACEOF
1207
1208
1209cat >>confdefs.h <<_ACEOF
1210#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211_ACEOF
1212
1213
1214# Let the site file select an alternate cache file if it wants to.
1215# Prefer explicitly selected file to automatically selected ones.
1216if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 else
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 fi
1222fi
1223for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1228 . "$ac_site_file"
1229 fi
1230done
1231
1232if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237echo "$as_me: loading cache $cache_file" >&6;}
1238 case $cache_file in
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1241 esac
1242 fi
1243else
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245echo "$as_me: creating cache $cache_file" >&6;}
1246 >$cache_file
1247fi
1248
1249# Check that the precious variables saved in the cache have kept the same
1250# value.
1251ac_cache_corrupted=false
1252for ac_var in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1259 set,)
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1263 ,set)
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1267 ,);;
1268 *)
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1277 fi;;
1278 esac
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1281 case $ac_new_val in
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1285 esac
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 esac
1290 fi
1291done
1292if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1298fi
1299
1300ac_ext=c
1301ac_cpp='$CPP $CPPFLAGS'
1302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326ac_aux_dir=
1327for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1328 if test -f $ac_dir/install-sh; then
1329 ac_aux_dir=$ac_dir
1330 ac_install_sh="$ac_aux_dir/install-sh -c"
1331 break
1332 elif 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/shtool; then
1337 ac_aux_dir=$ac_dir
1338 ac_install_sh="$ac_aux_dir/shtool install -c"
1339 break
1340 fi
1341done
1342if test -z "$ac_aux_dir"; then
1343 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1344echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1345 { (exit 1); exit 1; }; }
1346fi
1347ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1348ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1349ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350
1351# Make sure we can run config.sub.
1352$ac_config_sub sun4 >/dev/null 2>&1 ||
1353 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1354echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1355 { (exit 1); exit 1; }; }
1356
1357echo "$as_me:$LINENO: checking build system type" >&5
1358echo $ECHO_N "checking build system type... $ECHO_C" >&6
1359if test "${ac_cv_build+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1361else
1362 ac_cv_build_alias=$build_alias
1363test -z "$ac_cv_build_alias" &&
1364 ac_cv_build_alias=`$ac_config_guess`
1365test -z "$ac_cv_build_alias" &&
1366 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1367echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1368 { (exit 1); exit 1; }; }
1369ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1371echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1372 { (exit 1); exit 1; }; }
1373
1374fi
1375echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1376echo "${ECHO_T}$ac_cv_build" >&6
1377build=$ac_cv_build
1378build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1379build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1380build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1381
1382
1383echo "$as_me:$LINENO: checking host system type" >&5
1384echo $ECHO_N "checking host system type... $ECHO_C" >&6
1385if test "${ac_cv_host+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1387else
1388 ac_cv_host_alias=$host_alias
1389test -z "$ac_cv_host_alias" &&
1390 ac_cv_host_alias=$ac_cv_build_alias
1391ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1393echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1395
1396fi
1397echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1398echo "${ECHO_T}$ac_cv_host" >&6
1399host=$ac_cv_host
1400host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1401host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1402host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1403
1404
1405echo "$as_me:$LINENO: checking target system type" >&5
1406echo $ECHO_N "checking target system type... $ECHO_C" >&6
1407if test "${ac_cv_target+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1409else
1410 ac_cv_target_alias=$target_alias
1411test "x$ac_cv_target_alias" = "x" &&
1412 ac_cv_target_alias=$ac_cv_host_alias
1413ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1415echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1417
1418fi
1419echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1420echo "${ECHO_T}$ac_cv_target" >&6
1421target=$ac_cv_target
1422target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1425
1426
1427# The aliases save the names the user supplied, while $host etc.
1428# will get canonicalized.
1429test -n "$target_alias" &&
1430 test "$program_prefix$program_suffix$program_transform_name" = \
1431 NONENONEs,x,x, &&
1432 program_prefix=${target_alias}-
1433
1434am__api_version="1.9"
1435# Find a good install program. We prefer a C program (faster),
1436# so one script is as good as another. But avoid the broken or
1437# incompatible versions:
1438# SysV /etc/install, /usr/sbin/install
1439# SunOS /usr/etc/install
1440# IRIX /sbin/install
1441# AIX /bin/install
1442# AmigaOS /C/install, which installs bootblocks on floppy discs
1443# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1444# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1445# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1446# OS/2's system install, which has a completely different semantic
1447# ./install, which can be erroneously created by make from ./install.sh.
1448echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1449echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1450if test -z "$INSTALL"; then
1451if test "${ac_cv_path_install+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1453else
1454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455for as_dir in $PATH
1456do
1457 IFS=$as_save_IFS
1458 test -z "$as_dir" && as_dir=.
1459 # Account for people who put trailing slashes in PATH elements.
1460case $as_dir/ in
1461 ./ | .// | /cC/* | \
1462 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1463 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1464 /usr/ucb/* ) ;;
1465 *)
1466 # OSF1 and SCO ODT 3.0 have their own names for install.
1467 # Don't use installbsd from OSF since it installs stuff as root
1468 # by default.
1469 for ac_prog in ginstall scoinst install; do
1470 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1472 if test $ac_prog = install &&
1473 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1474 # AIX install. It has an incompatible calling convention.
1475 :
1476 elif test $ac_prog = install &&
1477 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1478 # program-specific install script used by HP pwplus--don't use.
1479 :
1480 else
1481 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1482 break 3
1483 fi
1484 fi
1485 done
1486 done
1487 ;;
1488esac
1489done
1490
1491
1492fi
1493 if test "${ac_cv_path_install+set}" = set; then
1494 INSTALL=$ac_cv_path_install
1495 else
1496 # As a last resort, use the slow shell script. We don't cache a
1497 # path for INSTALL within a source directory, because that will
1498 # break other packages using the cache if that directory is
1499 # removed, or if the path is relative.
1500 INSTALL=$ac_install_sh
1501 fi
1502fi
1503echo "$as_me:$LINENO: result: $INSTALL" >&5
1504echo "${ECHO_T}$INSTALL" >&6
1505
1506# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1507# It thinks the first close brace ends the variable substitution.
1508test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1509
1510test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1511
1512test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1513
1514echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1515echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1516# Just in case
1517sleep 1
1518echo timestamp > conftest.file
1519# Do `set' in a subshell so we don't clobber the current shell's
1520# arguments. Must try -L first in case configure is actually a
1521# symlink; some systems play weird games with the mod time of symlinks
1522# (eg FreeBSD returns the mod time of the symlink's containing
1523# directory).
1524if (
1525 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1526 if test "$*" = "X"; then
1527 # -L didn't work.
1528 set X `ls -t $srcdir/configure conftest.file`
1529 fi
1530 rm -f conftest.file
1531 if test "$*" != "X $srcdir/configure conftest.file" \
1532 && test "$*" != "X conftest.file $srcdir/configure"; then
1533
1534 # If neither matched, then we have a broken ls. This can happen
1535 # if, for instance, CONFIG_SHELL is bash and it inherits a
1536 # broken ls alias from the environment. This has actually
1537 # happened. Such a system could not be considered "sane".
1538 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1539alias in your environment" >&5
1540echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1541alias in your environment" >&2;}
1542 { (exit 1); exit 1; }; }
1543 fi
1544
1545 test "$2" = conftest.file
1546 )
1547then
1548 # Ok.
1549 :
1550else
1551 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1552Check your system clock" >&5
1553echo "$as_me: error: newly created file is older than distributed files!
1554Check your system clock" >&2;}
1555 { (exit 1); exit 1; }; }
1556fi
1557echo "$as_me:$LINENO: result: yes" >&5
1558echo "${ECHO_T}yes" >&6
1559test "$program_prefix" != NONE &&
1560 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1561# Use a double $ so make ignores it.
1562test "$program_suffix" != NONE &&
1563 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1564# Double any \ or $. echo might interpret backslashes.
1565# By default was `s,x,x', remove it if useless.
1566cat <<\_ACEOF >conftest.sed
1567s/[\\$]/&&/g;s/;s,x,x,$//
1568_ACEOF
1569program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1570rm conftest.sed
1571
1572# expand $ac_aux_dir to an absolute path
1573am_aux_dir=`cd $ac_aux_dir && pwd`
1574
1575test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1576# Use eval to expand $SHELL
1577if eval "$MISSING --run true"; then
1578 am_missing_run="$MISSING --run "
1579else
1580 am_missing_run=
1581 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1582echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1583fi
1584
1585if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1586 # We used to keeping the `.' as first argument, in order to
1587 # allow $(mkdir_p) to be used without argument. As in
1588 # $(mkdir_p) $(somedir)
1589 # where $(somedir) is conditionally defined. However this is wrong
1590 # for two reasons:
1591 # 1. if the package is installed by a user who cannot write `.'
1592 # make install will fail,
1593 # 2. the above comment should most certainly read
1594 # $(mkdir_p) $(DESTDIR)$(somedir)
1595 # so it does not work when $(somedir) is undefined and
1596 # $(DESTDIR) is not.
1597 # To support the latter case, we have to write
1598 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1599 # so the `.' trick is pointless.
1600 mkdir_p='mkdir -p --'
1601else
1602 # On NextStep and OpenStep, the `mkdir' command does not
1603 # recognize any option. It will interpret all options as
1604 # directories to create, and then abort because `.' already
1605 # exists.
1606 for d in ./-p ./--version;
1607 do
1608 test -d $d && rmdir $d
1609 done
1610 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1611 if test -f "$ac_aux_dir/mkinstalldirs"; then
1612 mkdir_p='$(mkinstalldirs)'
1613 else
1614 mkdir_p='$(install_sh) -d'
1615 fi
1616fi
1617
1618for ac_prog in gawk mawk nawk awk
1619do
1620 # Extract the first word of "$ac_prog", so it can be a program name with args.
1621set dummy $ac_prog; ac_word=$2
1622echo "$as_me:$LINENO: checking for $ac_word" >&5
1623echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624if test "${ac_cv_prog_AWK+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1626else
1627 if test -n "$AWK"; then
1628 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1629else
1630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631for as_dir in $PATH
1632do
1633 IFS=$as_save_IFS
1634 test -z "$as_dir" && as_dir=.
1635 for ac_exec_ext in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_AWK="$ac_prog"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1639 break 2
1640 fi
1641done
1642done
1643
1644fi
1645fi
1646AWK=$ac_cv_prog_AWK
1647if test -n "$AWK"; then
1648 echo "$as_me:$LINENO: result: $AWK" >&5
1649echo "${ECHO_T}$AWK" >&6
1650else
1651 echo "$as_me:$LINENO: result: no" >&5
1652echo "${ECHO_T}no" >&6
1653fi
1654
1655 test -n "$AWK" && break
1656done
1657
1658echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1659echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1660set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1661if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663else
1664 cat >conftest.make <<\_ACEOF
1665all:
1666 @echo 'ac_maketemp="$(MAKE)"'
1667_ACEOF
1668# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1669eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1670if test -n "$ac_maketemp"; then
1671 eval ac_cv_prog_make_${ac_make}_set=yes
1672else
1673 eval ac_cv_prog_make_${ac_make}_set=no
1674fi
1675rm -f conftest.make
1676fi
1677if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1678 echo "$as_me:$LINENO: result: yes" >&5
1679echo "${ECHO_T}yes" >&6
1680 SET_MAKE=
1681else
1682 echo "$as_me:$LINENO: result: no" >&5
1683echo "${ECHO_T}no" >&6
1684 SET_MAKE="MAKE=${MAKE-make}"
1685fi
1686
1687rm -rf .tst 2>/dev/null
1688mkdir .tst 2>/dev/null
1689if test -d .tst; then
1690 am__leading_dot=.
1691else
1692 am__leading_dot=_
1693fi
1694rmdir .tst 2>/dev/null
1695
1696# test to see if srcdir already configured
1697if test "`cd $srcdir && pwd`" != "`pwd`" &&
1698 test -f $srcdir/config.status; then
1699 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1700echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1701 { (exit 1); exit 1; }; }
1702fi
1703
1704# test whether we have cygpath
1705if test -z "$CYGPATH_W"; then
1706 if (cygpath --version) >/dev/null 2>/dev/null; then
1707 CYGPATH_W='cygpath -w'
1708 else
1709 CYGPATH_W=echo
1710 fi
1711fi
1712
1713
1714# Define the identity of the package.
1715 PACKAGE=gold
1716 VERSION=0.1
1717
1718
1719cat >>confdefs.h <<_ACEOF
1720#define PACKAGE "$PACKAGE"
1721_ACEOF
1722
1723
1724cat >>confdefs.h <<_ACEOF
1725#define VERSION "$VERSION"
1726_ACEOF
1727
1728# Some tools Automake needs.
1729
1730ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1731
1732
1733AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1734
1735
1736AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1737
1738
1739AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1740
1741
1742MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1743
1744install_sh=${install_sh-"$am_aux_dir/install-sh"}
1745
1746# Installed binaries are usually stripped using `strip' when the user
1747# run `make install-strip'. However `strip' might not be the right
1748# tool to use in cross-compilation environments, therefore Automake
1749# will honor the `STRIP' environment variable to overrule this program.
1750if test "$cross_compiling" != no; then
1751 if test -n "$ac_tool_prefix"; then
1752 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1753set dummy ${ac_tool_prefix}strip; ac_word=$2
1754echo "$as_me:$LINENO: checking for $ac_word" >&5
1755echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756if test "${ac_cv_prog_STRIP+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1758else
1759 if test -n "$STRIP"; then
1760 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1761else
1762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763for as_dir in $PATH
1764do
1765 IFS=$as_save_IFS
1766 test -z "$as_dir" && as_dir=.
1767 for ac_exec_ext in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771 break 2
1772 fi
1773done
1774done
1775
1776fi
1777fi
1778STRIP=$ac_cv_prog_STRIP
1779if test -n "$STRIP"; then
1780 echo "$as_me:$LINENO: result: $STRIP" >&5
1781echo "${ECHO_T}$STRIP" >&6
1782else
1783 echo "$as_me:$LINENO: result: no" >&5
1784echo "${ECHO_T}no" >&6
1785fi
1786
1787fi
1788if test -z "$ac_cv_prog_STRIP"; then
1789 ac_ct_STRIP=$STRIP
1790 # Extract the first word of "strip", so it can be a program name with args.
1791set dummy strip; ac_word=$2
1792echo "$as_me:$LINENO: checking for $ac_word" >&5
1793echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1796else
1797 if test -n "$ac_ct_STRIP"; then
1798 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1799else
1800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1801for as_dir in $PATH
1802do
1803 IFS=$as_save_IFS
1804 test -z "$as_dir" && as_dir=.
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1807 ac_cv_prog_ac_ct_STRIP="strip"
1808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809 break 2
1810 fi
1811done
1812done
1813
1814 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1815fi
1816fi
1817ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1818if test -n "$ac_ct_STRIP"; then
1819 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1820echo "${ECHO_T}$ac_ct_STRIP" >&6
1821else
1822 echo "$as_me:$LINENO: result: no" >&5
1823echo "${ECHO_T}no" >&6
1824fi
1825
1826 STRIP=$ac_ct_STRIP
1827else
1828 STRIP="$ac_cv_prog_STRIP"
1829fi
1830
1831fi
1832INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1833
1834# We need awk for the "check" target. The system "awk" is bad on
1835# some platforms.
1836# Always define AMTAR for backward compatibility.
1837
1838AMTAR=${AMTAR-"${am_missing_run}tar"}
1839
1840am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1841
1842
1843
1844
1845
1846
1847 ac_config_headers="$ac_config_headers config.h:config.in"
1848
1849
ad2d6943
ILT
1850
1851# Check whether --with-sysroot or --without-sysroot was given.
1852if test "${with_sysroot+set}" = set; then
1853 withval="$with_sysroot"
1854 sysroot=$withval
1855else
1856 sysroot=no
1857fi;
1858
1859if test "$sysroot" = "yes"; then
1860 sysroot='${exec_prefix}/${target_alias}/sys-root'
1861elif test "$sysroot" = "no"; then
1862 sysroot=
1863fi
1864
1865sysroot_relocatable=0
1866if test -n "$sysroot"; then
1867 case "sysroot" in
1868 "${prefix}" | "${prefix}/"* | \
1869 "${exec_prefix}" | "${exec_prefix}/"* | \
1870 '${prefix}' | '${prefix}/'*| \
1871 '${exec_prefix}' | '${exec_prefix}/'*)
1872 sysroot_relocatable=1
1873 ;;
1874 esac
1875fi
1876
1877
1878cat >>confdefs.h <<_ACEOF
1879#define TARGET_SYSTEM_ROOT "$sysroot"
1880_ACEOF
1881
1882
1883cat >>confdefs.h <<_ACEOF
1884#define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
1885_ACEOF
1886
1887
193a53d9
ILT
1888# Check whether --enable-targets or --disable-targets was given.
1889if test "${enable_targets+set}" = set; then
1890 enableval="$enable_targets"
1891 case "${enableval}" in
1892 yes | "")
1893 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1894echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ;;
1897 no)
1898 enable_targets=
1899 ;;
1900 *)
1901 enable_targets=$enableval
1902 ;;
1903esac
1904else
1905 # For now, enable all targets by default
1906 enable_targets=all
1907
1908fi;
1909
1910# Canonicalize the enabled targets.
1911if test -n "$enable_targets"; then
1912 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
1913 result=`$ac_config_sub $targ 2>/dev/null`
1914 if test -n "$result"; then
1915 canon_targets="$canon_targets $result"
1916 else
1917 # Permit unrecognized target names, like "all".
1918 canon_targets="$canon_targets $targ"
1919 fi
1920 done
1921fi
1922
1923# See which specific instantiations we need.
6df6da4a
ILT
1924targetobjs=
1925all_targets=
193a53d9
ILT
1926for targ in $target $canon_targets; do
1927 targ_32_little=
1928 targ_32_big=
1929 targ_64_little=
1930 targ_64_big=
1931 if test "$targ" = "all"; then
1932 targ_32_little=yes
1933 targ_32_big=yes
1934 targ_64_little=yes
1935 targ_64_big=yes
6df6da4a 1936 all_targets=yes
193a53d9
ILT
1937 else
1938 case "$targ" in
6df6da4a
ILT
1939 i?86-*)
1940 targ_32_little=yes
1941 targetobjs="$targetobjs i386.\$(OBJEXT)"
1942 ;;
1943 x86_64-*)
1944 targ_64_little=yes
1945 targetobjs="$targetobjs x86_64.\$(OBJEXT)"
1946 ;;
193a53d9 1947 *)
6df6da4a
ILT
1948 { { echo "$as_me:$LINENO: error: \"unsupported target $targ\"" >&5
1949echo "$as_me: error: \"unsupported target $targ\"" >&2;}
193a53d9
ILT
1950 { (exit 1); exit 1; }; }
1951 ;;
1952 esac
1953 fi
1954done
1955
1956if test -n "$targ_32_little"; then
1957
1958cat >>confdefs.h <<\_ACEOF
1959#define HAVE_TARGET_32_LITTLE 1
1960_ACEOF
1961
1962fi
1963if test -n "$targ_32_big"; then
1964
1965cat >>confdefs.h <<\_ACEOF
1966#define HAVE_TARGET_32_BIG 1
1967_ACEOF
1968
1969fi
1970if test -n "$targ_64_little"; then
1971
1972cat >>confdefs.h <<\_ACEOF
1973#define HAVE_TARGET_64_LITTLE 1
1974_ACEOF
1975
1976fi
1977if test -n "$targ_64_big"; then
1978
1979cat >>confdefs.h <<\_ACEOF
1980#define HAVE_TARGET_64_BIG 1
1981_ACEOF
1982
1983fi
1984
6df6da4a
ILT
1985if test -n "$all_targets"; then
1986 TARGETOBJS='$(ALL_TARGETOBJS)'
1987else
1988 TARGETOBJS="$targetobjs"
1989fi
1990
1991
bae7f79e
ILT
1992ac_ext=c
1993ac_cpp='$CPP $CPPFLAGS'
1994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996ac_compiler_gnu=$ac_cv_c_compiler_gnu
1997if test -n "$ac_tool_prefix"; then
1998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1999set dummy ${ac_tool_prefix}gcc; ac_word=$2
2000echo "$as_me:$LINENO: checking for $ac_word" >&5
2001echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002if test "${ac_cv_prog_CC+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2004else
2005 if test -n "$CC"; then
2006 ac_cv_prog_CC="$CC" # Let the user override the test.
2007else
2008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009for as_dir in $PATH
2010do
2011 IFS=$as_save_IFS
2012 test -z "$as_dir" && as_dir=.
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 break 2
2018 fi
2019done
2020done
2021
2022fi
2023fi
2024CC=$ac_cv_prog_CC
2025if test -n "$CC"; then
2026 echo "$as_me:$LINENO: result: $CC" >&5
2027echo "${ECHO_T}$CC" >&6
2028else
2029 echo "$as_me:$LINENO: result: no" >&5
2030echo "${ECHO_T}no" >&6
2031fi
2032
2033fi
2034if test -z "$ac_cv_prog_CC"; then
2035 ac_ct_CC=$CC
2036 # Extract the first word of "gcc", so it can be a program name with args.
2037set dummy gcc; ac_word=$2
2038echo "$as_me:$LINENO: checking for $ac_word" >&5
2039echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2042else
2043 if test -n "$ac_ct_CC"; then
2044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2045else
2046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047for as_dir in $PATH
2048do
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_prog_ac_ct_CC="gcc"
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 break 2
2056 fi
2057done
2058done
2059
2060fi
2061fi
2062ac_ct_CC=$ac_cv_prog_ac_ct_CC
2063if test -n "$ac_ct_CC"; then
2064 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2065echo "${ECHO_T}$ac_ct_CC" >&6
2066else
2067 echo "$as_me:$LINENO: result: no" >&5
2068echo "${ECHO_T}no" >&6
2069fi
2070
2071 CC=$ac_ct_CC
2072else
2073 CC="$ac_cv_prog_CC"
2074fi
2075
2076if test -z "$CC"; then
2077 if test -n "$ac_tool_prefix"; then
2078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2079set dummy ${ac_tool_prefix}cc; ac_word=$2
2080echo "$as_me:$LINENO: checking for $ac_word" >&5
2081echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082if test "${ac_cv_prog_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2084else
2085 if test -n "$CC"; then
2086 ac_cv_prog_CC="$CC" # Let the user override the test.
2087else
2088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089for as_dir in $PATH
2090do
2091 IFS=$as_save_IFS
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_CC="${ac_tool_prefix}cc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 break 2
2098 fi
2099done
2100done
2101
2102fi
2103fi
2104CC=$ac_cv_prog_CC
2105if test -n "$CC"; then
2106 echo "$as_me:$LINENO: result: $CC" >&5
2107echo "${ECHO_T}$CC" >&6
2108else
2109 echo "$as_me:$LINENO: result: no" >&5
2110echo "${ECHO_T}no" >&6
2111fi
2112
2113fi
2114if test -z "$ac_cv_prog_CC"; then
2115 ac_ct_CC=$CC
2116 # Extract the first word of "cc", so it can be a program name with args.
2117set dummy cc; ac_word=$2
2118echo "$as_me:$LINENO: checking for $ac_word" >&5
2119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2120if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2122else
2123 if test -n "$ac_ct_CC"; then
2124 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2125else
2126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127for as_dir in $PATH
2128do
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 for ac_exec_ext in '' $ac_executable_extensions; do
2132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2133 ac_cv_prog_ac_ct_CC="cc"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 break 2
2136 fi
2137done
2138done
2139
2140fi
2141fi
2142ac_ct_CC=$ac_cv_prog_ac_ct_CC
2143if test -n "$ac_ct_CC"; then
2144 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2145echo "${ECHO_T}$ac_ct_CC" >&6
2146else
2147 echo "$as_me:$LINENO: result: no" >&5
2148echo "${ECHO_T}no" >&6
2149fi
2150
2151 CC=$ac_ct_CC
2152else
2153 CC="$ac_cv_prog_CC"
2154fi
2155
2156fi
2157if test -z "$CC"; then
2158 # Extract the first word of "cc", so it can be a program name with args.
2159set dummy cc; ac_word=$2
2160echo "$as_me:$LINENO: checking for $ac_word" >&5
2161echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2164else
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC="$CC" # Let the user override the test.
2167else
2168 ac_prog_rejected=no
2169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170for as_dir in $PATH
2171do
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2177 ac_prog_rejected=yes
2178 continue
2179 fi
2180 ac_cv_prog_CC="cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 break 2
2183 fi
2184done
2185done
2186
2187if test $ac_prog_rejected = yes; then
2188 # We found a bogon in the path, so make sure we never use it.
2189 set dummy $ac_cv_prog_CC
2190 shift
2191 if test $# != 0; then
2192 # We chose a different compiler from the bogus one.
2193 # However, it has the same basename, so the bogon will be chosen
2194 # first if we set CC to just the basename; use the full file name.
2195 shift
2196 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2197 fi
2198fi
2199fi
2200fi
2201CC=$ac_cv_prog_CC
2202if test -n "$CC"; then
2203 echo "$as_me:$LINENO: result: $CC" >&5
2204echo "${ECHO_T}$CC" >&6
2205else
2206 echo "$as_me:$LINENO: result: no" >&5
2207echo "${ECHO_T}no" >&6
2208fi
2209
2210fi
2211if test -z "$CC"; then
2212 if test -n "$ac_tool_prefix"; then
2213 for ac_prog in cl
2214 do
2215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2216set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2217echo "$as_me:$LINENO: checking for $ac_word" >&5
2218echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2221else
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2224else
2225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226for as_dir in $PATH
2227do
2228 IFS=$as_save_IFS
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 break 2
2235 fi
2236done
2237done
2238
2239fi
2240fi
2241CC=$ac_cv_prog_CC
2242if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244echo "${ECHO_T}$CC" >&6
2245else
2246 echo "$as_me:$LINENO: result: no" >&5
2247echo "${ECHO_T}no" >&6
2248fi
2249
2250 test -n "$CC" && break
2251 done
2252fi
2253if test -z "$CC"; then
2254 ac_ct_CC=$CC
2255 for ac_prog in cl
2256do
2257 # Extract the first word of "$ac_prog", so it can be a program name with args.
2258set dummy $ac_prog; ac_word=$2
2259echo "$as_me:$LINENO: checking for $ac_word" >&5
2260echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2263else
2264 if test -n "$ac_ct_CC"; then
2265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2266else
2267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268for as_dir in $PATH
2269do
2270 IFS=$as_save_IFS
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_ac_ct_CC="$ac_prog"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 break 2
2277 fi
2278done
2279done
2280
2281fi
2282fi
2283ac_ct_CC=$ac_cv_prog_ac_ct_CC
2284if test -n "$ac_ct_CC"; then
2285 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2286echo "${ECHO_T}$ac_ct_CC" >&6
2287else
2288 echo "$as_me:$LINENO: result: no" >&5
2289echo "${ECHO_T}no" >&6
2290fi
2291
2292 test -n "$ac_ct_CC" && break
2293done
2294
2295 CC=$ac_ct_CC
2296fi
2297
2298fi
2299
2300
2301test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2302See \`config.log' for more details." >&5
2303echo "$as_me: error: no acceptable C compiler found in \$PATH
2304See \`config.log' for more details." >&2;}
2305 { (exit 1); exit 1; }; }
2306
2307# Provide some information about the compiler.
2308echo "$as_me:$LINENO:" \
2309 "checking for C compiler version" >&5
2310ac_compiler=`set X $ac_compile; echo $2`
2311{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2312 (eval $ac_compiler --version </dev/null >&5) 2>&5
2313 ac_status=$?
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }
2316{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2317 (eval $ac_compiler -v </dev/null >&5) 2>&5
2318 ac_status=$?
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2321{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2322 (eval $ac_compiler -V </dev/null >&5) 2>&5
2323 ac_status=$?
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2326
2327cat >conftest.$ac_ext <<_ACEOF
2328/* confdefs.h. */
2329_ACEOF
2330cat confdefs.h >>conftest.$ac_ext
2331cat >>conftest.$ac_ext <<_ACEOF
2332/* end confdefs.h. */
2333
2334int
2335main ()
2336{
2337
2338 ;
2339 return 0;
2340}
2341_ACEOF
2342ac_clean_files_save=$ac_clean_files
2343ac_clean_files="$ac_clean_files a.out a.exe b.out"
2344# Try to create an executable without -o first, disregard a.out.
2345# It will help us diagnose broken compilers, and finding out an intuition
2346# of exeext.
2347echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2348echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2349ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2350if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2351 (eval $ac_link_default) 2>&5
2352 ac_status=$?
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; then
2355 # Find the output, starting from the most likely. This scheme is
2356# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2357# resort.
2358
2359# Be careful to initialize this variable, since it used to be cached.
2360# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2361ac_cv_exeext=
2362# b.out is created by i960 compilers.
2363for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2364do
2365 test -f "$ac_file" || continue
2366 case $ac_file in
2367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2368 ;;
2369 conftest.$ac_ext )
2370 # This is the source file.
2371 ;;
2372 [ab].out )
2373 # We found the default executable, but exeext='' is most
2374 # certainly right.
2375 break;;
2376 *.* )
2377 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2378 # FIXME: I believe we export ac_cv_exeext for Libtool,
2379 # but it would be cool to find out if it's true. Does anybody
2380 # maintain Libtool? --akim.
2381 export ac_cv_exeext
2382 break;;
2383 * )
2384 break;;
2385 esac
2386done
2387else
2388 echo "$as_me: failed program was:" >&5
2389sed 's/^/| /' conftest.$ac_ext >&5
2390
2391{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2392See \`config.log' for more details." >&5
2393echo "$as_me: error: C compiler cannot create executables
2394See \`config.log' for more details." >&2;}
2395 { (exit 77); exit 77; }; }
2396fi
2397
2398ac_exeext=$ac_cv_exeext
2399echo "$as_me:$LINENO: result: $ac_file" >&5
2400echo "${ECHO_T}$ac_file" >&6
2401
2402# Check the compiler produces executables we can run. If not, either
2403# the compiler is broken, or we cross compile.
2404echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2405echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2406# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2407# If not cross compiling, check that we can run a simple program.
2408if test "$cross_compiling" != yes; then
2409 if { ac_try='./$ac_file'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 (eval $ac_try) 2>&5
2412 ac_status=$?
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; }; then
2415 cross_compiling=no
2416 else
2417 if test "$cross_compiling" = maybe; then
2418 cross_compiling=yes
2419 else
2420 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2421If you meant to cross compile, use \`--host'.
2422See \`config.log' for more details." >&5
2423echo "$as_me: error: cannot run C compiled programs.
2424If you meant to cross compile, use \`--host'.
2425See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2427 fi
2428 fi
2429fi
2430echo "$as_me:$LINENO: result: yes" >&5
2431echo "${ECHO_T}yes" >&6
2432
2433rm -f a.out a.exe conftest$ac_cv_exeext b.out
2434ac_clean_files=$ac_clean_files_save
2435# Check the compiler produces executables we can run. If not, either
2436# the compiler is broken, or we cross compile.
2437echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2438echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2439echo "$as_me:$LINENO: result: $cross_compiling" >&5
2440echo "${ECHO_T}$cross_compiling" >&6
2441
2442echo "$as_me:$LINENO: checking for suffix of executables" >&5
2443echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445 (eval $ac_link) 2>&5
2446 ac_status=$?
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2450# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2451# work properly (i.e., refer to `conftest.exe'), while it won't with
2452# `rm'.
2453for ac_file in conftest.exe conftest conftest.*; do
2454 test -f "$ac_file" || continue
2455 case $ac_file in
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2457 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 export ac_cv_exeext
2459 break;;
2460 * ) break;;
2461 esac
2462done
2463else
2464 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2465See \`config.log' for more details." >&5
2466echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2467See \`config.log' for more details." >&2;}
2468 { (exit 1); exit 1; }; }
2469fi
2470
2471rm -f conftest$ac_cv_exeext
2472echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2473echo "${ECHO_T}$ac_cv_exeext" >&6
2474
2475rm -f conftest.$ac_ext
2476EXEEXT=$ac_cv_exeext
2477ac_exeext=$EXEEXT
2478echo "$as_me:$LINENO: checking for suffix of object files" >&5
2479echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2480if test "${ac_cv_objext+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482else
2483 cat >conftest.$ac_ext <<_ACEOF
2484/* confdefs.h. */
2485_ACEOF
2486cat confdefs.h >>conftest.$ac_ext
2487cat >>conftest.$ac_ext <<_ACEOF
2488/* end confdefs.h. */
2489
2490int
2491main ()
2492{
2493
2494 ;
2495 return 0;
2496}
2497_ACEOF
2498rm -f conftest.o conftest.obj
2499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 (eval $ac_compile) 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; then
2504 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2505 case $ac_file in
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2507 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2508 break;;
2509 esac
2510done
2511else
2512 echo "$as_me: failed program was:" >&5
2513sed 's/^/| /' conftest.$ac_ext >&5
2514
2515{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2516See \`config.log' for more details." >&5
2517echo "$as_me: error: cannot compute suffix of object files: cannot compile
2518See \`config.log' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2520fi
2521
2522rm -f conftest.$ac_cv_objext conftest.$ac_ext
2523fi
2524echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2525echo "${ECHO_T}$ac_cv_objext" >&6
2526OBJEXT=$ac_cv_objext
2527ac_objext=$OBJEXT
2528echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2529echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2530if test "${ac_cv_c_compiler_gnu+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532else
2533 cat >conftest.$ac_ext <<_ACEOF
2534/* confdefs.h. */
2535_ACEOF
2536cat confdefs.h >>conftest.$ac_ext
2537cat >>conftest.$ac_ext <<_ACEOF
2538/* end confdefs.h. */
2539
2540int
2541main ()
2542{
2543#ifndef __GNUC__
2544 choke me
2545#endif
2546
2547 ;
2548 return 0;
2549}
2550_ACEOF
2551rm -f conftest.$ac_objext
2552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2553 (eval $ac_compile) 2>conftest.er1
2554 ac_status=$?
2555 grep -v '^ *+' conftest.er1 >conftest.err
2556 rm -f conftest.er1
2557 cat conftest.err >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } &&
2560 { ac_try='test -z "$ac_c_werror_flag"
2561 || test ! -s conftest.err'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 (eval $ac_try) 2>&5
2564 ac_status=$?
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; } &&
2567 { ac_try='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 (eval $ac_try) 2>&5
2570 ac_status=$?
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2573 ac_compiler_gnu=yes
2574else
2575 echo "$as_me: failed program was:" >&5
2576sed 's/^/| /' conftest.$ac_ext >&5
2577
2578ac_compiler_gnu=no
2579fi
2580rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2581ac_cv_c_compiler_gnu=$ac_compiler_gnu
2582
2583fi
2584echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2585echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2586GCC=`test $ac_compiler_gnu = yes && echo yes`
2587ac_test_CFLAGS=${CFLAGS+set}
2588ac_save_CFLAGS=$CFLAGS
2589CFLAGS="-g"
2590echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2591echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2592if test "${ac_cv_prog_cc_g+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2594else
2595 cat >conftest.$ac_ext <<_ACEOF
2596/* confdefs.h. */
2597_ACEOF
2598cat confdefs.h >>conftest.$ac_ext
2599cat >>conftest.$ac_ext <<_ACEOF
2600/* end confdefs.h. */
2601
2602int
2603main ()
2604{
2605
2606 ;
2607 return 0;
2608}
2609_ACEOF
2610rm -f conftest.$ac_objext
2611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2613 ac_status=$?
2614 grep -v '^ *+' conftest.er1 >conftest.err
2615 rm -f conftest.er1
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag"
2620 || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 (eval $ac_try) 2>&5
2623 ac_status=$?
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 (eval $ac_try) 2>&5
2629 ac_status=$?
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 ac_cv_prog_cc_g=yes
2633else
2634 echo "$as_me: failed program was:" >&5
2635sed 's/^/| /' conftest.$ac_ext >&5
2636
2637ac_cv_prog_cc_g=no
2638fi
2639rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2640fi
2641echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2642echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2643if test "$ac_test_CFLAGS" = set; then
2644 CFLAGS=$ac_save_CFLAGS
2645elif test $ac_cv_prog_cc_g = yes; then
2646 if test "$GCC" = yes; then
2647 CFLAGS="-g -O2"
2648 else
2649 CFLAGS="-g"
2650 fi
2651else
2652 if test "$GCC" = yes; then
2653 CFLAGS="-O2"
2654 else
2655 CFLAGS=
2656 fi
2657fi
2658echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2659echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2660if test "${ac_cv_prog_cc_stdc+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2662else
2663 ac_cv_prog_cc_stdc=no
2664ac_save_CC=$CC
2665cat >conftest.$ac_ext <<_ACEOF
2666/* confdefs.h. */
2667_ACEOF
2668cat confdefs.h >>conftest.$ac_ext
2669cat >>conftest.$ac_ext <<_ACEOF
2670/* end confdefs.h. */
2671#include <stdarg.h>
2672#include <stdio.h>
2673#include <sys/types.h>
2674#include <sys/stat.h>
2675/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2676struct buf { int x; };
2677FILE * (*rcsopen) (struct buf *, struct stat *, int);
2678static char *e (p, i)
2679 char **p;
2680 int i;
2681{
2682 return p[i];
2683}
2684static char *f (char * (*g) (char **, int), char **p, ...)
2685{
2686 char *s;
2687 va_list v;
2688 va_start (v,p);
2689 s = g (p, va_arg (v,int));
2690 va_end (v);
2691 return s;
2692}
2693
2694/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2695 function prototypes and stuff, but not '\xHH' hex character constants.
2696 These don't provoke an error unfortunately, instead are silently treated
2697 as 'x'. The following induces an error, until -std1 is added to get
2698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2699 array size at least. It's necessary to write '\x00'==0 to get something
2700 that's true only with -std1. */
2701int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2702
2703int test (int i, double x);
2704struct s1 {int (*f) (int a);};
2705struct s2 {int (*f) (double a);};
2706int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2707int argc;
2708char **argv;
2709int
2710main ()
2711{
2712return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2713 ;
2714 return 0;
2715}
2716_ACEOF
2717# Don't try gcc -ansi; that turns off useful extensions and
2718# breaks some systems' header files.
2719# AIX -qlanglvl=ansi
2720# Ultrix and OSF/1 -std1
2721# HP-UX 10.20 and later -Ae
2722# HP-UX older versions -Aa -D_HPUX_SOURCE
2723# SVR4 -Xc -D__EXTENSIONS__
2724for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2725do
2726 CC="$ac_save_CC $ac_arg"
2727 rm -f conftest.$ac_objext
2728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729 (eval $ac_compile) 2>conftest.er1
2730 ac_status=$?
2731 grep -v '^ *+' conftest.er1 >conftest.err
2732 rm -f conftest.er1
2733 cat conftest.err >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try='test -z "$ac_c_werror_flag"
2737 || test ! -s conftest.err'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 (eval $ac_try) 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; } &&
2743 { ac_try='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 (eval $ac_try) 2>&5
2746 ac_status=$?
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2749 ac_cv_prog_cc_stdc=$ac_arg
2750break
2751else
2752 echo "$as_me: failed program was:" >&5
2753sed 's/^/| /' conftest.$ac_ext >&5
2754
2755fi
2756rm -f conftest.err conftest.$ac_objext
2757done
2758rm -f conftest.$ac_ext conftest.$ac_objext
2759CC=$ac_save_CC
2760
2761fi
2762
2763case "x$ac_cv_prog_cc_stdc" in
2764 x|xno)
2765 echo "$as_me:$LINENO: result: none needed" >&5
2766echo "${ECHO_T}none needed" >&6 ;;
2767 *)
2768 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2769echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2770 CC="$CC $ac_cv_prog_cc_stdc" ;;
2771esac
2772
2773# Some people use a C++ compiler to compile C. Since we use `exit',
2774# in C++ we need to declare it. In case someone uses the same compiler
2775# for both compiling C and C++ we need to have the C++ compiler decide
2776# the declaration of exit, since it's the most demanding environment.
2777cat >conftest.$ac_ext <<_ACEOF
2778#ifndef __cplusplus
2779 choke me
2780#endif
2781_ACEOF
2782rm -f conftest.$ac_objext
2783if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2784 (eval $ac_compile) 2>conftest.er1
2785 ac_status=$?
2786 grep -v '^ *+' conftest.er1 >conftest.err
2787 rm -f conftest.er1
2788 cat conftest.err >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } &&
2791 { ac_try='test -z "$ac_c_werror_flag"
2792 || test ! -s conftest.err'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 (eval $ac_try) 2>&5
2795 ac_status=$?
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; } &&
2798 { ac_try='test -s conftest.$ac_objext'
2799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 (eval $ac_try) 2>&5
2801 ac_status=$?
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2804 for ac_declaration in \
2805 '' \
2806 'extern "C" void std::exit (int) throw (); using std::exit;' \
2807 'extern "C" void std::exit (int); using std::exit;' \
2808 'extern "C" void exit (int) throw ();' \
2809 'extern "C" void exit (int);' \
2810 'void exit (int);'
2811do
2812 cat >conftest.$ac_ext <<_ACEOF
2813/* confdefs.h. */
2814_ACEOF
2815cat confdefs.h >>conftest.$ac_ext
2816cat >>conftest.$ac_ext <<_ACEOF
2817/* end confdefs.h. */
2818$ac_declaration
2819#include <stdlib.h>
2820int
2821main ()
2822{
2823exit (42);
2824 ;
2825 return 0;
2826}
2827_ACEOF
2828rm -f conftest.$ac_objext
2829if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_c_werror_flag"
2838 || test ! -s conftest.err'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 (eval $ac_try) 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 (eval $ac_try) 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2850 :
2851else
2852 echo "$as_me: failed program was:" >&5
2853sed 's/^/| /' conftest.$ac_ext >&5
2854
2855continue
2856fi
2857rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2858 cat >conftest.$ac_ext <<_ACEOF
2859/* confdefs.h. */
2860_ACEOF
2861cat confdefs.h >>conftest.$ac_ext
2862cat >>conftest.$ac_ext <<_ACEOF
2863/* end confdefs.h. */
2864$ac_declaration
2865int
2866main ()
2867{
2868exit (42);
2869 ;
2870 return 0;
2871}
2872_ACEOF
2873rm -f conftest.$ac_objext
2874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2876 ac_status=$?
2877 grep -v '^ *+' conftest.er1 >conftest.err
2878 rm -f conftest.er1
2879 cat conftest.err >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try='test -z "$ac_c_werror_flag"
2883 || test ! -s conftest.err'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 (eval $ac_try) 2>&5
2886 ac_status=$?
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; } &&
2889 { ac_try='test -s conftest.$ac_objext'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2895 break
2896else
2897 echo "$as_me: failed program was:" >&5
2898sed 's/^/| /' conftest.$ac_ext >&5
2899
2900fi
2901rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2902done
2903rm -f conftest*
2904if test -n "$ac_declaration"; then
2905 echo '#ifdef __cplusplus' >>confdefs.h
2906 echo $ac_declaration >>confdefs.h
2907 echo '#endif' >>confdefs.h
2908fi
2909
2910else
2911 echo "$as_me: failed program was:" >&5
2912sed 's/^/| /' conftest.$ac_ext >&5
2913
2914fi
2915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2916ac_ext=c
2917ac_cpp='$CPP $CPPFLAGS'
2918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2920ac_compiler_gnu=$ac_cv_c_compiler_gnu
2921DEPDIR="${am__leading_dot}deps"
2922
2923 ac_config_commands="$ac_config_commands depfiles"
2924
2925
2926am_make=${MAKE-make}
2927cat > confinc << 'END'
2928am__doit:
2929 @echo done
2930.PHONY: am__doit
2931END
2932# If we don't find an include directive, just comment out the code.
2933echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2934echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2935am__include="#"
2936am__quote=
2937_am_result=none
2938# First try GNU make style include.
2939echo "include confinc" > confmf
2940# We grep out `Entering directory' and `Leaving directory'
2941# messages which can occur if `w' ends up in MAKEFLAGS.
2942# In particular we don't look at `^make:' because GNU make might
2943# be invoked under some other name (usually "gmake"), in which
2944# case it prints its new name instead of `make'.
2945if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2946 am__include=include
2947 am__quote=
2948 _am_result=GNU
2949fi
2950# Now try BSD make style include.
2951if test "$am__include" = "#"; then
2952 echo '.include "confinc"' > confmf
2953 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2954 am__include=.include
2955 am__quote="\""
2956 _am_result=BSD
2957 fi
2958fi
2959
2960
2961echo "$as_me:$LINENO: result: $_am_result" >&5
2962echo "${ECHO_T}$_am_result" >&6
2963rm -f confinc confmf
2964
2965# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2966if test "${enable_dependency_tracking+set}" = set; then
2967 enableval="$enable_dependency_tracking"
2968
2969fi;
2970if test "x$enable_dependency_tracking" != xno; then
2971 am_depcomp="$ac_aux_dir/depcomp"
2972 AMDEPBACKSLASH='\'
2973fi
2974
2975
2976if test "x$enable_dependency_tracking" != xno; then
2977 AMDEP_TRUE=
2978 AMDEP_FALSE='#'
2979else
2980 AMDEP_TRUE='#'
2981 AMDEP_FALSE=
2982fi
2983
2984
2985
2986
2987depcc="$CC" am_compiler_list=
2988
2989echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2990echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2991if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2993else
2994 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2995 # We make a subdir and do the tests there. Otherwise we can end up
2996 # making bogus files that we don't know about and never remove. For
2997 # instance it was reported that on HP-UX the gcc test will end up
2998 # making a dummy file named `D' -- because `-MD' means `put the output
2999 # in D'.
3000 mkdir conftest.dir
3001 # Copy depcomp to subdir because otherwise we won't find it if we're
3002 # using a relative directory.
3003 cp "$am_depcomp" conftest.dir
3004 cd conftest.dir
3005 # We will build objects and dependencies in a subdirectory because
3006 # it helps to detect inapplicable dependency modes. For instance
3007 # both Tru64's cc and ICC support -MD to output dependencies as a
3008 # side effect of compilation, but ICC will put the dependencies in
3009 # the current directory while Tru64 will put them in the object
3010 # directory.
3011 mkdir sub
3012
3013 am_cv_CC_dependencies_compiler_type=none
3014 if test "$am_compiler_list" = ""; then
3015 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3016 fi
3017 for depmode in $am_compiler_list; do
3018 # Setup a source with many dependencies, because some compilers
3019 # like to wrap large dependency lists on column 80 (with \), and
3020 # we should not choose a depcomp mode which is confused by this.
3021 #
3022 # We need to recreate these files for each test, as the compiler may
3023 # overwrite some of them when testing with obscure command lines.
3024 # This happens at least with the AIX C compiler.
3025 : > sub/conftest.c
3026 for i in 1 2 3 4 5 6; do
3027 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3028 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3029 # Solaris 8's {/usr,}/bin/sh.
3030 touch sub/conftst$i.h
3031 done
3032 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3033
3034 case $depmode in
3035 nosideeffect)
3036 # after this tag, mechanisms are not by side-effect, so they'll
3037 # only be used when explicitly requested
3038 if test "x$enable_dependency_tracking" = xyes; then
3039 continue
3040 else
3041 break
3042 fi
3043 ;;
3044 none) break ;;
3045 esac
3046 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3047 # mode. It turns out that the SunPro C++ compiler does not properly
3048 # handle `-M -o', and we need to detect this.
3049 if depmode=$depmode \
3050 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3051 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3052 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3053 >/dev/null 2>conftest.err &&
3054 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3055 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3056 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3057 # icc doesn't choke on unknown options, it will just issue warnings
3058 # or remarks (even with -Werror). So we grep stderr for any message
3059 # that says an option was ignored or not supported.
3060 # When given -MP, icc 7.0 and 7.1 complain thusly:
3061 # icc: Command line warning: ignoring option '-M'; no argument required
3062 # The diagnosis changed in icc 8.0:
3063 # icc: Command line remark: option '-MP' not supported
3064 if (grep 'ignoring option' conftest.err ||
3065 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3066 am_cv_CC_dependencies_compiler_type=$depmode
3067 break
3068 fi
3069 fi
3070 done
3071
3072 cd ..
3073 rm -rf conftest.dir
3074else
3075 am_cv_CC_dependencies_compiler_type=none
3076fi
3077
3078fi
3079echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3080echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3081CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3082
3083
3084
3085if
3086 test "x$enable_dependency_tracking" != xno \
3087 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3088 am__fastdepCC_TRUE=
3089 am__fastdepCC_FALSE='#'
3090else
3091 am__fastdepCC_TRUE='#'
3092 am__fastdepCC_FALSE=
3093fi
3094
3095
3096ac_ext=cc
3097ac_cpp='$CXXCPP $CPPFLAGS'
3098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3101if test -n "$ac_tool_prefix"; then
3102 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3103 do
3104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3105set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3106echo "$as_me:$LINENO: checking for $ac_word" >&5
3107echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108if test "${ac_cv_prog_CXX+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110else
3111 if test -n "$CXX"; then
3112 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3113else
3114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115for as_dir in $PATH
3116do
3117 IFS=$as_save_IFS
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 break 2
3124 fi
3125done
3126done
3127
3128fi
3129fi
3130CXX=$ac_cv_prog_CXX
3131if test -n "$CXX"; then
3132 echo "$as_me:$LINENO: result: $CXX" >&5
3133echo "${ECHO_T}$CXX" >&6
3134else
3135 echo "$as_me:$LINENO: result: no" >&5
3136echo "${ECHO_T}no" >&6
3137fi
3138
3139 test -n "$CXX" && break
3140 done
3141fi
3142if test -z "$CXX"; then
3143 ac_ct_CXX=$CXX
3144 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3145do
3146 # Extract the first word of "$ac_prog", so it can be a program name with args.
3147set dummy $ac_prog; ac_word=$2
3148echo "$as_me:$LINENO: checking for $ac_word" >&5
3149echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3152else
3153 if test -n "$ac_ct_CXX"; then
3154 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3155else
3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157for as_dir in $PATH
3158do
3159 IFS=$as_save_IFS
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_ac_ct_CXX="$ac_prog"
3164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 break 2
3166 fi
3167done
3168done
3169
3170fi
3171fi
3172ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3173if test -n "$ac_ct_CXX"; then
3174 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3175echo "${ECHO_T}$ac_ct_CXX" >&6
3176else
3177 echo "$as_me:$LINENO: result: no" >&5
3178echo "${ECHO_T}no" >&6
3179fi
3180
3181 test -n "$ac_ct_CXX" && break
3182done
3183test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3184
3185 CXX=$ac_ct_CXX
3186fi
3187
3188
3189# Provide some information about the compiler.
3190echo "$as_me:$LINENO:" \
3191 "checking for C++ compiler version" >&5
3192ac_compiler=`set X $ac_compile; echo $2`
3193{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3194 (eval $ac_compiler --version </dev/null >&5) 2>&5
3195 ac_status=$?
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }
3198{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3199 (eval $ac_compiler -v </dev/null >&5) 2>&5
3200 ac_status=$?
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }
3203{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3204 (eval $ac_compiler -V </dev/null >&5) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }
3208
3209echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3210echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3211if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3213else
3214 cat >conftest.$ac_ext <<_ACEOF
3215/* confdefs.h. */
3216_ACEOF
3217cat confdefs.h >>conftest.$ac_ext
3218cat >>conftest.$ac_ext <<_ACEOF
3219/* end confdefs.h. */
3220
3221int
3222main ()
3223{
3224#ifndef __GNUC__
3225 choke me
3226#endif
3227
3228 ;
3229 return 0;
3230}
3231_ACEOF
3232rm -f conftest.$ac_objext
3233if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3234 (eval $ac_compile) 2>conftest.er1
3235 ac_status=$?
3236 grep -v '^ *+' conftest.er1 >conftest.err
3237 rm -f conftest.er1
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } &&
3241 { ac_try='test -z "$ac_cxx_werror_flag"
3242 || test ! -s conftest.err'
3243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3244 (eval $ac_try) 2>&5
3245 ac_status=$?
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; } &&
3248 { ac_try='test -s conftest.$ac_objext'
3249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 (eval $ac_try) 2>&5
3251 ac_status=$?
3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253 (exit $ac_status); }; }; then
3254 ac_compiler_gnu=yes
3255else
3256 echo "$as_me: failed program was:" >&5
3257sed 's/^/| /' conftest.$ac_ext >&5
3258
3259ac_compiler_gnu=no
3260fi
3261rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3262ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3263
3264fi
3265echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3266echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3267GXX=`test $ac_compiler_gnu = yes && echo yes`
3268ac_test_CXXFLAGS=${CXXFLAGS+set}
3269ac_save_CXXFLAGS=$CXXFLAGS
3270CXXFLAGS="-g"
3271echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3272echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3273if test "${ac_cv_prog_cxx_g+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3275else
3276 cat >conftest.$ac_ext <<_ACEOF
3277/* confdefs.h. */
3278_ACEOF
3279cat confdefs.h >>conftest.$ac_ext
3280cat >>conftest.$ac_ext <<_ACEOF
3281/* end confdefs.h. */
3282
3283int
3284main ()
3285{
3286
3287 ;
3288 return 0;
3289}
3290_ACEOF
3291rm -f conftest.$ac_objext
3292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3293 (eval $ac_compile) 2>conftest.er1
3294 ac_status=$?
3295 grep -v '^ *+' conftest.er1 >conftest.err
3296 rm -f conftest.er1
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try='test -z "$ac_cxx_werror_flag"
3301 || test ! -s conftest.err'
3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 (eval $ac_try) 2>&5
3304 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; } &&
3307 { ac_try='test -s conftest.$ac_objext'
3308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309 (eval $ac_try) 2>&5
3310 ac_status=$?
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3313 ac_cv_prog_cxx_g=yes
3314else
3315 echo "$as_me: failed program was:" >&5
3316sed 's/^/| /' conftest.$ac_ext >&5
3317
3318ac_cv_prog_cxx_g=no
3319fi
3320rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3321fi
3322echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3323echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3324if test "$ac_test_CXXFLAGS" = set; then
3325 CXXFLAGS=$ac_save_CXXFLAGS
3326elif test $ac_cv_prog_cxx_g = yes; then
3327 if test "$GXX" = yes; then
3328 CXXFLAGS="-g -O2"
3329 else
3330 CXXFLAGS="-g"
3331 fi
3332else
3333 if test "$GXX" = yes; then
3334 CXXFLAGS="-O2"
3335 else
3336 CXXFLAGS=
3337 fi
3338fi
3339for ac_declaration in \
3340 '' \
3341 'extern "C" void std::exit (int) throw (); using std::exit;' \
3342 'extern "C" void std::exit (int); using std::exit;' \
3343 'extern "C" void exit (int) throw ();' \
3344 'extern "C" void exit (int);' \
3345 'void exit (int);'
3346do
3347 cat >conftest.$ac_ext <<_ACEOF
3348/* confdefs.h. */
3349_ACEOF
3350cat confdefs.h >>conftest.$ac_ext
3351cat >>conftest.$ac_ext <<_ACEOF
3352/* end confdefs.h. */
3353$ac_declaration
3354#include <stdlib.h>
3355int
3356main ()
3357{
3358exit (42);
3359 ;
3360 return 0;
3361}
3362_ACEOF
3363rm -f conftest.$ac_objext
3364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3365 (eval $ac_compile) 2>conftest.er1
3366 ac_status=$?
3367 grep -v '^ *+' conftest.er1 >conftest.err
3368 rm -f conftest.er1
3369 cat conftest.err >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } &&
3372 { ac_try='test -z "$ac_cxx_werror_flag"
3373 || test ! -s conftest.err'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 (eval $ac_try) 2>&5
3376 ac_status=$?
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; } &&
3379 { ac_try='test -s conftest.$ac_objext'
3380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 (eval $ac_try) 2>&5
3382 ac_status=$?
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); }; }; then
3385 :
3386else
3387 echo "$as_me: failed program was:" >&5
3388sed 's/^/| /' conftest.$ac_ext >&5
3389
3390continue
3391fi
3392rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3393 cat >conftest.$ac_ext <<_ACEOF
3394/* confdefs.h. */
3395_ACEOF
3396cat confdefs.h >>conftest.$ac_ext
3397cat >>conftest.$ac_ext <<_ACEOF
3398/* end confdefs.h. */
3399$ac_declaration
3400int
3401main ()
3402{
3403exit (42);
3404 ;
3405 return 0;
3406}
3407_ACEOF
3408rm -f conftest.$ac_objext
3409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3410 (eval $ac_compile) 2>conftest.er1
3411 ac_status=$?
3412 grep -v '^ *+' conftest.er1 >conftest.err
3413 rm -f conftest.er1
3414 cat conftest.err >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } &&
3417 { ac_try='test -z "$ac_cxx_werror_flag"
3418 || test ! -s conftest.err'
3419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 (eval $ac_try) 2>&5
3421 ac_status=$?
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); }; } &&
3424 { ac_try='test -s conftest.$ac_objext'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 (eval $ac_try) 2>&5
3427 ac_status=$?
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; }; then
3430 break
3431else
3432 echo "$as_me: failed program was:" >&5
3433sed 's/^/| /' conftest.$ac_ext >&5
3434
3435fi
3436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3437done
3438rm -f conftest*
3439if test -n "$ac_declaration"; then
3440 echo '#ifdef __cplusplus' >>confdefs.h
3441 echo $ac_declaration >>confdefs.h
3442 echo '#endif' >>confdefs.h
3443fi
3444
3445ac_ext=c
3446ac_cpp='$CPP $CPPFLAGS'
3447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450
3451depcc="$CXX" am_compiler_list=
3452
3453echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3454echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3455if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3457else
3458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3459 # We make a subdir and do the tests there. Otherwise we can end up
3460 # making bogus files that we don't know about and never remove. For
3461 # instance it was reported that on HP-UX the gcc test will end up
3462 # making a dummy file named `D' -- because `-MD' means `put the output
3463 # in D'.
3464 mkdir conftest.dir
3465 # Copy depcomp to subdir because otherwise we won't find it if we're
3466 # using a relative directory.
3467 cp "$am_depcomp" conftest.dir
3468 cd conftest.dir
3469 # We will build objects and dependencies in a subdirectory because
3470 # it helps to detect inapplicable dependency modes. For instance
3471 # both Tru64's cc and ICC support -MD to output dependencies as a
3472 # side effect of compilation, but ICC will put the dependencies in
3473 # the current directory while Tru64 will put them in the object
3474 # directory.
3475 mkdir sub
3476
3477 am_cv_CXX_dependencies_compiler_type=none
3478 if test "$am_compiler_list" = ""; then
3479 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3480 fi
3481 for depmode in $am_compiler_list; do
3482 # Setup a source with many dependencies, because some compilers
3483 # like to wrap large dependency lists on column 80 (with \), and
3484 # we should not choose a depcomp mode which is confused by this.
3485 #
3486 # We need to recreate these files for each test, as the compiler may
3487 # overwrite some of them when testing with obscure command lines.
3488 # This happens at least with the AIX C compiler.
3489 : > sub/conftest.c
3490 for i in 1 2 3 4 5 6; do
3491 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3492 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3493 # Solaris 8's {/usr,}/bin/sh.
3494 touch sub/conftst$i.h
3495 done
3496 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3497
3498 case $depmode in
3499 nosideeffect)
3500 # after this tag, mechanisms are not by side-effect, so they'll
3501 # only be used when explicitly requested
3502 if test "x$enable_dependency_tracking" = xyes; then
3503 continue
3504 else
3505 break
3506 fi
3507 ;;
3508 none) break ;;
3509 esac
3510 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3511 # mode. It turns out that the SunPro C++ compiler does not properly
3512 # handle `-M -o', and we need to detect this.
3513 if depmode=$depmode \
3514 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3515 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3516 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3517 >/dev/null 2>conftest.err &&
3518 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3519 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3520 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3521 # icc doesn't choke on unknown options, it will just issue warnings
3522 # or remarks (even with -Werror). So we grep stderr for any message
3523 # that says an option was ignored or not supported.
3524 # When given -MP, icc 7.0 and 7.1 complain thusly:
3525 # icc: Command line warning: ignoring option '-M'; no argument required
3526 # The diagnosis changed in icc 8.0:
3527 # icc: Command line remark: option '-MP' not supported
3528 if (grep 'ignoring option' conftest.err ||
3529 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3530 am_cv_CXX_dependencies_compiler_type=$depmode
3531 break
3532 fi
3533 fi
3534 done
3535
3536 cd ..
3537 rm -rf conftest.dir
3538else
3539 am_cv_CXX_dependencies_compiler_type=none
3540fi
3541
3542fi
3543echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3544echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3545CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3546
3547
3548
3549if
3550 test "x$enable_dependency_tracking" != xno \
3551 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3552 am__fastdepCXX_TRUE=
3553 am__fastdepCXX_FALSE='#'
3554else
3555 am__fastdepCXX_TRUE='#'
3556 am__fastdepCXX_FALSE=
3557fi
3558
3559
dbe717ef
ILT
3560for ac_prog in 'bison -y' byacc
3561do
3562 # Extract the first word of "$ac_prog", so it can be a program name with args.
3563set dummy $ac_prog; ac_word=$2
3564echo "$as_me:$LINENO: checking for $ac_word" >&5
3565echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3566if test "${ac_cv_prog_YACC+set}" = set; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3568else
3569 if test -n "$YACC"; then
3570 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3571else
3572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573for as_dir in $PATH
3574do
3575 IFS=$as_save_IFS
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_YACC="$ac_prog"
3580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 break 2
3582 fi
3583done
3584done
3585
3586fi
3587fi
3588YACC=$ac_cv_prog_YACC
3589if test -n "$YACC"; then
3590 echo "$as_me:$LINENO: result: $YACC" >&5
3591echo "${ECHO_T}$YACC" >&6
3592else
3593 echo "$as_me:$LINENO: result: no" >&5
3594echo "${ECHO_T}no" >&6
3595fi
3596
3597 test -n "$YACC" && break
3598done
3599test -n "$YACC" || YACC="yacc"
3600
5a6f7e2d
ILT
3601if test -n "$ac_tool_prefix"; then
3602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3603set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3604echo "$as_me:$LINENO: checking for $ac_word" >&5
3605echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3606if test "${ac_cv_prog_RANLIB+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3608else
3609 if test -n "$RANLIB"; then
3610 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3611else
3612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613for as_dir in $PATH
3614do
3615 IFS=$as_save_IFS
3616 test -z "$as_dir" && as_dir=.
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 break 2
3622 fi
3623done
3624done
3625
3626fi
3627fi
3628RANLIB=$ac_cv_prog_RANLIB
3629if test -n "$RANLIB"; then
3630 echo "$as_me:$LINENO: result: $RANLIB" >&5
3631echo "${ECHO_T}$RANLIB" >&6
3632else
3633 echo "$as_me:$LINENO: result: no" >&5
3634echo "${ECHO_T}no" >&6
3635fi
3636
3637fi
3638if test -z "$ac_cv_prog_RANLIB"; then
3639 ac_ct_RANLIB=$RANLIB
3640 # Extract the first word of "ranlib", so it can be a program name with args.
3641set dummy ranlib; ac_word=$2
3642echo "$as_me:$LINENO: checking for $ac_word" >&5
3643echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3644if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3646else
3647 if test -n "$ac_ct_RANLIB"; then
3648 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3649else
3650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651for as_dir in $PATH
3652do
3653 IFS=$as_save_IFS
3654 test -z "$as_dir" && as_dir=.
3655 for ac_exec_ext in '' $ac_executable_extensions; do
3656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3657 ac_cv_prog_ac_ct_RANLIB="ranlib"
3658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 break 2
3660 fi
3661done
3662done
3663
3664 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3665fi
3666fi
3667ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3668if test -n "$ac_ct_RANLIB"; then
3669 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3670echo "${ECHO_T}$ac_ct_RANLIB" >&6
3671else
3672 echo "$as_me:$LINENO: result: no" >&5
3673echo "${ECHO_T}no" >&6
3674fi
3675
3676 RANLIB=$ac_ct_RANLIB
3677else
3678 RANLIB="$ac_cv_prog_RANLIB"
3679fi
3680
bae7f79e
ILT
3681# Find a good install program. We prefer a C program (faster),
3682# so one script is as good as another. But avoid the broken or
3683# incompatible versions:
3684# SysV /etc/install, /usr/sbin/install
3685# SunOS /usr/etc/install
3686# IRIX /sbin/install
3687# AIX /bin/install
3688# AmigaOS /C/install, which installs bootblocks on floppy discs
3689# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3690# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3691# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3692# OS/2's system install, which has a completely different semantic
3693# ./install, which can be erroneously created by make from ./install.sh.
3694echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3695echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3696if test -z "$INSTALL"; then
3697if test "${ac_cv_path_install+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699else
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701for as_dir in $PATH
3702do
3703 IFS=$as_save_IFS
3704 test -z "$as_dir" && as_dir=.
3705 # Account for people who put trailing slashes in PATH elements.
3706case $as_dir/ in
3707 ./ | .// | /cC/* | \
3708 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3709 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3710 /usr/ucb/* ) ;;
3711 *)
3712 # OSF1 and SCO ODT 3.0 have their own names for install.
3713 # Don't use installbsd from OSF since it installs stuff as root
3714 # by default.
3715 for ac_prog in ginstall scoinst install; do
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3718 if test $ac_prog = install &&
3719 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3720 # AIX install. It has an incompatible calling convention.
3721 :
3722 elif test $ac_prog = install &&
3723 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3724 # program-specific install script used by HP pwplus--don't use.
3725 :
3726 else
3727 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3728 break 3
3729 fi
3730 fi
3731 done
3732 done
3733 ;;
3734esac
3735done
3736
3737
3738fi
3739 if test "${ac_cv_path_install+set}" = set; then
3740 INSTALL=$ac_cv_path_install
3741 else
3742 # As a last resort, use the slow shell script. We don't cache a
3743 # path for INSTALL within a source directory, because that will
3744 # break other packages using the cache if that directory is
3745 # removed, or if the path is relative.
3746 INSTALL=$ac_install_sh
3747 fi
3748fi
3749echo "$as_me:$LINENO: result: $INSTALL" >&5
3750echo "${ECHO_T}$INSTALL" >&6
3751
3752# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3753# It thinks the first close brace ends the variable substitution.
3754test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3755
3756test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3757
3758test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3759
537b5f51
ILT
3760echo "$as_me:$LINENO: checking whether ln -s works" >&5
3761echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3762LN_S=$as_ln_s
3763if test "$LN_S" = "ln -s"; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765echo "${ECHO_T}yes" >&6
3766else
3767 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3768echo "${ECHO_T}no, using $LN_S" >&6
3769fi
3770
bae7f79e
ILT
3771# If we haven't got the data from the intl directory,
3772# assume NLS is disabled.
3773USE_NLS=no
3774LIBINTL=
3775LIBINTL_DEP=
3776INCINTL=
3777XGETTEXT=
3778GMSGFMT=
3779POSUB=
3780
3781if test -f ../intl/config.intl; then
3782 . ../intl/config.intl
3783fi
3784echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3785echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3786if test x"$USE_NLS" != xyes; then
3787 echo "$as_me:$LINENO: result: no" >&5
3788echo "${ECHO_T}no" >&6
3789else
3790 echo "$as_me:$LINENO: result: yes" >&5
3791echo "${ECHO_T}yes" >&6
3792
3793cat >>confdefs.h <<\_ACEOF
3794#define ENABLE_NLS 1
3795_ACEOF
3796
3797
3798 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3799echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3800 # Look for .po and .gmo files in the source directory.
3801 CATALOGS=
3802 XLINGUAS=
3803 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
3804 # If there aren't any .gmo files the shell will give us the
3805 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3806 # weeded out.
3807 case "$cat" in *\**)
3808 continue;;
3809 esac
3810 # The quadruple backslash is collapsed to a double backslash
3811 # by the backticks, then collapsed again by the double quotes,
3812 # leaving us with one backslash in the sed expression (right
3813 # before the dot that mustn't act as a wildcard).
3814 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3815 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
3816 # The user is allowed to set LINGUAS to a list of languages to
3817 # install catalogs for. If it's empty that means "all of them."
3818 if test "x$LINGUAS" = x; then
3819 CATALOGS="$CATALOGS $cat"
3820 XLINGUAS="$XLINGUAS $lang"
3821 else
3822 case "$LINGUAS" in *$lang*)
3823 CATALOGS="$CATALOGS $cat"
3824 XLINGUAS="$XLINGUAS $lang"
3825 ;;
3826 esac
3827 fi
3828 done
3829 LINGUAS="$XLINGUAS"
3830 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3831echo "${ECHO_T}$LINGUAS" >&6
3832
3833
3834 DATADIRNAME=share
3835
3836 INSTOBJEXT=.mo
3837
3838 GENCAT=gencat
3839
3840 CATOBJEXT=.gmo
3841
3842fi
3843
3844 MKINSTALLDIRS=
3845 if test -n "$ac_aux_dir"; then
3846 case "$ac_aux_dir" in
3847 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3848 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3849 esac
3850 fi
3851 if test -z "$MKINSTALLDIRS"; then
3852 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3853 fi
3854
3855
3856
3857 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3858echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3859 # Check whether --enable-nls or --disable-nls was given.
3860if test "${enable_nls+set}" = set; then
3861 enableval="$enable_nls"
3862 USE_NLS=$enableval
3863else
3864 USE_NLS=yes
3865fi;
3866 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3867echo "${ECHO_T}$USE_NLS" >&6
3868
3869
3870
3871
3872
3873
3874# Prepare PATH_SEPARATOR.
3875# The user is always right.
3876if test "${PATH_SEPARATOR+set}" != set; then
3877 echo "#! /bin/sh" >conf$$.sh
3878 echo "exit 0" >>conf$$.sh
3879 chmod +x conf$$.sh
3880 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3881 PATH_SEPARATOR=';'
3882 else
3883 PATH_SEPARATOR=:
3884 fi
3885 rm -f conf$$.sh
3886fi
3887
3888# Find out how to test for executable files. Don't use a zero-byte file,
3889# as systems may use methods other than mode bits to determine executability.
3890cat >conf$$.file <<_ASEOF
3891#! /bin/sh
3892exit 0
3893_ASEOF
3894chmod +x conf$$.file
3895if test -x conf$$.file >/dev/null 2>&1; then
3896 ac_executable_p="test -x"
3897else
3898 ac_executable_p="test -f"
3899fi
3900rm -f conf$$.file
3901
3902# Extract the first word of "msgfmt", so it can be a program name with args.
3903set dummy msgfmt; ac_word=$2
3904echo "$as_me:$LINENO: checking for $ac_word" >&5
3905echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3906if test "${ac_cv_path_MSGFMT+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3908else
3909 case "$MSGFMT" in
3910 [\\/]* | ?:[\\/]*)
3911 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3912 ;;
3913 *)
3914 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3915 for ac_dir in $PATH; do
3916 IFS="$ac_save_IFS"
3917 test -z "$ac_dir" && ac_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3920 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3921 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3922 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3923 break 2
3924 fi
3925 fi
3926 done
3927 done
3928 IFS="$ac_save_IFS"
3929 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3930 ;;
3931esac
3932fi
3933MSGFMT="$ac_cv_path_MSGFMT"
3934if test "$MSGFMT" != ":"; then
3935 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3936echo "${ECHO_T}$MSGFMT" >&6
3937else
3938 echo "$as_me:$LINENO: result: no" >&5
3939echo "${ECHO_T}no" >&6
3940fi
3941
3942 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3943set dummy gmsgfmt; ac_word=$2
3944echo "$as_me:$LINENO: checking for $ac_word" >&5
3945echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946if test "${ac_cv_path_GMSGFMT+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948else
3949 case $GMSGFMT in
3950 [\\/]* | ?:[\\/]*)
3951 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3952 ;;
3953 *)
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955for as_dir in $PATH
3956do
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 break 2
3964 fi
3965done
3966done
3967
3968 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3969 ;;
3970esac
3971fi
3972GMSGFMT=$ac_cv_path_GMSGFMT
3973
3974if test -n "$GMSGFMT"; then
3975 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3976echo "${ECHO_T}$GMSGFMT" >&6
3977else
3978 echo "$as_me:$LINENO: result: no" >&5
3979echo "${ECHO_T}no" >&6
3980fi
3981
3982
3983
3984# Prepare PATH_SEPARATOR.
3985# The user is always right.
3986if test "${PATH_SEPARATOR+set}" != set; then
3987 echo "#! /bin/sh" >conf$$.sh
3988 echo "exit 0" >>conf$$.sh
3989 chmod +x conf$$.sh
3990 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3991 PATH_SEPARATOR=';'
3992 else
3993 PATH_SEPARATOR=:
3994 fi
3995 rm -f conf$$.sh
3996fi
3997
3998# Find out how to test for executable files. Don't use a zero-byte file,
3999# as systems may use methods other than mode bits to determine executability.
4000cat >conf$$.file <<_ASEOF
4001#! /bin/sh
4002exit 0
4003_ASEOF
4004chmod +x conf$$.file
4005if test -x conf$$.file >/dev/null 2>&1; then
4006 ac_executable_p="test -x"
4007else
4008 ac_executable_p="test -f"
4009fi
4010rm -f conf$$.file
4011
4012# Extract the first word of "xgettext", so it can be a program name with args.
4013set dummy xgettext; ac_word=$2
4014echo "$as_me:$LINENO: checking for $ac_word" >&5
4015echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4016if test "${ac_cv_path_XGETTEXT+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4018else
4019 case "$XGETTEXT" in
4020 [\\/]* | ?:[\\/]*)
4021 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4022 ;;
4023 *)
4024 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4025 for ac_dir in $PATH; do
4026 IFS="$ac_save_IFS"
4027 test -z "$ac_dir" && ac_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4030 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4031 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4032 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4033 break 2
4034 fi
4035 fi
4036 done
4037 done
4038 IFS="$ac_save_IFS"
4039 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4040 ;;
4041esac
4042fi
4043XGETTEXT="$ac_cv_path_XGETTEXT"
4044if test "$XGETTEXT" != ":"; then
4045 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4046echo "${ECHO_T}$XGETTEXT" >&6
4047else
4048 echo "$as_me:$LINENO: result: no" >&5
4049echo "${ECHO_T}no" >&6
4050fi
4051
4052 rm -f messages.po
4053
4054
4055# Prepare PATH_SEPARATOR.
4056# The user is always right.
4057if test "${PATH_SEPARATOR+set}" != set; then
4058 echo "#! /bin/sh" >conf$$.sh
4059 echo "exit 0" >>conf$$.sh
4060 chmod +x conf$$.sh
4061 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4062 PATH_SEPARATOR=';'
4063 else
4064 PATH_SEPARATOR=:
4065 fi
4066 rm -f conf$$.sh
4067fi
4068
4069# Find out how to test for executable files. Don't use a zero-byte file,
4070# as systems may use methods other than mode bits to determine executability.
4071cat >conf$$.file <<_ASEOF
4072#! /bin/sh
4073exit 0
4074_ASEOF
4075chmod +x conf$$.file
4076if test -x conf$$.file >/dev/null 2>&1; then
4077 ac_executable_p="test -x"
4078else
4079 ac_executable_p="test -f"
4080fi
4081rm -f conf$$.file
4082
4083# Extract the first word of "msgmerge", so it can be a program name with args.
4084set dummy msgmerge; ac_word=$2
4085echo "$as_me:$LINENO: checking for $ac_word" >&5
4086echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4087if test "${ac_cv_path_MSGMERGE+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4089else
4090 case "$MSGMERGE" in
4091 [\\/]* | ?:[\\/]*)
4092 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4093 ;;
4094 *)
4095 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4096 for ac_dir in $PATH; do
4097 IFS="$ac_save_IFS"
4098 test -z "$ac_dir" && ac_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4101 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4102 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4103 break 2
4104 fi
4105 fi
4106 done
4107 done
4108 IFS="$ac_save_IFS"
4109 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4110 ;;
4111esac
4112fi
4113MSGMERGE="$ac_cv_path_MSGMERGE"
4114if test "$MSGMERGE" != ":"; then
4115 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4116echo "${ECHO_T}$MSGMERGE" >&6
4117else
4118 echo "$as_me:$LINENO: result: no" >&5
4119echo "${ECHO_T}no" >&6
4120fi
4121
4122
4123 if test "$GMSGFMT" != ":"; then
4124 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4125 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4126 : ;
4127 else
4128 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4129 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4130echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4131 GMSGFMT=":"
4132 fi
4133 fi
4134
4135 if test "$XGETTEXT" != ":"; then
4136 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4137 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4138 : ;
4139 else
4140 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4141echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4142 XGETTEXT=":"
4143 fi
4144 rm -f messages.po
4145 fi
4146
4147 ac_config_commands="$ac_config_commands default-1"
4148
4149
4150
4151
92e059d8
ILT
4152echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4153echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4154if test "${ac_cv_c_bigendian+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4156else
4157 # See if sys/param.h defines the BYTE_ORDER macro.
4158cat >conftest.$ac_ext <<_ACEOF
4159/* confdefs.h. */
4160_ACEOF
4161cat confdefs.h >>conftest.$ac_ext
4162cat >>conftest.$ac_ext <<_ACEOF
4163/* end confdefs.h. */
4164#include <sys/types.h>
4165#include <sys/param.h>
4166
4167int
4168main ()
4169{
4170#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4171 bogus endian macros
4172#endif
4173
4174 ;
4175 return 0;
4176}
4177_ACEOF
4178rm -f conftest.$ac_objext
4179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4180 (eval $ac_compile) 2>conftest.er1
4181 ac_status=$?
4182 grep -v '^ *+' conftest.er1 >conftest.err
4183 rm -f conftest.er1
4184 cat conftest.err >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 (eval $ac_try) 2>&5
4191 ac_status=$?
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 (eval $ac_try) 2>&5
4197 ac_status=$?
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 # It does; now see whether it defined to BIG_ENDIAN or not.
4201cat >conftest.$ac_ext <<_ACEOF
4202/* confdefs.h. */
4203_ACEOF
4204cat confdefs.h >>conftest.$ac_ext
4205cat >>conftest.$ac_ext <<_ACEOF
4206/* end confdefs.h. */
4207#include <sys/types.h>
4208#include <sys/param.h>
4209
4210int
4211main ()
4212{
4213#if BYTE_ORDER != BIG_ENDIAN
4214 not big endian
4215#endif
4216
4217 ;
4218 return 0;
4219}
4220_ACEOF
4221rm -f conftest.$ac_objext
4222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4223 (eval $ac_compile) 2>conftest.er1
4224 ac_status=$?
4225 grep -v '^ *+' conftest.er1 >conftest.err
4226 rm -f conftest.er1
4227 cat conftest.err >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try='test -z "$ac_c_werror_flag"
4231 || test ! -s conftest.err'
4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 (eval $ac_try) 2>&5
4234 ac_status=$?
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; } &&
4237 { ac_try='test -s conftest.$ac_objext'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239 (eval $ac_try) 2>&5
4240 ac_status=$?
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 ac_cv_c_bigendian=yes
4244else
4245 echo "$as_me: failed program was:" >&5
4246sed 's/^/| /' conftest.$ac_ext >&5
4247
4248ac_cv_c_bigendian=no
4249fi
4250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4251else
4252 echo "$as_me: failed program was:" >&5
4253sed 's/^/| /' conftest.$ac_ext >&5
4254
4255# It does not; compile a test program.
4256if test "$cross_compiling" = yes; then
4257 # try to guess the endianness by grepping values into an object file
4258 ac_cv_c_bigendian=unknown
4259 cat >conftest.$ac_ext <<_ACEOF
4260/* confdefs.h. */
4261_ACEOF
4262cat confdefs.h >>conftest.$ac_ext
4263cat >>conftest.$ac_ext <<_ACEOF
4264/* end confdefs.h. */
4265short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4266short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4267void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4268short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4269short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4270void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4271int
4272main ()
4273{
4274 _ascii (); _ebcdic ();
4275 ;
4276 return 0;
4277}
4278_ACEOF
4279rm -f conftest.$ac_objext
4280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4281 (eval $ac_compile) 2>conftest.er1
4282 ac_status=$?
4283 grep -v '^ *+' conftest.er1 >conftest.err
4284 rm -f conftest.er1
4285 cat conftest.err >&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); } &&
4288 { ac_try='test -z "$ac_c_werror_flag"
4289 || test ! -s conftest.err'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4291 (eval $ac_try) 2>&5
4292 ac_status=$?
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; } &&
4295 { ac_try='test -s conftest.$ac_objext'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 (eval $ac_try) 2>&5
4298 ac_status=$?
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4302 ac_cv_c_bigendian=yes
4303fi
4304if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4305 if test "$ac_cv_c_bigendian" = unknown; then
4306 ac_cv_c_bigendian=no
4307 else
4308 # finding both strings is unlikely to happen, but who knows?
4309 ac_cv_c_bigendian=unknown
4310 fi
4311fi
4312else
4313 echo "$as_me: failed program was:" >&5
4314sed 's/^/| /' conftest.$ac_ext >&5
4315
4316fi
4317rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4318else
4319 cat >conftest.$ac_ext <<_ACEOF
4320/* confdefs.h. */
4321_ACEOF
4322cat confdefs.h >>conftest.$ac_ext
4323cat >>conftest.$ac_ext <<_ACEOF
4324/* end confdefs.h. */
4325int
4326main ()
4327{
4328 /* Are we little or big endian? From Harbison&Steele. */
4329 union
4330 {
4331 long l;
4332 char c[sizeof (long)];
4333 } u;
4334 u.l = 1;
4335 exit (u.c[sizeof (long) - 1] == 1);
4336}
4337_ACEOF
4338rm -f conftest$ac_exeext
4339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4340 (eval $ac_link) 2>&5
4341 ac_status=$?
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
4349 ac_cv_c_bigendian=no
4350else
4351 echo "$as_me: program exited with status $ac_status" >&5
4352echo "$as_me: failed program was:" >&5
4353sed 's/^/| /' conftest.$ac_ext >&5
4354
4355( exit $ac_status )
4356ac_cv_c_bigendian=yes
4357fi
4358rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4359fi
4360fi
4361rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4362fi
4363echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4364echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4365case $ac_cv_c_bigendian in
4366 yes)
4367
4368cat >>confdefs.h <<\_ACEOF
4369#define WORDS_BIGENDIAN 1
4370_ACEOF
4371 ;;
4372 no)
4373 ;;
4374 *)
4375 { { echo "$as_me:$LINENO: error: unknown endianness
4376presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4377echo "$as_me: error: unknown endianness
4378presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4379 { (exit 1); exit 1; }; } ;;
4380esac
4381
4382
4383
bae7f79e
ILT
4384
4385
537b5f51
ILT
4386
4387if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4388 NATIVE_LINKER_TRUE=
4389 NATIVE_LINKER_FALSE='#'
4390else
4391 NATIVE_LINKER_TRUE='#'
4392 NATIVE_LINKER_FALSE=
4393fi
4394
4395
4396
4397if test "$GCC" = yes; then
4398 GCC_TRUE=
4399 GCC_FALSE='#'
4400else
4401 GCC_TRUE='#'
4402 GCC_FALSE=
4403fi
4404
4405
4406
63402fe4
ILT
4407
4408if
4409 case $target_cpu in
4410 i?86) true;;
4411 x86_64) false;;
4412 *) true;;
4413 esac; then
4414 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
4415 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
4416else
4417 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
4418 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
4419fi
4420
4421
6eee141f
ILT
4422cat >conftest.$ac_ext <<_ACEOF
4423__thread int i = 1;
4424_ACEOF
4425rm -f conftest.$ac_objext
4426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4427 (eval $ac_compile) 2>conftest.er1
4428 ac_status=$?
4429 grep -v '^ *+' conftest.er1 >conftest.err
4430 rm -f conftest.er1
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } &&
4434 { ac_try='test -z "$ac_c_werror_flag"
4435 || test ! -s conftest.err'
4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 (eval $ac_try) 2>&5
4438 ac_status=$?
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); }; } &&
4441 { ac_try='test -s conftest.$ac_objext'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4443 (eval $ac_try) 2>&5
4444 ac_status=$?
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; }; then
4447 tls=yes
4448else
4449 echo "$as_me: failed program was:" >&5
4450sed 's/^/| /' conftest.$ac_ext >&5
4451
4452tls=no
4453fi
4454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4455
4456
4457if test "$tls" = "yes"; then
4458 TLS_TRUE=
4459 TLS_FALSE='#'
4460else
4461 TLS_TRUE='#'
4462 TLS_FALSE=
4463fi
4464
4465
63402fe4 4466
bae7f79e
ILT
4467GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4468
4469# Check whether --enable-werror or --disable-werror was given.
4470if test "${enable_werror+set}" = set; then
4471 enableval="$enable_werror"
4472 case "${enableval}" in
4473 yes | y) ERROR_ON_WARNING="yes" ;;
4474 no | n) ERROR_ON_WARNING="no" ;;
4475 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4476echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4477 { (exit 1); exit 1; }; } ;;
4478 esac
4479fi;
4480
4481# Enable -Werror by default when using gcc
4482if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4483 ERROR_ON_WARNING=yes
4484fi
4485
4486NO_WERROR=
4487if test "${ERROR_ON_WARNING}" = yes ; then
4488 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
4489 NO_WERROR="-Wno-error"
4490fi
4491
4492if test "${GCC}" = yes ; then
4493 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4494fi
4495
4496# Check whether --enable-build-warnings or --disable-build-warnings was given.
4497if test "${enable_build_warnings+set}" = set; then
4498 enableval="$enable_build_warnings"
4499 case "${enableval}" in
4500 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4501 no) if test "${GCC}" = yes ; then
4502 WARN_CFLAGS="-w"
4503 fi;;
4504 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4505 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
4506 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4507 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4508 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4509esac
4510fi;
4511
4512if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4513 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4514fi
4515
4516
4517
4518
4519
4520WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4521
4522
4523LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4524
4525
82dcae9d
ILT
4526
4527for ac_func in pread
4528do
4529as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4530echo "$as_me:$LINENO: checking for $ac_func" >&5
4531echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4532if eval "test \"\${$as_ac_var+set}\" = set"; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4534else
4535 cat >conftest.$ac_ext <<_ACEOF
4536/* confdefs.h. */
4537_ACEOF
4538cat confdefs.h >>conftest.$ac_ext
4539cat >>conftest.$ac_ext <<_ACEOF
4540/* end confdefs.h. */
4541/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4543#define $ac_func innocuous_$ac_func
4544
4545/* System header to define __stub macros and hopefully few prototypes,
4546 which can conflict with char $ac_func (); below.
4547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4548 <limits.h> exists even on freestanding compilers. */
4549
4550#ifdef __STDC__
4551# include <limits.h>
4552#else
4553# include <assert.h>
4554#endif
4555
4556#undef $ac_func
4557
4558/* Override any gcc2 internal prototype to avoid an error. */
4559#ifdef __cplusplus
4560extern "C"
4561{
4562#endif
4563/* We use char because int might match the return type of a gcc2
4564 builtin and then its argument prototype would still apply. */
4565char $ac_func ();
4566/* The GNU C library defines this for functions which it implements
4567 to always fail with ENOSYS. Some functions are actually named
4568 something starting with __ and the normal name is an alias. */
4569#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4570choke me
4571#else
4572char (*f) () = $ac_func;
4573#endif
4574#ifdef __cplusplus
4575}
4576#endif
4577
4578int
4579main ()
4580{
4581return f != $ac_func;
4582 ;
4583 return 0;
4584}
4585_ACEOF
4586rm -f conftest.$ac_objext conftest$ac_exeext
4587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4588 (eval $ac_link) 2>conftest.er1
4589 ac_status=$?
4590 grep -v '^ *+' conftest.er1 >conftest.err
4591 rm -f conftest.er1
4592 cat conftest.err >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try='test -z "$ac_c_werror_flag"
4596 || test ! -s conftest.err'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 (eval $ac_try) 2>&5
4599 ac_status=$?
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; } &&
4602 { ac_try='test -s conftest$ac_exeext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 (eval $ac_try) 2>&5
4605 ac_status=$?
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4608 eval "$as_ac_var=yes"
4609else
4610 echo "$as_me: failed program was:" >&5
4611sed 's/^/| /' conftest.$ac_ext >&5
4612
4613eval "$as_ac_var=no"
4614fi
4615rm -f conftest.err conftest.$ac_objext \
4616 conftest$ac_exeext conftest.$ac_ext
4617fi
4618echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4619echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4620if test `eval echo '${'$as_ac_var'}'` = yes; then
4621 cat >>confdefs.h <<_ACEOF
4622#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4623_ACEOF
4624
4625else
4626 case $LIBOBJS in
4627 "$ac_func.$ac_objext" | \
4628 *" $ac_func.$ac_objext" | \
4629 "$ac_func.$ac_objext "* | \
4630 *" $ac_func.$ac_objext "* ) ;;
4631 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
4632esac
4633
4634fi
4635done
4636
4637
4638
54dc6425
ILT
4639ac_ext=cc
4640ac_cpp='$CXXCPP $CPPFLAGS'
4641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4644
4645
d288e464 4646
54dc6425
ILT
4647ac_ext=cc
4648ac_cpp='$CXXCPP $CPPFLAGS'
4649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4652echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4653echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4654if test -z "$CXXCPP"; then
4655 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4657else
4658 # Double quotes because CXXCPP needs to be expanded
4659 for CXXCPP in "$CXX -E" "/lib/cpp"
4660 do
4661 ac_preproc_ok=false
4662for ac_cxx_preproc_warn_flag in '' yes
4663do
4664 # Use a header file that comes with gcc, so configuring glibc
4665 # with a fresh cross-compiler works.
4666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4667 # <limits.h> exists even on freestanding compilers.
4668 # On the NeXT, cc -E runs the code through the compiler's parser,
4669 # not just through cpp. "Syntax error" is here to catch this case.
4670 cat >conftest.$ac_ext <<_ACEOF
4671/* confdefs.h. */
4672_ACEOF
4673cat confdefs.h >>conftest.$ac_ext
4674cat >>conftest.$ac_ext <<_ACEOF
4675/* end confdefs.h. */
4676#ifdef __STDC__
4677# include <limits.h>
4678#else
4679# include <assert.h>
4680#endif
4681 Syntax error
4682_ACEOF
4683if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4685 ac_status=$?
4686 grep -v '^ *+' conftest.er1 >conftest.err
4687 rm -f conftest.er1
4688 cat conftest.err >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } >/dev/null; then
4691 if test -s conftest.err; then
4692 ac_cpp_err=$ac_cxx_preproc_warn_flag
4693 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4694 else
4695 ac_cpp_err=
4696 fi
4697else
4698 ac_cpp_err=yes
4699fi
4700if test -z "$ac_cpp_err"; then
4701 :
4702else
4703 echo "$as_me: failed program was:" >&5
4704sed 's/^/| /' conftest.$ac_ext >&5
4705
4706 # Broken: fails on valid input.
4707continue
4708fi
4709rm -f conftest.err conftest.$ac_ext
4710
4711 # OK, works on sane cases. Now check whether non-existent headers
4712 # can be detected and how.
4713 cat >conftest.$ac_ext <<_ACEOF
4714/* confdefs.h. */
4715_ACEOF
4716cat confdefs.h >>conftest.$ac_ext
4717cat >>conftest.$ac_ext <<_ACEOF
4718/* end confdefs.h. */
4719#include <ac_nonexistent.h>
4720_ACEOF
4721if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4723 ac_status=$?
4724 grep -v '^ *+' conftest.er1 >conftest.err
4725 rm -f conftest.er1
4726 cat conftest.err >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } >/dev/null; then
4729 if test -s conftest.err; then
4730 ac_cpp_err=$ac_cxx_preproc_warn_flag
4731 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4732 else
4733 ac_cpp_err=
4734 fi
4735else
4736 ac_cpp_err=yes
4737fi
4738if test -z "$ac_cpp_err"; then
4739 # Broken: success on invalid input.
4740continue
4741else
4742 echo "$as_me: failed program was:" >&5
4743sed 's/^/| /' conftest.$ac_ext >&5
4744
4745 # Passes both tests.
4746ac_preproc_ok=:
4747break
4748fi
4749rm -f conftest.err conftest.$ac_ext
4750
4751done
4752# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4753rm -f conftest.err conftest.$ac_ext
4754if $ac_preproc_ok; then
4755 break
4756fi
4757
4758 done
4759 ac_cv_prog_CXXCPP=$CXXCPP
4760
4761fi
4762 CXXCPP=$ac_cv_prog_CXXCPP
4763else
4764 ac_cv_prog_CXXCPP=$CXXCPP
4765fi
4766echo "$as_me:$LINENO: result: $CXXCPP" >&5
4767echo "${ECHO_T}$CXXCPP" >&6
4768ac_preproc_ok=false
4769for ac_cxx_preproc_warn_flag in '' yes
4770do
4771 # Use a header file that comes with gcc, so configuring glibc
4772 # with a fresh cross-compiler works.
4773 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4774 # <limits.h> exists even on freestanding compilers.
4775 # On the NeXT, cc -E runs the code through the compiler's parser,
4776 # not just through cpp. "Syntax error" is here to catch this case.
4777 cat >conftest.$ac_ext <<_ACEOF
4778/* confdefs.h. */
4779_ACEOF
4780cat confdefs.h >>conftest.$ac_ext
4781cat >>conftest.$ac_ext <<_ACEOF
4782/* end confdefs.h. */
4783#ifdef __STDC__
4784# include <limits.h>
4785#else
4786# include <assert.h>
4787#endif
4788 Syntax error
4789_ACEOF
4790if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4792 ac_status=$?
4793 grep -v '^ *+' conftest.er1 >conftest.err
4794 rm -f conftest.er1
4795 cat conftest.err >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } >/dev/null; then
4798 if test -s conftest.err; then
4799 ac_cpp_err=$ac_cxx_preproc_warn_flag
4800 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4801 else
4802 ac_cpp_err=
4803 fi
4804else
4805 ac_cpp_err=yes
4806fi
4807if test -z "$ac_cpp_err"; then
4808 :
4809else
4810 echo "$as_me: failed program was:" >&5
4811sed 's/^/| /' conftest.$ac_ext >&5
4812
4813 # Broken: fails on valid input.
4814continue
4815fi
4816rm -f conftest.err conftest.$ac_ext
4817
4818 # OK, works on sane cases. Now check whether non-existent headers
4819 # can be detected and how.
4820 cat >conftest.$ac_ext <<_ACEOF
4821/* confdefs.h. */
4822_ACEOF
4823cat confdefs.h >>conftest.$ac_ext
4824cat >>conftest.$ac_ext <<_ACEOF
4825/* end confdefs.h. */
4826#include <ac_nonexistent.h>
4827_ACEOF
4828if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4830 ac_status=$?
4831 grep -v '^ *+' conftest.er1 >conftest.err
4832 rm -f conftest.er1
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } >/dev/null; then
4836 if test -s conftest.err; then
4837 ac_cpp_err=$ac_cxx_preproc_warn_flag
4838 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4839 else
4840 ac_cpp_err=
4841 fi
4842else
4843 ac_cpp_err=yes
4844fi
4845if test -z "$ac_cpp_err"; then
4846 # Broken: success on invalid input.
4847continue
4848else
4849 echo "$as_me: failed program was:" >&5
4850sed 's/^/| /' conftest.$ac_ext >&5
4851
4852 # Passes both tests.
4853ac_preproc_ok=:
4854break
4855fi
4856rm -f conftest.err conftest.$ac_ext
4857
4858done
4859# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4860rm -f conftest.err conftest.$ac_ext
4861if $ac_preproc_ok; then
4862 :
4863else
4864 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4865See \`config.log' for more details." >&5
4866echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4867See \`config.log' for more details." >&2;}
4868 { (exit 1); exit 1; }; }
4869fi
4870
4871ac_ext=cc
4872ac_cpp='$CXXCPP $CPPFLAGS'
4873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4876
4877
4878echo "$as_me:$LINENO: checking for egrep" >&5
4879echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4880if test "${ac_cv_prog_egrep+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4882else
4883 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4884 then ac_cv_prog_egrep='grep -E'
4885 else ac_cv_prog_egrep='egrep'
4886 fi
4887fi
4888echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4889echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4890 EGREP=$ac_cv_prog_egrep
4891
4892
4893echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4894echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4895if test "${ac_cv_header_stdc+set}" = set; then
4896 echo $ECHO_N "(cached) $ECHO_C" >&6
4897else
4898 cat >conftest.$ac_ext <<_ACEOF
4899/* confdefs.h. */
4900_ACEOF
4901cat confdefs.h >>conftest.$ac_ext
4902cat >>conftest.$ac_ext <<_ACEOF
4903/* end confdefs.h. */
4904#include <stdlib.h>
4905#include <stdarg.h>
4906#include <string.h>
4907#include <float.h>
4908
4909int
4910main ()
4911{
4912
4913 ;
4914 return 0;
4915}
4916_ACEOF
4917rm -f conftest.$ac_objext
4918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919 (eval $ac_compile) 2>conftest.er1
4920 ac_status=$?
4921 grep -v '^ *+' conftest.er1 >conftest.err
4922 rm -f conftest.er1
4923 cat conftest.err >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } &&
4926 { ac_try='test -z "$ac_cxx_werror_flag"
4927 || test ! -s conftest.err'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 (eval $ac_try) 2>&5
4930 ac_status=$?
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try='test -s conftest.$ac_objext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935 (eval $ac_try) 2>&5
4936 ac_status=$?
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4939 ac_cv_header_stdc=yes
4940else
4941 echo "$as_me: failed program was:" >&5
4942sed 's/^/| /' conftest.$ac_ext >&5
4943
4944ac_cv_header_stdc=no
4945fi
4946rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4947
4948if test $ac_cv_header_stdc = yes; then
4949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4950 cat >conftest.$ac_ext <<_ACEOF
4951/* confdefs.h. */
4952_ACEOF
4953cat confdefs.h >>conftest.$ac_ext
4954cat >>conftest.$ac_ext <<_ACEOF
4955/* end confdefs.h. */
4956#include <string.h>
4957
4958_ACEOF
4959if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4960 $EGREP "memchr" >/dev/null 2>&1; then
4961 :
4962else
4963 ac_cv_header_stdc=no
4964fi
4965rm -f conftest*
4966
4967fi
4968
4969if test $ac_cv_header_stdc = yes; then
4970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4971 cat >conftest.$ac_ext <<_ACEOF
4972/* confdefs.h. */
4973_ACEOF
4974cat confdefs.h >>conftest.$ac_ext
4975cat >>conftest.$ac_ext <<_ACEOF
4976/* end confdefs.h. */
4977#include <stdlib.h>
4978
4979_ACEOF
4980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4981 $EGREP "free" >/dev/null 2>&1; then
4982 :
4983else
4984 ac_cv_header_stdc=no
4985fi
4986rm -f conftest*
4987
4988fi
4989
4990if test $ac_cv_header_stdc = yes; then
4991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4992 if test "$cross_compiling" = yes; then
4993 :
4994else
4995 cat >conftest.$ac_ext <<_ACEOF
4996/* confdefs.h. */
4997_ACEOF
4998cat confdefs.h >>conftest.$ac_ext
4999cat >>conftest.$ac_ext <<_ACEOF
5000/* end confdefs.h. */
5001#include <ctype.h>
5002#if ((' ' & 0x0FF) == 0x020)
5003# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5004# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5005#else
5006# define ISLOWER(c) \
5007 (('a' <= (c) && (c) <= 'i') \
5008 || ('j' <= (c) && (c) <= 'r') \
5009 || ('s' <= (c) && (c) <= 'z'))
5010# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5011#endif
5012
5013#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5014int
5015main ()
5016{
5017 int i;
5018 for (i = 0; i < 256; i++)
5019 if (XOR (islower (i), ISLOWER (i))
5020 || toupper (i) != TOUPPER (i))
5021 exit(2);
5022 exit (0);
5023}
5024_ACEOF
5025rm -f conftest$ac_exeext
5026if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5027 (eval $ac_link) 2>&5
5028 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 (eval $ac_try) 2>&5
5033 ac_status=$?
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 :
5037else
5038 echo "$as_me: program exited with status $ac_status" >&5
5039echo "$as_me: failed program was:" >&5
5040sed 's/^/| /' conftest.$ac_ext >&5
5041
5042( exit $ac_status )
5043ac_cv_header_stdc=no
5044fi
5045rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5046fi
5047fi
5048fi
5049echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5050echo "${ECHO_T}$ac_cv_header_stdc" >&6
5051if test $ac_cv_header_stdc = yes; then
5052
5053cat >>confdefs.h <<\_ACEOF
5054#define STDC_HEADERS 1
5055_ACEOF
5056
5057fi
5058
5059# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5070 inttypes.h stdint.h unistd.h
5071do
5072as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5073echo "$as_me:$LINENO: checking for $ac_header" >&5
5074echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5075if eval "test \"\${$as_ac_Header+set}\" = set"; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5077else
5078 cat >conftest.$ac_ext <<_ACEOF
5079/* confdefs.h. */
5080_ACEOF
5081cat confdefs.h >>conftest.$ac_ext
5082cat >>conftest.$ac_ext <<_ACEOF
5083/* end confdefs.h. */
5084$ac_includes_default
5085
5086#include <$ac_header>
5087_ACEOF
5088rm -f conftest.$ac_objext
5089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 (eval $ac_compile) 2>conftest.er1
5091 ac_status=$?
5092 grep -v '^ *+' conftest.er1 >conftest.err
5093 rm -f conftest.er1
5094 cat conftest.err >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } &&
5097 { ac_try='test -z "$ac_cxx_werror_flag"
5098 || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5100 (eval $ac_try) 2>&5
5101 ac_status=$?
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 (eval $ac_try) 2>&5
5107 ac_status=$?
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 eval "$as_ac_Header=yes"
5111else
5112 echo "$as_me: failed program was:" >&5
5113sed 's/^/| /' conftest.$ac_ext >&5
5114
5115eval "$as_ac_Header=no"
5116fi
5117rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5118fi
5119echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5120echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5121if test `eval echo '${'$as_ac_Header'}'` = yes; then
5122 cat >>confdefs.h <<_ACEOF
5123#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5124_ACEOF
5125
5126fi
5127
5128done
5129
5130
5131
5132
5133for ac_header in tr1/unordered_set tr1/unordered_map
5134do
5135as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5136if eval "test \"\${$as_ac_Header+set}\" = set"; then
5137 echo "$as_me:$LINENO: checking for $ac_header" >&5
5138echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5139if eval "test \"\${$as_ac_Header+set}\" = set"; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5141fi
5142echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5143echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5144else
5145 # Is the header compilable?
5146echo "$as_me:$LINENO: checking $ac_header usability" >&5
5147echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5148cat >conftest.$ac_ext <<_ACEOF
5149/* confdefs.h. */
5150_ACEOF
5151cat confdefs.h >>conftest.$ac_ext
5152cat >>conftest.$ac_ext <<_ACEOF
5153/* end confdefs.h. */
5154$ac_includes_default
5155#include <$ac_header>
5156_ACEOF
5157rm -f conftest.$ac_objext
5158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5159 (eval $ac_compile) 2>conftest.er1
5160 ac_status=$?
5161 grep -v '^ *+' conftest.er1 >conftest.err
5162 rm -f conftest.er1
5163 cat conftest.err >&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } &&
5166 { ac_try='test -z "$ac_cxx_werror_flag"
5167 || test ! -s conftest.err'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 (eval $ac_try) 2>&5
5170 ac_status=$?
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; } &&
5173 { ac_try='test -s conftest.$ac_objext'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5175 (eval $ac_try) 2>&5
5176 ac_status=$?
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; }; then
5179 ac_header_compiler=yes
5180else
5181 echo "$as_me: failed program was:" >&5
5182sed 's/^/| /' conftest.$ac_ext >&5
5183
5184ac_header_compiler=no
5185fi
5186rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5187echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5188echo "${ECHO_T}$ac_header_compiler" >&6
5189
5190# Is the header present?
5191echo "$as_me:$LINENO: checking $ac_header presence" >&5
5192echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5193cat >conftest.$ac_ext <<_ACEOF
5194/* confdefs.h. */
5195_ACEOF
5196cat confdefs.h >>conftest.$ac_ext
5197cat >>conftest.$ac_ext <<_ACEOF
5198/* end confdefs.h. */
5199#include <$ac_header>
5200_ACEOF
5201if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5203 ac_status=$?
5204 grep -v '^ *+' conftest.er1 >conftest.err
5205 rm -f conftest.er1
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } >/dev/null; then
5209 if test -s conftest.err; then
5210 ac_cpp_err=$ac_cxx_preproc_warn_flag
5211 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5212 else
5213 ac_cpp_err=
5214 fi
5215else
5216 ac_cpp_err=yes
5217fi
5218if test -z "$ac_cpp_err"; then
5219 ac_header_preproc=yes
5220else
5221 echo "$as_me: failed program was:" >&5
5222sed 's/^/| /' conftest.$ac_ext >&5
5223
5224 ac_header_preproc=no
5225fi
5226rm -f conftest.err conftest.$ac_ext
5227echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5228echo "${ECHO_T}$ac_header_preproc" >&6
5229
5230# So? What about this header?
5231case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5232 yes:no: )
5233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5234echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5236echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5237 ac_header_preproc=yes
5238 ;;
5239 no:yes:* )
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5241echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5243echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5245echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5247echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5249echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5251echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5252 (
5253 cat <<\_ASBOX
5254## ------------------------------------------ ##
5255## Report this to the AC_PACKAGE_NAME lists. ##
5256## ------------------------------------------ ##
5257_ASBOX
5258 ) |
5259 sed "s/^/$as_me: WARNING: /" >&2
5260 ;;
5261esac
5262echo "$as_me:$LINENO: checking for $ac_header" >&5
5263echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5264if eval "test \"\${$as_ac_Header+set}\" = set"; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5266else
5267 eval "$as_ac_Header=\$ac_header_preproc"
5268fi
5269echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5270echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5271
5272fi
5273if test `eval echo '${'$as_ac_Header'}'` = yes; then
5274 cat >>confdefs.h <<_ACEOF
5275#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5276_ACEOF
5277
5278fi
5279
5280done
5281
5282
5283
5284for ac_header in ext/hash_map ext/hash_set
5285do
5286as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5287if eval "test \"\${$as_ac_Header+set}\" = set"; then
5288 echo "$as_me:$LINENO: checking for $ac_header" >&5
5289echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5290if eval "test \"\${$as_ac_Header+set}\" = set"; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5292fi
5293echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5294echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5295else
5296 # Is the header compilable?
5297echo "$as_me:$LINENO: checking $ac_header usability" >&5
5298echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5299cat >conftest.$ac_ext <<_ACEOF
5300/* confdefs.h. */
5301_ACEOF
5302cat confdefs.h >>conftest.$ac_ext
5303cat >>conftest.$ac_ext <<_ACEOF
5304/* end confdefs.h. */
5305$ac_includes_default
5306#include <$ac_header>
5307_ACEOF
5308rm -f conftest.$ac_objext
5309if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>conftest.er1
5311 ac_status=$?
5312 grep -v '^ *+' conftest.er1 >conftest.err
5313 rm -f conftest.er1
5314 cat conftest.err >&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try='test -z "$ac_cxx_werror_flag"
5318 || test ! -s conftest.err'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320 (eval $ac_try) 2>&5
5321 ac_status=$?
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; } &&
5324 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
5330 ac_header_compiler=yes
5331else
5332 echo "$as_me: failed program was:" >&5
5333sed 's/^/| /' conftest.$ac_ext >&5
5334
5335ac_header_compiler=no
5336fi
5337rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5338echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5339echo "${ECHO_T}$ac_header_compiler" >&6
5340
5341# Is the header present?
5342echo "$as_me:$LINENO: checking $ac_header presence" >&5
5343echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5344cat >conftest.$ac_ext <<_ACEOF
5345/* confdefs.h. */
5346_ACEOF
5347cat confdefs.h >>conftest.$ac_ext
5348cat >>conftest.$ac_ext <<_ACEOF
5349/* end confdefs.h. */
5350#include <$ac_header>
5351_ACEOF
5352if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5354 ac_status=$?
5355 grep -v '^ *+' conftest.er1 >conftest.err
5356 rm -f conftest.er1
5357 cat conftest.err >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } >/dev/null; then
5360 if test -s conftest.err; then
5361 ac_cpp_err=$ac_cxx_preproc_warn_flag
5362 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5363 else
5364 ac_cpp_err=
5365 fi
5366else
5367 ac_cpp_err=yes
5368fi
5369if test -z "$ac_cpp_err"; then
5370 ac_header_preproc=yes
5371else
5372 echo "$as_me: failed program was:" >&5
5373sed 's/^/| /' conftest.$ac_ext >&5
5374
5375 ac_header_preproc=no
5376fi
5377rm -f conftest.err conftest.$ac_ext
5378echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5379echo "${ECHO_T}$ac_header_preproc" >&6
5380
5381# So? What about this header?
5382case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5383 yes:no: )
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5385echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5387echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5388 ac_header_preproc=yes
5389 ;;
5390 no:yes:* )
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5392echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5394echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5396echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5398echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5400echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5402echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5403 (
5404 cat <<\_ASBOX
5405## ------------------------------------------ ##
5406## Report this to the AC_PACKAGE_NAME lists. ##
5407## ------------------------------------------ ##
5408_ASBOX
5409 ) |
5410 sed "s/^/$as_me: WARNING: /" >&2
5411 ;;
5412esac
5413echo "$as_me:$LINENO: checking for $ac_header" >&5
5414echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5415if eval "test \"\${$as_ac_Header+set}\" = set"; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5417else
5418 eval "$as_ac_Header=\$ac_header_preproc"
5419fi
5420echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5421echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5422
5423fi
5424if test `eval echo '${'$as_ac_Header'}'` = yes; then
5425 cat >>confdefs.h <<_ACEOF
5426#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5427_ACEOF
5428
5429fi
5430
5431done
5432
d288e464
ILT
5433
5434cat >conftest.$ac_ext <<_ACEOF
5435
5436class c { public: template<int i> void fn(); };
5437template<int i> void foo(c cv) { cv.fn<i>(); }
5438template void foo<1>(c cv);
5439_ACEOF
5440rm -f conftest.$ac_objext
5441if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5442 (eval $ac_compile) 2>conftest.er1
5443 ac_status=$?
5444 grep -v '^ *+' conftest.er1 >conftest.err
5445 rm -f conftest.er1
5446 cat conftest.err >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } &&
5449 { ac_try='test -z "$ac_cxx_werror_flag"
5450 || test ! -s conftest.err'
5451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452 (eval $ac_try) 2>&5
5453 ac_status=$?
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; } &&
5456 { ac_try='test -s conftest.$ac_objext'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 (eval $ac_try) 2>&5
5459 ac_status=$?
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; }; then
5462
5463cat >>confdefs.h <<\_ACEOF
5464#define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
5465_ACEOF
5466
5467else
5468 echo "$as_me: failed program was:" >&5
5469sed 's/^/| /' conftest.$ac_ext >&5
5470
5471fi
5472rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5473
54dc6425
ILT
5474ac_ext=c
5475ac_cpp='$CPP $CPPFLAGS'
5476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478ac_compiler_gnu=$ac_cv_c_compiler_gnu
5479
5480
bae7f79e
ILT
5481echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5482echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5483 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5484if test "${enable_maintainer_mode+set}" = set; then
5485 enableval="$enable_maintainer_mode"
5486 USE_MAINTAINER_MODE=$enableval
5487else
5488 USE_MAINTAINER_MODE=no
5489fi;
5490 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5491echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5492
5493
5494if test $USE_MAINTAINER_MODE = yes; then
5495 MAINTAINER_MODE_TRUE=
5496 MAINTAINER_MODE_FALSE='#'
5497else
5498 MAINTAINER_MODE_TRUE='#'
5499 MAINTAINER_MODE_FALSE=
5500fi
5501
5502 MAINT=$MAINTAINER_MODE_TRUE
5503
5504
5505
5a6f7e2d 5506 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
bae7f79e
ILT
5507cat >confcache <<\_ACEOF
5508# This file is a shell script that caches the results of configure
5509# tests run on this system so they can be shared between configure
5510# scripts and configure runs, see configure's option --config-cache.
5511# It is not useful on other systems. If it contains results you don't
5512# want to keep, you may remove or edit it.
5513#
5514# config.status only pays attention to the cache file if you give it
5515# the --recheck option to rerun configure.
5516#
5517# `ac_cv_env_foo' variables (set or unset) will be overridden when
5518# loading this file, other *unset* `ac_cv_foo' will be assigned the
5519# following values.
5520
5521_ACEOF
5522
5523# The following way of writing the cache mishandles newlines in values,
5524# but we know of no workaround that is simple, portable, and efficient.
5525# So, don't put newlines in cache variables' values.
5526# Ultrix sh set writes to stderr and can't be redirected directly,
5527# and sets the high bit in the cache file unless we assign to the vars.
5528{
5529 (set) 2>&1 |
5530 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5531 *ac_space=\ *)
5532 # `set' does not quote correctly, so add quotes (double-quote
5533 # substitution turns \\\\ into \\, and sed turns \\ into \).
5534 sed -n \
5535 "s/'/'\\\\''/g;
5536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5537 ;;
5538 *)
5539 # `set' quotes correctly as required by POSIX, so do not add quotes.
5540 sed -n \
5541 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5542 ;;
5543 esac;
5544} |
5545 sed '
5546 t clear
5547 : clear
5548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5549 t end
5550 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5551 : end' >>confcache
5552if diff $cache_file confcache >/dev/null 2>&1; then :; else
5553 if test -w $cache_file; then
5554 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5555 cat confcache >$cache_file
5556 else
5557 echo "not updating unwritable cache $cache_file"
5558 fi
5559fi
5560rm -f confcache
5561
5562test "x$prefix" = xNONE && prefix=$ac_default_prefix
5563# Let make expand exec_prefix.
5564test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5565
5566# VPATH may cause trouble with some makes, so we remove $(srcdir),
5567# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5568# trailing colons and then remove the whole line if VPATH becomes empty
5569# (actually we leave an empty line to preserve line numbers).
5570if test "x$srcdir" = x.; then
5571 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5572s/:*\$(srcdir):*/:/;
5573s/:*\${srcdir}:*/:/;
5574s/:*@srcdir@:*/:/;
5575s/^\([^=]*=[ ]*\):*/\1/;
5576s/:*$//;
5577s/^[^=]*=[ ]*$//;
5578}'
5579fi
5580
5581DEFS=-DHAVE_CONFIG_H
5582
5583ac_libobjs=
5584ac_ltlibobjs=
5585for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5586 # 1. Remove the extension, and $U if already installed.
5587 ac_i=`echo "$ac_i" |
5588 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5589 # 2. Add them.
5590 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5591 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5592done
5593LIBOBJS=$ac_libobjs
5594
5595LTLIBOBJS=$ac_ltlibobjs
5596
5597
5598if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5599 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5600Usually this means the macro was only invoked conditionally." >&5
5601echo "$as_me: error: conditional \"AMDEP\" was never defined.
5602Usually this means the macro was only invoked conditionally." >&2;}
5603 { (exit 1); exit 1; }; }
5604fi
5605if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5606 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5607Usually this means the macro was only invoked conditionally." >&5
5608echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5609Usually this means the macro was only invoked conditionally." >&2;}
5610 { (exit 1); exit 1; }; }
5611fi
5612if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5613 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5614Usually this means the macro was only invoked conditionally." >&5
5615echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5616Usually this means the macro was only invoked conditionally." >&2;}
5617 { (exit 1); exit 1; }; }
5618fi
537b5f51
ILT
5619if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
5620 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LINKER\" was never defined.
5621Usually this means the macro was only invoked conditionally." >&5
5622echo "$as_me: error: conditional \"NATIVE_LINKER\" was never defined.
5623Usually this means the macro was only invoked conditionally." >&2;}
5624 { (exit 1); exit 1; }; }
5625fi
5626if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
5627 { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
5628Usually this means the macro was only invoked conditionally." >&5
5629echo "$as_me: error: conditional \"GCC\" was never defined.
5630Usually this means the macro was only invoked conditionally." >&2;}
5631 { (exit 1); exit 1; }; }
5632fi
63402fe4
ILT
5633if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
5634 { { echo "$as_me:$LINENO: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5635Usually this means the macro was only invoked conditionally." >&5
5636echo "$as_me: error: conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
5637Usually this means the macro was only invoked conditionally." >&2;}
5638 { (exit 1); exit 1; }; }
5639fi
6eee141f
ILT
5640if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
5641 { { echo "$as_me:$LINENO: error: conditional \"TLS\" was never defined.
5642Usually this means the macro was only invoked conditionally." >&5
5643echo "$as_me: error: conditional \"TLS\" was never defined.
5644Usually this means the macro was only invoked conditionally." >&2;}
5645 { (exit 1); exit 1; }; }
5646fi
bae7f79e
ILT
5647if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5648 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5649Usually this means the macro was only invoked conditionally." >&5
5650echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5651Usually this means the macro was only invoked conditionally." >&2;}
5652 { (exit 1); exit 1; }; }
5653fi
5654
5655: ${CONFIG_STATUS=./config.status}
5656ac_clean_files_save=$ac_clean_files
5657ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5658{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5659echo "$as_me: creating $CONFIG_STATUS" >&6;}
5660cat >$CONFIG_STATUS <<_ACEOF
5661#! $SHELL
5662# Generated by $as_me.
5663# Run this file to recreate the current configuration.
5664# Compiler output produced by configure, useful for debugging
5665# configure, is in config.log if it exists.
5666
5667debug=false
5668ac_cs_recheck=false
5669ac_cs_silent=false
5670SHELL=\${CONFIG_SHELL-$SHELL}
5671_ACEOF
5672
5673cat >>$CONFIG_STATUS <<\_ACEOF
5674## --------------------- ##
5675## M4sh Initialization. ##
5676## --------------------- ##
5677
5678# Be Bourne compatible
5679if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5680 emulate sh
5681 NULLCMD=:
5682 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5683 # is contrary to our usage. Disable this feature.
5684 alias -g '${1+"$@"}'='"$@"'
5685elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5686 set -o posix
5687fi
5688DUALCASE=1; export DUALCASE # for MKS sh
5689
5690# Support unset when possible.
5691if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5692 as_unset=unset
5693else
5694 as_unset=false
5695fi
5696
5697
5698# Work around bugs in pre-3.0 UWIN ksh.
5699$as_unset ENV MAIL MAILPATH
5700PS1='$ '
5701PS2='> '
5702PS4='+ '
5703
5704# NLS nuisances.
5705for as_var in \
5706 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5707 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5708 LC_TELEPHONE LC_TIME
5709do
5710 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5711 eval $as_var=C; export $as_var
5712 else
5713 $as_unset $as_var
5714 fi
5715done
5716
5717# Required to use basename.
5718if expr a : '\(a\)' >/dev/null 2>&1; then
5719 as_expr=expr
5720else
5721 as_expr=false
5722fi
5723
5724if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5725 as_basename=basename
5726else
5727 as_basename=false
5728fi
5729
5730
5731# Name of the executable.
5732as_me=`$as_basename "$0" ||
5733$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5734 X"$0" : 'X\(//\)$' \| \
5735 X"$0" : 'X\(/\)$' \| \
5736 . : '\(.\)' 2>/dev/null ||
5737echo X/"$0" |
5738 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5739 /^X\/\(\/\/\)$/{ s//\1/; q; }
5740 /^X\/\(\/\).*/{ s//\1/; q; }
5741 s/.*/./; q'`
5742
5743
5744# PATH needs CR, and LINENO needs CR and PATH.
5745# Avoid depending upon Character Ranges.
5746as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5747as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5748as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5749as_cr_digits='0123456789'
5750as_cr_alnum=$as_cr_Letters$as_cr_digits
5751
5752# The user is always right.
5753if test "${PATH_SEPARATOR+set}" != set; then
5754 echo "#! /bin/sh" >conf$$.sh
5755 echo "exit 0" >>conf$$.sh
5756 chmod +x conf$$.sh
5757 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5758 PATH_SEPARATOR=';'
5759 else
5760 PATH_SEPARATOR=:
5761 fi
5762 rm -f conf$$.sh
5763fi
5764
5765
5766 as_lineno_1=$LINENO
5767 as_lineno_2=$LINENO
5768 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5769 test "x$as_lineno_1" != "x$as_lineno_2" &&
5770 test "x$as_lineno_3" = "x$as_lineno_2" || {
5771 # Find who we are. Look in the path if we contain no path at all
5772 # relative or not.
5773 case $0 in
5774 *[\\/]* ) as_myself=$0 ;;
5775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776for as_dir in $PATH
5777do
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5781done
5782
5783 ;;
5784 esac
5785 # We did not find ourselves, most probably we were run as `sh COMMAND'
5786 # in which case we are not to be found in the path.
5787 if test "x$as_myself" = x; then
5788 as_myself=$0
5789 fi
5790 if test ! -f "$as_myself"; then
5791 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5792echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5793 { (exit 1); exit 1; }; }
5794 fi
5795 case $CONFIG_SHELL in
5796 '')
5797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5799do
5800 IFS=$as_save_IFS
5801 test -z "$as_dir" && as_dir=.
5802 for as_base in sh bash ksh sh5; do
5803 case $as_dir in
5804 /*)
5805 if ("$as_dir/$as_base" -c '
5806 as_lineno_1=$LINENO
5807 as_lineno_2=$LINENO
5808 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5809 test "x$as_lineno_1" != "x$as_lineno_2" &&
5810 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5811 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5812 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5813 CONFIG_SHELL=$as_dir/$as_base
5814 export CONFIG_SHELL
5815 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5816 fi;;
5817 esac
5818 done
5819done
5820;;
5821 esac
5822
5823 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5824 # uniformly replaced by the line number. The first 'sed' inserts a
5825 # line-number line before each line; the second 'sed' does the real
5826 # work. The second script uses 'N' to pair each line-number line
5827 # with the numbered line, and appends trailing '-' during
5828 # substitution so that $LINENO is not a special case at line end.
5829 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5830 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5831 sed '=' <$as_myself |
5832 sed '
5833 N
5834 s,$,-,
5835 : loop
5836 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5837 t loop
5838 s,-$,,
5839 s,^['$as_cr_digits']*\n,,
5840 ' >$as_me.lineno &&
5841 chmod +x $as_me.lineno ||
5842 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5843echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5844 { (exit 1); exit 1; }; }
5845
5846 # Don't try to exec as it changes $[0], causing all sort of problems
5847 # (the dirname of $[0] is not the place where we might find the
5848 # original and so on. Autoconf is especially sensible to this).
5849 . ./$as_me.lineno
5850 # Exit status is that of the last command.
5851 exit
5852}
5853
5854
5855case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5856 *c*,-n*) ECHO_N= ECHO_C='
5857' ECHO_T=' ' ;;
5858 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5859 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5860esac
5861
5862if expr a : '\(a\)' >/dev/null 2>&1; then
5863 as_expr=expr
5864else
5865 as_expr=false
5866fi
5867
5868rm -f conf$$ conf$$.exe conf$$.file
5869echo >conf$$.file
5870if ln -s conf$$.file conf$$ 2>/dev/null; then
5871 # We could just check for DJGPP; but this test a) works b) is more generic
5872 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5873 if test -f conf$$.exe; then
5874 # Don't use ln at all; we don't have any links
5875 as_ln_s='cp -p'
5876 else
5877 as_ln_s='ln -s'
5878 fi
5879elif ln conf$$.file conf$$ 2>/dev/null; then
5880 as_ln_s=ln
5881else
5882 as_ln_s='cp -p'
5883fi
5884rm -f conf$$ conf$$.exe conf$$.file
5885
5886if mkdir -p . 2>/dev/null; then
5887 as_mkdir_p=:
5888else
5889 test -d ./-p && rmdir ./-p
5890 as_mkdir_p=false
5891fi
5892
5893as_executable_p="test -f"
5894
5895# Sed expression to map a string onto a valid CPP name.
5896as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5897
5898# Sed expression to map a string onto a valid variable name.
5899as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5900
5901
5902# IFS
5903# We need space, tab and new line, in precisely that order.
5904as_nl='
5905'
5906IFS=" $as_nl"
5907
5908# CDPATH.
5909$as_unset CDPATH
5910
5911exec 6>&1
5912
5913# Open the log real soon, to keep \$[0] and so on meaningful, and to
5914# report actual input values of CONFIG_FILES etc. instead of their
5915# values after options handling. Logging --version etc. is OK.
5916exec 5>>config.log
5917{
5918 echo
5919 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5920## Running $as_me. ##
5921_ASBOX
5922} >&5
5923cat >&5 <<_CSEOF
5924
5925This file was extended by $as_me, which was
5926generated by GNU Autoconf 2.59. Invocation command line was
5927
5928 CONFIG_FILES = $CONFIG_FILES
5929 CONFIG_HEADERS = $CONFIG_HEADERS
5930 CONFIG_LINKS = $CONFIG_LINKS
5931 CONFIG_COMMANDS = $CONFIG_COMMANDS
5932 $ $0 $@
5933
5934_CSEOF
5935echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5936echo >&5
5937_ACEOF
5938
5939# Files that config.status was made for.
5940if test -n "$ac_config_files"; then
5941 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5942fi
5943
5944if test -n "$ac_config_headers"; then
5945 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5946fi
5947
5948if test -n "$ac_config_links"; then
5949 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5950fi
5951
5952if test -n "$ac_config_commands"; then
5953 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5954fi
5955
5956cat >>$CONFIG_STATUS <<\_ACEOF
5957
5958ac_cs_usage="\
5959\`$as_me' instantiates files from templates according to the
5960current configuration.
5961
5962Usage: $0 [OPTIONS] [FILE]...
5963
5964 -h, --help print this help, then exit
5965 -V, --version print version number, then exit
5966 -q, --quiet do not print progress messages
5967 -d, --debug don't remove temporary files
5968 --recheck update $as_me by reconfiguring in the same conditions
5969 --file=FILE[:TEMPLATE]
5970 instantiate the configuration file FILE
5971 --header=FILE[:TEMPLATE]
5972 instantiate the configuration header FILE
5973
5974Configuration files:
5975$config_files
5976
5977Configuration headers:
5978$config_headers
5979
5980Configuration commands:
5981$config_commands
5982
5983Report bugs to <bug-autoconf@gnu.org>."
5984_ACEOF
5985
5986cat >>$CONFIG_STATUS <<_ACEOF
5987ac_cs_version="\\
5988config.status
5989configured by $0, generated by GNU Autoconf 2.59,
5990 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5991
5992Copyright (C) 2003 Free Software Foundation, Inc.
5993This config.status script is free software; the Free Software Foundation
5994gives unlimited permission to copy, distribute and modify it."
5995srcdir=$srcdir
5996INSTALL="$INSTALL"
5997_ACEOF
5998
5999cat >>$CONFIG_STATUS <<\_ACEOF
6000# If no file are specified by the user, then we need to provide default
6001# value. By we need to know if files were specified by the user.
6002ac_need_defaults=:
6003while test $# != 0
6004do
6005 case $1 in
6006 --*=*)
6007 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6008 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6009 ac_shift=:
6010 ;;
6011 -*)
6012 ac_option=$1
6013 ac_optarg=$2
6014 ac_shift=shift
6015 ;;
6016 *) # This is not an option, so the user has probably given explicit
6017 # arguments.
6018 ac_option=$1
6019 ac_need_defaults=false;;
6020 esac
6021
6022 case $ac_option in
6023 # Handling of the options.
6024_ACEOF
6025cat >>$CONFIG_STATUS <<\_ACEOF
6026 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6027 ac_cs_recheck=: ;;
6028 --version | --vers* | -V )
6029 echo "$ac_cs_version"; exit 0 ;;
6030 --he | --h)
6031 # Conflict between --help and --header
6032 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6033Try \`$0 --help' for more information." >&5
6034echo "$as_me: error: ambiguous option: $1
6035Try \`$0 --help' for more information." >&2;}
6036 { (exit 1); exit 1; }; };;
6037 --help | --hel | -h )
6038 echo "$ac_cs_usage"; exit 0 ;;
6039 --debug | --d* | -d )
6040 debug=: ;;
6041 --file | --fil | --fi | --f )
6042 $ac_shift
6043 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6044 ac_need_defaults=false;;
6045 --header | --heade | --head | --hea )
6046 $ac_shift
6047 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6048 ac_need_defaults=false;;
6049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6050 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6051 ac_cs_silent=: ;;
6052
6053 # This is an error.
6054 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6055Try \`$0 --help' for more information." >&5
6056echo "$as_me: error: unrecognized option: $1
6057Try \`$0 --help' for more information." >&2;}
6058 { (exit 1); exit 1; }; } ;;
6059
6060 *) ac_config_targets="$ac_config_targets $1" ;;
6061
6062 esac
6063 shift
6064done
6065
6066ac_configure_extra_args=
6067
6068if $ac_cs_silent; then
6069 exec 6>/dev/null
6070 ac_configure_extra_args="$ac_configure_extra_args --silent"
6071fi
6072
6073_ACEOF
6074cat >>$CONFIG_STATUS <<_ACEOF
6075if \$ac_cs_recheck; then
6076 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6077 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6078fi
6079
6080_ACEOF
6081
6082cat >>$CONFIG_STATUS <<_ACEOF
6083#
6084# INIT-COMMANDS section.
6085#
6086
6087AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6088# Capture the value of obsolete ALL_LINGUAS because we need it to compute
6089 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
6090 # from automake.
6091 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
6092 # Capture the value of LINGUAS because we need it to compute CATALOGS.
6093 LINGUAS="${LINGUAS-%UNSET%}"
6094
6095
6096_ACEOF
6097
6098
6099
6100cat >>$CONFIG_STATUS <<\_ACEOF
6101for ac_config_target in $ac_config_targets
6102do
6103 case "$ac_config_target" in
6104 # Handling of arguments.
6105 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5a6f7e2d 6106 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
bae7f79e
ILT
6107 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
6108 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6109 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6110 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
6111 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6112echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6113 { (exit 1); exit 1; }; };;
6114 esac
6115done
6116
6117# If the user did not use the arguments to specify the items to instantiate,
6118# then the envvar interface is used. Set only those that are not.
6119# We use the long form for the default assignment because of an extremely
6120# bizarre bug on SunOS 4.1.3.
6121if $ac_need_defaults; then
6122 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6123 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6124 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6125fi
6126
6127# Have a temporary directory for convenience. Make it in the build tree
6128# simply because there is no reason to put it here, and in addition,
6129# creating and moving files from /tmp can sometimes cause problems.
6130# Create a temporary directory, and hook for its removal unless debugging.
6131$debug ||
6132{
6133 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6134 trap '{ (exit 1); exit 1; }' 1 2 13 15
6135}
6136
6137# Create a (secure) tmp directory for tmp files.
6138
6139{
6140 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6141 test -n "$tmp" && test -d "$tmp"
6142} ||
6143{
6144 tmp=./confstat$$-$RANDOM
6145 (umask 077 && mkdir $tmp)
6146} ||
6147{
6148 echo "$me: cannot create a temporary directory in ." >&2
6149 { (exit 1); exit 1; }
6150}
6151
6152_ACEOF
6153
6154cat >>$CONFIG_STATUS <<_ACEOF
6155
6156#
6157# CONFIG_FILES section.
6158#
6159
6160# No need to generate the scripts if there are no CONFIG_FILES.
6161# This happens for instance when ./config.status config.h
6162if test -n "\$CONFIG_FILES"; then
6163 # Protect against being on the right side of a sed subst in config.status.
6164 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6165 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6166s,@SHELL@,$SHELL,;t t
6167s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6168s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6169s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6170s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6171s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6172s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6173s,@exec_prefix@,$exec_prefix,;t t
6174s,@prefix@,$prefix,;t t
6175s,@program_transform_name@,$program_transform_name,;t t
6176s,@bindir@,$bindir,;t t
6177s,@sbindir@,$sbindir,;t t
6178s,@libexecdir@,$libexecdir,;t t
6179s,@datadir@,$datadir,;t t
6180s,@sysconfdir@,$sysconfdir,;t t
6181s,@sharedstatedir@,$sharedstatedir,;t t
6182s,@localstatedir@,$localstatedir,;t t
6183s,@libdir@,$libdir,;t t
6184s,@includedir@,$includedir,;t t
6185s,@oldincludedir@,$oldincludedir,;t t
6186s,@infodir@,$infodir,;t t
6187s,@mandir@,$mandir,;t t
6188s,@build_alias@,$build_alias,;t t
6189s,@host_alias@,$host_alias,;t t
6190s,@target_alias@,$target_alias,;t t
6191s,@DEFS@,$DEFS,;t t
6192s,@ECHO_C@,$ECHO_C,;t t
6193s,@ECHO_N@,$ECHO_N,;t t
6194s,@ECHO_T@,$ECHO_T,;t t
6195s,@LIBS@,$LIBS,;t t
6196s,@build@,$build,;t t
6197s,@build_cpu@,$build_cpu,;t t
6198s,@build_vendor@,$build_vendor,;t t
6199s,@build_os@,$build_os,;t t
6200s,@host@,$host,;t t
6201s,@host_cpu@,$host_cpu,;t t
6202s,@host_vendor@,$host_vendor,;t t
6203s,@host_os@,$host_os,;t t
6204s,@target@,$target,;t t
6205s,@target_cpu@,$target_cpu,;t t
6206s,@target_vendor@,$target_vendor,;t t
6207s,@target_os@,$target_os,;t t
6208s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6209s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6210s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6211s,@CYGPATH_W@,$CYGPATH_W,;t t
6212s,@PACKAGE@,$PACKAGE,;t t
6213s,@VERSION@,$VERSION,;t t
6214s,@ACLOCAL@,$ACLOCAL,;t t
6215s,@AUTOCONF@,$AUTOCONF,;t t
6216s,@AUTOMAKE@,$AUTOMAKE,;t t
6217s,@AUTOHEADER@,$AUTOHEADER,;t t
6218s,@MAKEINFO@,$MAKEINFO,;t t
6219s,@install_sh@,$install_sh,;t t
6220s,@STRIP@,$STRIP,;t t
6221s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6222s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6223s,@mkdir_p@,$mkdir_p,;t t
6224s,@AWK@,$AWK,;t t
6225s,@SET_MAKE@,$SET_MAKE,;t t
6226s,@am__leading_dot@,$am__leading_dot,;t t
6227s,@AMTAR@,$AMTAR,;t t
6228s,@am__tar@,$am__tar,;t t
6229s,@am__untar@,$am__untar,;t t
6df6da4a 6230s,@TARGETOBJS@,$TARGETOBJS,;t t
bae7f79e
ILT
6231s,@CC@,$CC,;t t
6232s,@CFLAGS@,$CFLAGS,;t t
6233s,@LDFLAGS@,$LDFLAGS,;t t
6234s,@CPPFLAGS@,$CPPFLAGS,;t t
6235s,@ac_ct_CC@,$ac_ct_CC,;t t
6236s,@EXEEXT@,$EXEEXT,;t t
6237s,@OBJEXT@,$OBJEXT,;t t
6238s,@DEPDIR@,$DEPDIR,;t t
6239s,@am__include@,$am__include,;t t
6240s,@am__quote@,$am__quote,;t t
6241s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6242s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6243s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6244s,@CCDEPMODE@,$CCDEPMODE,;t t
6245s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6246s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6247s,@CXX@,$CXX,;t t
6248s,@CXXFLAGS@,$CXXFLAGS,;t t
6249s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6250s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6251s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6252s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
dbe717ef 6253s,@YACC@,$YACC,;t t
5a6f7e2d
ILT
6254s,@RANLIB@,$RANLIB,;t t
6255s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
537b5f51 6256s,@LN_S@,$LN_S,;t t
bae7f79e
ILT
6257s,@USE_NLS@,$USE_NLS,;t t
6258s,@LIBINTL@,$LIBINTL,;t t
6259s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6260s,@INCINTL@,$INCINTL,;t t
6261s,@XGETTEXT@,$XGETTEXT,;t t
6262s,@GMSGFMT@,$GMSGFMT,;t t
6263s,@POSUB@,$POSUB,;t t
6264s,@CATALOGS@,$CATALOGS,;t t
6265s,@DATADIRNAME@,$DATADIRNAME,;t t
6266s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6267s,@GENCAT@,$GENCAT,;t t
6268s,@CATOBJEXT@,$CATOBJEXT,;t t
6269s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6270s,@MSGFMT@,$MSGFMT,;t t
6271s,@MSGMERGE@,$MSGMERGE,;t t
537b5f51
ILT
6272s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
6273s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
6274s,@GCC_TRUE@,$GCC_TRUE,;t t
6275s,@GCC_FALSE@,$GCC_FALSE,;t t
63402fe4
ILT
6276s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
6277s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
6eee141f
ILT
6278s,@TLS_TRUE@,$TLS_TRUE,;t t
6279s,@TLS_FALSE@,$TLS_FALSE,;t t
bae7f79e
ILT
6280s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6281s,@NO_WERROR@,$NO_WERROR,;t t
6282s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
6283s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
82dcae9d 6284s,@LIBOBJS@,$LIBOBJS,;t t
54dc6425
ILT
6285s,@CXXCPP@,$CXXCPP,;t t
6286s,@EGREP@,$EGREP,;t t
bae7f79e
ILT
6287s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6288s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6289s,@MAINT@,$MAINT,;t t
bae7f79e
ILT
6290s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6291CEOF
6292
6293_ACEOF
6294
6295 cat >>$CONFIG_STATUS <<\_ACEOF
6296 # Split the substitutions into bite-sized pieces for seds with
6297 # small command number limits, like on Digital OSF/1 and HP-UX.
6298 ac_max_sed_lines=48
6299 ac_sed_frag=1 # Number of current file.
6300 ac_beg=1 # First line for current file.
6301 ac_end=$ac_max_sed_lines # Line after last line for current file.
6302 ac_more_lines=:
6303 ac_sed_cmds=
6304 while $ac_more_lines; do
6305 if test $ac_beg -gt 1; then
6306 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6307 else
6308 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6309 fi
6310 if test ! -s $tmp/subs.frag; then
6311 ac_more_lines=false
6312 else
6313 # The purpose of the label and of the branching condition is to
6314 # speed up the sed processing (if there are no `@' at all, there
6315 # is no need to browse any of the substitutions).
6316 # These are the two extra sed commands mentioned above.
6317 (echo ':t
6318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6319 if test -z "$ac_sed_cmds"; then
6320 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6321 else
6322 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6323 fi
6324 ac_sed_frag=`expr $ac_sed_frag + 1`
6325 ac_beg=$ac_end
6326 ac_end=`expr $ac_end + $ac_max_sed_lines`
6327 fi
6328 done
6329 if test -z "$ac_sed_cmds"; then
6330 ac_sed_cmds=cat
6331 fi
6332fi # test -n "$CONFIG_FILES"
6333
6334_ACEOF
6335cat >>$CONFIG_STATUS <<\_ACEOF
6336for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6337 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6338 case $ac_file in
6339 - | *:- | *:-:* ) # input from stdin
6340 cat >$tmp/stdin
6341 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6342 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6343 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6344 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6345 * ) ac_file_in=$ac_file.in ;;
6346 esac
6347
6348 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6349 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6350$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6351 X"$ac_file" : 'X\(//\)[^/]' \| \
6352 X"$ac_file" : 'X\(//\)$' \| \
6353 X"$ac_file" : 'X\(/\)' \| \
6354 . : '\(.\)' 2>/dev/null ||
6355echo X"$ac_file" |
6356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6358 /^X\(\/\/\)$/{ s//\1/; q; }
6359 /^X\(\/\).*/{ s//\1/; q; }
6360 s/.*/./; q'`
6361 { if $as_mkdir_p; then
6362 mkdir -p "$ac_dir"
6363 else
6364 as_dir="$ac_dir"
6365 as_dirs=
6366 while test ! -d "$as_dir"; do
6367 as_dirs="$as_dir $as_dirs"
6368 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6369$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6370 X"$as_dir" : 'X\(//\)[^/]' \| \
6371 X"$as_dir" : 'X\(//\)$' \| \
6372 X"$as_dir" : 'X\(/\)' \| \
6373 . : '\(.\)' 2>/dev/null ||
6374echo X"$as_dir" |
6375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6377 /^X\(\/\/\)$/{ s//\1/; q; }
6378 /^X\(\/\).*/{ s//\1/; q; }
6379 s/.*/./; q'`
6380 done
6381 test ! -n "$as_dirs" || mkdir $as_dirs
6382 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6383echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6384 { (exit 1); exit 1; }; }; }
6385
6386 ac_builddir=.
6387
6388if test "$ac_dir" != .; then
6389 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6390 # A "../" for each directory in $ac_dir_suffix.
6391 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6392else
6393 ac_dir_suffix= ac_top_builddir=
6394fi
6395
6396case $srcdir in
6397 .) # No --srcdir option. We are building in place.
6398 ac_srcdir=.
6399 if test -z "$ac_top_builddir"; then
6400 ac_top_srcdir=.
6401 else
6402 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6403 fi ;;
6404 [\\/]* | ?:[\\/]* ) # Absolute path.
6405 ac_srcdir=$srcdir$ac_dir_suffix;
6406 ac_top_srcdir=$srcdir ;;
6407 *) # Relative path.
6408 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6409 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6410esac
6411
6412# Do not use `cd foo && pwd` to compute absolute paths, because
6413# the directories may not exist.
6414case `pwd` in
6415.) ac_abs_builddir="$ac_dir";;
6416*)
6417 case "$ac_dir" in
6418 .) ac_abs_builddir=`pwd`;;
6419 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6420 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6421 esac;;
6422esac
6423case $ac_abs_builddir in
6424.) ac_abs_top_builddir=${ac_top_builddir}.;;
6425*)
6426 case ${ac_top_builddir}. in
6427 .) ac_abs_top_builddir=$ac_abs_builddir;;
6428 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6429 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6430 esac;;
6431esac
6432case $ac_abs_builddir in
6433.) ac_abs_srcdir=$ac_srcdir;;
6434*)
6435 case $ac_srcdir in
6436 .) ac_abs_srcdir=$ac_abs_builddir;;
6437 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6438 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6439 esac;;
6440esac
6441case $ac_abs_builddir in
6442.) ac_abs_top_srcdir=$ac_top_srcdir;;
6443*)
6444 case $ac_top_srcdir in
6445 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6446 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6447 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6448 esac;;
6449esac
6450
6451
6452 case $INSTALL in
6453 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6454 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6455 esac
6456
6457 if test x"$ac_file" != x-; then
6458 { echo "$as_me:$LINENO: creating $ac_file" >&5
6459echo "$as_me: creating $ac_file" >&6;}
6460 rm -f "$ac_file"
6461 fi
6462 # Let's still pretend it is `configure' which instantiates (i.e., don't
6463 # use $as_me), people would be surprised to read:
6464 # /* config.h. Generated by config.status. */
6465 if test x"$ac_file" = x-; then
6466 configure_input=
6467 else
6468 configure_input="$ac_file. "
6469 fi
6470 configure_input=$configure_input"Generated from `echo $ac_file_in |
6471 sed 's,.*/,,'` by configure."
6472
6473 # First look for the input files in the build tree, otherwise in the
6474 # src tree.
6475 ac_file_inputs=`IFS=:
6476 for f in $ac_file_in; do
6477 case $f in
6478 -) echo $tmp/stdin ;;
6479 [\\/$]*)
6480 # Absolute (can't be DOS-style, as IFS=:)
6481 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6482echo "$as_me: error: cannot find input file: $f" >&2;}
6483 { (exit 1); exit 1; }; }
6484 echo "$f";;
6485 *) # Relative
6486 if test -f "$f"; then
6487 # Build tree
6488 echo "$f"
6489 elif test -f "$srcdir/$f"; then
6490 # Source tree
6491 echo "$srcdir/$f"
6492 else
6493 # /dev/null tree
6494 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6495echo "$as_me: error: cannot find input file: $f" >&2;}
6496 { (exit 1); exit 1; }; }
6497 fi;;
6498 esac
6499 done` || { (exit 1); exit 1; }
6500_ACEOF
6501cat >>$CONFIG_STATUS <<_ACEOF
6502 sed "$ac_vpsub
6503$extrasub
6504_ACEOF
6505cat >>$CONFIG_STATUS <<\_ACEOF
6506:t
6507/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6508s,@configure_input@,$configure_input,;t t
6509s,@srcdir@,$ac_srcdir,;t t
6510s,@abs_srcdir@,$ac_abs_srcdir,;t t
6511s,@top_srcdir@,$ac_top_srcdir,;t t
6512s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6513s,@builddir@,$ac_builddir,;t t
6514s,@abs_builddir@,$ac_abs_builddir,;t t
6515s,@top_builddir@,$ac_top_builddir,;t t
6516s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6517s,@INSTALL@,$ac_INSTALL,;t t
6518" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6519 rm -f $tmp/stdin
6520 if test x"$ac_file" != x-; then
6521 mv $tmp/out $ac_file
6522 else
6523 cat $tmp/out
6524 rm -f $tmp/out
6525 fi
6526
6527done
6528_ACEOF
6529cat >>$CONFIG_STATUS <<\_ACEOF
6530
6531#
6532# CONFIG_HEADER section.
6533#
6534
6535# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6536# NAME is the cpp macro being defined and VALUE is the value it is being given.
6537#
6538# ac_d sets the value in "#define NAME VALUE" lines.
6539ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6540ac_dB='[ ].*$,\1#\2'
6541ac_dC=' '
6542ac_dD=',;t'
6543# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6544ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6545ac_uB='$,\1#\2define\3'
6546ac_uC=' '
6547ac_uD=',;t'
6548
6549for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6550 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6551 case $ac_file in
6552 - | *:- | *:-:* ) # input from stdin
6553 cat >$tmp/stdin
6554 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6555 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6556 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6557 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6558 * ) ac_file_in=$ac_file.in ;;
6559 esac
6560
6561 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6562echo "$as_me: creating $ac_file" >&6;}
6563
6564 # First look for the input files in the build tree, otherwise in the
6565 # src tree.
6566 ac_file_inputs=`IFS=:
6567 for f in $ac_file_in; do
6568 case $f in
6569 -) echo $tmp/stdin ;;
6570 [\\/$]*)
6571 # Absolute (can't be DOS-style, as IFS=:)
6572 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6573echo "$as_me: error: cannot find input file: $f" >&2;}
6574 { (exit 1); exit 1; }; }
6575 # Do quote $f, to prevent DOS paths from being IFS'd.
6576 echo "$f";;
6577 *) # Relative
6578 if test -f "$f"; then
6579 # Build tree
6580 echo "$f"
6581 elif test -f "$srcdir/$f"; then
6582 # Source tree
6583 echo "$srcdir/$f"
6584 else
6585 # /dev/null tree
6586 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6587echo "$as_me: error: cannot find input file: $f" >&2;}
6588 { (exit 1); exit 1; }; }
6589 fi;;
6590 esac
6591 done` || { (exit 1); exit 1; }
6592 # Remove the trailing spaces.
6593 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6594
6595_ACEOF
6596
6597# Transform confdefs.h into two sed scripts, `conftest.defines' and
6598# `conftest.undefs', that substitutes the proper values into
6599# config.h.in to produce config.h. The first handles `#define'
6600# templates, and the second `#undef' templates.
6601# And first: Protect against being on the right side of a sed subst in
6602# config.status. Protect against being in an unquoted here document
6603# in config.status.
6604rm -f conftest.defines conftest.undefs
6605# Using a here document instead of a string reduces the quoting nightmare.
6606# Putting comments in sed scripts is not portable.
6607#
6608# `end' is used to avoid that the second main sed command (meant for
6609# 0-ary CPP macros) applies to n-ary macro definitions.
6610# See the Autoconf documentation for `clear'.
6611cat >confdef2sed.sed <<\_ACEOF
6612s/[\\&,]/\\&/g
6613s,[\\$`],\\&,g
6614t clear
6615: clear
6616s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6617t end
6618s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6619: end
6620_ACEOF
6621# If some macros were called several times there might be several times
6622# the same #defines, which is useless. Nevertheless, we may not want to
6623# sort them, since we want the *last* AC-DEFINE to be honored.
6624uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6625sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6626rm -f confdef2sed.sed
6627
6628# This sed command replaces #undef with comments. This is necessary, for
6629# example, in the case of _POSIX_SOURCE, which is predefined and required
6630# on some systems where configure will not decide to define it.
6631cat >>conftest.undefs <<\_ACEOF
6632s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6633_ACEOF
6634
6635# Break up conftest.defines because some shells have a limit on the size
6636# of here documents, and old seds have small limits too (100 cmds).
6637echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6638echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6639echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6640echo ' :' >>$CONFIG_STATUS
6641rm -f conftest.tail
6642while grep . conftest.defines >/dev/null
6643do
6644 # Write a limited-size here document to $tmp/defines.sed.
6645 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6646 # Speed up: don't consider the non `#define' lines.
6647 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6648 # Work around the forget-to-reset-the-flag bug.
6649 echo 't clr' >>$CONFIG_STATUS
6650 echo ': clr' >>$CONFIG_STATUS
6651 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6652 echo 'CEOF
6653 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6654 rm -f $tmp/in
6655 mv $tmp/out $tmp/in
6656' >>$CONFIG_STATUS
6657 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6658 rm -f conftest.defines
6659 mv conftest.tail conftest.defines
6660done
6661rm -f conftest.defines
6662echo ' fi # grep' >>$CONFIG_STATUS
6663echo >>$CONFIG_STATUS
6664
6665# Break up conftest.undefs because some shells have a limit on the size
6666# of here documents, and old seds have small limits too (100 cmds).
6667echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6668rm -f conftest.tail
6669while grep . conftest.undefs >/dev/null
6670do
6671 # Write a limited-size here document to $tmp/undefs.sed.
6672 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6673 # Speed up: don't consider the non `#undef'
6674 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6675 # Work around the forget-to-reset-the-flag bug.
6676 echo 't clr' >>$CONFIG_STATUS
6677 echo ': clr' >>$CONFIG_STATUS
6678 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6679 echo 'CEOF
6680 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6681 rm -f $tmp/in
6682 mv $tmp/out $tmp/in
6683' >>$CONFIG_STATUS
6684 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6685 rm -f conftest.undefs
6686 mv conftest.tail conftest.undefs
6687done
6688rm -f conftest.undefs
6689
6690cat >>$CONFIG_STATUS <<\_ACEOF
6691 # Let's still pretend it is `configure' which instantiates (i.e., don't
6692 # use $as_me), people would be surprised to read:
6693 # /* config.h. Generated by config.status. */
6694 if test x"$ac_file" = x-; then
6695 echo "/* Generated by configure. */" >$tmp/config.h
6696 else
6697 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6698 fi
6699 cat $tmp/in >>$tmp/config.h
6700 rm -f $tmp/in
6701 if test x"$ac_file" != x-; then
6702 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6703 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6704echo "$as_me: $ac_file is unchanged" >&6;}
6705 else
6706 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6707$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6708 X"$ac_file" : 'X\(//\)[^/]' \| \
6709 X"$ac_file" : 'X\(//\)$' \| \
6710 X"$ac_file" : 'X\(/\)' \| \
6711 . : '\(.\)' 2>/dev/null ||
6712echo X"$ac_file" |
6713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6715 /^X\(\/\/\)$/{ s//\1/; q; }
6716 /^X\(\/\).*/{ s//\1/; q; }
6717 s/.*/./; q'`
6718 { if $as_mkdir_p; then
6719 mkdir -p "$ac_dir"
6720 else
6721 as_dir="$ac_dir"
6722 as_dirs=
6723 while test ! -d "$as_dir"; do
6724 as_dirs="$as_dir $as_dirs"
6725 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6726$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6727 X"$as_dir" : 'X\(//\)[^/]' \| \
6728 X"$as_dir" : 'X\(//\)$' \| \
6729 X"$as_dir" : 'X\(/\)' \| \
6730 . : '\(.\)' 2>/dev/null ||
6731echo X"$as_dir" |
6732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6733 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6734 /^X\(\/\/\)$/{ s//\1/; q; }
6735 /^X\(\/\).*/{ s//\1/; q; }
6736 s/.*/./; q'`
6737 done
6738 test ! -n "$as_dirs" || mkdir $as_dirs
6739 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6740echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6741 { (exit 1); exit 1; }; }; }
6742
6743 rm -f $ac_file
6744 mv $tmp/config.h $ac_file
6745 fi
6746 else
6747 cat $tmp/config.h
6748 rm -f $tmp/config.h
6749 fi
6750# Compute $ac_file's index in $config_headers.
6751_am_stamp_count=1
6752for _am_header in $config_headers :; do
6753 case $_am_header in
6754 $ac_file | $ac_file:* )
6755 break ;;
6756 * )
6757 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6758 esac
6759done
6760echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6761$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6762 X$ac_file : 'X\(//\)[^/]' \| \
6763 X$ac_file : 'X\(//\)$' \| \
6764 X$ac_file : 'X\(/\)' \| \
6765 . : '\(.\)' 2>/dev/null ||
6766echo X$ac_file |
6767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6769 /^X\(\/\/\)$/{ s//\1/; q; }
6770 /^X\(\/\).*/{ s//\1/; q; }
6771 s/.*/./; q'`/stamp-h$_am_stamp_count
6772done
6773_ACEOF
6774cat >>$CONFIG_STATUS <<\_ACEOF
6775
6776#
6777# CONFIG_COMMANDS section.
6778#
6779for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6780 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6781 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6782 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6783$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6784 X"$ac_dest" : 'X\(//\)[^/]' \| \
6785 X"$ac_dest" : 'X\(//\)$' \| \
6786 X"$ac_dest" : 'X\(/\)' \| \
6787 . : '\(.\)' 2>/dev/null ||
6788echo X"$ac_dest" |
6789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6791 /^X\(\/\/\)$/{ s//\1/; q; }
6792 /^X\(\/\).*/{ s//\1/; q; }
6793 s/.*/./; q'`
6794 { if $as_mkdir_p; then
6795 mkdir -p "$ac_dir"
6796 else
6797 as_dir="$ac_dir"
6798 as_dirs=
6799 while test ! -d "$as_dir"; do
6800 as_dirs="$as_dir $as_dirs"
6801 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6802$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6803 X"$as_dir" : 'X\(//\)[^/]' \| \
6804 X"$as_dir" : 'X\(//\)$' \| \
6805 X"$as_dir" : 'X\(/\)' \| \
6806 . : '\(.\)' 2>/dev/null ||
6807echo X"$as_dir" |
6808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6810 /^X\(\/\/\)$/{ s//\1/; q; }
6811 /^X\(\/\).*/{ s//\1/; q; }
6812 s/.*/./; q'`
6813 done
6814 test ! -n "$as_dirs" || mkdir $as_dirs
6815 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6816echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6817 { (exit 1); exit 1; }; }; }
6818
6819 ac_builddir=.
6820
6821if test "$ac_dir" != .; then
6822 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6823 # A "../" for each directory in $ac_dir_suffix.
6824 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6825else
6826 ac_dir_suffix= ac_top_builddir=
6827fi
6828
6829case $srcdir in
6830 .) # No --srcdir option. We are building in place.
6831 ac_srcdir=.
6832 if test -z "$ac_top_builddir"; then
6833 ac_top_srcdir=.
6834 else
6835 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6836 fi ;;
6837 [\\/]* | ?:[\\/]* ) # Absolute path.
6838 ac_srcdir=$srcdir$ac_dir_suffix;
6839 ac_top_srcdir=$srcdir ;;
6840 *) # Relative path.
6841 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6842 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6843esac
6844
6845# Do not use `cd foo && pwd` to compute absolute paths, because
6846# the directories may not exist.
6847case `pwd` in
6848.) ac_abs_builddir="$ac_dir";;
6849*)
6850 case "$ac_dir" in
6851 .) ac_abs_builddir=`pwd`;;
6852 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6853 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6854 esac;;
6855esac
6856case $ac_abs_builddir in
6857.) ac_abs_top_builddir=${ac_top_builddir}.;;
6858*)
6859 case ${ac_top_builddir}. in
6860 .) ac_abs_top_builddir=$ac_abs_builddir;;
6861 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6862 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6863 esac;;
6864esac
6865case $ac_abs_builddir in
6866.) ac_abs_srcdir=$ac_srcdir;;
6867*)
6868 case $ac_srcdir in
6869 .) ac_abs_srcdir=$ac_abs_builddir;;
6870 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6871 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6872 esac;;
6873esac
6874case $ac_abs_builddir in
6875.) ac_abs_top_srcdir=$ac_top_srcdir;;
6876*)
6877 case $ac_top_srcdir in
6878 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6879 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6880 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6881 esac;;
6882esac
6883
6884
6885 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6886echo "$as_me: executing $ac_dest commands" >&6;}
6887 case $ac_dest in
6888 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6889 # Strip MF so we end up with the name of the file.
6890 mf=`echo "$mf" | sed -e 's/:.*$//'`
6891 # Check whether this is an Automake generated Makefile or not.
6892 # We used to match only the files named `Makefile.in', but
6893 # some people rename them; so instead we look at the file content.
6894 # Grep'ing the first line is not enough: some people post-process
6895 # each Makefile.in and add a new line on top of each file to say so.
6896 # So let's grep whole file.
6897 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6898 dirpart=`(dirname "$mf") 2>/dev/null ||
6899$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6900 X"$mf" : 'X\(//\)[^/]' \| \
6901 X"$mf" : 'X\(//\)$' \| \
6902 X"$mf" : 'X\(/\)' \| \
6903 . : '\(.\)' 2>/dev/null ||
6904echo X"$mf" |
6905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6907 /^X\(\/\/\)$/{ s//\1/; q; }
6908 /^X\(\/\).*/{ s//\1/; q; }
6909 s/.*/./; q'`
6910 else
6911 continue
6912 fi
6913 # Extract the definition of DEPDIR, am__include, and am__quote
6914 # from the Makefile without running `make'.
6915 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6916 test -z "$DEPDIR" && continue
6917 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6918 test -z "am__include" && continue
6919 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6920 # When using ansi2knr, U may be empty or an underscore; expand it
6921 U=`sed -n 's/^U = //p' < "$mf"`
6922 # Find all dependency output files, they are included files with
6923 # $(DEPDIR) in their names. We invoke sed twice because it is the
6924 # simplest approach to changing $(DEPDIR) to its actual value in the
6925 # expansion.
6926 for file in `sed -n "
6927 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6928 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6929 # Make sure the directory exists.
6930 test -f "$dirpart/$file" && continue
6931 fdir=`(dirname "$file") 2>/dev/null ||
6932$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6933 X"$file" : 'X\(//\)[^/]' \| \
6934 X"$file" : 'X\(//\)$' \| \
6935 X"$file" : 'X\(/\)' \| \
6936 . : '\(.\)' 2>/dev/null ||
6937echo X"$file" |
6938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6940 /^X\(\/\/\)$/{ s//\1/; q; }
6941 /^X\(\/\).*/{ s//\1/; q; }
6942 s/.*/./; q'`
6943 { if $as_mkdir_p; then
6944 mkdir -p $dirpart/$fdir
6945 else
6946 as_dir=$dirpart/$fdir
6947 as_dirs=
6948 while test ! -d "$as_dir"; do
6949 as_dirs="$as_dir $as_dirs"
6950 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6951$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6952 X"$as_dir" : 'X\(//\)[^/]' \| \
6953 X"$as_dir" : 'X\(//\)$' \| \
6954 X"$as_dir" : 'X\(/\)' \| \
6955 . : '\(.\)' 2>/dev/null ||
6956echo X"$as_dir" |
6957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6959 /^X\(\/\/\)$/{ s//\1/; q; }
6960 /^X\(\/\).*/{ s//\1/; q; }
6961 s/.*/./; q'`
6962 done
6963 test ! -n "$as_dirs" || mkdir $as_dirs
6964 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6965echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6966 { (exit 1); exit 1; }; }; }
6967
6968 # echo "creating $dirpart/$file"
6969 echo '# dummy' > "$dirpart/$file"
6970 done
6971done
6972 ;;
6973 default-1 )
6974 for ac_file in $CONFIG_FILES; do
6975 # Support "outfile[:infile[:infile...]]"
6976 case "$ac_file" in
6977 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6978 esac
6979 # PO directories have a Makefile.in generated from Makefile.in.in.
6980 case "$ac_file" in */Makefile.in)
6981 # Adjust a relative srcdir.
6982 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6983 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6984 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6985 # In autoconf-2.13 it is called $ac_given_srcdir.
6986 # In autoconf-2.50 it is called $srcdir.
6987 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6988 case "$ac_given_srcdir" in
6989 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6990 /*) top_srcdir="$ac_given_srcdir" ;;
6991 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
6992 esac
6993 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6994 rm -f "$ac_dir/POTFILES"
6995 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6996 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6997 POMAKEFILEDEPS="POTFILES.in"
6998 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
6999 # on $ac_dir but don't depend on user-specified configuration
7000 # parameters.
7001 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7002 # The LINGUAS file contains the set of available languages.
7003 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7004 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7005 fi
7006 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7007 # Hide the ALL_LINGUAS assigment from automake.
7008 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7009 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7010 else
7011 # The set of available languages was given in configure.in.
7012 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7013 fi
7014 case "$ac_given_srcdir" in
7015 .) srcdirpre= ;;
7016 *) srcdirpre='$(srcdir)/' ;;
7017 esac
7018 POFILES=
7019 GMOFILES=
7020 UPDATEPOFILES=
7021 DUMMYPOFILES=
7022 for lang in $ALL_LINGUAS; do
7023 POFILES="$POFILES $srcdirpre$lang.po"
7024 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7025 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7026 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7027 done
7028 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7029 # environment variable.
7030 INST_LINGUAS=
7031 if test -n "$ALL_LINGUAS"; then
7032 for presentlang in $ALL_LINGUAS; do
7033 useit=no
7034 if test "%UNSET%" != "$LINGUAS"; then
7035 desiredlanguages="$LINGUAS"
7036 else
7037 desiredlanguages="$ALL_LINGUAS"
7038 fi
7039 for desiredlang in $desiredlanguages; do
7040 # Use the presentlang catalog if desiredlang is
7041 # a. equal to presentlang, or
7042 # b. a variant of presentlang (because in this case,
7043 # presentlang can be used as a fallback for messages
7044 # which are not translated in the desiredlang catalog).
7045 case "$desiredlang" in
7046 "$presentlang"*) useit=yes;;
7047 esac
7048 done
7049 if test $useit = yes; then
7050 INST_LINGUAS="$INST_LINGUAS $presentlang"
7051 fi
7052 done
7053 fi
7054 CATALOGS=
7055 if test -n "$INST_LINGUAS"; then
7056 for lang in $INST_LINGUAS; do
7057 CATALOGS="$CATALOGS $lang.gmo"
7058 done
7059 fi
7060 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7061 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7062 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7063 if test -f "$f"; then
7064 case "$f" in
7065 *.orig | *.bak | *~) ;;
7066 *) cat "$f" >> "$ac_dir/Makefile" ;;
7067 esac
7068 fi
7069 done
7070 fi
7071 ;;
7072 esac
7073 done ;;
7074 esac
7075done
7076_ACEOF
7077
7078cat >>$CONFIG_STATUS <<\_ACEOF
7079
7080{ (exit 0); exit 0; }
7081_ACEOF
7082chmod +x $CONFIG_STATUS
7083ac_clean_files=$ac_clean_files_save
7084
7085
7086# configure is writing to config.log, and then calls config.status.
7087# config.status does its own redirection, appending to config.log.
7088# Unfortunately, on DOS this fails, as config.log is still kept open
7089# by configure, so config.status won't be able to write to it; its
7090# output is simply discarded. So we exec the FD to /dev/null,
7091# effectively closing config.log, so it can be properly (re)opened and
7092# appended to by config.status. When coming back to configure, we
7093# need to make the FD available again.
7094if test "$no_create" != yes; then
7095 ac_cs_success=:
7096 ac_config_status_args=
7097 test "$silent" = yes &&
7098 ac_config_status_args="$ac_config_status_args --quiet"
7099 exec 5>/dev/null
7100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7101 exec 5>>config.log
7102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7103 # would make configure fail if this is the last instruction.
7104 $ac_cs_success || { (exit 1); exit 1; }
7105fi
7106
This page took 0.346927 seconds and 4 git commands to generate.