daily update
[binutils.git] / gold / configure
blobde4de033dac4160f0c0e0350cc392f5c1ee68a6c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if 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+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for 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
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
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if 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=:
96 rm -f conf$$.sh
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
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
152 done
154 esac
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 '
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; }; }
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
187 case `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= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if 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'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
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}
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
274 ac_unique_file="gold.cc"
275 # Factoring default headers for most tests.
276 ac_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"
312 ac_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 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 USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CXXFLAGS CXXCPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
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.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
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
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
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 ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
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 ;;
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" ;;
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'" ;;
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 ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
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 ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
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 ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
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 ;;
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 ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
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 ;;
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 ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
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 ;;
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 ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
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 ;;
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 ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
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'" ;;
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" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
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 ;;
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 ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
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 ;;
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}
649 esac
650 done
652 if 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; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
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
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
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
679 done
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.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if 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
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if 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 ||
715 echo 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=..
725 else
726 ac_srcdir_defaulted=no
728 if 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; }; }
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; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CXX_set=${CXX+set}
770 ac_env_CXX_value=$CXX
771 ac_cv_env_CXX_set=${CXX+set}
772 ac_cv_env_CXX_value=$CXX
773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
777 ac_env_CXXCPP_set=${CXXCPP+set}
778 ac_env_CXXCPP_value=$CXXCPP
779 ac_cv_env_CXXCPP_set=${CXXCPP+set}
780 ac_cv_env_CXXCPP_value=$CXXCPP
783 # Report the --help message.
785 if 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.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
798 Configuration:
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 \`..']
809 _ACEOF
811 cat <<_ACEOF
812 Installation 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]
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine 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
840 cat <<\_ACEOF
842 Program 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
847 System 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
854 if test -n "$ac_init_help"; then
856 cat <<\_ACEOF
858 Optional Features:
859 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
860 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
861 --enable-targets alternative target configurations
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
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
877 CXX C++ compiler command
878 CXXFLAGS C++ compiler flags
879 CXXCPP C++ preprocessor
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
884 _ACEOF
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
889 ac_popdir=`pwd`
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
892 ac_builddir=.
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898 else
899 ac_dir_suffix= ac_top_builddir=
902 case $srcdir in
903 .) # No --srcdir option. We are building in place.
904 ac_srcdir=.
905 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=.
907 else
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909 fi ;;
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
913 *) # Relative path.
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 esac
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
920 case `pwd` in
921 .) ac_abs_builddir="$ac_dir";;
923 case "$ac_dir" in
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 esac;;
928 esac
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 esac;;
937 esac
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
941 case $ac_srcdir in
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 esac;;
946 esac
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 esac;;
955 esac
957 cd $ac_dir
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
960 echo
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
963 echo
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
967 echo
968 $ac_configure --help
969 else
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 cd $ac_popdir
973 done
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
978 cat <<\_ACEOF
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
983 _ACEOF
984 exit 0
986 exec 5>config.log
987 cat >&5 <<_ACEOF
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by $as_me, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
994 $ $0 $@
996 _ACEOF
998 cat <<_ASUNAME
999 ## --------- ##
1000 ## Platform. ##
1001 ## --------- ##
1003 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1004 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1005 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1006 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1007 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1009 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1010 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1012 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1013 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1014 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1015 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1016 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1017 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1018 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1020 _ASUNAME
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 for as_dir in $PATH
1025 IFS=$as_save_IFS
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1028 done
1030 } >&5
1032 cat >&5 <<_ACEOF
1035 ## ----------- ##
1036 ## Core tests. ##
1037 ## ----------- ##
1039 _ACEOF
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_configure_args=
1048 ac_configure_args0=
1049 ac_configure_args1=
1050 ac_sep=
1051 ac_must_keep_next=false
1052 for ac_pass in 1 2
1054 for ac_arg
1056 case $ac_arg in
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 continue ;;
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1063 esac
1064 case $ac_pass in
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1070 else
1071 case $ac_arg in
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 esac
1080 -* ) ac_must_keep_next=true ;;
1081 esac
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1085 ac_sep=" "
1087 esac
1088 done
1089 done
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close' the trap.
1098 trap 'exit_status=$?
1099 # Save into config.log some information that might help in debugging.
1101 echo
1103 cat <<\_ASBOX
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1107 _ASBOX
1108 echo
1109 # The following way of writing the cache mishandles newlines in values,
1111 (set) 2>&1 |
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 *ac_space=\ *)
1114 sed -n \
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 sed -n \
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 esac;
1124 echo
1126 cat <<\_ASBOX
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1130 _ASBOX
1131 echo
1132 for ac_var in $ac_subst_vars
1134 eval ac_val=$`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1136 done | sort
1137 echo
1139 if test -n "$ac_subst_files"; then
1140 cat <<\_ASBOX
1141 ## ------------- ##
1142 ## Output files. ##
1143 ## ------------- ##
1144 _ASBOX
1145 echo
1146 for ac_var in $ac_subst_files
1148 eval ac_val=$`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1150 done | sort
1151 echo
1154 if test -s confdefs.h; then
1155 cat <<\_ASBOX
1156 ## ----------- ##
1157 ## confdefs.h. ##
1158 ## ----------- ##
1159 _ASBOX
1160 echo
1161 sed "/^$/d" confdefs.h | sort
1162 echo
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1167 } >&5
1168 rm -f core *.core &&
1169 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1170 exit $exit_status
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 done
1175 ac_signal=0
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 echo >confdefs.h
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 _ACEOF
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 _ACEOF
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 _ACEOF
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 _ACEOF
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 _ACEOF
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 else
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's/^/| /' "$ac_site_file" >&5
1223 . "$ac_site_file"
1225 done
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1233 case $cache_file in
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1236 esac
1238 else
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1241 >$cache_file
1244 # Check that the precious variables saved in the cache have kept the same
1245 # value.
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1254 set,)
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1258 ,set)
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1262 ,);;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1266 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1272 fi;;
1273 esac
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1276 case $ac_new_val in
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1280 esac
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 esac
1286 done
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1291 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1295 ac_ext=c
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 ac_aux_dir=
1322 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1323 if test -f $ac_dir/install-sh; then
1324 ac_aux_dir=$ac_dir
1325 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 break
1327 elif test -f $ac_dir/install.sh; then
1328 ac_aux_dir=$ac_dir
1329 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 break
1331 elif test -f $ac_dir/shtool; then
1332 ac_aux_dir=$ac_dir
1333 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 break
1336 done
1337 if test -z "$ac_aux_dir"; then
1338 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1339 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1340 { (exit 1); exit 1; }; }
1342 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346 # Make sure we can run config.sub.
1347 $ac_config_sub sun4 >/dev/null 2>&1 ||
1348 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1349 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1350 { (exit 1); exit 1; }; }
1352 echo "$as_me:$LINENO: checking build system type" >&5
1353 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1354 if test "${ac_cv_build+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 else
1357 ac_cv_build_alias=$build_alias
1358 test -z "$ac_cv_build_alias" &&
1359 ac_cv_build_alias=`$ac_config_guess`
1360 test -z "$ac_cv_build_alias" &&
1361 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1362 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1363 { (exit 1); exit 1; }; }
1364 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1365 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1366 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1367 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1371 echo "${ECHO_T}$ac_cv_build" >&6
1372 build=$ac_cv_build
1373 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1374 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1375 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1378 echo "$as_me:$LINENO: checking host system type" >&5
1379 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1380 if test "${ac_cv_host+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 else
1383 ac_cv_host_alias=$host_alias
1384 test -z "$ac_cv_host_alias" &&
1385 ac_cv_host_alias=$ac_cv_build_alias
1386 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1393 echo "${ECHO_T}$ac_cv_host" >&6
1394 host=$ac_cv_host
1395 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1396 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1397 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1400 echo "$as_me:$LINENO: checking target system type" >&5
1401 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1402 if test "${ac_cv_target+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 else
1405 ac_cv_target_alias=$target_alias
1406 test "x$ac_cv_target_alias" = "x" &&
1407 ac_cv_target_alias=$ac_cv_host_alias
1408 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1415 echo "${ECHO_T}$ac_cv_target" >&6
1416 target=$ac_cv_target
1417 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1418 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1419 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1422 # The aliases save the names the user supplied, while $host etc.
1423 # will get canonicalized.
1424 test -n "$target_alias" &&
1425 test "$program_prefix$program_suffix$program_transform_name" = \
1426 NONENONEs,x,x, &&
1427 program_prefix=${target_alias}-
1429 am__api_version="1.9"
1430 # Find a good install program. We prefer a C program (faster),
1431 # so one script is as good as another. But avoid the broken or
1432 # incompatible versions:
1433 # SysV /etc/install, /usr/sbin/install
1434 # SunOS /usr/etc/install
1435 # IRIX /sbin/install
1436 # AIX /bin/install
1437 # AmigaOS /C/install, which installs bootblocks on floppy discs
1438 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1439 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1440 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1441 # OS/2's system install, which has a completely different semantic
1442 # ./install, which can be erroneously created by make from ./install.sh.
1443 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1444 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1445 if test -z "$INSTALL"; then
1446 if test "${ac_cv_path_install+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 else
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 for as_dir in $PATH
1452 IFS=$as_save_IFS
1453 test -z "$as_dir" && as_dir=.
1454 # Account for people who put trailing slashes in PATH elements.
1455 case $as_dir/ in
1456 ./ | .// | /cC/* | \
1457 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1458 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1459 /usr/ucb/* ) ;;
1461 # OSF1 and SCO ODT 3.0 have their own names for install.
1462 # Don't use installbsd from OSF since it installs stuff as root
1463 # by default.
1464 for ac_prog in ginstall scoinst install; do
1465 for ac_exec_ext in '' $ac_executable_extensions; do
1466 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1467 if test $ac_prog = install &&
1468 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1469 # AIX install. It has an incompatible calling convention.
1471 elif test $ac_prog = install &&
1472 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1473 # program-specific install script used by HP pwplus--don't use.
1475 else
1476 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1477 break 3
1480 done
1481 done
1483 esac
1484 done
1488 if test "${ac_cv_path_install+set}" = set; then
1489 INSTALL=$ac_cv_path_install
1490 else
1491 # As a last resort, use the slow shell script. We don't cache a
1492 # path for INSTALL within a source directory, because that will
1493 # break other packages using the cache if that directory is
1494 # removed, or if the path is relative.
1495 INSTALL=$ac_install_sh
1498 echo "$as_me:$LINENO: result: $INSTALL" >&5
1499 echo "${ECHO_T}$INSTALL" >&6
1501 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1502 # It thinks the first close brace ends the variable substitution.
1503 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1505 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1507 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1509 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1510 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1511 # Just in case
1512 sleep 1
1513 echo timestamp > conftest.file
1514 # Do `set' in a subshell so we don't clobber the current shell's
1515 # arguments. Must try -L first in case configure is actually a
1516 # symlink; some systems play weird games with the mod time of symlinks
1517 # (eg FreeBSD returns the mod time of the symlink's containing
1518 # directory).
1519 if (
1520 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1521 if test "$*" = "X"; then
1522 # -L didn't work.
1523 set X `ls -t $srcdir/configure conftest.file`
1525 rm -f conftest.file
1526 if test "$*" != "X $srcdir/configure conftest.file" \
1527 && test "$*" != "X conftest.file $srcdir/configure"; then
1529 # If neither matched, then we have a broken ls. This can happen
1530 # if, for instance, CONFIG_SHELL is bash and it inherits a
1531 # broken ls alias from the environment. This has actually
1532 # happened. Such a system could not be considered "sane".
1533 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1534 alias in your environment" >&5
1535 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1536 alias in your environment" >&2;}
1537 { (exit 1); exit 1; }; }
1540 test "$2" = conftest.file
1542 then
1543 # Ok.
1545 else
1546 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1547 Check your system clock" >&5
1548 echo "$as_me: error: newly created file is older than distributed files!
1549 Check your system clock" >&2;}
1550 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: yes" >&5
1553 echo "${ECHO_T}yes" >&6
1554 test "$program_prefix" != NONE &&
1555 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1556 # Use a double $ so make ignores it.
1557 test "$program_suffix" != NONE &&
1558 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1559 # Double any \ or $. echo might interpret backslashes.
1560 # By default was `s,x,x', remove it if useless.
1561 cat <<\_ACEOF >conftest.sed
1562 s/[\\$]/&&/g;s/;s,x,x,$//
1563 _ACEOF
1564 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1565 rm conftest.sed
1567 # expand $ac_aux_dir to an absolute path
1568 am_aux_dir=`cd $ac_aux_dir && pwd`
1570 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1571 # Use eval to expand $SHELL
1572 if eval "$MISSING --run true"; then
1573 am_missing_run="$MISSING --run "
1574 else
1575 am_missing_run=
1576 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1577 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1580 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1581 # We used to keeping the `.' as first argument, in order to
1582 # allow $(mkdir_p) to be used without argument. As in
1583 # $(mkdir_p) $(somedir)
1584 # where $(somedir) is conditionally defined. However this is wrong
1585 # for two reasons:
1586 # 1. if the package is installed by a user who cannot write `.'
1587 # make install will fail,
1588 # 2. the above comment should most certainly read
1589 # $(mkdir_p) $(DESTDIR)$(somedir)
1590 # so it does not work when $(somedir) is undefined and
1591 # $(DESTDIR) is not.
1592 # To support the latter case, we have to write
1593 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1594 # so the `.' trick is pointless.
1595 mkdir_p='mkdir -p --'
1596 else
1597 # On NextStep and OpenStep, the `mkdir' command does not
1598 # recognize any option. It will interpret all options as
1599 # directories to create, and then abort because `.' already
1600 # exists.
1601 for d in ./-p ./--version;
1603 test -d $d && rmdir $d
1604 done
1605 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1606 if test -f "$ac_aux_dir/mkinstalldirs"; then
1607 mkdir_p='$(mkinstalldirs)'
1608 else
1609 mkdir_p='$(install_sh) -d'
1613 for ac_prog in gawk mawk nawk awk
1615 # Extract the first word of "$ac_prog", so it can be a program name with args.
1616 set dummy $ac_prog; ac_word=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_AWK+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 else
1622 if test -n "$AWK"; then
1623 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1624 else
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1626 for as_dir in $PATH
1628 IFS=$as_save_IFS
1629 test -z "$as_dir" && as_dir=.
1630 for ac_exec_ext in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_AWK="$ac_prog"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 break 2
1636 done
1637 done
1641 AWK=$ac_cv_prog_AWK
1642 if test -n "$AWK"; then
1643 echo "$as_me:$LINENO: result: $AWK" >&5
1644 echo "${ECHO_T}$AWK" >&6
1645 else
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1650 test -n "$AWK" && break
1651 done
1653 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1654 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1655 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1656 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 else
1659 cat >conftest.make <<\_ACEOF
1660 all:
1661 @echo 'ac_maketemp="$(MAKE)"'
1662 _ACEOF
1663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1664 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1665 if test -n "$ac_maketemp"; then
1666 eval ac_cv_prog_make_${ac_make}_set=yes
1667 else
1668 eval ac_cv_prog_make_${ac_make}_set=no
1670 rm -f conftest.make
1672 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1673 echo "$as_me:$LINENO: result: yes" >&5
1674 echo "${ECHO_T}yes" >&6
1675 SET_MAKE=
1676 else
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1679 SET_MAKE="MAKE=${MAKE-make}"
1682 rm -rf .tst 2>/dev/null
1683 mkdir .tst 2>/dev/null
1684 if test -d .tst; then
1685 am__leading_dot=.
1686 else
1687 am__leading_dot=_
1689 rmdir .tst 2>/dev/null
1691 # test to see if srcdir already configured
1692 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1693 test -f $srcdir/config.status; then
1694 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1695 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1696 { (exit 1); exit 1; }; }
1699 # test whether we have cygpath
1700 if test -z "$CYGPATH_W"; then
1701 if (cygpath --version) >/dev/null 2>/dev/null; then
1702 CYGPATH_W='cygpath -w'
1703 else
1704 CYGPATH_W=echo
1709 # Define the identity of the package.
1710 PACKAGE=gold
1711 VERSION=0.1
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE "$PACKAGE"
1716 _ACEOF
1719 cat >>confdefs.h <<_ACEOF
1720 #define VERSION "$VERSION"
1721 _ACEOF
1723 # Some tools Automake needs.
1725 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1728 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1731 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1734 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1737 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1739 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1741 # Installed binaries are usually stripped using `strip' when the user
1742 # run `make install-strip'. However `strip' might not be the right
1743 # tool to use in cross-compilation environments, therefore Automake
1744 # will honor the `STRIP' environment variable to overrule this program.
1745 if test "$cross_compiling" != no; then
1746 if test -n "$ac_tool_prefix"; then
1747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1748 set dummy ${ac_tool_prefix}strip; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_STRIP+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$STRIP"; then
1755 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 STRIP=$ac_cv_prog_STRIP
1774 if test -n "$STRIP"; then
1775 echo "$as_me:$LINENO: result: $STRIP" >&5
1776 echo "${ECHO_T}$STRIP" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1783 if test -z "$ac_cv_prog_STRIP"; then
1784 ac_ct_STRIP=$STRIP
1785 # Extract the first word of "strip", so it can be a program name with args.
1786 set dummy strip; ac_word=$2
1787 echo "$as_me:$LINENO: checking for $ac_word" >&5
1788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1789 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 else
1792 if test -n "$ac_ct_STRIP"; then
1793 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1794 else
1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 for as_dir in $PATH
1798 IFS=$as_save_IFS
1799 test -z "$as_dir" && as_dir=.
1800 for ac_exec_ext in '' $ac_executable_extensions; do
1801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1802 ac_cv_prog_ac_ct_STRIP="strip"
1803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1804 break 2
1806 done
1807 done
1809 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1813 if test -n "$ac_ct_STRIP"; then
1814 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1815 echo "${ECHO_T}$ac_ct_STRIP" >&6
1816 else
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1821 STRIP=$ac_ct_STRIP
1822 else
1823 STRIP="$ac_cv_prog_STRIP"
1827 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1829 # We need awk for the "check" target. The system "awk" is bad on
1830 # some platforms.
1831 # Always define AMTAR for backward compatibility.
1833 AMTAR=${AMTAR-"${am_missing_run}tar"}
1835 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1842 ac_config_headers="$ac_config_headers config.h:config.in"
1845 # Check whether --enable-targets or --disable-targets was given.
1846 if test "${enable_targets+set}" = set; then
1847 enableval="$enable_targets"
1848 case "${enableval}" in
1849 yes | "")
1850 { { echo "$as_me:$LINENO: error: --enable-targets option must specify target names or 'all'" >&5
1851 echo "$as_me: error: --enable-targets option must specify target names or 'all'" >&2;}
1852 { (exit 1); exit 1; }; }
1855 enable_targets=
1858 enable_targets=$enableval
1860 esac
1861 else
1862 # For now, enable all targets by default
1863 enable_targets=all
1867 # Canonicalize the enabled targets.
1868 if test -n "$enable_targets"; then
1869 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
1870 result=`$ac_config_sub $targ 2>/dev/null`
1871 if test -n "$result"; then
1872 canon_targets="$canon_targets $result"
1873 else
1874 # Permit unrecognized target names, like "all".
1875 canon_targets="$canon_targets $targ"
1877 done
1880 # See which specific instantiations we need.
1881 for targ in $target $canon_targets; do
1882 targ_32_little=
1883 targ_32_big=
1884 targ_64_little=
1885 targ_64_big=
1886 if test "$targ" = "all"; then
1887 targ_32_little=yes
1888 targ_32_big=yes
1889 targ_64_little=yes
1890 targ_64_big=yes
1891 else
1892 case "$targ" in
1893 i?86-*) targ_32_little=yes ;;
1894 x86_64-*) targ_64_little=yes ;;
1896 { { echo "$as_me:$LINENO: error: \"target $targ: unknown size and endianness\"" >&5
1897 echo "$as_me: error: \"target $targ: unknown size and endianness\"" >&2;}
1898 { (exit 1); exit 1; }; }
1900 esac
1902 done
1904 if test -n "$targ_32_little"; then
1906 cat >>confdefs.h <<\_ACEOF
1907 #define HAVE_TARGET_32_LITTLE 1
1908 _ACEOF
1911 if test -n "$targ_32_big"; then
1913 cat >>confdefs.h <<\_ACEOF
1914 #define HAVE_TARGET_32_BIG 1
1915 _ACEOF
1918 if test -n "$targ_64_little"; then
1920 cat >>confdefs.h <<\_ACEOF
1921 #define HAVE_TARGET_64_LITTLE 1
1922 _ACEOF
1925 if test -n "$targ_64_big"; then
1927 cat >>confdefs.h <<\_ACEOF
1928 #define HAVE_TARGET_64_BIG 1
1929 _ACEOF
1933 ac_ext=c
1934 ac_cpp='$CPP $CPPFLAGS'
1935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 if test -n "$ac_tool_prefix"; then
1939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1941 echo "$as_me:$LINENO: checking for $ac_word" >&5
1942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1943 if test "${ac_cv_prog_CC+set}" = set; then
1944 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 else
1946 if test -n "$CC"; then
1947 ac_cv_prog_CC="$CC" # Let the user override the test.
1948 else
1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 for as_dir in $PATH
1952 IFS=$as_save_IFS
1953 test -z "$as_dir" && as_dir=.
1954 for ac_exec_ext in '' $ac_executable_extensions; do
1955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1956 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 break 2
1960 done
1961 done
1965 CC=$ac_cv_prog_CC
1966 if test -n "$CC"; then
1967 echo "$as_me:$LINENO: result: $CC" >&5
1968 echo "${ECHO_T}$CC" >&6
1969 else
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1975 if test -z "$ac_cv_prog_CC"; then
1976 ac_ct_CC=$CC
1977 # Extract the first word of "gcc", so it can be a program name with args.
1978 set dummy gcc; ac_word=$2
1979 echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1981 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 if test -n "$ac_ct_CC"; then
1985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1986 else
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1990 IFS=$as_save_IFS
1991 test -z "$as_dir" && as_dir=.
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1994 ac_cv_prog_ac_ct_CC="gcc"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 break 2
1998 done
1999 done
2003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2004 if test -n "$ac_ct_CC"; then
2005 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2006 echo "${ECHO_T}$ac_ct_CC" >&6
2007 else
2008 echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6
2012 CC=$ac_ct_CC
2013 else
2014 CC="$ac_cv_prog_CC"
2017 if test -z "$CC"; then
2018 if test -n "$ac_tool_prefix"; then
2019 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2020 set dummy ${ac_tool_prefix}cc; ac_word=$2
2021 echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023 if test "${ac_cv_prog_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 else
2026 if test -n "$CC"; then
2027 ac_cv_prog_CC="$CC" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 ac_cv_prog_CC="${ac_tool_prefix}cc"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 break 2
2040 done
2041 done
2045 CC=$ac_cv_prog_CC
2046 if test -n "$CC"; then
2047 echo "$as_me:$LINENO: result: $CC" >&5
2048 echo "${ECHO_T}$CC" >&6
2049 else
2050 echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6
2055 if test -z "$ac_cv_prog_CC"; then
2056 ac_ct_CC=$CC
2057 # Extract the first word of "cc", so it can be a program name with args.
2058 set dummy cc; ac_word=$2
2059 echo "$as_me:$LINENO: checking for $ac_word" >&5
2060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2063 else
2064 if test -n "$ac_ct_CC"; then
2065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2066 else
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2070 IFS=$as_save_IFS
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2074 ac_cv_prog_ac_ct_CC="cc"
2075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 break 2
2078 done
2079 done
2083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2084 if test -n "$ac_ct_CC"; then
2085 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2086 echo "${ECHO_T}$ac_ct_CC" >&6
2087 else
2088 echo "$as_me:$LINENO: result: no" >&5
2089 echo "${ECHO_T}no" >&6
2092 CC=$ac_ct_CC
2093 else
2094 CC="$ac_cv_prog_CC"
2098 if test -z "$CC"; then
2099 # Extract the first word of "cc", so it can be a program name with args.
2100 set dummy cc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 if test -n "$CC"; then
2107 ac_cv_prog_CC="$CC" # Let the user override the test.
2108 else
2109 ac_prog_rejected=no
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 for as_dir in $PATH
2113 IFS=$as_save_IFS
2114 test -z "$as_dir" && as_dir=.
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2118 ac_prog_rejected=yes
2119 continue
2121 ac_cv_prog_CC="cc"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 break 2
2125 done
2126 done
2128 if test $ac_prog_rejected = yes; then
2129 # We found a bogon in the path, so make sure we never use it.
2130 set dummy $ac_cv_prog_CC
2131 shift
2132 if test $# != 0; then
2133 # We chose a different compiler from the bogus one.
2134 # However, it has the same basename, so the bogon will be chosen
2135 # first if we set CC to just the basename; use the full file name.
2136 shift
2137 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2142 CC=$ac_cv_prog_CC
2143 if test -n "$CC"; then
2144 echo "$as_me:$LINENO: result: $CC" >&5
2145 echo "${ECHO_T}$CC" >&6
2146 else
2147 echo "$as_me:$LINENO: result: no" >&5
2148 echo "${ECHO_T}no" >&6
2152 if test -z "$CC"; then
2153 if test -n "$ac_tool_prefix"; then
2154 for ac_prog in cl
2156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$CC"; then
2164 ac_cv_prog_CC="$CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 CC=$ac_cv_prog_CC
2183 if test -n "$CC"; then
2184 echo "$as_me:$LINENO: result: $CC" >&5
2185 echo "${ECHO_T}$CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 test -n "$CC" && break
2192 done
2194 if test -z "$CC"; then
2195 ac_ct_CC=$CC
2196 for ac_prog in cl
2198 # Extract the first word of "$ac_prog", so it can be a program name with args.
2199 set dummy $ac_prog; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$ac_ct_CC"; then
2206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2207 else
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 for as_dir in $PATH
2211 IFS=$as_save_IFS
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2215 ac_cv_prog_ac_ct_CC="$ac_prog"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 break 2
2219 done
2220 done
2224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2225 if test -n "$ac_ct_CC"; then
2226 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2227 echo "${ECHO_T}$ac_ct_CC" >&6
2228 else
2229 echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6
2233 test -n "$ac_ct_CC" && break
2234 done
2236 CC=$ac_ct_CC
2242 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2243 See \`config.log' for more details." >&5
2244 echo "$as_me: error: no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details." >&2;}
2246 { (exit 1); exit 1; }; }
2248 # Provide some information about the compiler.
2249 echo "$as_me:$LINENO:" \
2250 "checking for C compiler version" >&5
2251 ac_compiler=`set X $ac_compile; echo $2`
2252 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2253 (eval $ac_compiler --version </dev/null >&5) 2>&5
2254 ac_status=$?
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }
2257 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2258 (eval $ac_compiler -v </dev/null >&5) 2>&5
2259 ac_status=$?
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }
2262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2263 (eval $ac_compiler -V </dev/null >&5) 2>&5
2264 ac_status=$?
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }
2268 cat >conftest.$ac_ext <<_ACEOF
2269 /* confdefs.h. */
2270 _ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h. */
2276 main ()
2280 return 0;
2282 _ACEOF
2283 ac_clean_files_save=$ac_clean_files
2284 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2285 # Try to create an executable without -o first, disregard a.out.
2286 # It will help us diagnose broken compilers, and finding out an intuition
2287 # of exeext.
2288 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2289 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2290 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2291 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2292 (eval $ac_link_default) 2>&5
2293 ac_status=$?
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }; then
2296 # Find the output, starting from the most likely. This scheme is
2297 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2298 # resort.
2300 # Be careful to initialize this variable, since it used to be cached.
2301 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2302 ac_cv_exeext=
2303 # b.out is created by i960 compilers.
2304 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2306 test -f "$ac_file" || continue
2307 case $ac_file in
2308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2310 conftest.$ac_ext )
2311 # This is the source file.
2313 [ab].out )
2314 # We found the default executable, but exeext='' is most
2315 # certainly right.
2316 break;;
2317 *.* )
2318 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2319 # FIXME: I believe we export ac_cv_exeext for Libtool,
2320 # but it would be cool to find out if it's true. Does anybody
2321 # maintain Libtool? --akim.
2322 export ac_cv_exeext
2323 break;;
2325 break;;
2326 esac
2327 done
2328 else
2329 echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.$ac_ext >&5
2332 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2333 See \`config.log' for more details." >&5
2334 echo "$as_me: error: C compiler cannot create executables
2335 See \`config.log' for more details." >&2;}
2336 { (exit 77); exit 77; }; }
2339 ac_exeext=$ac_cv_exeext
2340 echo "$as_me:$LINENO: result: $ac_file" >&5
2341 echo "${ECHO_T}$ac_file" >&6
2343 # Check the compiler produces executables we can run. If not, either
2344 # the compiler is broken, or we cross compile.
2345 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2346 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2347 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2348 # If not cross compiling, check that we can run a simple program.
2349 if test "$cross_compiling" != yes; then
2350 if { ac_try='./$ac_file'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352 (eval $ac_try) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; }; then
2356 cross_compiling=no
2357 else
2358 if test "$cross_compiling" = maybe; then
2359 cross_compiling=yes
2360 else
2361 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2362 If you meant to cross compile, use \`--host'.
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: cannot run C compiled programs.
2365 If you meant to cross compile, use \`--host'.
2366 See \`config.log' for more details." >&2;}
2367 { (exit 1); exit 1; }; }
2371 echo "$as_me:$LINENO: result: yes" >&5
2372 echo "${ECHO_T}yes" >&6
2374 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2375 ac_clean_files=$ac_clean_files_save
2376 # Check the compiler produces executables we can run. If not, either
2377 # the compiler is broken, or we cross compile.
2378 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2379 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2380 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2381 echo "${ECHO_T}$cross_compiling" >&6
2383 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2384 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2386 (eval $ac_link) 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; then
2390 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2391 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2392 # work properly (i.e., refer to `conftest.exe'), while it won't with
2393 # `rm'.
2394 for ac_file in conftest.exe conftest conftest.*; do
2395 test -f "$ac_file" || continue
2396 case $ac_file in
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2398 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2399 export ac_cv_exeext
2400 break;;
2401 * ) break;;
2402 esac
2403 done
2404 else
2405 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2408 See \`config.log' for more details." >&2;}
2409 { (exit 1); exit 1; }; }
2412 rm -f conftest$ac_cv_exeext
2413 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2414 echo "${ECHO_T}$ac_cv_exeext" >&6
2416 rm -f conftest.$ac_ext
2417 EXEEXT=$ac_cv_exeext
2418 ac_exeext=$EXEEXT
2419 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2420 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2421 if test "${ac_cv_objext+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 else
2424 cat >conftest.$ac_ext <<_ACEOF
2425 /* confdefs.h. */
2426 _ACEOF
2427 cat confdefs.h >>conftest.$ac_ext
2428 cat >>conftest.$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2432 main ()
2436 return 0;
2438 _ACEOF
2439 rm -f conftest.o conftest.obj
2440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2441 (eval $ac_compile) 2>&5
2442 ac_status=$?
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; then
2445 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2446 case $ac_file in
2447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2448 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2449 break;;
2450 esac
2451 done
2452 else
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&2;}
2460 { (exit 1); exit 1; }; }
2463 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2465 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2466 echo "${ECHO_T}$ac_cv_objext" >&6
2467 OBJEXT=$ac_cv_objext
2468 ac_objext=$OBJEXT
2469 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2470 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2471 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 else
2474 cat >conftest.$ac_ext <<_ACEOF
2475 /* confdefs.h. */
2476 _ACEOF
2477 cat confdefs.h >>conftest.$ac_ext
2478 cat >>conftest.$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2482 main ()
2484 #ifndef __GNUC__
2485 choke me
2486 #endif
2489 return 0;
2491 _ACEOF
2492 rm -f conftest.$ac_objext
2493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 (eval $ac_compile) 2>conftest.er1
2495 ac_status=$?
2496 grep -v '^ *+' conftest.er1 >conftest.err
2497 rm -f conftest.er1
2498 cat conftest.err >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); } &&
2501 { ac_try='test -z "$ac_c_werror_flag"
2502 || test ! -s conftest.err'
2503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 (eval $ac_try) 2>&5
2505 ac_status=$?
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; } &&
2508 { ac_try='test -s conftest.$ac_objext'
2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 (eval $ac_try) 2>&5
2511 ac_status=$?
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; }; then
2514 ac_compiler_gnu=yes
2515 else
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.$ac_ext >&5
2519 ac_compiler_gnu=no
2521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2522 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2525 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2526 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2527 GCC=`test $ac_compiler_gnu = yes && echo yes`
2528 ac_test_CFLAGS=${CFLAGS+set}
2529 ac_save_CFLAGS=$CFLAGS
2530 CFLAGS="-g"
2531 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2532 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2533 if test "${ac_cv_prog_cc_g+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 cat >conftest.$ac_ext <<_ACEOF
2537 /* confdefs.h. */
2538 _ACEOF
2539 cat confdefs.h >>conftest.$ac_ext
2540 cat >>conftest.$ac_ext <<_ACEOF
2541 /* end confdefs.h. */
2544 main ()
2548 return 0;
2550 _ACEOF
2551 rm -f conftest.$ac_objext
2552 if { (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_cv_prog_cc_g=yes
2574 else
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.$ac_ext >&5
2578 ac_cv_prog_cc_g=no
2580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2582 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2583 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2584 if test "$ac_test_CFLAGS" = set; then
2585 CFLAGS=$ac_save_CFLAGS
2586 elif test $ac_cv_prog_cc_g = yes; then
2587 if test "$GCC" = yes; then
2588 CFLAGS="-g -O2"
2589 else
2590 CFLAGS="-g"
2592 else
2593 if test "$GCC" = yes; then
2594 CFLAGS="-O2"
2595 else
2596 CFLAGS=
2599 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2600 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2601 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604 ac_cv_prog_cc_stdc=no
2605 ac_save_CC=$CC
2606 cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h. */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2612 #include <stdarg.h>
2613 #include <stdio.h>
2614 #include <sys/types.h>
2615 #include <sys/stat.h>
2616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2617 struct buf { int x; };
2618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2619 static char *e (p, i)
2620 char **p;
2621 int i;
2623 return p[i];
2625 static char *f (char * (*g) (char **, int), char **p, ...)
2627 char *s;
2628 va_list v;
2629 va_start (v,p);
2630 s = g (p, va_arg (v,int));
2631 va_end (v);
2632 return s;
2635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2636 function prototypes and stuff, but not '\xHH' hex character constants.
2637 These don't provoke an error unfortunately, instead are silently treated
2638 as 'x'. The following induces an error, until -std1 is added to get
2639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2640 array size at least. It's necessary to write '\x00'==0 to get something
2641 that's true only with -std1. */
2642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2644 int test (int i, double x);
2645 struct s1 {int (*f) (int a);};
2646 struct s2 {int (*f) (double a);};
2647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2648 int argc;
2649 char **argv;
2651 main ()
2653 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2655 return 0;
2657 _ACEOF
2658 # Don't try gcc -ansi; that turns off useful extensions and
2659 # breaks some systems' header files.
2660 # AIX -qlanglvl=ansi
2661 # Ultrix and OSF/1 -std1
2662 # HP-UX 10.20 and later -Ae
2663 # HP-UX older versions -Aa -D_HPUX_SOURCE
2664 # SVR4 -Xc -D__EXTENSIONS__
2665 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2667 CC="$ac_save_CC $ac_arg"
2668 rm -f conftest.$ac_objext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2670 (eval $ac_compile) 2>conftest.er1
2671 ac_status=$?
2672 grep -v '^ *+' conftest.er1 >conftest.err
2673 rm -f conftest.er1
2674 cat conftest.err >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try='test -z "$ac_c_werror_flag"
2678 || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 (eval $ac_try) 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try='test -s conftest.$ac_objext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 (eval $ac_try) 2>&5
2687 ac_status=$?
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 ac_cv_prog_cc_stdc=$ac_arg
2691 break
2692 else
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2697 rm -f conftest.err conftest.$ac_objext
2698 done
2699 rm -f conftest.$ac_ext conftest.$ac_objext
2700 CC=$ac_save_CC
2704 case "x$ac_cv_prog_cc_stdc" in
2705 x|xno)
2706 echo "$as_me:$LINENO: result: none needed" >&5
2707 echo "${ECHO_T}none needed" >&6 ;;
2709 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2710 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2711 CC="$CC $ac_cv_prog_cc_stdc" ;;
2712 esac
2714 # Some people use a C++ compiler to compile C. Since we use `exit',
2715 # in C++ we need to declare it. In case someone uses the same compiler
2716 # for both compiling C and C++ we need to have the C++ compiler decide
2717 # the declaration of exit, since it's the most demanding environment.
2718 cat >conftest.$ac_ext <<_ACEOF
2719 #ifndef __cplusplus
2720 choke me
2721 #endif
2722 _ACEOF
2723 rm -f conftest.$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>conftest.er1
2726 ac_status=$?
2727 grep -v '^ *+' conftest.er1 >conftest.err
2728 rm -f conftest.er1
2729 cat conftest.err >&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try='test -z "$ac_c_werror_flag"
2733 || test ! -s conftest.err'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 (eval $ac_try) 2>&5
2736 ac_status=$?
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; } &&
2739 { ac_try='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 (eval $ac_try) 2>&5
2742 ac_status=$?
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2745 for ac_declaration in \
2746 '' \
2747 'extern "C" void std::exit (int) throw (); using std::exit;' \
2748 'extern "C" void std::exit (int); using std::exit;' \
2749 'extern "C" void exit (int) throw ();' \
2750 'extern "C" void exit (int);' \
2751 'void exit (int);'
2753 cat >conftest.$ac_ext <<_ACEOF
2754 /* confdefs.h. */
2755 _ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2759 $ac_declaration
2760 #include <stdlib.h>
2762 main ()
2764 exit (42);
2766 return 0;
2768 _ACEOF
2769 rm -f conftest.$ac_objext
2770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2771 (eval $ac_compile) 2>conftest.er1
2772 ac_status=$?
2773 grep -v '^ *+' conftest.er1 >conftest.err
2774 rm -f conftest.er1
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -z "$ac_c_werror_flag"
2779 || test ! -s conftest.err'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 (eval $ac_try) 2>&5
2782 ac_status=$?
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try='test -s conftest.$ac_objext'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 (eval $ac_try) 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; }; then
2792 else
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 continue
2798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2799 cat >conftest.$ac_ext <<_ACEOF
2800 /* confdefs.h. */
2801 _ACEOF
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2805 $ac_declaration
2807 main ()
2809 exit (42);
2811 return 0;
2813 _ACEOF
2814 rm -f conftest.$ac_objext
2815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2816 (eval $ac_compile) 2>conftest.er1
2817 ac_status=$?
2818 grep -v '^ *+' conftest.er1 >conftest.err
2819 rm -f conftest.er1
2820 cat conftest.err >&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); } &&
2823 { ac_try='test -z "$ac_c_werror_flag"
2824 || test ! -s conftest.err'
2825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826 (eval $ac_try) 2>&5
2827 ac_status=$?
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; } &&
2830 { ac_try='test -s conftest.$ac_objext'
2831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 (eval $ac_try) 2>&5
2833 ac_status=$?
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; }; then
2836 break
2837 else
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2843 done
2844 rm -f conftest*
2845 if test -n "$ac_declaration"; then
2846 echo '#ifdef __cplusplus' >>confdefs.h
2847 echo $ac_declaration >>confdefs.h
2848 echo '#endif' >>confdefs.h
2851 else
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2857 ac_ext=c
2858 ac_cpp='$CPP $CPPFLAGS'
2859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2862 DEPDIR="${am__leading_dot}deps"
2864 ac_config_commands="$ac_config_commands depfiles"
2867 am_make=${MAKE-make}
2868 cat > confinc << 'END'
2869 am__doit:
2870 @echo done
2871 .PHONY: am__doit
2873 # If we don't find an include directive, just comment out the code.
2874 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2875 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2876 am__include="#"
2877 am__quote=
2878 _am_result=none
2879 # First try GNU make style include.
2880 echo "include confinc" > confmf
2881 # We grep out `Entering directory' and `Leaving directory'
2882 # messages which can occur if `w' ends up in MAKEFLAGS.
2883 # In particular we don't look at `^make:' because GNU make might
2884 # be invoked under some other name (usually "gmake"), in which
2885 # case it prints its new name instead of `make'.
2886 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2887 am__include=include
2888 am__quote=
2889 _am_result=GNU
2891 # Now try BSD make style include.
2892 if test "$am__include" = "#"; then
2893 echo '.include "confinc"' > confmf
2894 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2895 am__include=.include
2896 am__quote="\""
2897 _am_result=BSD
2902 echo "$as_me:$LINENO: result: $_am_result" >&5
2903 echo "${ECHO_T}$_am_result" >&6
2904 rm -f confinc confmf
2906 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2907 if test "${enable_dependency_tracking+set}" = set; then
2908 enableval="$enable_dependency_tracking"
2911 if test "x$enable_dependency_tracking" != xno; then
2912 am_depcomp="$ac_aux_dir/depcomp"
2913 AMDEPBACKSLASH='\'
2917 if test "x$enable_dependency_tracking" != xno; then
2918 AMDEP_TRUE=
2919 AMDEP_FALSE='#'
2920 else
2921 AMDEP_TRUE='#'
2922 AMDEP_FALSE=
2928 depcc="$CC" am_compiler_list=
2930 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2931 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2932 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 else
2935 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2936 # We make a subdir and do the tests there. Otherwise we can end up
2937 # making bogus files that we don't know about and never remove. For
2938 # instance it was reported that on HP-UX the gcc test will end up
2939 # making a dummy file named `D' -- because `-MD' means `put the output
2940 # in D'.
2941 mkdir conftest.dir
2942 # Copy depcomp to subdir because otherwise we won't find it if we're
2943 # using a relative directory.
2944 cp "$am_depcomp" conftest.dir
2945 cd conftest.dir
2946 # We will build objects and dependencies in a subdirectory because
2947 # it helps to detect inapplicable dependency modes. For instance
2948 # both Tru64's cc and ICC support -MD to output dependencies as a
2949 # side effect of compilation, but ICC will put the dependencies in
2950 # the current directory while Tru64 will put them in the object
2951 # directory.
2952 mkdir sub
2954 am_cv_CC_dependencies_compiler_type=none
2955 if test "$am_compiler_list" = ""; then
2956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2958 for depmode in $am_compiler_list; do
2959 # Setup a source with many dependencies, because some compilers
2960 # like to wrap large dependency lists on column 80 (with \), and
2961 # we should not choose a depcomp mode which is confused by this.
2963 # We need to recreate these files for each test, as the compiler may
2964 # overwrite some of them when testing with obscure command lines.
2965 # This happens at least with the AIX C compiler.
2966 : > sub/conftest.c
2967 for i in 1 2 3 4 5 6; do
2968 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2969 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2970 # Solaris 8's {/usr,}/bin/sh.
2971 touch sub/conftst$i.h
2972 done
2973 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2975 case $depmode in
2976 nosideeffect)
2977 # after this tag, mechanisms are not by side-effect, so they'll
2978 # only be used when explicitly requested
2979 if test "x$enable_dependency_tracking" = xyes; then
2980 continue
2981 else
2982 break
2985 none) break ;;
2986 esac
2987 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2988 # mode. It turns out that the SunPro C++ compiler does not properly
2989 # handle `-M -o', and we need to detect this.
2990 if depmode=$depmode \
2991 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2992 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2993 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2994 >/dev/null 2>conftest.err &&
2995 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2996 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2997 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2998 # icc doesn't choke on unknown options, it will just issue warnings
2999 # or remarks (even with -Werror). So we grep stderr for any message
3000 # that says an option was ignored or not supported.
3001 # When given -MP, icc 7.0 and 7.1 complain thusly:
3002 # icc: Command line warning: ignoring option '-M'; no argument required
3003 # The diagnosis changed in icc 8.0:
3004 # icc: Command line remark: option '-MP' not supported
3005 if (grep 'ignoring option' conftest.err ||
3006 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3007 am_cv_CC_dependencies_compiler_type=$depmode
3008 break
3011 done
3013 cd ..
3014 rm -rf conftest.dir
3015 else
3016 am_cv_CC_dependencies_compiler_type=none
3020 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3021 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3022 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3027 test "x$enable_dependency_tracking" != xno \
3028 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3029 am__fastdepCC_TRUE=
3030 am__fastdepCC_FALSE='#'
3031 else
3032 am__fastdepCC_TRUE='#'
3033 am__fastdepCC_FALSE=
3037 ac_ext=cc
3038 ac_cpp='$CXXCPP $CPPFLAGS'
3039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3042 if test -n "$ac_tool_prefix"; then
3043 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_CXX+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 else
3052 if test -n "$CXX"; then
3053 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3054 else
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3058 IFS=$as_save_IFS
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 break 2
3066 done
3067 done
3071 CXX=$ac_cv_prog_CXX
3072 if test -n "$CXX"; then
3073 echo "$as_me:$LINENO: result: $CXX" >&5
3074 echo "${ECHO_T}$CXX" >&6
3075 else
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3080 test -n "$CXX" && break
3081 done
3083 if test -z "$CXX"; then
3084 ac_ct_CXX=$CXX
3085 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3087 # Extract the first word of "$ac_prog", so it can be a program name with args.
3088 set dummy $ac_prog; ac_word=$2
3089 echo "$as_me:$LINENO: checking for $ac_word" >&5
3090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3091 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 else
3094 if test -n "$ac_ct_CXX"; then
3095 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3096 else
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 for as_dir in $PATH
3100 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3102 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3104 ac_cv_prog_ac_ct_CXX="$ac_prog"
3105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 break 2
3108 done
3109 done
3113 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3114 if test -n "$ac_ct_CXX"; then
3115 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3116 echo "${ECHO_T}$ac_ct_CXX" >&6
3117 else
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3122 test -n "$ac_ct_CXX" && break
3123 done
3124 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3126 CXX=$ac_ct_CXX
3130 # Provide some information about the compiler.
3131 echo "$as_me:$LINENO:" \
3132 "checking for C++ compiler version" >&5
3133 ac_compiler=`set X $ac_compile; echo $2`
3134 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3135 (eval $ac_compiler --version </dev/null >&5) 2>&5
3136 ac_status=$?
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); }
3139 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3140 (eval $ac_compiler -v </dev/null >&5) 2>&5
3141 ac_status=$?
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }
3144 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3145 (eval $ac_compiler -V </dev/null >&5) 2>&5
3146 ac_status=$?
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }
3150 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3151 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3152 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3154 else
3155 cat >conftest.$ac_ext <<_ACEOF
3156 /* confdefs.h. */
3157 _ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3163 main ()
3165 #ifndef __GNUC__
3166 choke me
3167 #endif
3170 return 0;
3172 _ACEOF
3173 rm -f conftest.$ac_objext
3174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3175 (eval $ac_compile) 2>conftest.er1
3176 ac_status=$?
3177 grep -v '^ *+' conftest.er1 >conftest.err
3178 rm -f conftest.er1
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -z "$ac_cxx_werror_flag"
3183 || test ! -s conftest.err'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 (eval $ac_try) 2>&5
3186 ac_status=$?
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; } &&
3189 { ac_try='test -s conftest.$ac_objext'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191 (eval $ac_try) 2>&5
3192 ac_status=$?
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3195 ac_compiler_gnu=yes
3196 else
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3200 ac_compiler_gnu=no
3202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3203 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3206 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3207 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3208 GXX=`test $ac_compiler_gnu = yes && echo yes`
3209 ac_test_CXXFLAGS=${CXXFLAGS+set}
3210 ac_save_CXXFLAGS=$CXXFLAGS
3211 CXXFLAGS="-g"
3212 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3213 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3214 if test "${ac_cv_prog_cxx_g+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 else
3217 cat >conftest.$ac_ext <<_ACEOF
3218 /* confdefs.h. */
3219 _ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3225 main ()
3229 return 0;
3231 _ACEOF
3232 rm -f conftest.$ac_objext
3233 if { (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_cv_prog_cxx_g=yes
3255 else
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 ac_cv_prog_cxx_g=no
3261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3263 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3264 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3265 if test "$ac_test_CXXFLAGS" = set; then
3266 CXXFLAGS=$ac_save_CXXFLAGS
3267 elif test $ac_cv_prog_cxx_g = yes; then
3268 if test "$GXX" = yes; then
3269 CXXFLAGS="-g -O2"
3270 else
3271 CXXFLAGS="-g"
3273 else
3274 if test "$GXX" = yes; then
3275 CXXFLAGS="-O2"
3276 else
3277 CXXFLAGS=
3280 for ac_declaration in \
3281 '' \
3282 'extern "C" void std::exit (int) throw (); using std::exit;' \
3283 'extern "C" void std::exit (int); using std::exit;' \
3284 'extern "C" void exit (int) throw ();' \
3285 'extern "C" void exit (int);' \
3286 'void exit (int);'
3288 cat >conftest.$ac_ext <<_ACEOF
3289 /* confdefs.h. */
3290 _ACEOF
3291 cat confdefs.h >>conftest.$ac_ext
3292 cat >>conftest.$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3294 $ac_declaration
3295 #include <stdlib.h>
3297 main ()
3299 exit (42);
3301 return 0;
3303 _ACEOF
3304 rm -f conftest.$ac_objext
3305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3306 (eval $ac_compile) 2>conftest.er1
3307 ac_status=$?
3308 grep -v '^ *+' conftest.er1 >conftest.err
3309 rm -f conftest.er1
3310 cat conftest.err >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } &&
3313 { ac_try='test -z "$ac_cxx_werror_flag"
3314 || test ! -s conftest.err'
3315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3316 (eval $ac_try) 2>&5
3317 ac_status=$?
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); }; } &&
3320 { ac_try='test -s conftest.$ac_objext'
3321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3322 (eval $ac_try) 2>&5
3323 ac_status=$?
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }; }; then
3327 else
3328 echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.$ac_ext >&5
3331 continue
3333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3334 cat >conftest.$ac_ext <<_ACEOF
3335 /* confdefs.h. */
3336 _ACEOF
3337 cat confdefs.h >>conftest.$ac_ext
3338 cat >>conftest.$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3340 $ac_declaration
3342 main ()
3344 exit (42);
3346 return 0;
3348 _ACEOF
3349 rm -f conftest.$ac_objext
3350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3351 (eval $ac_compile) 2>conftest.er1
3352 ac_status=$?
3353 grep -v '^ *+' conftest.er1 >conftest.err
3354 rm -f conftest.er1
3355 cat conftest.err >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } &&
3358 { ac_try='test -z "$ac_cxx_werror_flag"
3359 || test ! -s conftest.err'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 (eval $ac_try) 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; } &&
3365 { ac_try='test -s conftest.$ac_objext'
3366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 (eval $ac_try) 2>&5
3368 ac_status=$?
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; }; then
3371 break
3372 else
3373 echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.$ac_ext >&5
3377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3378 done
3379 rm -f conftest*
3380 if test -n "$ac_declaration"; then
3381 echo '#ifdef __cplusplus' >>confdefs.h
3382 echo $ac_declaration >>confdefs.h
3383 echo '#endif' >>confdefs.h
3386 ac_ext=c
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3392 depcc="$CXX" am_compiler_list=
3394 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3395 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3396 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 else
3399 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3400 # We make a subdir and do the tests there. Otherwise we can end up
3401 # making bogus files that we don't know about and never remove. For
3402 # instance it was reported that on HP-UX the gcc test will end up
3403 # making a dummy file named `D' -- because `-MD' means `put the output
3404 # in D'.
3405 mkdir conftest.dir
3406 # Copy depcomp to subdir because otherwise we won't find it if we're
3407 # using a relative directory.
3408 cp "$am_depcomp" conftest.dir
3409 cd conftest.dir
3410 # We will build objects and dependencies in a subdirectory because
3411 # it helps to detect inapplicable dependency modes. For instance
3412 # both Tru64's cc and ICC support -MD to output dependencies as a
3413 # side effect of compilation, but ICC will put the dependencies in
3414 # the current directory while Tru64 will put them in the object
3415 # directory.
3416 mkdir sub
3418 am_cv_CXX_dependencies_compiler_type=none
3419 if test "$am_compiler_list" = ""; then
3420 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3422 for depmode in $am_compiler_list; do
3423 # Setup a source with many dependencies, because some compilers
3424 # like to wrap large dependency lists on column 80 (with \), and
3425 # we should not choose a depcomp mode which is confused by this.
3427 # We need to recreate these files for each test, as the compiler may
3428 # overwrite some of them when testing with obscure command lines.
3429 # This happens at least with the AIX C compiler.
3430 : > sub/conftest.c
3431 for i in 1 2 3 4 5 6; do
3432 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3433 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3434 # Solaris 8's {/usr,}/bin/sh.
3435 touch sub/conftst$i.h
3436 done
3437 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3439 case $depmode in
3440 nosideeffect)
3441 # after this tag, mechanisms are not by side-effect, so they'll
3442 # only be used when explicitly requested
3443 if test "x$enable_dependency_tracking" = xyes; then
3444 continue
3445 else
3446 break
3449 none) break ;;
3450 esac
3451 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3452 # mode. It turns out that the SunPro C++ compiler does not properly
3453 # handle `-M -o', and we need to detect this.
3454 if depmode=$depmode \
3455 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3456 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3457 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3458 >/dev/null 2>conftest.err &&
3459 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3460 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3461 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3462 # icc doesn't choke on unknown options, it will just issue warnings
3463 # or remarks (even with -Werror). So we grep stderr for any message
3464 # that says an option was ignored or not supported.
3465 # When given -MP, icc 7.0 and 7.1 complain thusly:
3466 # icc: Command line warning: ignoring option '-M'; no argument required
3467 # The diagnosis changed in icc 8.0:
3468 # icc: Command line remark: option '-MP' not supported
3469 if (grep 'ignoring option' conftest.err ||
3470 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3471 am_cv_CXX_dependencies_compiler_type=$depmode
3472 break
3475 done
3477 cd ..
3478 rm -rf conftest.dir
3479 else
3480 am_cv_CXX_dependencies_compiler_type=none
3484 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3485 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3486 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3491 test "x$enable_dependency_tracking" != xno \
3492 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3493 am__fastdepCXX_TRUE=
3494 am__fastdepCXX_FALSE='#'
3495 else
3496 am__fastdepCXX_TRUE='#'
3497 am__fastdepCXX_FALSE=
3501 for ac_prog in 'bison -y' byacc
3503 # Extract the first word of "$ac_prog", so it can be a program name with args.
3504 set dummy $ac_prog; ac_word=$2
3505 echo "$as_me:$LINENO: checking for $ac_word" >&5
3506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3507 if test "${ac_cv_prog_YACC+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 else
3510 if test -n "$YACC"; then
3511 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3512 else
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 for as_dir in $PATH
3516 IFS=$as_save_IFS
3517 test -z "$as_dir" && as_dir=.
3518 for ac_exec_ext in '' $ac_executable_extensions; do
3519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_prog_YACC="$ac_prog"
3521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 break 2
3524 done
3525 done
3529 YACC=$ac_cv_prog_YACC
3530 if test -n "$YACC"; then
3531 echo "$as_me:$LINENO: result: $YACC" >&5
3532 echo "${ECHO_T}$YACC" >&6
3533 else
3534 echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6
3538 test -n "$YACC" && break
3539 done
3540 test -n "$YACC" || YACC="yacc"
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3544 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_RANLIB+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 else
3550 if test -n "$RANLIB"; then
3551 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 break 2
3564 done
3565 done
3569 RANLIB=$ac_cv_prog_RANLIB
3570 if test -n "$RANLIB"; then
3571 echo "$as_me:$LINENO: result: $RANLIB" >&5
3572 echo "${ECHO_T}$RANLIB" >&6
3573 else
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3579 if test -z "$ac_cv_prog_RANLIB"; then
3580 ac_ct_RANLIB=$RANLIB
3581 # Extract the first word of "ranlib", so it can be a program name with args.
3582 set dummy ranlib; ac_word=$2
3583 echo "$as_me:$LINENO: checking for $ac_word" >&5
3584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3585 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 else
3588 if test -n "$ac_ct_RANLIB"; then
3589 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3590 else
3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592 for as_dir in $PATH
3594 IFS=$as_save_IFS
3595 test -z "$as_dir" && as_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3598 ac_cv_prog_ac_ct_RANLIB="ranlib"
3599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 break 2
3602 done
3603 done
3605 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3608 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3609 if test -n "$ac_ct_RANLIB"; then
3610 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3611 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3612 else
3613 echo "$as_me:$LINENO: result: no" >&5
3614 echo "${ECHO_T}no" >&6
3617 RANLIB=$ac_ct_RANLIB
3618 else
3619 RANLIB="$ac_cv_prog_RANLIB"
3622 # Find a good install program. We prefer a C program (faster),
3623 # so one script is as good as another. But avoid the broken or
3624 # incompatible versions:
3625 # SysV /etc/install, /usr/sbin/install
3626 # SunOS /usr/etc/install
3627 # IRIX /sbin/install
3628 # AIX /bin/install
3629 # AmigaOS /C/install, which installs bootblocks on floppy discs
3630 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3631 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3632 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3633 # OS/2's system install, which has a completely different semantic
3634 # ./install, which can be erroneously created by make from ./install.sh.
3635 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3636 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3637 if test -z "$INSTALL"; then
3638 if test "${ac_cv_path_install+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 else
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3644 IFS=$as_save_IFS
3645 test -z "$as_dir" && as_dir=.
3646 # Account for people who put trailing slashes in PATH elements.
3647 case $as_dir/ in
3648 ./ | .// | /cC/* | \
3649 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3650 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3651 /usr/ucb/* ) ;;
3653 # OSF1 and SCO ODT 3.0 have their own names for install.
3654 # Don't use installbsd from OSF since it installs stuff as root
3655 # by default.
3656 for ac_prog in ginstall scoinst install; do
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3659 if test $ac_prog = install &&
3660 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3661 # AIX install. It has an incompatible calling convention.
3663 elif test $ac_prog = install &&
3664 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3665 # program-specific install script used by HP pwplus--don't use.
3667 else
3668 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3669 break 3
3672 done
3673 done
3675 esac
3676 done
3680 if test "${ac_cv_path_install+set}" = set; then
3681 INSTALL=$ac_cv_path_install
3682 else
3683 # As a last resort, use the slow shell script. We don't cache a
3684 # path for INSTALL within a source directory, because that will
3685 # break other packages using the cache if that directory is
3686 # removed, or if the path is relative.
3687 INSTALL=$ac_install_sh
3690 echo "$as_me:$LINENO: result: $INSTALL" >&5
3691 echo "${ECHO_T}$INSTALL" >&6
3693 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3694 # It thinks the first close brace ends the variable substitution.
3695 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3697 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3699 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3701 # If we haven't got the data from the intl directory,
3702 # assume NLS is disabled.
3703 USE_NLS=no
3704 LIBINTL=
3705 LIBINTL_DEP=
3706 INCINTL=
3707 XGETTEXT=
3708 GMSGFMT=
3709 POSUB=
3711 if test -f ../intl/config.intl; then
3712 . ../intl/config.intl
3714 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3715 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3716 if test x"$USE_NLS" != xyes; then
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3719 else
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3723 cat >>confdefs.h <<\_ACEOF
3724 #define ENABLE_NLS 1
3725 _ACEOF
3728 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3729 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3730 # Look for .po and .gmo files in the source directory.
3731 CATALOGS=
3732 XLINGUAS=
3733 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
3734 # If there aren't any .gmo files the shell will give us the
3735 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3736 # weeded out.
3737 case "$cat" in *\**)
3738 continue;;
3739 esac
3740 # The quadruple backslash is collapsed to a double backslash
3741 # by the backticks, then collapsed again by the double quotes,
3742 # leaving us with one backslash in the sed expression (right
3743 # before the dot that mustn't act as a wildcard).
3744 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3745 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
3746 # The user is allowed to set LINGUAS to a list of languages to
3747 # install catalogs for. If it's empty that means "all of them."
3748 if test "x$LINGUAS" = x; then
3749 CATALOGS="$CATALOGS $cat"
3750 XLINGUAS="$XLINGUAS $lang"
3751 else
3752 case "$LINGUAS" in *$lang*)
3753 CATALOGS="$CATALOGS $cat"
3754 XLINGUAS="$XLINGUAS $lang"
3756 esac
3758 done
3759 LINGUAS="$XLINGUAS"
3760 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3761 echo "${ECHO_T}$LINGUAS" >&6
3764 DATADIRNAME=share
3766 INSTOBJEXT=.mo
3768 GENCAT=gencat
3770 CATOBJEXT=.gmo
3774 MKINSTALLDIRS=
3775 if test -n "$ac_aux_dir"; then
3776 case "$ac_aux_dir" in
3777 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3778 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3779 esac
3781 if test -z "$MKINSTALLDIRS"; then
3782 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3787 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3788 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3789 # Check whether --enable-nls or --disable-nls was given.
3790 if test "${enable_nls+set}" = set; then
3791 enableval="$enable_nls"
3792 USE_NLS=$enableval
3793 else
3794 USE_NLS=yes
3796 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3797 echo "${ECHO_T}$USE_NLS" >&6
3804 # Prepare PATH_SEPARATOR.
3805 # The user is always right.
3806 if test "${PATH_SEPARATOR+set}" != set; then
3807 echo "#! /bin/sh" >conf$$.sh
3808 echo "exit 0" >>conf$$.sh
3809 chmod +x conf$$.sh
3810 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3811 PATH_SEPARATOR=';'
3812 else
3813 PATH_SEPARATOR=:
3815 rm -f conf$$.sh
3818 # Find out how to test for executable files. Don't use a zero-byte file,
3819 # as systems may use methods other than mode bits to determine executability.
3820 cat >conf$$.file <<_ASEOF
3821 #! /bin/sh
3822 exit 0
3823 _ASEOF
3824 chmod +x conf$$.file
3825 if test -x conf$$.file >/dev/null 2>&1; then
3826 ac_executable_p="test -x"
3827 else
3828 ac_executable_p="test -f"
3830 rm -f conf$$.file
3832 # Extract the first word of "msgfmt", so it can be a program name with args.
3833 set dummy msgfmt; ac_word=$2
3834 echo "$as_me:$LINENO: checking for $ac_word" >&5
3835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3836 if test "${ac_cv_path_MSGFMT+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 else
3839 case "$MSGFMT" in
3840 [\\/]* | ?:[\\/]*)
3841 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3844 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3845 for ac_dir in $PATH; do
3846 IFS="$ac_save_IFS"
3847 test -z "$ac_dir" && ac_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3850 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3851 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3852 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3853 break 2
3856 done
3857 done
3858 IFS="$ac_save_IFS"
3859 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3861 esac
3863 MSGFMT="$ac_cv_path_MSGFMT"
3864 if test "$MSGFMT" != ":"; then
3865 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3866 echo "${ECHO_T}$MSGFMT" >&6
3867 else
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3872 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3873 set dummy gmsgfmt; ac_word=$2
3874 echo "$as_me:$LINENO: checking for $ac_word" >&5
3875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3876 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 else
3879 case $GMSGFMT in
3880 [\\/]* | ?:[\\/]*)
3881 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3887 IFS=$as_save_IFS
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3898 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3900 esac
3902 GMSGFMT=$ac_cv_path_GMSGFMT
3904 if test -n "$GMSGFMT"; then
3905 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3906 echo "${ECHO_T}$GMSGFMT" >&6
3907 else
3908 echo "$as_me:$LINENO: result: no" >&5
3909 echo "${ECHO_T}no" >&6
3914 # Prepare PATH_SEPARATOR.
3915 # The user is always right.
3916 if test "${PATH_SEPARATOR+set}" != set; then
3917 echo "#! /bin/sh" >conf$$.sh
3918 echo "exit 0" >>conf$$.sh
3919 chmod +x conf$$.sh
3920 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3921 PATH_SEPARATOR=';'
3922 else
3923 PATH_SEPARATOR=:
3925 rm -f conf$$.sh
3928 # Find out how to test for executable files. Don't use a zero-byte file,
3929 # as systems may use methods other than mode bits to determine executability.
3930 cat >conf$$.file <<_ASEOF
3931 #! /bin/sh
3932 exit 0
3933 _ASEOF
3934 chmod +x conf$$.file
3935 if test -x conf$$.file >/dev/null 2>&1; then
3936 ac_executable_p="test -x"
3937 else
3938 ac_executable_p="test -f"
3940 rm -f conf$$.file
3942 # Extract the first word of "xgettext", so it can be a program name with args.
3943 set dummy xgettext; ac_word=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_path_XGETTEXT+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949 case "$XGETTEXT" in
3950 [\\/]* | ?:[\\/]*)
3951 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3954 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3955 for ac_dir in $PATH; do
3956 IFS="$ac_save_IFS"
3957 test -z "$ac_dir" && ac_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3960 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3961 (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
3962 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3963 break 2
3966 done
3967 done
3968 IFS="$ac_save_IFS"
3969 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3971 esac
3973 XGETTEXT="$ac_cv_path_XGETTEXT"
3974 if test "$XGETTEXT" != ":"; then
3975 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3976 echo "${ECHO_T}$XGETTEXT" >&6
3977 else
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3982 rm -f messages.po
3985 # Prepare PATH_SEPARATOR.
3986 # The user is always right.
3987 if test "${PATH_SEPARATOR+set}" != set; then
3988 echo "#! /bin/sh" >conf$$.sh
3989 echo "exit 0" >>conf$$.sh
3990 chmod +x conf$$.sh
3991 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3992 PATH_SEPARATOR=';'
3993 else
3994 PATH_SEPARATOR=:
3996 rm -f conf$$.sh
3999 # Find out how to test for executable files. Don't use a zero-byte file,
4000 # as systems may use methods other than mode bits to determine executability.
4001 cat >conf$$.file <<_ASEOF
4002 #! /bin/sh
4003 exit 0
4004 _ASEOF
4005 chmod +x conf$$.file
4006 if test -x conf$$.file >/dev/null 2>&1; then
4007 ac_executable_p="test -x"
4008 else
4009 ac_executable_p="test -f"
4011 rm -f conf$$.file
4013 # Extract the first word of "msgmerge", so it can be a program name with args.
4014 set dummy msgmerge; ac_word=$2
4015 echo "$as_me:$LINENO: checking for $ac_word" >&5
4016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4017 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 else
4020 case "$MSGMERGE" in
4021 [\\/]* | ?:[\\/]*)
4022 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4025 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4026 for ac_dir in $PATH; do
4027 IFS="$ac_save_IFS"
4028 test -z "$ac_dir" && ac_dir=.
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4031 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4032 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4033 break 2
4036 done
4037 done
4038 IFS="$ac_save_IFS"
4039 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4041 esac
4043 MSGMERGE="$ac_cv_path_MSGMERGE"
4044 if test "$MSGMERGE" != ":"; then
4045 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4046 echo "${ECHO_T}$MSGMERGE" >&6
4047 else
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4053 if test "$GMSGFMT" != ":"; then
4054 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4055 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4057 else
4058 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4059 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4060 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
4061 GMSGFMT=":"
4065 if test "$XGETTEXT" != ":"; then
4066 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4067 (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
4069 else
4070 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4071 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
4072 XGETTEXT=":"
4074 rm -f messages.po
4077 ac_config_commands="$ac_config_commands default-1"
4082 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4083 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4084 if test "${ac_cv_c_bigendian+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 else
4087 # See if sys/param.h defines the BYTE_ORDER macro.
4088 cat >conftest.$ac_ext <<_ACEOF
4089 /* confdefs.h. */
4090 _ACEOF
4091 cat confdefs.h >>conftest.$ac_ext
4092 cat >>conftest.$ac_ext <<_ACEOF
4093 /* end confdefs.h. */
4094 #include <sys/types.h>
4095 #include <sys/param.h>
4098 main ()
4100 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4101 bogus endian macros
4102 #endif
4105 return 0;
4107 _ACEOF
4108 rm -f conftest.$ac_objext
4109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4110 (eval $ac_compile) 2>conftest.er1
4111 ac_status=$?
4112 grep -v '^ *+' conftest.er1 >conftest.err
4113 rm -f conftest.er1
4114 cat conftest.err >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } &&
4117 { ac_try='test -z "$ac_c_werror_flag"
4118 || test ! -s conftest.err'
4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 (eval $ac_try) 2>&5
4121 ac_status=$?
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); }; } &&
4124 { ac_try='test -s conftest.$ac_objext'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 (eval $ac_try) 2>&5
4127 ac_status=$?
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; }; then
4130 # It does; now see whether it defined to BIG_ENDIAN or not.
4131 cat >conftest.$ac_ext <<_ACEOF
4132 /* confdefs.h. */
4133 _ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4137 #include <sys/types.h>
4138 #include <sys/param.h>
4141 main ()
4143 #if BYTE_ORDER != BIG_ENDIAN
4144 not big endian
4145 #endif
4148 return 0;
4150 _ACEOF
4151 rm -f conftest.$ac_objext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4153 (eval $ac_compile) 2>conftest.er1
4154 ac_status=$?
4155 grep -v '^ *+' conftest.er1 >conftest.err
4156 rm -f conftest.er1
4157 cat conftest.err >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try='test -z "$ac_c_werror_flag"
4161 || test ! -s conftest.err'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 (eval $ac_try) 2>&5
4164 ac_status=$?
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; } &&
4167 { ac_try='test -s conftest.$ac_objext'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 (eval $ac_try) 2>&5
4170 ac_status=$?
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4173 ac_cv_c_bigendian=yes
4174 else
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 ac_cv_c_bigendian=no
4180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4181 else
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4185 # It does not; compile a test program.
4186 if test "$cross_compiling" = yes; then
4187 # try to guess the endianness by grepping values into an object file
4188 ac_cv_c_bigendian=unknown
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4195 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4196 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4197 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4198 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4199 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4200 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4202 main ()
4204 _ascii (); _ebcdic ();
4206 return 0;
4208 _ACEOF
4209 rm -f conftest.$ac_objext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try='test -z "$ac_c_werror_flag"
4219 || test ! -s conftest.err'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221 (eval $ac_try) 2>&5
4222 ac_status=$?
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try='test -s conftest.$ac_objext'
4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 (eval $ac_try) 2>&5
4228 ac_status=$?
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4232 ac_cv_c_bigendian=yes
4234 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4235 if test "$ac_cv_c_bigendian" = unknown; then
4236 ac_cv_c_bigendian=no
4237 else
4238 # finding both strings is unlikely to happen, but who knows?
4239 ac_cv_c_bigendian=unknown
4242 else
4243 echo "$as_me: failed program was:" >&5
4244 sed 's/^/| /' conftest.$ac_ext >&5
4247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4248 else
4249 cat >conftest.$ac_ext <<_ACEOF
4250 /* confdefs.h. */
4251 _ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4256 main ()
4258 /* Are we little or big endian? From Harbison&Steele. */
4259 union
4261 long l;
4262 char c[sizeof (long)];
4263 } u;
4264 u.l = 1;
4265 exit (u.c[sizeof (long) - 1] == 1);
4267 _ACEOF
4268 rm -f conftest$ac_exeext
4269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4270 (eval $ac_link) 2>&5
4271 ac_status=$?
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 (eval $ac_try) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 ac_cv_c_bigendian=no
4280 else
4281 echo "$as_me: program exited with status $ac_status" >&5
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4285 ( exit $ac_status )
4286 ac_cv_c_bigendian=yes
4288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4293 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4294 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4295 case $ac_cv_c_bigendian in
4296 yes)
4298 cat >>confdefs.h <<\_ACEOF
4299 #define WORDS_BIGENDIAN 1
4300 _ACEOF
4305 { { echo "$as_me:$LINENO: error: unknown endianness
4306 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4307 echo "$as_me: error: unknown endianness
4308 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4309 { (exit 1); exit 1; }; } ;;
4310 esac
4316 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4318 # Check whether --enable-werror or --disable-werror was given.
4319 if test "${enable_werror+set}" = set; then
4320 enableval="$enable_werror"
4321 case "${enableval}" in
4322 yes | y) ERROR_ON_WARNING="yes" ;;
4323 no | n) ERROR_ON_WARNING="no" ;;
4324 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4325 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4326 { (exit 1); exit 1; }; } ;;
4327 esac
4330 # Enable -Werror by default when using gcc
4331 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4332 ERROR_ON_WARNING=yes
4335 NO_WERROR=
4336 if test "${ERROR_ON_WARNING}" = yes ; then
4337 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
4338 NO_WERROR="-Wno-error"
4341 if test "${GCC}" = yes ; then
4342 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4345 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4346 if test "${enable_build_warnings+set}" = set; then
4347 enableval="$enable_build_warnings"
4348 case "${enableval}" in
4349 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4350 no) if test "${GCC}" = yes ; then
4351 WARN_CFLAGS="-w"
4352 fi;;
4353 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4354 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
4355 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4356 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4357 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4358 esac
4361 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4362 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4369 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
4372 LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
4375 ac_ext=cc
4376 ac_cpp='$CXXCPP $CPPFLAGS'
4377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4383 ac_ext=cc
4384 ac_cpp='$CXXCPP $CPPFLAGS'
4385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4388 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4389 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4390 if test -z "$CXXCPP"; then
4391 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 else
4394 # Double quotes because CXXCPP needs to be expanded
4395 for CXXCPP in "$CXX -E" "/lib/cpp"
4397 ac_preproc_ok=false
4398 for ac_cxx_preproc_warn_flag in '' yes
4400 # Use a header file that comes with gcc, so configuring glibc
4401 # with a fresh cross-compiler works.
4402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4403 # <limits.h> exists even on freestanding compilers.
4404 # On the NeXT, cc -E runs the code through the compiler's parser,
4405 # not just through cpp. "Syntax error" is here to catch this case.
4406 cat >conftest.$ac_ext <<_ACEOF
4407 /* confdefs.h. */
4408 _ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4412 #ifdef __STDC__
4413 # include <limits.h>
4414 #else
4415 # include <assert.h>
4416 #endif
4417 Syntax error
4418 _ACEOF
4419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4421 ac_status=$?
4422 grep -v '^ *+' conftest.er1 >conftest.err
4423 rm -f conftest.er1
4424 cat conftest.err >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } >/dev/null; then
4427 if test -s conftest.err; then
4428 ac_cpp_err=$ac_cxx_preproc_warn_flag
4429 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4430 else
4431 ac_cpp_err=
4433 else
4434 ac_cpp_err=yes
4436 if test -z "$ac_cpp_err"; then
4438 else
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 # Broken: fails on valid input.
4443 continue
4445 rm -f conftest.err conftest.$ac_ext
4447 # OK, works on sane cases. Now check whether non-existent headers
4448 # can be detected and how.
4449 cat >conftest.$ac_ext <<_ACEOF
4450 /* confdefs.h. */
4451 _ACEOF
4452 cat confdefs.h >>conftest.$ac_ext
4453 cat >>conftest.$ac_ext <<_ACEOF
4454 /* end confdefs.h. */
4455 #include <ac_nonexistent.h>
4456 _ACEOF
4457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4459 ac_status=$?
4460 grep -v '^ *+' conftest.er1 >conftest.err
4461 rm -f conftest.er1
4462 cat conftest.err >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } >/dev/null; then
4465 if test -s conftest.err; then
4466 ac_cpp_err=$ac_cxx_preproc_warn_flag
4467 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4468 else
4469 ac_cpp_err=
4471 else
4472 ac_cpp_err=yes
4474 if test -z "$ac_cpp_err"; then
4475 # Broken: success on invalid input.
4476 continue
4477 else
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 # Passes both tests.
4482 ac_preproc_ok=:
4483 break
4485 rm -f conftest.err conftest.$ac_ext
4487 done
4488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4489 rm -f conftest.err conftest.$ac_ext
4490 if $ac_preproc_ok; then
4491 break
4494 done
4495 ac_cv_prog_CXXCPP=$CXXCPP
4498 CXXCPP=$ac_cv_prog_CXXCPP
4499 else
4500 ac_cv_prog_CXXCPP=$CXXCPP
4502 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4503 echo "${ECHO_T}$CXXCPP" >&6
4504 ac_preproc_ok=false
4505 for ac_cxx_preproc_warn_flag in '' yes
4507 # Use a header file that comes with gcc, so configuring glibc
4508 # with a fresh cross-compiler works.
4509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4510 # <limits.h> exists even on freestanding compilers.
4511 # On the NeXT, cc -E runs the code through the compiler's parser,
4512 # not just through cpp. "Syntax error" is here to catch this case.
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 #ifdef __STDC__
4520 # include <limits.h>
4521 #else
4522 # include <assert.h>
4523 #endif
4524 Syntax error
4525 _ACEOF
4526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4528 ac_status=$?
4529 grep -v '^ *+' conftest.er1 >conftest.err
4530 rm -f conftest.er1
4531 cat conftest.err >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } >/dev/null; then
4534 if test -s conftest.err; then
4535 ac_cpp_err=$ac_cxx_preproc_warn_flag
4536 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4537 else
4538 ac_cpp_err=
4540 else
4541 ac_cpp_err=yes
4543 if test -z "$ac_cpp_err"; then
4545 else
4546 echo "$as_me: failed program was:" >&5
4547 sed 's/^/| /' conftest.$ac_ext >&5
4549 # Broken: fails on valid input.
4550 continue
4552 rm -f conftest.err conftest.$ac_ext
4554 # OK, works on sane cases. Now check whether non-existent headers
4555 # can be detected and how.
4556 cat >conftest.$ac_ext <<_ACEOF
4557 /* confdefs.h. */
4558 _ACEOF
4559 cat confdefs.h >>conftest.$ac_ext
4560 cat >>conftest.$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4562 #include <ac_nonexistent.h>
4563 _ACEOF
4564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4566 ac_status=$?
4567 grep -v '^ *+' conftest.er1 >conftest.err
4568 rm -f conftest.er1
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } >/dev/null; then
4572 if test -s conftest.err; then
4573 ac_cpp_err=$ac_cxx_preproc_warn_flag
4574 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4575 else
4576 ac_cpp_err=
4578 else
4579 ac_cpp_err=yes
4581 if test -z "$ac_cpp_err"; then
4582 # Broken: success on invalid input.
4583 continue
4584 else
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 # Passes both tests.
4589 ac_preproc_ok=:
4590 break
4592 rm -f conftest.err conftest.$ac_ext
4594 done
4595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4596 rm -f conftest.err conftest.$ac_ext
4597 if $ac_preproc_ok; then
4599 else
4600 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4601 See \`config.log' for more details." >&5
4602 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4603 See \`config.log' for more details." >&2;}
4604 { (exit 1); exit 1; }; }
4607 ac_ext=cc
4608 ac_cpp='$CXXCPP $CPPFLAGS'
4609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4614 echo "$as_me:$LINENO: checking for egrep" >&5
4615 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4616 if test "${ac_cv_prog_egrep+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4620 then ac_cv_prog_egrep='grep -E'
4621 else ac_cv_prog_egrep='egrep'
4624 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4625 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4626 EGREP=$ac_cv_prog_egrep
4629 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4630 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4631 if test "${ac_cv_header_stdc+set}" = set; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 else
4634 cat >conftest.$ac_ext <<_ACEOF
4635 /* confdefs.h. */
4636 _ACEOF
4637 cat confdefs.h >>conftest.$ac_ext
4638 cat >>conftest.$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4640 #include <stdlib.h>
4641 #include <stdarg.h>
4642 #include <string.h>
4643 #include <float.h>
4646 main ()
4650 return 0;
4652 _ACEOF
4653 rm -f conftest.$ac_objext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4655 (eval $ac_compile) 2>conftest.er1
4656 ac_status=$?
4657 grep -v '^ *+' conftest.er1 >conftest.err
4658 rm -f conftest.er1
4659 cat conftest.err >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try='test -z "$ac_cxx_werror_flag"
4663 || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 (eval $ac_try) 2>&5
4666 ac_status=$?
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try='test -s conftest.$ac_objext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 (eval $ac_try) 2>&5
4672 ac_status=$?
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_header_stdc=yes
4676 else
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_header_stdc=no
4682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4684 if test $ac_cv_header_stdc = yes; then
4685 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4686 cat >conftest.$ac_ext <<_ACEOF
4687 /* confdefs.h. */
4688 _ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #include <string.h>
4694 _ACEOF
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696 $EGREP "memchr" >/dev/null 2>&1; then
4698 else
4699 ac_cv_header_stdc=no
4701 rm -f conftest*
4705 if test $ac_cv_header_stdc = yes; then
4706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4707 cat >conftest.$ac_ext <<_ACEOF
4708 /* confdefs.h. */
4709 _ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4713 #include <stdlib.h>
4715 _ACEOF
4716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4717 $EGREP "free" >/dev/null 2>&1; then
4719 else
4720 ac_cv_header_stdc=no
4722 rm -f conftest*
4726 if test $ac_cv_header_stdc = yes; then
4727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4728 if test "$cross_compiling" = yes; then
4730 else
4731 cat >conftest.$ac_ext <<_ACEOF
4732 /* confdefs.h. */
4733 _ACEOF
4734 cat confdefs.h >>conftest.$ac_ext
4735 cat >>conftest.$ac_ext <<_ACEOF
4736 /* end confdefs.h. */
4737 #include <ctype.h>
4738 #if ((' ' & 0x0FF) == 0x020)
4739 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4740 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4741 #else
4742 # define ISLOWER(c) \
4743 (('a' <= (c) && (c) <= 'i') \
4744 || ('j' <= (c) && (c) <= 'r') \
4745 || ('s' <= (c) && (c) <= 'z'))
4746 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4747 #endif
4749 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4751 main ()
4753 int i;
4754 for (i = 0; i < 256; i++)
4755 if (XOR (islower (i), ISLOWER (i))
4756 || toupper (i) != TOUPPER (i))
4757 exit(2);
4758 exit (0);
4760 _ACEOF
4761 rm -f conftest$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>&5
4764 ac_status=$?
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768 (eval $ac_try) 2>&5
4769 ac_status=$?
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4773 else
4774 echo "$as_me: program exited with status $ac_status" >&5
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.$ac_ext >&5
4778 ( exit $ac_status )
4779 ac_cv_header_stdc=no
4781 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4785 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4786 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4787 if test $ac_cv_header_stdc = yes; then
4789 cat >>confdefs.h <<\_ACEOF
4790 #define STDC_HEADERS 1
4791 _ACEOF
4795 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4805 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4806 inttypes.h stdint.h unistd.h
4808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4809 echo "$as_me:$LINENO: checking for $ac_header" >&5
4810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4812 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 else
4814 cat >conftest.$ac_ext <<_ACEOF
4815 /* confdefs.h. */
4816 _ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 $ac_includes_default
4822 #include <$ac_header>
4823 _ACEOF
4824 rm -f conftest.$ac_objext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4826 (eval $ac_compile) 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try='test -z "$ac_cxx_werror_flag"
4834 || test ! -s conftest.err'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 (eval $ac_try) 2>&5
4837 ac_status=$?
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; } &&
4840 { ac_try='test -s conftest.$ac_objext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 (eval $ac_try) 2>&5
4843 ac_status=$?
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 eval "$as_ac_Header=yes"
4847 else
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.$ac_ext >&5
4851 eval "$as_ac_Header=no"
4853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4858 cat >>confdefs.h <<_ACEOF
4859 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4860 _ACEOF
4864 done
4869 for ac_header in tr1/unordered_set tr1/unordered_map
4871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4873 echo "$as_me:$LINENO: checking for $ac_header" >&5
4874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4880 else
4881 # Is the header compilable?
4882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4884 cat >conftest.$ac_ext <<_ACEOF
4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 $ac_includes_default
4891 #include <$ac_header>
4892 _ACEOF
4893 rm -f conftest.$ac_objext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>conftest.er1
4896 ac_status=$?
4897 grep -v '^ *+' conftest.er1 >conftest.err
4898 rm -f conftest.er1
4899 cat conftest.err >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try='test -z "$ac_cxx_werror_flag"
4903 || test ! -s conftest.err'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4905 (eval $ac_try) 2>&5
4906 ac_status=$?
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; } &&
4909 { ac_try='test -s conftest.$ac_objext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 (eval $ac_try) 2>&5
4912 ac_status=$?
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_header_compiler=yes
4916 else
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_header_compiler=no
4922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4924 echo "${ECHO_T}$ac_header_compiler" >&6
4926 # Is the header present?
4927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4929 cat >conftest.$ac_ext <<_ACEOF
4930 /* confdefs.h. */
4931 _ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 #include <$ac_header>
4936 _ACEOF
4937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4939 ac_status=$?
4940 grep -v '^ *+' conftest.er1 >conftest.err
4941 rm -f conftest.er1
4942 cat conftest.err >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } >/dev/null; then
4945 if test -s conftest.err; then
4946 ac_cpp_err=$ac_cxx_preproc_warn_flag
4947 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4948 else
4949 ac_cpp_err=
4951 else
4952 ac_cpp_err=yes
4954 if test -z "$ac_cpp_err"; then
4955 ac_header_preproc=yes
4956 else
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.$ac_ext >&5
4960 ac_header_preproc=no
4962 rm -f conftest.err conftest.$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4964 echo "${ECHO_T}$ac_header_preproc" >&6
4966 # So? What about this header?
4967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4968 yes:no: )
4969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4973 ac_header_preproc=yes
4975 no:yes:* )
4976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4989 cat <<\_ASBOX
4990 ## ------------------------------------------ ##
4991 ## Report this to the AC_PACKAGE_NAME lists. ##
4992 ## ------------------------------------------ ##
4993 _ASBOX
4995 sed "s/^/$as_me: WARNING: /" >&2
4997 esac
4998 echo "$as_me:$LINENO: checking for $ac_header" >&5
4999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 eval "$as_ac_Header=\$ac_header_preproc"
5005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5010 cat >>confdefs.h <<_ACEOF
5011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5012 _ACEOF
5016 done
5020 for ac_header in ext/hash_map ext/hash_set
5022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5024 echo "$as_me:$LINENO: checking for $ac_header" >&5
5025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5031 else
5032 # Is the header compilable?
5033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5035 cat >conftest.$ac_ext <<_ACEOF
5036 /* confdefs.h. */
5037 _ACEOF
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 $ac_includes_default
5042 #include <$ac_header>
5043 _ACEOF
5044 rm -f conftest.$ac_objext
5045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5046 (eval $ac_compile) 2>conftest.er1
5047 ac_status=$?
5048 grep -v '^ *+' conftest.er1 >conftest.err
5049 rm -f conftest.er1
5050 cat conftest.err >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } &&
5053 { ac_try='test -z "$ac_cxx_werror_flag"
5054 || test ! -s conftest.err'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 (eval $ac_try) 2>&5
5057 ac_status=$?
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; } &&
5060 { ac_try='test -s conftest.$ac_objext'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5
5063 ac_status=$?
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then
5066 ac_header_compiler=yes
5067 else
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5071 ac_header_compiler=no
5073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5075 echo "${ECHO_T}$ac_header_compiler" >&6
5077 # Is the header present?
5078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5080 cat >conftest.$ac_ext <<_ACEOF
5081 /* confdefs.h. */
5082 _ACEOF
5083 cat confdefs.h >>conftest.$ac_ext
5084 cat >>conftest.$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5086 #include <$ac_header>
5087 _ACEOF
5088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5090 ac_status=$?
5091 grep -v '^ *+' conftest.er1 >conftest.err
5092 rm -f conftest.er1
5093 cat conftest.err >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); } >/dev/null; then
5096 if test -s conftest.err; then
5097 ac_cpp_err=$ac_cxx_preproc_warn_flag
5098 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5099 else
5100 ac_cpp_err=
5102 else
5103 ac_cpp_err=yes
5105 if test -z "$ac_cpp_err"; then
5106 ac_header_preproc=yes
5107 else
5108 echo "$as_me: failed program was:" >&5
5109 sed 's/^/| /' conftest.$ac_ext >&5
5111 ac_header_preproc=no
5113 rm -f conftest.err conftest.$ac_ext
5114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5115 echo "${ECHO_T}$ac_header_preproc" >&6
5117 # So? What about this header?
5118 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5119 yes:no: )
5120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5124 ac_header_preproc=yes
5126 no:yes:* )
5127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5140 cat <<\_ASBOX
5141 ## ------------------------------------------ ##
5142 ## Report this to the AC_PACKAGE_NAME lists. ##
5143 ## ------------------------------------------ ##
5144 _ASBOX
5146 sed "s/^/$as_me: WARNING: /" >&2
5148 esac
5149 echo "$as_me:$LINENO: checking for $ac_header" >&5
5150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 else
5154 eval "$as_ac_Header=\$ac_header_preproc"
5156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5161 cat >>confdefs.h <<_ACEOF
5162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5163 _ACEOF
5167 done
5170 cat >conftest.$ac_ext <<_ACEOF
5172 class c { public: template<int i> void fn(); };
5173 template<int i> void foo(c cv) { cv.fn<i>(); }
5174 template void foo<1>(c cv);
5175 _ACEOF
5176 rm -f conftest.$ac_objext
5177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5178 (eval $ac_compile) 2>conftest.er1
5179 ac_status=$?
5180 grep -v '^ *+' conftest.er1 >conftest.err
5181 rm -f conftest.er1
5182 cat conftest.err >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); } &&
5185 { ac_try='test -z "$ac_cxx_werror_flag"
5186 || test ! -s conftest.err'
5187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 (eval $ac_try) 2>&5
5189 ac_status=$?
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; } &&
5192 { ac_try='test -s conftest.$ac_objext'
5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 (eval $ac_try) 2>&5
5195 ac_status=$?
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); }; }; then
5199 cat >>confdefs.h <<\_ACEOF
5200 #define HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
5201 _ACEOF
5203 else
5204 echo "$as_me: failed program was:" >&5
5205 sed 's/^/| /' conftest.$ac_ext >&5
5208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5210 ac_ext=c
5211 ac_cpp='$CPP $CPPFLAGS'
5212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5217 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5218 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5219 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5220 if test "${enable_maintainer_mode+set}" = set; then
5221 enableval="$enable_maintainer_mode"
5222 USE_MAINTAINER_MODE=$enableval
5223 else
5224 USE_MAINTAINER_MODE=no
5226 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5227 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5230 if test $USE_MAINTAINER_MODE = yes; then
5231 MAINTAINER_MODE_TRUE=
5232 MAINTAINER_MODE_FALSE='#'
5233 else
5234 MAINTAINER_MODE_TRUE='#'
5235 MAINTAINER_MODE_FALSE=
5238 MAINT=$MAINTAINER_MODE_TRUE
5242 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
5243 cat >confcache <<\_ACEOF
5244 # This file is a shell script that caches the results of configure
5245 # tests run on this system so they can be shared between configure
5246 # scripts and configure runs, see configure's option --config-cache.
5247 # It is not useful on other systems. If it contains results you don't
5248 # want to keep, you may remove or edit it.
5250 # config.status only pays attention to the cache file if you give it
5251 # the --recheck option to rerun configure.
5253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5255 # following values.
5257 _ACEOF
5259 # The following way of writing the cache mishandles newlines in values,
5260 # but we know of no workaround that is simple, portable, and efficient.
5261 # So, don't put newlines in cache variables' values.
5262 # Ultrix sh set writes to stderr and can't be redirected directly,
5263 # and sets the high bit in the cache file unless we assign to the vars.
5265 (set) 2>&1 |
5266 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5267 *ac_space=\ *)
5268 # `set' does not quote correctly, so add quotes (double-quote
5269 # substitution turns \\\\ into \\, and sed turns \\ into \).
5270 sed -n \
5271 "s/'/'\\\\''/g;
5272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5275 # `set' quotes correctly as required by POSIX, so do not add quotes.
5276 sed -n \
5277 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5279 esac;
5281 sed '
5282 t clear
5283 : clear
5284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5285 t end
5286 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5287 : end' >>confcache
5288 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5289 if test -w $cache_file; then
5290 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5291 cat confcache >$cache_file
5292 else
5293 echo "not updating unwritable cache $cache_file"
5296 rm -f confcache
5298 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5299 # Let make expand exec_prefix.
5300 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5302 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5303 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5304 # trailing colons and then remove the whole line if VPATH becomes empty
5305 # (actually we leave an empty line to preserve line numbers).
5306 if test "x$srcdir" = x.; then
5307 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5308 s/:*\$(srcdir):*/:/;
5309 s/:*\${srcdir}:*/:/;
5310 s/:*@srcdir@:*/:/;
5311 s/^\([^=]*=[ ]*\):*/\1/;
5312 s/:*$//;
5313 s/^[^=]*=[ ]*$//;
5317 DEFS=-DHAVE_CONFIG_H
5319 ac_libobjs=
5320 ac_ltlibobjs=
5321 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5322 # 1. Remove the extension, and $U if already installed.
5323 ac_i=`echo "$ac_i" |
5324 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5325 # 2. Add them.
5326 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5327 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5328 done
5329 LIBOBJS=$ac_libobjs
5331 LTLIBOBJS=$ac_ltlibobjs
5334 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5335 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5336 Usually this means the macro was only invoked conditionally." >&5
5337 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5338 Usually this means the macro was only invoked conditionally." >&2;}
5339 { (exit 1); exit 1; }; }
5341 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5342 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5343 Usually this means the macro was only invoked conditionally." >&5
5344 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5345 Usually this means the macro was only invoked conditionally." >&2;}
5346 { (exit 1); exit 1; }; }
5348 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5349 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5350 Usually this means the macro was only invoked conditionally." >&5
5351 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5352 Usually this means the macro was only invoked conditionally." >&2;}
5353 { (exit 1); exit 1; }; }
5355 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5356 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5357 Usually this means the macro was only invoked conditionally." >&5
5358 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5359 Usually this means the macro was only invoked conditionally." >&2;}
5360 { (exit 1); exit 1; }; }
5363 : ${CONFIG_STATUS=./config.status}
5364 ac_clean_files_save=$ac_clean_files
5365 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5366 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5367 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5368 cat >$CONFIG_STATUS <<_ACEOF
5369 #! $SHELL
5370 # Generated by $as_me.
5371 # Run this file to recreate the current configuration.
5372 # Compiler output produced by configure, useful for debugging
5373 # configure, is in config.log if it exists.
5375 debug=false
5376 ac_cs_recheck=false
5377 ac_cs_silent=false
5378 SHELL=\${CONFIG_SHELL-$SHELL}
5379 _ACEOF
5381 cat >>$CONFIG_STATUS <<\_ACEOF
5382 ## --------------------- ##
5383 ## M4sh Initialization. ##
5384 ## --------------------- ##
5386 # Be Bourne compatible
5387 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5388 emulate sh
5389 NULLCMD=:
5390 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5391 # is contrary to our usage. Disable this feature.
5392 alias -g '${1+"$@"}'='"$@"'
5393 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5394 set -o posix
5396 DUALCASE=1; export DUALCASE # for MKS sh
5398 # Support unset when possible.
5399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5400 as_unset=unset
5401 else
5402 as_unset=false
5406 # Work around bugs in pre-3.0 UWIN ksh.
5407 $as_unset ENV MAIL MAILPATH
5408 PS1='$ '
5409 PS2='> '
5410 PS4='+ '
5412 # NLS nuisances.
5413 for as_var in \
5414 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5415 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5416 LC_TELEPHONE LC_TIME
5418 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5419 eval $as_var=C; export $as_var
5420 else
5421 $as_unset $as_var
5423 done
5425 # Required to use basename.
5426 if expr a : '\(a\)' >/dev/null 2>&1; then
5427 as_expr=expr
5428 else
5429 as_expr=false
5432 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5433 as_basename=basename
5434 else
5435 as_basename=false
5439 # Name of the executable.
5440 as_me=`$as_basename "$0" ||
5441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5442 X"$0" : 'X\(//\)$' \| \
5443 X"$0" : 'X\(/\)$' \| \
5444 . : '\(.\)' 2>/dev/null ||
5445 echo X/"$0" |
5446 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5447 /^X\/\(\/\/\)$/{ s//\1/; q; }
5448 /^X\/\(\/\).*/{ s//\1/; q; }
5449 s/.*/./; q'`
5452 # PATH needs CR, and LINENO needs CR and PATH.
5453 # Avoid depending upon Character Ranges.
5454 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5455 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5456 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5457 as_cr_digits='0123456789'
5458 as_cr_alnum=$as_cr_Letters$as_cr_digits
5460 # The user is always right.
5461 if test "${PATH_SEPARATOR+set}" != set; then
5462 echo "#! /bin/sh" >conf$$.sh
5463 echo "exit 0" >>conf$$.sh
5464 chmod +x conf$$.sh
5465 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5466 PATH_SEPARATOR=';'
5467 else
5468 PATH_SEPARATOR=:
5470 rm -f conf$$.sh
5474 as_lineno_1=$LINENO
5475 as_lineno_2=$LINENO
5476 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5477 test "x$as_lineno_1" != "x$as_lineno_2" &&
5478 test "x$as_lineno_3" = "x$as_lineno_2" || {
5479 # Find who we are. Look in the path if we contain no path at all
5480 # relative or not.
5481 case $0 in
5482 *[\\/]* ) as_myself=$0 ;;
5483 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5489 done
5492 esac
5493 # We did not find ourselves, most probably we were run as `sh COMMAND'
5494 # in which case we are not to be found in the path.
5495 if test "x$as_myself" = x; then
5496 as_myself=$0
5498 if test ! -f "$as_myself"; then
5499 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5500 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5501 { (exit 1); exit 1; }; }
5503 case $CONFIG_SHELL in
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for as_base in sh bash ksh sh5; do
5511 case $as_dir in
5513 if ("$as_dir/$as_base" -c '
5514 as_lineno_1=$LINENO
5515 as_lineno_2=$LINENO
5516 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5517 test "x$as_lineno_1" != "x$as_lineno_2" &&
5518 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5519 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5520 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5521 CONFIG_SHELL=$as_dir/$as_base
5522 export CONFIG_SHELL
5523 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5524 fi;;
5525 esac
5526 done
5527 done
5529 esac
5531 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5532 # uniformly replaced by the line number. The first 'sed' inserts a
5533 # line-number line before each line; the second 'sed' does the real
5534 # work. The second script uses 'N' to pair each line-number line
5535 # with the numbered line, and appends trailing '-' during
5536 # substitution so that $LINENO is not a special case at line end.
5537 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5538 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5539 sed '=' <$as_myself |
5540 sed '
5542 s,$,-,
5543 : loop
5544 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5545 t loop
5546 s,-$,,
5547 s,^['$as_cr_digits']*\n,,
5548 ' >$as_me.lineno &&
5549 chmod +x $as_me.lineno ||
5550 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5551 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5552 { (exit 1); exit 1; }; }
5554 # Don't try to exec as it changes $[0], causing all sort of problems
5555 # (the dirname of $[0] is not the place where we might find the
5556 # original and so on. Autoconf is especially sensible to this).
5557 . ./$as_me.lineno
5558 # Exit status is that of the last command.
5559 exit
5563 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5564 *c*,-n*) ECHO_N= ECHO_C='
5565 ' ECHO_T=' ' ;;
5566 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5567 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5568 esac
5570 if expr a : '\(a\)' >/dev/null 2>&1; then
5571 as_expr=expr
5572 else
5573 as_expr=false
5576 rm -f conf$$ conf$$.exe conf$$.file
5577 echo >conf$$.file
5578 if ln -s conf$$.file conf$$ 2>/dev/null; then
5579 # We could just check for DJGPP; but this test a) works b) is more generic
5580 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5581 if test -f conf$$.exe; then
5582 # Don't use ln at all; we don't have any links
5583 as_ln_s='cp -p'
5584 else
5585 as_ln_s='ln -s'
5587 elif ln conf$$.file conf$$ 2>/dev/null; then
5588 as_ln_s=ln
5589 else
5590 as_ln_s='cp -p'
5592 rm -f conf$$ conf$$.exe conf$$.file
5594 if mkdir -p . 2>/dev/null; then
5595 as_mkdir_p=:
5596 else
5597 test -d ./-p && rmdir ./-p
5598 as_mkdir_p=false
5601 as_executable_p="test -f"
5603 # Sed expression to map a string onto a valid CPP name.
5604 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5606 # Sed expression to map a string onto a valid variable name.
5607 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5610 # IFS
5611 # We need space, tab and new line, in precisely that order.
5612 as_nl='
5614 IFS=" $as_nl"
5616 # CDPATH.
5617 $as_unset CDPATH
5619 exec 6>&1
5621 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5622 # report actual input values of CONFIG_FILES etc. instead of their
5623 # values after options handling. Logging --version etc. is OK.
5624 exec 5>>config.log
5626 echo
5627 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5628 ## Running $as_me. ##
5629 _ASBOX
5630 } >&5
5631 cat >&5 <<_CSEOF
5633 This file was extended by $as_me, which was
5634 generated by GNU Autoconf 2.59. Invocation command line was
5636 CONFIG_FILES = $CONFIG_FILES
5637 CONFIG_HEADERS = $CONFIG_HEADERS
5638 CONFIG_LINKS = $CONFIG_LINKS
5639 CONFIG_COMMANDS = $CONFIG_COMMANDS
5640 $ $0 $@
5642 _CSEOF
5643 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5644 echo >&5
5645 _ACEOF
5647 # Files that config.status was made for.
5648 if test -n "$ac_config_files"; then
5649 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5652 if test -n "$ac_config_headers"; then
5653 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5656 if test -n "$ac_config_links"; then
5657 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5660 if test -n "$ac_config_commands"; then
5661 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5664 cat >>$CONFIG_STATUS <<\_ACEOF
5666 ac_cs_usage="\
5667 \`$as_me' instantiates files from templates according to the
5668 current configuration.
5670 Usage: $0 [OPTIONS] [FILE]...
5672 -h, --help print this help, then exit
5673 -V, --version print version number, then exit
5674 -q, --quiet do not print progress messages
5675 -d, --debug don't remove temporary files
5676 --recheck update $as_me by reconfiguring in the same conditions
5677 --file=FILE[:TEMPLATE]
5678 instantiate the configuration file FILE
5679 --header=FILE[:TEMPLATE]
5680 instantiate the configuration header FILE
5682 Configuration files:
5683 $config_files
5685 Configuration headers:
5686 $config_headers
5688 Configuration commands:
5689 $config_commands
5691 Report bugs to <bug-autoconf@gnu.org>."
5692 _ACEOF
5694 cat >>$CONFIG_STATUS <<_ACEOF
5695 ac_cs_version="\\
5696 config.status
5697 configured by $0, generated by GNU Autoconf 2.59,
5698 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5700 Copyright (C) 2003 Free Software Foundation, Inc.
5701 This config.status script is free software; the Free Software Foundation
5702 gives unlimited permission to copy, distribute and modify it."
5703 srcdir=$srcdir
5704 INSTALL="$INSTALL"
5705 _ACEOF
5707 cat >>$CONFIG_STATUS <<\_ACEOF
5708 # If no file are specified by the user, then we need to provide default
5709 # value. By we need to know if files were specified by the user.
5710 ac_need_defaults=:
5711 while test $# != 0
5713 case $1 in
5714 --*=*)
5715 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5716 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5717 ac_shift=:
5720 ac_option=$1
5721 ac_optarg=$2
5722 ac_shift=shift
5724 *) # This is not an option, so the user has probably given explicit
5725 # arguments.
5726 ac_option=$1
5727 ac_need_defaults=false;;
5728 esac
5730 case $ac_option in
5731 # Handling of the options.
5732 _ACEOF
5733 cat >>$CONFIG_STATUS <<\_ACEOF
5734 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5735 ac_cs_recheck=: ;;
5736 --version | --vers* | -V )
5737 echo "$ac_cs_version"; exit 0 ;;
5738 --he | --h)
5739 # Conflict between --help and --header
5740 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5741 Try \`$0 --help' for more information." >&5
5742 echo "$as_me: error: ambiguous option: $1
5743 Try \`$0 --help' for more information." >&2;}
5744 { (exit 1); exit 1; }; };;
5745 --help | --hel | -h )
5746 echo "$ac_cs_usage"; exit 0 ;;
5747 --debug | --d* | -d )
5748 debug=: ;;
5749 --file | --fil | --fi | --f )
5750 $ac_shift
5751 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5752 ac_need_defaults=false;;
5753 --header | --heade | --head | --hea )
5754 $ac_shift
5755 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5756 ac_need_defaults=false;;
5757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5758 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5759 ac_cs_silent=: ;;
5761 # This is an error.
5762 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5763 Try \`$0 --help' for more information." >&5
5764 echo "$as_me: error: unrecognized option: $1
5765 Try \`$0 --help' for more information." >&2;}
5766 { (exit 1); exit 1; }; } ;;
5768 *) ac_config_targets="$ac_config_targets $1" ;;
5770 esac
5771 shift
5772 done
5774 ac_configure_extra_args=
5776 if $ac_cs_silent; then
5777 exec 6>/dev/null
5778 ac_configure_extra_args="$ac_configure_extra_args --silent"
5781 _ACEOF
5782 cat >>$CONFIG_STATUS <<_ACEOF
5783 if \$ac_cs_recheck; then
5784 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5785 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5788 _ACEOF
5790 cat >>$CONFIG_STATUS <<_ACEOF
5792 # INIT-COMMANDS section.
5795 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5796 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5797 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
5798 # from automake.
5799 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5800 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5801 LINGUAS="${LINGUAS-%UNSET%}"
5804 _ACEOF
5808 cat >>$CONFIG_STATUS <<\_ACEOF
5809 for ac_config_target in $ac_config_targets
5811 case "$ac_config_target" in
5812 # Handling of arguments.
5813 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5814 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
5815 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
5816 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5817 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5818 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
5819 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5820 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5821 { (exit 1); exit 1; }; };;
5822 esac
5823 done
5825 # If the user did not use the arguments to specify the items to instantiate,
5826 # then the envvar interface is used. Set only those that are not.
5827 # We use the long form for the default assignment because of an extremely
5828 # bizarre bug on SunOS 4.1.3.
5829 if $ac_need_defaults; then
5830 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5831 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5832 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5835 # Have a temporary directory for convenience. Make it in the build tree
5836 # simply because there is no reason to put it here, and in addition,
5837 # creating and moving files from /tmp can sometimes cause problems.
5838 # Create a temporary directory, and hook for its removal unless debugging.
5839 $debug ||
5841 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5842 trap '{ (exit 1); exit 1; }' 1 2 13 15
5845 # Create a (secure) tmp directory for tmp files.
5848 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5849 test -n "$tmp" && test -d "$tmp"
5850 } ||
5852 tmp=./confstat$$-$RANDOM
5853 (umask 077 && mkdir $tmp)
5854 } ||
5856 echo "$me: cannot create a temporary directory in ." >&2
5857 { (exit 1); exit 1; }
5860 _ACEOF
5862 cat >>$CONFIG_STATUS <<_ACEOF
5865 # CONFIG_FILES section.
5868 # No need to generate the scripts if there are no CONFIG_FILES.
5869 # This happens for instance when ./config.status config.h
5870 if test -n "\$CONFIG_FILES"; then
5871 # Protect against being on the right side of a sed subst in config.status.
5872 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5873 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5874 s,@SHELL@,$SHELL,;t t
5875 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5876 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5877 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5878 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5879 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5880 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5881 s,@exec_prefix@,$exec_prefix,;t t
5882 s,@prefix@,$prefix,;t t
5883 s,@program_transform_name@,$program_transform_name,;t t
5884 s,@bindir@,$bindir,;t t
5885 s,@sbindir@,$sbindir,;t t
5886 s,@libexecdir@,$libexecdir,;t t
5887 s,@datadir@,$datadir,;t t
5888 s,@sysconfdir@,$sysconfdir,;t t
5889 s,@sharedstatedir@,$sharedstatedir,;t t
5890 s,@localstatedir@,$localstatedir,;t t
5891 s,@libdir@,$libdir,;t t
5892 s,@includedir@,$includedir,;t t
5893 s,@oldincludedir@,$oldincludedir,;t t
5894 s,@infodir@,$infodir,;t t
5895 s,@mandir@,$mandir,;t t
5896 s,@build_alias@,$build_alias,;t t
5897 s,@host_alias@,$host_alias,;t t
5898 s,@target_alias@,$target_alias,;t t
5899 s,@DEFS@,$DEFS,;t t
5900 s,@ECHO_C@,$ECHO_C,;t t
5901 s,@ECHO_N@,$ECHO_N,;t t
5902 s,@ECHO_T@,$ECHO_T,;t t
5903 s,@LIBS@,$LIBS,;t t
5904 s,@build@,$build,;t t
5905 s,@build_cpu@,$build_cpu,;t t
5906 s,@build_vendor@,$build_vendor,;t t
5907 s,@build_os@,$build_os,;t t
5908 s,@host@,$host,;t t
5909 s,@host_cpu@,$host_cpu,;t t
5910 s,@host_vendor@,$host_vendor,;t t
5911 s,@host_os@,$host_os,;t t
5912 s,@target@,$target,;t t
5913 s,@target_cpu@,$target_cpu,;t t
5914 s,@target_vendor@,$target_vendor,;t t
5915 s,@target_os@,$target_os,;t t
5916 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5917 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5918 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5919 s,@CYGPATH_W@,$CYGPATH_W,;t t
5920 s,@PACKAGE@,$PACKAGE,;t t
5921 s,@VERSION@,$VERSION,;t t
5922 s,@ACLOCAL@,$ACLOCAL,;t t
5923 s,@AUTOCONF@,$AUTOCONF,;t t
5924 s,@AUTOMAKE@,$AUTOMAKE,;t t
5925 s,@AUTOHEADER@,$AUTOHEADER,;t t
5926 s,@MAKEINFO@,$MAKEINFO,;t t
5927 s,@install_sh@,$install_sh,;t t
5928 s,@STRIP@,$STRIP,;t t
5929 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5930 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5931 s,@mkdir_p@,$mkdir_p,;t t
5932 s,@AWK@,$AWK,;t t
5933 s,@SET_MAKE@,$SET_MAKE,;t t
5934 s,@am__leading_dot@,$am__leading_dot,;t t
5935 s,@AMTAR@,$AMTAR,;t t
5936 s,@am__tar@,$am__tar,;t t
5937 s,@am__untar@,$am__untar,;t t
5938 s,@CC@,$CC,;t t
5939 s,@CFLAGS@,$CFLAGS,;t t
5940 s,@LDFLAGS@,$LDFLAGS,;t t
5941 s,@CPPFLAGS@,$CPPFLAGS,;t t
5942 s,@ac_ct_CC@,$ac_ct_CC,;t t
5943 s,@EXEEXT@,$EXEEXT,;t t
5944 s,@OBJEXT@,$OBJEXT,;t t
5945 s,@DEPDIR@,$DEPDIR,;t t
5946 s,@am__include@,$am__include,;t t
5947 s,@am__quote@,$am__quote,;t t
5948 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5949 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5950 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5951 s,@CCDEPMODE@,$CCDEPMODE,;t t
5952 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5953 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5954 s,@CXX@,$CXX,;t t
5955 s,@CXXFLAGS@,$CXXFLAGS,;t t
5956 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5957 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
5958 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
5959 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
5960 s,@YACC@,$YACC,;t t
5961 s,@RANLIB@,$RANLIB,;t t
5962 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5963 s,@USE_NLS@,$USE_NLS,;t t
5964 s,@LIBINTL@,$LIBINTL,;t t
5965 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
5966 s,@INCINTL@,$INCINTL,;t t
5967 s,@XGETTEXT@,$XGETTEXT,;t t
5968 s,@GMSGFMT@,$GMSGFMT,;t t
5969 s,@POSUB@,$POSUB,;t t
5970 s,@CATALOGS@,$CATALOGS,;t t
5971 s,@DATADIRNAME@,$DATADIRNAME,;t t
5972 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5973 s,@GENCAT@,$GENCAT,;t t
5974 s,@CATOBJEXT@,$CATOBJEXT,;t t
5975 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5976 s,@MSGFMT@,$MSGFMT,;t t
5977 s,@MSGMERGE@,$MSGMERGE,;t t
5978 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5979 s,@NO_WERROR@,$NO_WERROR,;t t
5980 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
5981 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
5982 s,@CXXCPP@,$CXXCPP,;t t
5983 s,@EGREP@,$EGREP,;t t
5984 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5985 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5986 s,@MAINT@,$MAINT,;t t
5987 s,@LIBOBJS@,$LIBOBJS,;t t
5988 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5989 CEOF
5991 _ACEOF
5993 cat >>$CONFIG_STATUS <<\_ACEOF
5994 # Split the substitutions into bite-sized pieces for seds with
5995 # small command number limits, like on Digital OSF/1 and HP-UX.
5996 ac_max_sed_lines=48
5997 ac_sed_frag=1 # Number of current file.
5998 ac_beg=1 # First line for current file.
5999 ac_end=$ac_max_sed_lines # Line after last line for current file.
6000 ac_more_lines=:
6001 ac_sed_cmds=
6002 while $ac_more_lines; do
6003 if test $ac_beg -gt 1; then
6004 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6005 else
6006 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6008 if test ! -s $tmp/subs.frag; then
6009 ac_more_lines=false
6010 else
6011 # The purpose of the label and of the branching condition is to
6012 # speed up the sed processing (if there are no `@' at all, there
6013 # is no need to browse any of the substitutions).
6014 # These are the two extra sed commands mentioned above.
6015 (echo ':t
6016 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6017 if test -z "$ac_sed_cmds"; then
6018 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6019 else
6020 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6022 ac_sed_frag=`expr $ac_sed_frag + 1`
6023 ac_beg=$ac_end
6024 ac_end=`expr $ac_end + $ac_max_sed_lines`
6026 done
6027 if test -z "$ac_sed_cmds"; then
6028 ac_sed_cmds=cat
6030 fi # test -n "$CONFIG_FILES"
6032 _ACEOF
6033 cat >>$CONFIG_STATUS <<\_ACEOF
6034 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6035 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6036 case $ac_file in
6037 - | *:- | *:-:* ) # input from stdin
6038 cat >$tmp/stdin
6039 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6040 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6041 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6042 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6043 * ) ac_file_in=$ac_file.in ;;
6044 esac
6046 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6047 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6048 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6049 X"$ac_file" : 'X\(//\)[^/]' \| \
6050 X"$ac_file" : 'X\(//\)$' \| \
6051 X"$ac_file" : 'X\(/\)' \| \
6052 . : '\(.\)' 2>/dev/null ||
6053 echo X"$ac_file" |
6054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6056 /^X\(\/\/\)$/{ s//\1/; q; }
6057 /^X\(\/\).*/{ s//\1/; q; }
6058 s/.*/./; q'`
6059 { if $as_mkdir_p; then
6060 mkdir -p "$ac_dir"
6061 else
6062 as_dir="$ac_dir"
6063 as_dirs=
6064 while test ! -d "$as_dir"; do
6065 as_dirs="$as_dir $as_dirs"
6066 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6068 X"$as_dir" : 'X\(//\)[^/]' \| \
6069 X"$as_dir" : 'X\(//\)$' \| \
6070 X"$as_dir" : 'X\(/\)' \| \
6071 . : '\(.\)' 2>/dev/null ||
6072 echo X"$as_dir" |
6073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6075 /^X\(\/\/\)$/{ s//\1/; q; }
6076 /^X\(\/\).*/{ s//\1/; q; }
6077 s/.*/./; q'`
6078 done
6079 test ! -n "$as_dirs" || mkdir $as_dirs
6080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6082 { (exit 1); exit 1; }; }; }
6084 ac_builddir=.
6086 if test "$ac_dir" != .; then
6087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6088 # A "../" for each directory in $ac_dir_suffix.
6089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6090 else
6091 ac_dir_suffix= ac_top_builddir=
6094 case $srcdir in
6095 .) # No --srcdir option. We are building in place.
6096 ac_srcdir=.
6097 if test -z "$ac_top_builddir"; then
6098 ac_top_srcdir=.
6099 else
6100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6101 fi ;;
6102 [\\/]* | ?:[\\/]* ) # Absolute path.
6103 ac_srcdir=$srcdir$ac_dir_suffix;
6104 ac_top_srcdir=$srcdir ;;
6105 *) # Relative path.
6106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6108 esac
6110 # Do not use `cd foo && pwd` to compute absolute paths, because
6111 # the directories may not exist.
6112 case `pwd` in
6113 .) ac_abs_builddir="$ac_dir";;
6115 case "$ac_dir" in
6116 .) ac_abs_builddir=`pwd`;;
6117 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6118 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6119 esac;;
6120 esac
6121 case $ac_abs_builddir in
6122 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6124 case ${ac_top_builddir}. in
6125 .) ac_abs_top_builddir=$ac_abs_builddir;;
6126 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6127 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6128 esac;;
6129 esac
6130 case $ac_abs_builddir in
6131 .) ac_abs_srcdir=$ac_srcdir;;
6133 case $ac_srcdir in
6134 .) ac_abs_srcdir=$ac_abs_builddir;;
6135 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6136 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6137 esac;;
6138 esac
6139 case $ac_abs_builddir in
6140 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6142 case $ac_top_srcdir in
6143 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6144 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6145 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6146 esac;;
6147 esac
6150 case $INSTALL in
6151 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6152 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6153 esac
6155 if test x"$ac_file" != x-; then
6156 { echo "$as_me:$LINENO: creating $ac_file" >&5
6157 echo "$as_me: creating $ac_file" >&6;}
6158 rm -f "$ac_file"
6160 # Let's still pretend it is `configure' which instantiates (i.e., don't
6161 # use $as_me), people would be surprised to read:
6162 # /* config.h. Generated by config.status. */
6163 if test x"$ac_file" = x-; then
6164 configure_input=
6165 else
6166 configure_input="$ac_file. "
6168 configure_input=$configure_input"Generated from `echo $ac_file_in |
6169 sed 's,.*/,,'` by configure."
6171 # First look for the input files in the build tree, otherwise in the
6172 # src tree.
6173 ac_file_inputs=`IFS=:
6174 for f in $ac_file_in; do
6175 case $f in
6176 -) echo $tmp/stdin ;;
6177 [\\/$]*)
6178 # Absolute (can't be DOS-style, as IFS=:)
6179 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6180 echo "$as_me: error: cannot find input file: $f" >&2;}
6181 { (exit 1); exit 1; }; }
6182 echo "$f";;
6183 *) # Relative
6184 if test -f "$f"; then
6185 # Build tree
6186 echo "$f"
6187 elif test -f "$srcdir/$f"; then
6188 # Source tree
6189 echo "$srcdir/$f"
6190 else
6191 # /dev/null tree
6192 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6193 echo "$as_me: error: cannot find input file: $f" >&2;}
6194 { (exit 1); exit 1; }; }
6195 fi;;
6196 esac
6197 done` || { (exit 1); exit 1; }
6198 _ACEOF
6199 cat >>$CONFIG_STATUS <<_ACEOF
6200 sed "$ac_vpsub
6201 $extrasub
6202 _ACEOF
6203 cat >>$CONFIG_STATUS <<\_ACEOF
6205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6206 s,@configure_input@,$configure_input,;t t
6207 s,@srcdir@,$ac_srcdir,;t t
6208 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6209 s,@top_srcdir@,$ac_top_srcdir,;t t
6210 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6211 s,@builddir@,$ac_builddir,;t t
6212 s,@abs_builddir@,$ac_abs_builddir,;t t
6213 s,@top_builddir@,$ac_top_builddir,;t t
6214 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6215 s,@INSTALL@,$ac_INSTALL,;t t
6216 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6217 rm -f $tmp/stdin
6218 if test x"$ac_file" != x-; then
6219 mv $tmp/out $ac_file
6220 else
6221 cat $tmp/out
6222 rm -f $tmp/out
6225 done
6226 _ACEOF
6227 cat >>$CONFIG_STATUS <<\_ACEOF
6230 # CONFIG_HEADER section.
6233 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6234 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6236 # ac_d sets the value in "#define NAME VALUE" lines.
6237 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6238 ac_dB='[ ].*$,\1#\2'
6239 ac_dC=' '
6240 ac_dD=',;t'
6241 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6242 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6243 ac_uB='$,\1#\2define\3'
6244 ac_uC=' '
6245 ac_uD=',;t'
6247 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6249 case $ac_file in
6250 - | *:- | *:-:* ) # input from stdin
6251 cat >$tmp/stdin
6252 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6253 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6254 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6256 * ) ac_file_in=$ac_file.in ;;
6257 esac
6259 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6260 echo "$as_me: creating $ac_file" >&6;}
6262 # First look for the input files in the build tree, otherwise in the
6263 # src tree.
6264 ac_file_inputs=`IFS=:
6265 for f in $ac_file_in; do
6266 case $f in
6267 -) echo $tmp/stdin ;;
6268 [\\/$]*)
6269 # Absolute (can't be DOS-style, as IFS=:)
6270 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6271 echo "$as_me: error: cannot find input file: $f" >&2;}
6272 { (exit 1); exit 1; }; }
6273 # Do quote $f, to prevent DOS paths from being IFS'd.
6274 echo "$f";;
6275 *) # Relative
6276 if test -f "$f"; then
6277 # Build tree
6278 echo "$f"
6279 elif test -f "$srcdir/$f"; then
6280 # Source tree
6281 echo "$srcdir/$f"
6282 else
6283 # /dev/null tree
6284 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6285 echo "$as_me: error: cannot find input file: $f" >&2;}
6286 { (exit 1); exit 1; }; }
6287 fi;;
6288 esac
6289 done` || { (exit 1); exit 1; }
6290 # Remove the trailing spaces.
6291 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6293 _ACEOF
6295 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6296 # `conftest.undefs', that substitutes the proper values into
6297 # config.h.in to produce config.h. The first handles `#define'
6298 # templates, and the second `#undef' templates.
6299 # And first: Protect against being on the right side of a sed subst in
6300 # config.status. Protect against being in an unquoted here document
6301 # in config.status.
6302 rm -f conftest.defines conftest.undefs
6303 # Using a here document instead of a string reduces the quoting nightmare.
6304 # Putting comments in sed scripts is not portable.
6306 # `end' is used to avoid that the second main sed command (meant for
6307 # 0-ary CPP macros) applies to n-ary macro definitions.
6308 # See the Autoconf documentation for `clear'.
6309 cat >confdef2sed.sed <<\_ACEOF
6310 s/[\\&,]/\\&/g
6311 s,[\\$`],\\&,g
6312 t clear
6313 : clear
6314 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6315 t end
6316 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6317 : end
6318 _ACEOF
6319 # If some macros were called several times there might be several times
6320 # the same #defines, which is useless. Nevertheless, we may not want to
6321 # sort them, since we want the *last* AC-DEFINE to be honored.
6322 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6323 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6324 rm -f confdef2sed.sed
6326 # This sed command replaces #undef with comments. This is necessary, for
6327 # example, in the case of _POSIX_SOURCE, which is predefined and required
6328 # on some systems where configure will not decide to define it.
6329 cat >>conftest.undefs <<\_ACEOF
6330 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6331 _ACEOF
6333 # Break up conftest.defines because some shells have a limit on the size
6334 # of here documents, and old seds have small limits too (100 cmds).
6335 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6336 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6337 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6338 echo ' :' >>$CONFIG_STATUS
6339 rm -f conftest.tail
6340 while grep . conftest.defines >/dev/null
6342 # Write a limited-size here document to $tmp/defines.sed.
6343 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6344 # Speed up: don't consider the non `#define' lines.
6345 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6346 # Work around the forget-to-reset-the-flag bug.
6347 echo 't clr' >>$CONFIG_STATUS
6348 echo ': clr' >>$CONFIG_STATUS
6349 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6350 echo 'CEOF
6351 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6352 rm -f $tmp/in
6353 mv $tmp/out $tmp/in
6354 ' >>$CONFIG_STATUS
6355 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6356 rm -f conftest.defines
6357 mv conftest.tail conftest.defines
6358 done
6359 rm -f conftest.defines
6360 echo ' fi # grep' >>$CONFIG_STATUS
6361 echo >>$CONFIG_STATUS
6363 # Break up conftest.undefs because some shells have a limit on the size
6364 # of here documents, and old seds have small limits too (100 cmds).
6365 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6366 rm -f conftest.tail
6367 while grep . conftest.undefs >/dev/null
6369 # Write a limited-size here document to $tmp/undefs.sed.
6370 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6371 # Speed up: don't consider the non `#undef'
6372 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6373 # Work around the forget-to-reset-the-flag bug.
6374 echo 't clr' >>$CONFIG_STATUS
6375 echo ': clr' >>$CONFIG_STATUS
6376 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6377 echo 'CEOF
6378 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6379 rm -f $tmp/in
6380 mv $tmp/out $tmp/in
6381 ' >>$CONFIG_STATUS
6382 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6383 rm -f conftest.undefs
6384 mv conftest.tail conftest.undefs
6385 done
6386 rm -f conftest.undefs
6388 cat >>$CONFIG_STATUS <<\_ACEOF
6389 # Let's still pretend it is `configure' which instantiates (i.e., don't
6390 # use $as_me), people would be surprised to read:
6391 # /* config.h. Generated by config.status. */
6392 if test x"$ac_file" = x-; then
6393 echo "/* Generated by configure. */" >$tmp/config.h
6394 else
6395 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6397 cat $tmp/in >>$tmp/config.h
6398 rm -f $tmp/in
6399 if test x"$ac_file" != x-; then
6400 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6402 echo "$as_me: $ac_file is unchanged" >&6;}
6403 else
6404 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6405 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6406 X"$ac_file" : 'X\(//\)[^/]' \| \
6407 X"$ac_file" : 'X\(//\)$' \| \
6408 X"$ac_file" : 'X\(/\)' \| \
6409 . : '\(.\)' 2>/dev/null ||
6410 echo X"$ac_file" |
6411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6413 /^X\(\/\/\)$/{ s//\1/; q; }
6414 /^X\(\/\).*/{ s//\1/; q; }
6415 s/.*/./; q'`
6416 { if $as_mkdir_p; then
6417 mkdir -p "$ac_dir"
6418 else
6419 as_dir="$ac_dir"
6420 as_dirs=
6421 while test ! -d "$as_dir"; do
6422 as_dirs="$as_dir $as_dirs"
6423 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6425 X"$as_dir" : 'X\(//\)[^/]' \| \
6426 X"$as_dir" : 'X\(//\)$' \| \
6427 X"$as_dir" : 'X\(/\)' \| \
6428 . : '\(.\)' 2>/dev/null ||
6429 echo X"$as_dir" |
6430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6432 /^X\(\/\/\)$/{ s//\1/; q; }
6433 /^X\(\/\).*/{ s//\1/; q; }
6434 s/.*/./; q'`
6435 done
6436 test ! -n "$as_dirs" || mkdir $as_dirs
6437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6439 { (exit 1); exit 1; }; }; }
6441 rm -f $ac_file
6442 mv $tmp/config.h $ac_file
6444 else
6445 cat $tmp/config.h
6446 rm -f $tmp/config.h
6448 # Compute $ac_file's index in $config_headers.
6449 _am_stamp_count=1
6450 for _am_header in $config_headers :; do
6451 case $_am_header in
6452 $ac_file | $ac_file:* )
6453 break ;;
6455 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6456 esac
6457 done
6458 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6459 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6460 X$ac_file : 'X\(//\)[^/]' \| \
6461 X$ac_file : 'X\(//\)$' \| \
6462 X$ac_file : 'X\(/\)' \| \
6463 . : '\(.\)' 2>/dev/null ||
6464 echo X$ac_file |
6465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6467 /^X\(\/\/\)$/{ s//\1/; q; }
6468 /^X\(\/\).*/{ s//\1/; q; }
6469 s/.*/./; q'`/stamp-h$_am_stamp_count
6470 done
6471 _ACEOF
6472 cat >>$CONFIG_STATUS <<\_ACEOF
6475 # CONFIG_COMMANDS section.
6477 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6478 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6479 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6480 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6481 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6482 X"$ac_dest" : 'X\(//\)[^/]' \| \
6483 X"$ac_dest" : 'X\(//\)$' \| \
6484 X"$ac_dest" : 'X\(/\)' \| \
6485 . : '\(.\)' 2>/dev/null ||
6486 echo X"$ac_dest" |
6487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6489 /^X\(\/\/\)$/{ s//\1/; q; }
6490 /^X\(\/\).*/{ s//\1/; q; }
6491 s/.*/./; q'`
6492 { if $as_mkdir_p; then
6493 mkdir -p "$ac_dir"
6494 else
6495 as_dir="$ac_dir"
6496 as_dirs=
6497 while test ! -d "$as_dir"; do
6498 as_dirs="$as_dir $as_dirs"
6499 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501 X"$as_dir" : 'X\(//\)[^/]' \| \
6502 X"$as_dir" : 'X\(//\)$' \| \
6503 X"$as_dir" : 'X\(/\)' \| \
6504 . : '\(.\)' 2>/dev/null ||
6505 echo X"$as_dir" |
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6508 /^X\(\/\/\)$/{ s//\1/; q; }
6509 /^X\(\/\).*/{ s//\1/; q; }
6510 s/.*/./; q'`
6511 done
6512 test ! -n "$as_dirs" || mkdir $as_dirs
6513 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6514 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6515 { (exit 1); exit 1; }; }; }
6517 ac_builddir=.
6519 if test "$ac_dir" != .; then
6520 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6521 # A "../" for each directory in $ac_dir_suffix.
6522 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6523 else
6524 ac_dir_suffix= ac_top_builddir=
6527 case $srcdir in
6528 .) # No --srcdir option. We are building in place.
6529 ac_srcdir=.
6530 if test -z "$ac_top_builddir"; then
6531 ac_top_srcdir=.
6532 else
6533 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6534 fi ;;
6535 [\\/]* | ?:[\\/]* ) # Absolute path.
6536 ac_srcdir=$srcdir$ac_dir_suffix;
6537 ac_top_srcdir=$srcdir ;;
6538 *) # Relative path.
6539 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6540 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6541 esac
6543 # Do not use `cd foo && pwd` to compute absolute paths, because
6544 # the directories may not exist.
6545 case `pwd` in
6546 .) ac_abs_builddir="$ac_dir";;
6548 case "$ac_dir" in
6549 .) ac_abs_builddir=`pwd`;;
6550 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6551 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6552 esac;;
6553 esac
6554 case $ac_abs_builddir in
6555 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6557 case ${ac_top_builddir}. in
6558 .) ac_abs_top_builddir=$ac_abs_builddir;;
6559 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6560 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6561 esac;;
6562 esac
6563 case $ac_abs_builddir in
6564 .) ac_abs_srcdir=$ac_srcdir;;
6566 case $ac_srcdir in
6567 .) ac_abs_srcdir=$ac_abs_builddir;;
6568 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6569 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6570 esac;;
6571 esac
6572 case $ac_abs_builddir in
6573 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6575 case $ac_top_srcdir in
6576 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6577 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6578 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6579 esac;;
6580 esac
6583 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6584 echo "$as_me: executing $ac_dest commands" >&6;}
6585 case $ac_dest in
6586 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6587 # Strip MF so we end up with the name of the file.
6588 mf=`echo "$mf" | sed -e 's/:.*$//'`
6589 # Check whether this is an Automake generated Makefile or not.
6590 # We used to match only the files named `Makefile.in', but
6591 # some people rename them; so instead we look at the file content.
6592 # Grep'ing the first line is not enough: some people post-process
6593 # each Makefile.in and add a new line on top of each file to say so.
6594 # So let's grep whole file.
6595 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6596 dirpart=`(dirname "$mf") 2>/dev/null ||
6597 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6598 X"$mf" : 'X\(//\)[^/]' \| \
6599 X"$mf" : 'X\(//\)$' \| \
6600 X"$mf" : 'X\(/\)' \| \
6601 . : '\(.\)' 2>/dev/null ||
6602 echo X"$mf" |
6603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6605 /^X\(\/\/\)$/{ s//\1/; q; }
6606 /^X\(\/\).*/{ s//\1/; q; }
6607 s/.*/./; q'`
6608 else
6609 continue
6611 # Extract the definition of DEPDIR, am__include, and am__quote
6612 # from the Makefile without running `make'.
6613 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6614 test -z "$DEPDIR" && continue
6615 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6616 test -z "am__include" && continue
6617 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6618 # When using ansi2knr, U may be empty or an underscore; expand it
6619 U=`sed -n 's/^U = //p' < "$mf"`
6620 # Find all dependency output files, they are included files with
6621 # $(DEPDIR) in their names. We invoke sed twice because it is the
6622 # simplest approach to changing $(DEPDIR) to its actual value in the
6623 # expansion.
6624 for file in `sed -n "
6625 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6626 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6627 # Make sure the directory exists.
6628 test -f "$dirpart/$file" && continue
6629 fdir=`(dirname "$file") 2>/dev/null ||
6630 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6631 X"$file" : 'X\(//\)[^/]' \| \
6632 X"$file" : 'X\(//\)$' \| \
6633 X"$file" : 'X\(/\)' \| \
6634 . : '\(.\)' 2>/dev/null ||
6635 echo X"$file" |
6636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6638 /^X\(\/\/\)$/{ s//\1/; q; }
6639 /^X\(\/\).*/{ s//\1/; q; }
6640 s/.*/./; q'`
6641 { if $as_mkdir_p; then
6642 mkdir -p $dirpart/$fdir
6643 else
6644 as_dir=$dirpart/$fdir
6645 as_dirs=
6646 while test ! -d "$as_dir"; do
6647 as_dirs="$as_dir $as_dirs"
6648 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6650 X"$as_dir" : 'X\(//\)[^/]' \| \
6651 X"$as_dir" : 'X\(//\)$' \| \
6652 X"$as_dir" : 'X\(/\)' \| \
6653 . : '\(.\)' 2>/dev/null ||
6654 echo X"$as_dir" |
6655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6657 /^X\(\/\/\)$/{ s//\1/; q; }
6658 /^X\(\/\).*/{ s//\1/; q; }
6659 s/.*/./; q'`
6660 done
6661 test ! -n "$as_dirs" || mkdir $as_dirs
6662 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6663 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6664 { (exit 1); exit 1; }; }; }
6666 # echo "creating $dirpart/$file"
6667 echo '# dummy' > "$dirpart/$file"
6668 done
6669 done
6671 default-1 )
6672 for ac_file in $CONFIG_FILES; do
6673 # Support "outfile[:infile[:infile...]]"
6674 case "$ac_file" in
6675 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6676 esac
6677 # PO directories have a Makefile.in generated from Makefile.in.in.
6678 case "$ac_file" in */Makefile.in)
6679 # Adjust a relative srcdir.
6680 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6681 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6682 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6683 # In autoconf-2.13 it is called $ac_given_srcdir.
6684 # In autoconf-2.50 it is called $srcdir.
6685 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6686 case "$ac_given_srcdir" in
6687 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6688 /*) top_srcdir="$ac_given_srcdir" ;;
6689 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
6690 esac
6691 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6692 rm -f "$ac_dir/POTFILES"
6693 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6694 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6695 POMAKEFILEDEPS="POTFILES.in"
6696 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
6697 # on $ac_dir but don't depend on user-specified configuration
6698 # parameters.
6699 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6700 # The LINGUAS file contains the set of available languages.
6701 if test -n "$OBSOLETE_ALL_LINGUAS"; then
6702 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6704 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6705 # Hide the ALL_LINGUAS assigment from automake.
6706 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6707 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6708 else
6709 # The set of available languages was given in configure.in.
6710 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6712 case "$ac_given_srcdir" in
6713 .) srcdirpre= ;;
6714 *) srcdirpre='$(srcdir)/' ;;
6715 esac
6716 POFILES=
6717 GMOFILES=
6718 UPDATEPOFILES=
6719 DUMMYPOFILES=
6720 for lang in $ALL_LINGUAS; do
6721 POFILES="$POFILES $srcdirpre$lang.po"
6722 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6723 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6724 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
6725 done
6726 # CATALOGS depends on both $ac_dir and the user's LINGUAS
6727 # environment variable.
6728 INST_LINGUAS=
6729 if test -n "$ALL_LINGUAS"; then
6730 for presentlang in $ALL_LINGUAS; do
6731 useit=no
6732 if test "%UNSET%" != "$LINGUAS"; then
6733 desiredlanguages="$LINGUAS"
6734 else
6735 desiredlanguages="$ALL_LINGUAS"
6737 for desiredlang in $desiredlanguages; do
6738 # Use the presentlang catalog if desiredlang is
6739 # a. equal to presentlang, or
6740 # b. a variant of presentlang (because in this case,
6741 # presentlang can be used as a fallback for messages
6742 # which are not translated in the desiredlang catalog).
6743 case "$desiredlang" in
6744 "$presentlang"*) useit=yes;;
6745 esac
6746 done
6747 if test $useit = yes; then
6748 INST_LINGUAS="$INST_LINGUAS $presentlang"
6750 done
6752 CATALOGS=
6753 if test -n "$INST_LINGUAS"; then
6754 for lang in $INST_LINGUAS; do
6755 CATALOGS="$CATALOGS $lang.gmo"
6756 done
6758 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6759 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"
6760 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6761 if test -f "$f"; then
6762 case "$f" in
6763 *.orig | *.bak | *~) ;;
6764 *) cat "$f" >> "$ac_dir/Makefile" ;;
6765 esac
6767 done
6770 esac
6771 done ;;
6772 esac
6773 done
6774 _ACEOF
6776 cat >>$CONFIG_STATUS <<\_ACEOF
6778 { (exit 0); exit 0; }
6779 _ACEOF
6780 chmod +x $CONFIG_STATUS
6781 ac_clean_files=$ac_clean_files_save
6784 # configure is writing to config.log, and then calls config.status.
6785 # config.status does its own redirection, appending to config.log.
6786 # Unfortunately, on DOS this fails, as config.log is still kept open
6787 # by configure, so config.status won't be able to write to it; its
6788 # output is simply discarded. So we exec the FD to /dev/null,
6789 # effectively closing config.log, so it can be properly (re)opened and
6790 # appended to by config.status. When coming back to configure, we
6791 # need to make the FD available again.
6792 if test "$no_create" != yes; then
6793 ac_cs_success=:
6794 ac_config_status_args=
6795 test "$silent" = yes &&
6796 ac_config_status_args="$ac_config_status_args --quiet"
6797 exec 5>/dev/null
6798 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6799 exec 5>>config.log
6800 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6801 # would make configure fail if this is the last instruction.
6802 $ac_cs_success || { (exit 1); exit 1; }