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