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