regen with Autoconf 2.53c
[platform/upstream/automake.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53c for GNU Automake 1.6c.
4 #
5 # Report bugs to <bug-automake@gnu.org>.
6 #
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17   emulate sh
18   NULLCMD=:
19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20   # is contrary to our usage.  Disable this feature.
21   alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23   set -o posix
24 fi
25
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28   as_unset=unset
29 else
30   as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
42 do
43   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
44     eval $as_var=C; export $as_var
45   else
46     $as_unset $as_var
47   fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52   as_expr=expr
53 else
54   as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58   as_basename=basename
59 else
60   as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67          X"$0" : 'X\(//\)$' \| \
68          X"$0" : 'X\(/\)$' \| \
69          .     : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72           /^X\/\(\/\/\)$/{ s//\1/; q; }
73           /^X\/\(\/\).*/{ s//\1/; q; }
74           s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
84
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87   echo "#! /bin/sh" >conftest.sh
88   echo  "exit 0"   >>conftest.sh
89   chmod +x conftest.sh
90   if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
91     PATH_SEPARATOR=';'
92   else
93     PATH_SEPARATOR=:
94   fi
95   rm -f conftest.sh
96 fi
97
98
99   as_lineno_1=$LINENO
100   as_lineno_2=$LINENO
101   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102   test "x$as_lineno_1" != "x$as_lineno_2" &&
103   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
104   # Find who we are.  Look in the path if we contain no path at all
105   # relative or not.
106   case $0 in
107     *[\\/]* ) as_myself=$0 ;;
108     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111   IFS=$as_save_IFS
112   test -z "$as_dir" && as_dir=.
113   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116        ;;
117   esac
118   # We did not find ourselves, most probably we were run as `sh COMMAND'
119   # in which case we are not to be found in the path.
120   if test "x$as_myself" = x; then
121     as_myself=$0
122   fi
123   if test ! -f "$as_myself"; then
124     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125    { (exit 1); exit 1; }; }
126   fi
127   case $CONFIG_SHELL in
128   '')
129     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132   IFS=$as_save_IFS
133   test -z "$as_dir" && as_dir=.
134   for as_base in sh bash ksh sh5; do
135          case $as_dir in
136          /*)
137            if ("$as_dir/$as_base" -c '
138   as_lineno_1=$LINENO
139   as_lineno_2=$LINENO
140   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141   test "x$as_lineno_1" != "x$as_lineno_2" &&
142   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
143              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145              CONFIG_SHELL=$as_dir/$as_base
146              export CONFIG_SHELL
147              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148            fi;;
149          esac
150        done
151 done
152 ;;
153   esac
154
155   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156   # uniformly replaced by the line number.  The first 'sed' inserts a
157   # line-number line before each line; the second 'sed' does the real
158   # work.  The second script uses 'N' to pair each line-number line
159   # with the numbered line, and appends trailing '-' during
160   # substitution so that $LINENO is not a special case at line end.
161   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
163   sed '=' <$as_myself |
164     sed '
165       N
166       s,$,-,
167       : loop
168       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169       t loop
170       s,-$,,
171       s,^['$as_cr_digits']*\n,,
172     ' >$as_me.lineno &&
173   chmod +x $as_me.lineno ||
174     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175    { (exit 1); exit 1; }; }
176
177   # Don't try to exec as it changes $[0], causing all sort of problems
178   # (the dirname of $[0] is not the place where we might find the
179   # original and so on.  Autoconf is especially sensible to this).
180   . ./$as_me.lineno
181   # Exit status is that of the last command.
182   exit
183 }
184
185
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187   *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T='      ' ;;
189   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 esac
192
193 if expr a : '\(a\)' >/dev/null 2>&1; then
194   as_expr=expr
195 else
196   as_expr=false
197 fi
198
199 rm -f conf$$ conf$$.exe conf$$.file
200 echo >conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202   # We could just check for DJGPP; but this test a) works b) is more generic
203   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204   if test -f conf$$.exe; then
205     # Don't use ln at all; we don't have any links
206     as_ln_s='cp -p'
207   else
208     as_ln_s='ln -s'
209   fi
210 elif ln conf$$.file conf$$ 2>/dev/null; then
211   as_ln_s=ln
212 else
213   as_ln_s='cp -p'
214 fi
215 rm -f conf$$ conf$$.exe conf$$.file
216
217 if mkdir -p . 2>/dev/null; then
218   as_mkdir_p=:
219 else
220   as_mkdir_p=false
221 fi
222
223 as_executable_p="test -f"
224
225 # Sed expression to map a string onto a valid CPP name.
226 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
227
228 # Sed expression to map a string onto a valid variable name.
229 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
230
231
232 # IFS
233 # We need space, tab and new line, in precisely that order.
234 as_nl='
235 '
236 IFS="   $as_nl"
237
238 # CDPATH.
239 $as_unset CDPATH
240
241
242 # Name of the host.
243 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
244 # so uname gets run too.
245 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
246
247 exec 6>&1
248
249 #
250 # Initializations.
251 #
252 ac_default_prefix=/usr/local
253 ac_config_libobj_dir=.
254 cross_compiling=no
255 subdirs=
256 MFLAGS=
257 MAKEFLAGS=
258 SHELL=${CONFIG_SHELL-/bin/sh}
259
260 # Maximum number of lines to put in a shell here document.
261 # This variable seems obsolete.  It should probably be removed, and
262 # only ac_max_sed_lines should be used.
263 : ${ac_max_here_lines=38}
264
265 # Identity of this package.
266 PACKAGE_NAME='GNU Automake'
267 PACKAGE_TARNAME='automake'
268 PACKAGE_VERSION='1.6c'
269 PACKAGE_STRING='GNU Automake 1.6c'
270 PACKAGE_BUGREPORT='bug-automake@gnu.org'
271
272 ac_unique_file="automake.in"
273 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE APIVERSION pkgvdatadir PERL LN LIBOBJS LTLIBOBJS'
274 ac_subst_files=''
275
276 # Initialize some variables set by options.
277 ac_init_help=
278 ac_init_version=false
279 # The variables have the same names as the options, with
280 # dashes changed to underlines.
281 cache_file=/dev/null
282 exec_prefix=NONE
283 no_create=
284 no_recursion=
285 prefix=NONE
286 program_prefix=NONE
287 program_suffix=NONE
288 program_transform_name=s,x,x,
289 silent=
290 site=
291 srcdir=
292 verbose=
293 x_includes=NONE
294 x_libraries=NONE
295
296 # Installation directory options.
297 # These are left unexpanded so users can "make install exec_prefix=/foo"
298 # and all the variables that are supposed to be based on exec_prefix
299 # by default will actually change.
300 # Use braces instead of parens because sh, perl, etc. also accept them.
301 bindir='${exec_prefix}/bin'
302 sbindir='${exec_prefix}/sbin'
303 libexecdir='${exec_prefix}/libexec'
304 datadir='${prefix}/share'
305 sysconfdir='${prefix}/etc'
306 sharedstatedir='${prefix}/com'
307 localstatedir='${prefix}/var'
308 libdir='${exec_prefix}/lib'
309 includedir='${prefix}/include'
310 oldincludedir='/usr/include'
311 infodir='${prefix}/info'
312 mandir='${prefix}/man'
313
314 ac_prev=
315 for ac_option
316 do
317   # If the previous option needs an argument, assign it.
318   if test -n "$ac_prev"; then
319     eval "$ac_prev=\$ac_option"
320     ac_prev=
321     continue
322   fi
323
324   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
325
326   # Accept the important Cygnus configure options, so we can diagnose typos.
327
328   case $ac_option in
329
330   -bindir | --bindir | --bindi | --bind | --bin | --bi)
331     ac_prev=bindir ;;
332   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
333     bindir=$ac_optarg ;;
334
335   -build | --build | --buil | --bui | --bu)
336     ac_prev=build_alias ;;
337   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
338     build_alias=$ac_optarg ;;
339
340   -cache-file | --cache-file | --cache-fil | --cache-fi \
341   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
342     ac_prev=cache_file ;;
343   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
344   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
345     cache_file=$ac_optarg ;;
346
347   --config-cache | -C)
348     cache_file=config.cache ;;
349
350   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
351     ac_prev=datadir ;;
352   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
353   | --da=*)
354     datadir=$ac_optarg ;;
355
356   -disable-* | --disable-*)
357     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
358     # Reject names that are not valid shell variable names.
359     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
360       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
361    { (exit 1); exit 1; }; }
362     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
363     eval "enable_$ac_feature=no" ;;
364
365   -enable-* | --enable-*)
366     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
367     # Reject names that are not valid shell variable names.
368     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
369       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
370    { (exit 1); exit 1; }; }
371     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
372     case $ac_option in
373       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
374       *) ac_optarg=yes ;;
375     esac
376     eval "enable_$ac_feature='$ac_optarg'" ;;
377
378   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
379   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
380   | --exec | --exe | --ex)
381     ac_prev=exec_prefix ;;
382   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
383   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
384   | --exec=* | --exe=* | --ex=*)
385     exec_prefix=$ac_optarg ;;
386
387   -gas | --gas | --ga | --g)
388     # Obsolete; use --with-gas.
389     with_gas=yes ;;
390
391   -help | --help | --hel | --he | -h)
392     ac_init_help=long ;;
393   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
394     ac_init_help=recursive ;;
395   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
396     ac_init_help=short ;;
397
398   -host | --host | --hos | --ho)
399     ac_prev=host_alias ;;
400   -host=* | --host=* | --hos=* | --ho=*)
401     host_alias=$ac_optarg ;;
402
403   -includedir | --includedir | --includedi | --included | --include \
404   | --includ | --inclu | --incl | --inc)
405     ac_prev=includedir ;;
406   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
407   | --includ=* | --inclu=* | --incl=* | --inc=*)
408     includedir=$ac_optarg ;;
409
410   -infodir | --infodir | --infodi | --infod | --info | --inf)
411     ac_prev=infodir ;;
412   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
413     infodir=$ac_optarg ;;
414
415   -libdir | --libdir | --libdi | --libd)
416     ac_prev=libdir ;;
417   -libdir=* | --libdir=* | --libdi=* | --libd=*)
418     libdir=$ac_optarg ;;
419
420   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
421   | --libexe | --libex | --libe)
422     ac_prev=libexecdir ;;
423   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
424   | --libexe=* | --libex=* | --libe=*)
425     libexecdir=$ac_optarg ;;
426
427   -localstatedir | --localstatedir | --localstatedi | --localstated \
428   | --localstate | --localstat | --localsta | --localst \
429   | --locals | --local | --loca | --loc | --lo)
430     ac_prev=localstatedir ;;
431   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
432   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
433   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
434     localstatedir=$ac_optarg ;;
435
436   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
437     ac_prev=mandir ;;
438   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
439     mandir=$ac_optarg ;;
440
441   -nfp | --nfp | --nf)
442     # Obsolete; use --without-fp.
443     with_fp=no ;;
444
445   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446   | --no-cr | --no-c | -n)
447     no_create=yes ;;
448
449   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
450   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
451     no_recursion=yes ;;
452
453   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
454   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
455   | --oldin | --oldi | --old | --ol | --o)
456     ac_prev=oldincludedir ;;
457   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
458   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
459   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
460     oldincludedir=$ac_optarg ;;
461
462   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
463     ac_prev=prefix ;;
464   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
465     prefix=$ac_optarg ;;
466
467   -program-prefix | --program-prefix | --program-prefi | --program-pref \
468   | --program-pre | --program-pr | --program-p)
469     ac_prev=program_prefix ;;
470   -program-prefix=* | --program-prefix=* | --program-prefi=* \
471   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
472     program_prefix=$ac_optarg ;;
473
474   -program-suffix | --program-suffix | --program-suffi | --program-suff \
475   | --program-suf | --program-su | --program-s)
476     ac_prev=program_suffix ;;
477   -program-suffix=* | --program-suffix=* | --program-suffi=* \
478   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
479     program_suffix=$ac_optarg ;;
480
481   -program-transform-name | --program-transform-name \
482   | --program-transform-nam | --program-transform-na \
483   | --program-transform-n | --program-transform- \
484   | --program-transform | --program-transfor \
485   | --program-transfo | --program-transf \
486   | --program-trans | --program-tran \
487   | --progr-tra | --program-tr | --program-t)
488     ac_prev=program_transform_name ;;
489   -program-transform-name=* | --program-transform-name=* \
490   | --program-transform-nam=* | --program-transform-na=* \
491   | --program-transform-n=* | --program-transform-=* \
492   | --program-transform=* | --program-transfor=* \
493   | --program-transfo=* | --program-transf=* \
494   | --program-trans=* | --program-tran=* \
495   | --progr-tra=* | --program-tr=* | --program-t=*)
496     program_transform_name=$ac_optarg ;;
497
498   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
499   | -silent | --silent | --silen | --sile | --sil)
500     silent=yes ;;
501
502   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
503     ac_prev=sbindir ;;
504   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
505   | --sbi=* | --sb=*)
506     sbindir=$ac_optarg ;;
507
508   -sharedstatedir | --sharedstatedir | --sharedstatedi \
509   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
510   | --sharedst | --shareds | --shared | --share | --shar \
511   | --sha | --sh)
512     ac_prev=sharedstatedir ;;
513   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
514   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
515   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
516   | --sha=* | --sh=*)
517     sharedstatedir=$ac_optarg ;;
518
519   -site | --site | --sit)
520     ac_prev=site ;;
521   -site=* | --site=* | --sit=*)
522     site=$ac_optarg ;;
523
524   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
525     ac_prev=srcdir ;;
526   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
527     srcdir=$ac_optarg ;;
528
529   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
530   | --syscon | --sysco | --sysc | --sys | --sy)
531     ac_prev=sysconfdir ;;
532   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
533   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
534     sysconfdir=$ac_optarg ;;
535
536   -target | --target | --targe | --targ | --tar | --ta | --t)
537     ac_prev=target_alias ;;
538   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
539     target_alias=$ac_optarg ;;
540
541   -v | -verbose | --verbose | --verbos | --verbo | --verb)
542     verbose=yes ;;
543
544   -version | --version | --versio | --versi | --vers | -V)
545     ac_init_version=: ;;
546
547   -with-* | --with-*)
548     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
549     # Reject names that are not valid shell variable names.
550     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551       { echo "$as_me: error: invalid package name: $ac_package" >&2
552    { (exit 1); exit 1; }; }
553     ac_package=`echo $ac_package| sed 's/-/_/g'`
554     case $ac_option in
555       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
556       *) ac_optarg=yes ;;
557     esac
558     eval "with_$ac_package='$ac_optarg'" ;;
559
560   -without-* | --without-*)
561     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
562     # Reject names that are not valid shell variable names.
563     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564       { echo "$as_me: error: invalid package name: $ac_package" >&2
565    { (exit 1); exit 1; }; }
566     ac_package=`echo $ac_package | sed 's/-/_/g'`
567     eval "with_$ac_package=no" ;;
568
569   --x)
570     # Obsolete; use --with-x.
571     with_x=yes ;;
572
573   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
574   | --x-incl | --x-inc | --x-in | --x-i)
575     ac_prev=x_includes ;;
576   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
577   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
578     x_includes=$ac_optarg ;;
579
580   -x-libraries | --x-libraries | --x-librarie | --x-librari \
581   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
582     ac_prev=x_libraries ;;
583   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
584   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
585     x_libraries=$ac_optarg ;;
586
587   -*) { echo "$as_me: error: unrecognized option: $ac_option
588 Try \`$0 --help' for more information." >&2
589    { (exit 1); exit 1; }; }
590     ;;
591
592   *=*)
593     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
594     # Reject names that are not valid shell variable names.
595     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
596       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
597    { (exit 1); exit 1; }; }
598     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
599     eval "$ac_envvar='$ac_optarg'"
600     export $ac_envvar ;;
601
602   *)
603     # FIXME: should be removed in autoconf 3.0.
604     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
605     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
606       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
607     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
608     ;;
609
610   esac
611 done
612
613 if test -n "$ac_prev"; then
614   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
615   { echo "$as_me: error: missing argument to $ac_option" >&2
616    { (exit 1); exit 1; }; }
617 fi
618
619 # Be sure to have absolute paths.
620 for ac_var in exec_prefix prefix
621 do
622   eval ac_val=$`echo $ac_var`
623   case $ac_val in
624     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
625     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
626    { (exit 1); exit 1; }; };;
627   esac
628 done
629
630 # Be sure to have absolute paths.
631 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
632               localstatedir libdir includedir oldincludedir infodir mandir
633 do
634   eval ac_val=$`echo $ac_var`
635   case $ac_val in
636     [\\/$]* | ?:[\\/]* ) ;;
637     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
638    { (exit 1); exit 1; }; };;
639   esac
640 done
641
642 # There might be people who depend on the old broken behavior: `$host'
643 # used to hold the argument of --host etc.
644 # FIXME: To remove some day.
645 build=$build_alias
646 host=$host_alias
647 target=$target_alias
648
649 # FIXME: To remove some day.
650 if test "x$host_alias" != x; then
651   if test "x$build_alias" = x; then
652     cross_compiling=maybe
653     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
654     If a cross compiler is detected then cross compile mode will be used." >&2
655   elif test "x$build_alias" != "x$host_alias"; then
656     cross_compiling=yes
657   fi
658 fi
659
660 ac_tool_prefix=
661 test -n "$host_alias" && ac_tool_prefix=$host_alias-
662
663 test "$silent" = yes && exec 6>/dev/null
664
665
666 # Find the source files, if location was not specified.
667 if test -z "$srcdir"; then
668   ac_srcdir_defaulted=yes
669   # Try the directory containing this script, then its parent.
670   ac_confdir=`(dirname "$0") 2>/dev/null ||
671 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
672          X"$0" : 'X\(//\)[^/]' \| \
673          X"$0" : 'X\(//\)$' \| \
674          X"$0" : 'X\(/\)' \| \
675          .     : '\(.\)' 2>/dev/null ||
676 echo X"$0" |
677     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
678           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
679           /^X\(\/\/\)$/{ s//\1/; q; }
680           /^X\(\/\).*/{ s//\1/; q; }
681           s/.*/./; q'`
682   srcdir=$ac_confdir
683   if test ! -r $srcdir/$ac_unique_file; then
684     srcdir=..
685   fi
686 else
687   ac_srcdir_defaulted=no
688 fi
689 if test ! -r $srcdir/$ac_unique_file; then
690   if test "$ac_srcdir_defaulted" = yes; then
691     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
692    { (exit 1); exit 1; }; }
693   else
694     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
695    { (exit 1); exit 1; }; }
696   fi
697 fi
698 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
699   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
700    { (exit 1); exit 1; }; }
701 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
702 ac_env_build_alias_set=${build_alias+set}
703 ac_env_build_alias_value=$build_alias
704 ac_cv_env_build_alias_set=${build_alias+set}
705 ac_cv_env_build_alias_value=$build_alias
706 ac_env_host_alias_set=${host_alias+set}
707 ac_env_host_alias_value=$host_alias
708 ac_cv_env_host_alias_set=${host_alias+set}
709 ac_cv_env_host_alias_value=$host_alias
710 ac_env_target_alias_set=${target_alias+set}
711 ac_env_target_alias_value=$target_alias
712 ac_cv_env_target_alias_set=${target_alias+set}
713 ac_cv_env_target_alias_value=$target_alias
714
715 #
716 # Report the --help message.
717 #
718 if test "$ac_init_help" = "long"; then
719   # Omit some internal or obsolete options to make the list less imposing.
720   # This message is too long to be a string in the A/UX 3.1 sh.
721   cat <<_ACEOF
722 \`configure' configures GNU Automake 1.6c to adapt to many kinds of systems.
723
724 Usage: $0 [OPTION]... [VAR=VALUE]...
725
726 To assign environment variables (e.g., CC, CFLAGS...), specify them as
727 VAR=VALUE.  See below for descriptions of some of the useful variables.
728
729 Defaults for the options are specified in brackets.
730
731 Configuration:
732   -h, --help              display this help and exit
733       --help=short        display options specific to this package
734       --help=recursive    display the short help of all the included packages
735   -V, --version           display version information and exit
736   -q, --quiet, --silent   do not print \`checking...' messages
737       --cache-file=FILE   cache test results in FILE [disabled]
738   -C, --config-cache      alias for \`--cache-file=config.cache'
739   -n, --no-create         do not create output files
740       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
741
742 _ACEOF
743
744   cat <<_ACEOF
745 Installation directories:
746   --prefix=PREFIX         install architecture-independent files in PREFIX
747                           [$ac_default_prefix]
748   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
749                           [PREFIX]
750
751 By default, \`make install' will install all the files in
752 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
753 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
754 for instance \`--prefix=\$HOME'.
755
756 For better control, use the options below.
757
758 Fine tuning of the installation directories:
759   --bindir=DIR           user executables [EPREFIX/bin]
760   --sbindir=DIR          system admin executables [EPREFIX/sbin]
761   --libexecdir=DIR       program executables [EPREFIX/libexec]
762   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
763   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
764   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
765   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
766   --libdir=DIR           object code libraries [EPREFIX/lib]
767   --includedir=DIR       C header files [PREFIX/include]
768   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
769   --infodir=DIR          info documentation [PREFIX/info]
770   --mandir=DIR           man documentation [PREFIX/man]
771 _ACEOF
772
773   cat <<\_ACEOF
774
775 Program names:
776   --program-prefix=PREFIX            prepend PREFIX to installed program names
777   --program-suffix=SUFFIX            append SUFFIX to installed program names
778   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
779 _ACEOF
780 fi
781
782 if test -n "$ac_init_help"; then
783   case $ac_init_help in
784      short | recursive ) echo "Configuration of GNU Automake 1.6c:";;
785    esac
786   cat <<\_ACEOF
787
788 Report bugs to <bug-automake@gnu.org>.
789 _ACEOF
790 fi
791
792 if test "$ac_init_help" = "recursive"; then
793   # If there are subdirs, report their specific --help.
794   ac_popdir=`pwd`
795   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
796     test -d $ac_dir || continue
797     ac_builddir=.
798
799 if test "$ac_dir" != .; then
800   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
801   # A "../" for each directory in $ac_dir_suffix.
802   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
803 else
804   ac_dir_suffix= ac_top_builddir=
805 fi
806
807 case $srcdir in
808   .)  # No --srcdir option.  We are building in place.
809     ac_srcdir=.
810     if test -z "$ac_top_builddir"; then
811        ac_top_srcdir=.
812     else
813        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
814     fi ;;
815   [\\/]* | ?:[\\/]* )  # Absolute path.
816     ac_srcdir=$srcdir$ac_dir_suffix;
817     ac_top_srcdir=$srcdir ;;
818   *) # Relative path.
819     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
820     ac_top_srcdir=$ac_top_builddir$srcdir ;;
821 esac
822 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
823 # absolute.
824 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
825 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
826 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
827 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
828
829     cd $ac_dir
830     # Check for guested configure; otherwise get Cygnus style configure.
831     if test -f $ac_srcdir/configure.gnu; then
832       echo
833       $SHELL $ac_srcdir/configure.gnu  --help=recursive
834     elif test -f $ac_srcdir/configure; then
835       echo
836       $SHELL $ac_srcdir/configure  --help=recursive
837     elif test -f $ac_srcdir/configure.ac ||
838            test -f $ac_srcdir/configure.in; then
839       echo
840       $ac_configure --help
841     else
842       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
843     fi
844     cd $ac_popdir
845   done
846 fi
847
848 test -n "$ac_init_help" && exit 0
849 if $ac_init_version; then
850   cat <<\_ACEOF
851 GNU Automake configure 1.6c
852 generated by GNU Autoconf 2.53c
853
854 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
855 Free Software Foundation, Inc.
856 This configure script is free software; the Free Software Foundation
857 gives unlimited permission to copy, distribute and modify it.
858 _ACEOF
859   exit 0
860 fi
861 exec 5>config.log
862 cat >&5 <<_ACEOF
863 This file contains any messages produced by compilers while
864 running configure, to aid debugging if configure makes a mistake.
865
866 It was created by GNU Automake $as_me 1.6c, which was
867 generated by GNU Autoconf 2.53c.  Invocation command line was
868
869   $ $0 $@
870
871 _ACEOF
872 {
873 cat <<_ASUNAME
874 ## --------- ##
875 ## Platform. ##
876 ## --------- ##
877
878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
879 uname -m = `(uname -m) 2>/dev/null || echo unknown`
880 uname -r = `(uname -r) 2>/dev/null || echo unknown`
881 uname -s = `(uname -s) 2>/dev/null || echo unknown`
882 uname -v = `(uname -v) 2>/dev/null || echo unknown`
883
884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
885 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
886
887 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
888 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
890 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
891 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
892 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
893 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
894
895 _ASUNAME
896
897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
898 for as_dir in $PATH
899 do
900   IFS=$as_save_IFS
901   test -z "$as_dir" && as_dir=.
902   echo "PATH: $as_dir"
903 done
904
905 } >&5
906
907 cat >&5 <<_ACEOF
908
909
910 ## ----------- ##
911 ## Core tests. ##
912 ## ----------- ##
913
914 _ACEOF
915
916
917 # Keep a trace of the command line.
918 # Strip out --no-create and --no-recursion so they do not pile up.
919 # Also quote any args containing shell meta-characters.
920 ac_configure_args=
921 ac_sep=
922 for ac_arg
923 do
924   case $ac_arg in
925   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
926   | --no-cr | --no-c | -n ) continue ;;
927   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
929     continue ;;
930   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
931     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
932   esac
933   case " $ac_configure_args " in
934     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
935     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
936        ac_sep=" " ;;
937   esac
938   # Get rid of the leading space.
939 done
940
941 # When interrupted or exit'd, cleanup temporary files, and complete
942 # config.log.  We remove comments because anyway the quotes in there
943 # would cause problems or look ugly.
944 # WARNING: Be sure not to use single quotes in there, as some shells,
945 # such as our DU 5.0 friend, will then `close' the trap.
946 trap 'exit_status=$?
947   # Save into config.log some information that might help in debugging.
948   {
949     echo
950
951     cat <<\_ASBOX
952 ## ---------------- ##
953 ## Cache variables. ##
954 ## ---------------- ##
955 _ASBOX
956     echo
957     # The following way of writing the cache mishandles newlines in values,
958 {
959   (set) 2>&1 |
960     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
961     *ac_space=\ *)
962       sed -n \
963         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
964           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
965       ;;
966     *)
967       sed -n \
968         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
969       ;;
970     esac;
971 }
972     echo
973
974     cat <<\_ASBOX
975 ## ----------------- ##
976 ## Output variables. ##
977 ## ----------------- ##
978 _ASBOX
979     echo
980     for ac_var in $ac_subst_vars
981     do
982       eval ac_val=$`echo $ac_var`
983       echo "$ac_var='"'"'$ac_val'"'"'"
984     done | sort
985     echo
986
987     if test -n "$ac_subst_files"; then
988       cat <<\_ASBOX
989 ## ------------- ##
990 ## Output files. ##
991 ## ------------- ##
992 _ASBOX
993       echo
994       for ac_var in $ac_subst_files
995       do
996         eval ac_val=$`echo $ac_var`
997         echo "$ac_var='"'"'$ac_val'"'"'"
998       done | sort
999       echo
1000     fi
1001
1002     if test -s confdefs.h; then
1003       cat <<\_ASBOX
1004 ## ----------- ##
1005 ## confdefs.h. ##
1006 ## ----------- ##
1007 _ASBOX
1008       echo
1009       sed "/^$/d" confdefs.h | sort
1010       echo
1011     fi
1012     test "$ac_signal" != 0 &&
1013       echo "$as_me: caught signal $ac_signal"
1014     echo "$as_me: exit $exit_status"
1015   } >&5
1016   rm -f core core.* *.core &&
1017   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1018     exit $exit_status
1019      ' 0
1020 for ac_signal in 1 2 13 15; do
1021   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1022 done
1023 ac_signal=0
1024
1025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1026 rm -rf conftest* confdefs.h
1027 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1028 echo >confdefs.h
1029
1030 # Predefined preprocessor variables.
1031
1032 cat >>confdefs.h <<_ACEOF
1033 #define PACKAGE_NAME "$PACKAGE_NAME"
1034 _ACEOF
1035
1036
1037 cat >>confdefs.h <<_ACEOF
1038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1039 _ACEOF
1040
1041
1042 cat >>confdefs.h <<_ACEOF
1043 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1044 _ACEOF
1045
1046
1047 cat >>confdefs.h <<_ACEOF
1048 #define PACKAGE_STRING "$PACKAGE_STRING"
1049 _ACEOF
1050
1051
1052 cat >>confdefs.h <<_ACEOF
1053 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1054 _ACEOF
1055
1056
1057 # Let the site file select an alternate cache file if it wants to.
1058 # Prefer explicitly selected file to automatically selected ones.
1059 if test -z "$CONFIG_SITE"; then
1060   if test "x$prefix" != xNONE; then
1061     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1062   else
1063     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1064   fi
1065 fi
1066 for ac_site_file in $CONFIG_SITE; do
1067   if test -r "$ac_site_file"; then
1068     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1069 echo "$as_me: loading site script $ac_site_file" >&6;}
1070     sed 's/^/| /' "$ac_site_file" >&5
1071     . "$ac_site_file"
1072   fi
1073 done
1074
1075 if test -r "$cache_file"; then
1076   # Some versions of bash will fail to source /dev/null (special
1077   # files actually), so we avoid doing that.
1078   if test -f "$cache_file"; then
1079     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1080 echo "$as_me: loading cache $cache_file" >&6;}
1081     case $cache_file in
1082       [\\/]* | ?:[\\/]* ) . $cache_file;;
1083       *)                      . ./$cache_file;;
1084     esac
1085   fi
1086 else
1087   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1088 echo "$as_me: creating cache $cache_file" >&6;}
1089   >$cache_file
1090 fi
1091
1092 # Check that the precious variables saved in the cache have kept the same
1093 # value.
1094 ac_cache_corrupted=false
1095 for ac_var in `(set) 2>&1 |
1096                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1097   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1098   eval ac_new_set=\$ac_env_${ac_var}_set
1099   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1100   eval ac_new_val="\$ac_env_${ac_var}_value"
1101   case $ac_old_set,$ac_new_set in
1102     set,)
1103       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1104 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1105       ac_cache_corrupted=: ;;
1106     ,set)
1107       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1108 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1109       ac_cache_corrupted=: ;;
1110     ,);;
1111     *)
1112       if test "x$ac_old_val" != "x$ac_new_val"; then
1113         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1114 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1115         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1116 echo "$as_me:   former value:  $ac_old_val" >&2;}
1117         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1118 echo "$as_me:   current value: $ac_new_val" >&2;}
1119         ac_cache_corrupted=:
1120       fi;;
1121   esac
1122   # Pass precious variables to config.status.
1123   if test "$ac_new_set" = set; then
1124     case $ac_new_val in
1125     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1126       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1127     *) ac_arg=$ac_var=$ac_new_val ;;
1128     esac
1129     case " $ac_configure_args " in
1130       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1131       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1132     esac
1133   fi
1134 done
1135 if $ac_cache_corrupted; then
1136   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1137 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1138   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1139 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1140    { (exit 1); exit 1; }; }
1141 fi
1142
1143 ac_ext=c
1144 ac_cpp='$CPP $CPPFLAGS'
1145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177 ac_aux_dir=
1178 for ac_dir in lib $srcdir/lib; do
1179   if test -f $ac_dir/install-sh; then
1180     ac_aux_dir=$ac_dir
1181     ac_install_sh="$ac_aux_dir/install-sh -c"
1182     break
1183   elif test -f $ac_dir/install.sh; then
1184     ac_aux_dir=$ac_dir
1185     ac_install_sh="$ac_aux_dir/install.sh -c"
1186     break
1187   elif test -f $ac_dir/shtool; then
1188     ac_aux_dir=$ac_dir
1189     ac_install_sh="$ac_aux_dir/shtool install -c"
1190     break
1191   fi
1192 done
1193 if test -z "$ac_aux_dir"; then
1194   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1195 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1196    { (exit 1); exit 1; }; }
1197 fi
1198 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1199 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1200 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1201
1202
1203 am__api_version="1.6c"
1204 # Find a good install program.  We prefer a C program (faster),
1205 # so one script is as good as another.  But avoid the broken or
1206 # incompatible versions:
1207 # SysV /etc/install, /usr/sbin/install
1208 # SunOS /usr/etc/install
1209 # IRIX /sbin/install
1210 # AIX /bin/install
1211 # AmigaOS /C/install, which installs bootblocks on floppy discs
1212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1215 # ./install, which can be erroneously created by make from ./install.sh.
1216 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1217 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1218 if test -z "$INSTALL"; then
1219 if test "${ac_cv_path_install+set}" = set; then
1220   echo $ECHO_N "(cached) $ECHO_C" >&6
1221 else
1222   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1223 for as_dir in $PATH
1224 do
1225   IFS=$as_save_IFS
1226   test -z "$as_dir" && as_dir=.
1227   # Account for people who put trailing slashes in PATH elements.
1228 case $as_dir/ in
1229   ./ | .// | /cC/* | \
1230   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1231   /usr/ucb/* ) ;;
1232   *)
1233     # OSF1 and SCO ODT 3.0 have their own names for install.
1234     # Don't use installbsd from OSF since it installs stuff as root
1235     # by default.
1236     for ac_prog in ginstall scoinst install; do
1237       for ac_exec_ext in '' $ac_executable_extensions; do
1238         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1239           if test $ac_prog = install &&
1240             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1241             # AIX install.  It has an incompatible calling convention.
1242             :
1243           elif test $ac_prog = install &&
1244             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1245             # program-specific install script used by HP pwplus--don't use.
1246             :
1247           else
1248             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1249             break 3
1250           fi
1251         fi
1252       done
1253     done
1254     ;;
1255 esac
1256 done
1257
1258
1259 fi
1260   if test "${ac_cv_path_install+set}" = set; then
1261     INSTALL=$ac_cv_path_install
1262   else
1263     # As a last resort, use the slow shell script.  We don't cache a
1264     # path for INSTALL within a source directory, because that will
1265     # break other packages using the cache if that directory is
1266     # removed, or if the path is relative.
1267     INSTALL=$ac_install_sh
1268   fi
1269 fi
1270 echo "$as_me:$LINENO: result: $INSTALL" >&5
1271 echo "${ECHO_T}$INSTALL" >&6
1272
1273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1274 # It thinks the first close brace ends the variable substitution.
1275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1276
1277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1278
1279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1280
1281 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1282 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1283 # Just in case
1284 sleep 1
1285 echo timestamp > conftest.file
1286 # Do `set' in a subshell so we don't clobber the current shell's
1287 # arguments.  Must try -L first in case configure is actually a
1288 # symlink; some systems play weird games with the mod time of symlinks
1289 # (eg FreeBSD returns the mod time of the symlink's containing
1290 # directory).
1291 if (
1292    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1293    if test "$*" = "X"; then
1294       # -L didn't work.
1295       set X `ls -t $srcdir/configure conftest.file`
1296    fi
1297    rm -f conftest.file
1298    if test "$*" != "X $srcdir/configure conftest.file" \
1299       && test "$*" != "X conftest.file $srcdir/configure"; then
1300
1301       # If neither matched, then we have a broken ls.  This can happen
1302       # if, for instance, CONFIG_SHELL is bash and it inherits a
1303       # broken ls alias from the environment.  This has actually
1304       # happened.  Such a system could not be considered "sane".
1305       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1306 alias in your environment" >&5
1307 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1308 alias in your environment" >&2;}
1309    { (exit 1); exit 1; }; }
1310    fi
1311
1312    test "$2" = conftest.file
1313    )
1314 then
1315    # Ok.
1316    :
1317 else
1318    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1319 Check your system clock" >&5
1320 echo "$as_me: error: newly created file is older than distributed files!
1321 Check your system clock" >&2;}
1322    { (exit 1); exit 1; }; }
1323 fi
1324 echo "$as_me:$LINENO: result: yes" >&5
1325 echo "${ECHO_T}yes" >&6
1326 test "$program_prefix" != NONE &&
1327   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1328 # Use a double $ so make ignores it.
1329 test "$program_suffix" != NONE &&
1330   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1331 # Double any \ or $.  echo might interpret backslashes.
1332 # By default was `s,x,x', remove it if useless.
1333 cat <<\_ACEOF >conftest.sed
1334 s/[\\$]/&&/g;s/;s,x,x,$//
1335 _ACEOF
1336 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1337 rm conftest.sed
1338
1339
1340 # expand $ac_aux_dir to an absolute path
1341 am_aux_dir=`cd $ac_aux_dir && pwd`
1342
1343 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1344 # Use eval to expand $SHELL
1345 if eval "$MISSING --run true"; then
1346   am_missing_run="$MISSING --run "
1347 else
1348   am_missing_run=
1349   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1350 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1351 fi
1352
1353 for ac_prog in gawk mawk nawk awk
1354 do
1355   # Extract the first word of "$ac_prog", so it can be a program name with args.
1356 set dummy $ac_prog; ac_word=$2
1357 echo "$as_me:$LINENO: checking for $ac_word" >&5
1358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1359 if test "${ac_cv_prog_AWK+set}" = set; then
1360   echo $ECHO_N "(cached) $ECHO_C" >&6
1361 else
1362   if test -n "$AWK"; then
1363   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1364 else
1365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366 for as_dir in $PATH
1367 do
1368   IFS=$as_save_IFS
1369   test -z "$as_dir" && as_dir=.
1370   for ac_exec_ext in '' $ac_executable_extensions; do
1371   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1372     ac_cv_prog_AWK="$ac_prog"
1373     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1374     break 2
1375   fi
1376 done
1377 done
1378
1379 fi
1380 fi
1381 AWK=$ac_cv_prog_AWK
1382 if test -n "$AWK"; then
1383   echo "$as_me:$LINENO: result: $AWK" >&5
1384 echo "${ECHO_T}$AWK" >&6
1385 else
1386   echo "$as_me:$LINENO: result: no" >&5
1387 echo "${ECHO_T}no" >&6
1388 fi
1389
1390   test -n "$AWK" && break
1391 done
1392
1393 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1394 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1395 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1396 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1397   echo $ECHO_N "(cached) $ECHO_C" >&6
1398 else
1399   cat >conftest.make <<\_ACEOF
1400 all:
1401         @echo 'ac_maketemp="${MAKE}"'
1402 _ACEOF
1403 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1404 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1405 if test -n "$ac_maketemp"; then
1406   eval ac_cv_prog_make_${ac_make}_set=yes
1407 else
1408   eval ac_cv_prog_make_${ac_make}_set=no
1409 fi
1410 rm -f conftest.make
1411 fi
1412 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1413   echo "$as_me:$LINENO: result: yes" >&5
1414 echo "${ECHO_T}yes" >&6
1415   SET_MAKE=
1416 else
1417   echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1419   SET_MAKE="MAKE=${MAKE-make}"
1420 fi
1421
1422  # test to see if srcdir already configured
1423 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1424    test -f $srcdir/config.status; then
1425   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1426 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1427    { (exit 1); exit 1; }; }
1428 fi
1429
1430 # Define the identity of the package.
1431  PACKAGE=automake
1432  VERSION=1.6c
1433
1434
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE "$PACKAGE"
1437 _ACEOF
1438
1439
1440 cat >>confdefs.h <<_ACEOF
1441 #define VERSION "$VERSION"
1442 _ACEOF
1443
1444 # Some tools Automake needs.
1445
1446 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1447
1448
1449 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1450
1451
1452 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1453
1454
1455 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1456
1457
1458 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1459
1460
1461 AMTAR=${AMTAR-"${am_missing_run}tar"}
1462
1463 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1464
1465 # Installed binaries are usually stripped using `strip' when the user
1466 # run `make install-strip'.  However `strip' might not be the right
1467 # tool to use in cross-compilation environments, therefore Automake
1468 # will honor the `STRIP' environment variable to overrule this program.
1469 if test "$cross_compiling" != no; then
1470   if test -n "$ac_tool_prefix"; then
1471   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1472 set dummy ${ac_tool_prefix}strip; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_STRIP+set}" = set; then
1476   echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478   if test -n "$STRIP"; then
1479   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1480 else
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 for as_dir in $PATH
1483 do
1484   IFS=$as_save_IFS
1485   test -z "$as_dir" && as_dir=.
1486   for ac_exec_ext in '' $ac_executable_extensions; do
1487   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1490     break 2
1491   fi
1492 done
1493 done
1494
1495 fi
1496 fi
1497 STRIP=$ac_cv_prog_STRIP
1498 if test -n "$STRIP"; then
1499   echo "$as_me:$LINENO: result: $STRIP" >&5
1500 echo "${ECHO_T}$STRIP" >&6
1501 else
1502   echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1504 fi
1505
1506 fi
1507 if test -z "$ac_cv_prog_STRIP"; then
1508   ac_ct_STRIP=$STRIP
1509   # Extract the first word of "strip", so it can be a program name with args.
1510 set dummy strip; ac_word=$2
1511 echo "$as_me:$LINENO: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1514   echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516   if test -n "$ac_ct_STRIP"; then
1517   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1518 else
1519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1520 for as_dir in $PATH
1521 do
1522   IFS=$as_save_IFS
1523   test -z "$as_dir" && as_dir=.
1524   for ac_exec_ext in '' $ac_executable_extensions; do
1525   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1526     ac_cv_prog_ac_ct_STRIP="strip"
1527     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528     break 2
1529   fi
1530 done
1531 done
1532
1533   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1534 fi
1535 fi
1536 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1537 if test -n "$ac_ct_STRIP"; then
1538   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1539 echo "${ECHO_T}$ac_ct_STRIP" >&6
1540 else
1541   echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1543 fi
1544
1545   STRIP=$ac_ct_STRIP
1546 else
1547   STRIP="$ac_cv_prog_STRIP"
1548 fi
1549
1550 fi
1551 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1552
1553 # We need awk for the "check" target.  The system "awk" is bad on
1554 # some platforms.
1555
1556
1557
1558
1559 # The API version is the base version.  We must guarantee
1560 # compatibility for all releases with the same API version.
1561 # Our current rule is that:
1562 # * All releases, including the prereleases, in an X.Y series
1563 #   are compatible.  So 1.5.1c is compatible with 1.5.
1564 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1565 #   aren't the same.
1566 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1567
1568
1569 # A versioned directory, defined here for convenience.
1570 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1571
1572
1573 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1574 # hence `.' is really what we want for perllibdir and libdir.
1575 ACLOCAL="perllibdir=./lib `pwd`/aclocal --acdir=m4 -I `pwd`/m4"
1576 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
1577
1578 # Extract the first word of "perl", so it can be a program name with args.
1579 set dummy perl; ac_word=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_path_PERL+set}" = set; then
1583   echo $ECHO_N "(cached) $ECHO_C" >&6
1584 else
1585   case $PERL in
1586   [\\/]* | ?:[\\/]*)
1587   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1588   ;;
1589   *)
1590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591 for as_dir in $PATH
1592 do
1593   IFS=$as_save_IFS
1594   test -z "$as_dir" && as_dir=.
1595   for ac_exec_ext in '' $ac_executable_extensions; do
1596   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1597     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1598     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1599     break 2
1600   fi
1601 done
1602 done
1603
1604   ;;
1605 esac
1606 fi
1607 PERL=$ac_cv_path_PERL
1608
1609 if test -n "$PERL"; then
1610   echo "$as_me:$LINENO: result: $PERL" >&5
1611 echo "${ECHO_T}$PERL" >&6
1612 else
1613   echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1615 fi
1616
1617 if test -z "$PERL"; then
1618    { { echo "$as_me:$LINENO: error: perl not found" >&5
1619 echo "$as_me: error: perl not found" >&2;}
1620    { (exit 1); exit 1; }; }
1621 fi
1622 $PERL -e 'require 5.005;' || {
1623    { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1624 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1625    { (exit 1); exit 1; }; }
1626 }
1627
1628 # Test for Autoconf.  We run Autoconf in a subdirectory to ease
1629 # deletion of any files created (such as those added to
1630 # autom4te.cache).
1631 mkdir conftest
1632 echo 'AC''_PREREQ(2.53b)' > conftest/conftest.ac
1633 { echo "$as_me:$LINENO: cd conftest && eval $AUTOCONF -o /dev/null conftest.ac" >&5
1634    (cd conftest && eval $AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1635    ac_status=$?
1636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637    (exit $ac_status); } || {
1638    { { echo "$as_me:$LINENO: error: Autoconf 2.53b or better is required" >&5
1639 echo "$as_me: error: Autoconf 2.53b or better is required" >&2;}
1640    { (exit 1); exit 1; }; }
1641 }
1642 rm -rf conftest
1643
1644 # Test for ln.  We need use it to install the versioned binaries.
1645 echo "$as_me:$LINENO: checking whether ln works" >&5
1646 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1647 if test "${am_cv_prog_ln+set}" = set; then
1648   echo $ECHO_N "(cached) $ECHO_C" >&6
1649 else
1650
1651 rm -f conftest conftest.file
1652 : >conftest.file
1653 if ln conftest.file conftest 2>/dev/null; then
1654   am_cv_prog_ln=ln
1655 else
1656   am_cv_prog_ln='cp -p'
1657 fi
1658 rm -f conftest conftest.file
1659 fi
1660
1661 LN=$am_cv_prog_ln
1662
1663 result=no
1664 test "x$am_cv_prog_ln" = xln && result=yes
1665 echo "$as_me:$LINENO: result: $result" >&5
1666 echo "${ECHO_T}$result" >&6
1667
1668           ac_config_files="$ac_config_files automake"
1669
1670           ac_config_files="$ac_config_files aclocal"
1671
1672
1673                                                                       ac_config_files="$ac_config_files Makefile lib/Automake/Makefile lib/Makefile lib/am/Makefile m4/Makefile m4/amversion.m4:m4/amversion.in tests/Makefile"
1674
1675
1676 cat >confcache <<\_ACEOF
1677 # This file is a shell script that caches the results of configure
1678 # tests run on this system so they can be shared between configure
1679 # scripts and configure runs, see configure's option --config-cache.
1680 # It is not useful on other systems.  If it contains results you don't
1681 # want to keep, you may remove or edit it.
1682 #
1683 # config.status only pays attention to the cache file if you give it
1684 # the --recheck option to rerun configure.
1685 #
1686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1688 # following values.
1689
1690 _ACEOF
1691
1692 # The following way of writing the cache mishandles newlines in values,
1693 # but we know of no workaround that is simple, portable, and efficient.
1694 # So, don't put newlines in cache variables' values.
1695 # Ultrix sh set writes to stderr and can't be redirected directly,
1696 # and sets the high bit in the cache file unless we assign to the vars.
1697 {
1698   (set) 2>&1 |
1699     case `(ac_space=' '; set | grep ac_space) 2>&1` in
1700     *ac_space=\ *)
1701       # `set' does not quote correctly, so add quotes (double-quote
1702       # substitution turns \\\\ into \\, and sed turns \\ into \).
1703       sed -n \
1704         "s/'/'\\\\''/g;
1705           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1706       ;;
1707     *)
1708       # `set' quotes correctly as required by POSIX, so do not add quotes.
1709       sed -n \
1710         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1711       ;;
1712     esac;
1713 } |
1714   sed '
1715      t clear
1716      : clear
1717      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1718      t end
1719      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1720      : end' >>confcache
1721 if cmp -s $cache_file confcache; then :; else
1722   if test -w $cache_file; then
1723     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1724     cat confcache >$cache_file
1725   else
1726     echo "not updating unwritable cache $cache_file"
1727   fi
1728 fi
1729 rm -f confcache
1730
1731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1732 # Let make expand exec_prefix.
1733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1734
1735 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1736 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1737 # trailing colons and then remove the whole line if VPATH becomes empty
1738 # (actually we leave an empty line to preserve line numbers).
1739 if test "x$srcdir" = x.; then
1740   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1741 s/:*\$(srcdir):*/:/;
1742 s/:*\${srcdir}:*/:/;
1743 s/:*@srcdir@:*/:/;
1744 s/^\([^=]*=[    ]*\):*/\1/;
1745 s/:*$//;
1746 s/^[^=]*=[      ]*$//;
1747 }'
1748 fi
1749
1750 # Transform confdefs.h into DEFS.
1751 # Protect against shell expansion while executing Makefile rules.
1752 # Protect against Makefile macro expansion.
1753 #
1754 # If the first sed substitution is executed (which looks for macros that
1755 # take arguments), then we branch to the quote section.  Otherwise,
1756 # look for a macro that doesn't take arguments.
1757 cat >confdef2opt.sed <<\_ACEOF
1758 t clear
1759 : clear
1760 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1761 t quote
1762 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1763 t quote
1764 d
1765 : quote
1766 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
1767 s,\[,\\&,g
1768 s,\],\\&,g
1769 s,\$,$$,g
1770 p
1771 _ACEOF
1772 # We use echo to avoid assuming a particular line-breaking character.
1773 # The extra dot is to prevent the shell from consuming trailing
1774 # line-breaks from the sub-command output.  A line-break within
1775 # single-quotes doesn't work because, if this script is created in a
1776 # platform that uses two characters for line-breaks (e.g., DOS), tr
1777 # would break.
1778 ac_LF_and_DOT=`echo; echo .`
1779 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1780 rm -f confdef2opt.sed
1781
1782
1783 ac_libobjs=
1784 ac_ltlibobjs=
1785 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1786   # 1. Remove the extension, and $U if already installed.
1787   ac_i=`echo "$ac_i" |
1788          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1789   # 2. Add them.
1790   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1791   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1792 done
1793 LIBOBJS=$ac_libobjs
1794
1795 LTLIBOBJS=$ac_ltlibobjs
1796
1797
1798
1799 : ${CONFIG_STATUS=./config.status}
1800 ac_clean_files_save=$ac_clean_files
1801 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1802 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1803 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1804 cat >$CONFIG_STATUS <<_ACEOF
1805 #! $SHELL
1806 # Generated by $as_me.
1807 # Run this file to recreate the current configuration.
1808 # Compiler output produced by configure, useful for debugging
1809 # configure, is in config.log if it exists.
1810
1811 debug=false
1812 SHELL=\${CONFIG_SHELL-$SHELL}
1813 _ACEOF
1814
1815 cat >>$CONFIG_STATUS <<\_ACEOF
1816 ## --------------------- ##
1817 ## M4sh Initialization.  ##
1818 ## --------------------- ##
1819
1820 # Be Bourne compatible
1821 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1822   emulate sh
1823   NULLCMD=:
1824   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1825   # is contrary to our usage.  Disable this feature.
1826   alias -g '${1+"$@"}'='"$@"'
1827 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1828   set -o posix
1829 fi
1830
1831 # Support unset when possible.
1832 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1833   as_unset=unset
1834 else
1835   as_unset=false
1836 fi
1837
1838
1839 # Work around bugs in pre-3.0 UWIN ksh.
1840 $as_unset ENV MAIL MAILPATH
1841 PS1='$ '
1842 PS2='> '
1843 PS4='+ '
1844
1845 # NLS nuisances.
1846 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
1847 do
1848   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1849     eval $as_var=C; export $as_var
1850   else
1851     $as_unset $as_var
1852   fi
1853 done
1854
1855 # Required to use basename.
1856 if expr a : '\(a\)' >/dev/null 2>&1; then
1857   as_expr=expr
1858 else
1859   as_expr=false
1860 fi
1861
1862 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1863   as_basename=basename
1864 else
1865   as_basename=false
1866 fi
1867
1868
1869 # Name of the executable.
1870 as_me=`$as_basename "$0" ||
1871 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1872          X"$0" : 'X\(//\)$' \| \
1873          X"$0" : 'X\(/\)$' \| \
1874          .     : '\(.\)' 2>/dev/null ||
1875 echo X/"$0" |
1876     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1877           /^X\/\(\/\/\)$/{ s//\1/; q; }
1878           /^X\/\(\/\).*/{ s//\1/; q; }
1879           s/.*/./; q'`
1880
1881
1882 # PATH needs CR, and LINENO needs CR and PATH.
1883 # Avoid depending upon Character Ranges.
1884 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1885 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1886 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1887 as_cr_digits='0123456789'
1888 as_cr_alnum=$as_cr_Letters$as_cr_digits
1889
1890 # The user is always right.
1891 if test "${PATH_SEPARATOR+set}" != set; then
1892   echo "#! /bin/sh" >conftest.sh
1893   echo  "exit 0"   >>conftest.sh
1894   chmod +x conftest.sh
1895   if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
1896     PATH_SEPARATOR=';'
1897   else
1898     PATH_SEPARATOR=:
1899   fi
1900   rm -f conftest.sh
1901 fi
1902
1903
1904   as_lineno_1=$LINENO
1905   as_lineno_2=$LINENO
1906   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1907   test "x$as_lineno_1" != "x$as_lineno_2" &&
1908   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1909   # Find who we are.  Look in the path if we contain no path at all
1910   # relative or not.
1911   case $0 in
1912     *[\\/]* ) as_myself=$0 ;;
1913     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914 for as_dir in $PATH
1915 do
1916   IFS=$as_save_IFS
1917   test -z "$as_dir" && as_dir=.
1918   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1919 done
1920
1921        ;;
1922   esac
1923   # We did not find ourselves, most probably we were run as `sh COMMAND'
1924   # in which case we are not to be found in the path.
1925   if test "x$as_myself" = x; then
1926     as_myself=$0
1927   fi
1928   if test ! -f "$as_myself"; then
1929     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1930 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1931    { (exit 1); exit 1; }; }
1932   fi
1933   case $CONFIG_SHELL in
1934   '')
1935     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1937 do
1938   IFS=$as_save_IFS
1939   test -z "$as_dir" && as_dir=.
1940   for as_base in sh bash ksh sh5; do
1941          case $as_dir in
1942          /*)
1943            if ("$as_dir/$as_base" -c '
1944   as_lineno_1=$LINENO
1945   as_lineno_2=$LINENO
1946   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1947   test "x$as_lineno_1" != "x$as_lineno_2" &&
1948   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1949              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1950              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1951              CONFIG_SHELL=$as_dir/$as_base
1952              export CONFIG_SHELL
1953              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1954            fi;;
1955          esac
1956        done
1957 done
1958 ;;
1959   esac
1960
1961   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1962   # uniformly replaced by the line number.  The first 'sed' inserts a
1963   # line-number line before each line; the second 'sed' does the real
1964   # work.  The second script uses 'N' to pair each line-number line
1965   # with the numbered line, and appends trailing '-' during
1966   # substitution so that $LINENO is not a special case at line end.
1967   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1968   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1969   sed '=' <$as_myself |
1970     sed '
1971       N
1972       s,$,-,
1973       : loop
1974       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1975       t loop
1976       s,-$,,
1977       s,^['$as_cr_digits']*\n,,
1978     ' >$as_me.lineno &&
1979   chmod +x $as_me.lineno ||
1980     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1981 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1982    { (exit 1); exit 1; }; }
1983
1984   # Don't try to exec as it changes $[0], causing all sort of problems
1985   # (the dirname of $[0] is not the place where we might find the
1986   # original and so on.  Autoconf is especially sensible to this).
1987   . ./$as_me.lineno
1988   # Exit status is that of the last command.
1989   exit
1990 }
1991
1992
1993 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1994   *c*,-n*) ECHO_N= ECHO_C='
1995 ' ECHO_T='      ' ;;
1996   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1997   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1998 esac
1999
2000 if expr a : '\(a\)' >/dev/null 2>&1; then
2001   as_expr=expr
2002 else
2003   as_expr=false
2004 fi
2005
2006 rm -f conf$$ conf$$.exe conf$$.file
2007 echo >conf$$.file
2008 if ln -s conf$$.file conf$$ 2>/dev/null; then
2009   # We could just check for DJGPP; but this test a) works b) is more generic
2010   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2011   if test -f conf$$.exe; then
2012     # Don't use ln at all; we don't have any links
2013     as_ln_s='cp -p'
2014   else
2015     as_ln_s='ln -s'
2016   fi
2017 elif ln conf$$.file conf$$ 2>/dev/null; then
2018   as_ln_s=ln
2019 else
2020   as_ln_s='cp -p'
2021 fi
2022 rm -f conf$$ conf$$.exe conf$$.file
2023
2024 if mkdir -p . 2>/dev/null; then
2025   as_mkdir_p=:
2026 else
2027   as_mkdir_p=false
2028 fi
2029
2030 as_executable_p="test -f"
2031
2032 # Sed expression to map a string onto a valid CPP name.
2033 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2034
2035 # Sed expression to map a string onto a valid variable name.
2036 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2037
2038
2039 # IFS
2040 # We need space, tab and new line, in precisely that order.
2041 as_nl='
2042 '
2043 IFS="   $as_nl"
2044
2045 # CDPATH.
2046 $as_unset CDPATH
2047
2048 exec 6>&1
2049
2050 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2051 # report actual input values of CONFIG_FILES etc. instead of their
2052 # values after options handling.  Logging --version etc. is OK.
2053 exec 5>>config.log
2054 {
2055   echo
2056   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2057 ## Running $as_me. ##
2058 _ASBOX
2059 } >&5
2060 cat >&5 <<_CSEOF
2061
2062 This file was extended by GNU Automake $as_me 1.6c, which was
2063 generated by GNU Autoconf 2.53c.  Invocation command line was
2064
2065   CONFIG_FILES    = $CONFIG_FILES
2066   CONFIG_HEADERS  = $CONFIG_HEADERS
2067   CONFIG_LINKS    = $CONFIG_LINKS
2068   CONFIG_COMMANDS = $CONFIG_COMMANDS
2069   $ $0 $@
2070
2071 _CSEOF
2072 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2073 echo >&5
2074 _ACEOF
2075
2076 # Files that config.status was made for.
2077 if test -n "$ac_config_files"; then
2078   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2079 fi
2080
2081 if test -n "$ac_config_headers"; then
2082   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2083 fi
2084
2085 if test -n "$ac_config_links"; then
2086   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2087 fi
2088
2089 if test -n "$ac_config_commands"; then
2090   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2091 fi
2092
2093 cat >>$CONFIG_STATUS <<\_ACEOF
2094
2095 ac_cs_usage="\
2096 \`$as_me' instantiates files from templates according to the
2097 current configuration.
2098
2099 Usage: $0 [OPTIONS] [FILE]...
2100
2101   -h, --help       print this help, then exit
2102   -V, --version    print version number, then exit
2103   -d, --debug      don't remove temporary files
2104       --recheck    update $as_me by reconfiguring in the same conditions
2105   --file=FILE[:TEMPLATE]
2106                    instantiate the configuration file FILE
2107
2108 Configuration files:
2109 $config_files
2110
2111 Report bugs to <bug-autoconf@gnu.org>."
2112 _ACEOF
2113
2114 cat >>$CONFIG_STATUS <<_ACEOF
2115 ac_cs_version="\\
2116 GNU Automake config.status 1.6c
2117 configured by $0, generated by GNU Autoconf 2.53c,
2118   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2119
2120 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2121 Free Software Foundation, Inc.
2122 This config.status script is free software; the Free Software Foundation
2123 gives unlimited permission to copy, distribute and modify it."
2124 srcdir=$srcdir
2125 INSTALL="$INSTALL"
2126 _ACEOF
2127
2128 cat >>$CONFIG_STATUS <<\_ACEOF
2129 # If no file are specified by the user, then we need to provide default
2130 # value.  By we need to know if files were specified by the user.
2131 ac_need_defaults=:
2132 while test $# != 0
2133 do
2134   case $1 in
2135   --*=*)
2136     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2137     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2138     ac_shift=:
2139     ;;
2140   -*)
2141     ac_option=$1
2142     ac_optarg=$2
2143     ac_shift=shift
2144     ;;
2145   *) # This is not an option, so the user has probably given explicit
2146      # arguments.
2147      ac_option=$1
2148      ac_need_defaults=false;;
2149   esac
2150
2151   case $ac_option in
2152   # Handling of the options.
2153 _ACEOF
2154 cat >>$CONFIG_STATUS <<_ACEOF
2155   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2156     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2157     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2158 _ACEOF
2159 cat >>$CONFIG_STATUS <<\_ACEOF
2160   --version | --vers* | -V )
2161     echo "$ac_cs_version"; exit 0 ;;
2162   --he | --h)
2163     # Conflict between --help and --header
2164     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2165 Try \`$0 --help' for more information." >&5
2166 echo "$as_me: error: ambiguous option: $1
2167 Try \`$0 --help' for more information." >&2;}
2168    { (exit 1); exit 1; }; };;
2169   --help | --hel | -h )
2170     echo "$ac_cs_usage"; exit 0 ;;
2171   --debug | --d* | -d )
2172     debug=: ;;
2173   --file | --fil | --fi | --f )
2174     $ac_shift
2175     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2176     ac_need_defaults=false;;
2177   --header | --heade | --head | --hea )
2178     $ac_shift
2179     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2180     ac_need_defaults=false;;
2181
2182   # This is an error.
2183   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2184 Try \`$0 --help' for more information." >&5
2185 echo "$as_me: error: unrecognized option: $1
2186 Try \`$0 --help' for more information." >&2;}
2187    { (exit 1); exit 1; }; } ;;
2188
2189   *) ac_config_targets="$ac_config_targets $1" ;;
2190
2191   esac
2192   shift
2193 done
2194
2195 _ACEOF
2196
2197
2198
2199
2200
2201 cat >>$CONFIG_STATUS <<\_ACEOF
2202 for ac_config_target in $ac_config_targets
2203 do
2204   case "$ac_config_target" in
2205   # Handling of arguments.
2206   "automake" ) CONFIG_FILES="$CONFIG_FILES automake" ;;
2207   "aclocal" ) CONFIG_FILES="$CONFIG_FILES aclocal" ;;
2208   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2209   "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2210   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2211   "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2212   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2213   "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2214   "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2215   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2216 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2217    { (exit 1); exit 1; }; };;
2218   esac
2219 done
2220
2221 # If the user did not use the arguments to specify the items to instantiate,
2222 # then the envvar interface is used.  Set only those that are not.
2223 # We use the long form for the default assignment because of an extremely
2224 # bizarre bug on SunOS 4.1.3.
2225 if $ac_need_defaults; then
2226   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2227 fi
2228
2229 # Create a temporary directory, and hook for its removal unless debugging.
2230 $debug ||
2231 {
2232   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2233   trap '{ (exit 1); exit 1; }' 1 2 13 15
2234 }
2235
2236 # Create a (secure) tmp directory for tmp files.
2237 : ${TMPDIR=/tmp}
2238 {
2239   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2240   test -n "$tmp" && test -d "$tmp"
2241 }  ||
2242 {
2243   tmp=$TMPDIR/cs$$-$RANDOM
2244   (umask 077 && mkdir $tmp)
2245 } ||
2246 {
2247    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2248    { (exit 1); exit 1; }
2249 }
2250
2251 _ACEOF
2252
2253 cat >>$CONFIG_STATUS <<_ACEOF
2254
2255 #
2256 # CONFIG_FILES section.
2257 #
2258
2259 # No need to generate the scripts if there are no CONFIG_FILES.
2260 # This happens for instance when ./config.status config.h
2261 if test -n "\$CONFIG_FILES"; then
2262   # Protect against being on the right side of a sed subst in config.status.
2263   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2264    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2265 s,@SHELL@,$SHELL,;t t
2266 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2267 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2268 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2269 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2270 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2271 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2272 s,@exec_prefix@,$exec_prefix,;t t
2273 s,@prefix@,$prefix,;t t
2274 s,@program_transform_name@,$program_transform_name,;t t
2275 s,@bindir@,$bindir,;t t
2276 s,@sbindir@,$sbindir,;t t
2277 s,@libexecdir@,$libexecdir,;t t
2278 s,@datadir@,$datadir,;t t
2279 s,@sysconfdir@,$sysconfdir,;t t
2280 s,@sharedstatedir@,$sharedstatedir,;t t
2281 s,@localstatedir@,$localstatedir,;t t
2282 s,@libdir@,$libdir,;t t
2283 s,@includedir@,$includedir,;t t
2284 s,@oldincludedir@,$oldincludedir,;t t
2285 s,@infodir@,$infodir,;t t
2286 s,@mandir@,$mandir,;t t
2287 s,@build_alias@,$build_alias,;t t
2288 s,@host_alias@,$host_alias,;t t
2289 s,@target_alias@,$target_alias,;t t
2290 s,@DEFS@,$DEFS,;t t
2291 s,@ECHO_C@,$ECHO_C,;t t
2292 s,@ECHO_N@,$ECHO_N,;t t
2293 s,@ECHO_T@,$ECHO_T,;t t
2294 s,@LIBS@,$LIBS,;t t
2295 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2296 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2297 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2298 s,@PACKAGE@,$PACKAGE,;t t
2299 s,@VERSION@,$VERSION,;t t
2300 s,@ACLOCAL@,$ACLOCAL,;t t
2301 s,@AUTOCONF@,$AUTOCONF,;t t
2302 s,@AUTOMAKE@,$AUTOMAKE,;t t
2303 s,@AUTOHEADER@,$AUTOHEADER,;t t
2304 s,@MAKEINFO@,$MAKEINFO,;t t
2305 s,@AMTAR@,$AMTAR,;t t
2306 s,@install_sh@,$install_sh,;t t
2307 s,@STRIP@,$STRIP,;t t
2308 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2309 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2310 s,@AWK@,$AWK,;t t
2311 s,@SET_MAKE@,$SET_MAKE,;t t
2312 s,@APIVERSION@,$APIVERSION,;t t
2313 s,@pkgvdatadir@,$pkgvdatadir,;t t
2314 s,@PERL@,$PERL,;t t
2315 s,@LN@,$LN,;t t
2316 s,@LIBOBJS@,$LIBOBJS,;t t
2317 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2318 CEOF
2319
2320 _ACEOF
2321
2322   cat >>$CONFIG_STATUS <<\_ACEOF
2323   # Split the substitutions into bite-sized pieces for seds with
2324   # small command number limits, like on Digital OSF/1 and HP-UX.
2325   ac_max_sed_lines=48
2326   ac_sed_frag=1 # Number of current file.
2327   ac_beg=1 # First line for current file.
2328   ac_end=$ac_max_sed_lines # Line after last line for current file.
2329   ac_more_lines=:
2330   ac_sed_cmds=
2331   while $ac_more_lines; do
2332     if test $ac_beg -gt 1; then
2333       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2334     else
2335       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2336     fi
2337     if test ! -s $tmp/subs.frag; then
2338       ac_more_lines=false
2339     else
2340       # The purpose of the label and of the branching condition is to
2341       # speed up the sed processing (if there are no `@' at all, there
2342       # is no need to browse any of the substitutions).
2343       # These are the two extra sed commands mentioned above.
2344       (echo ':t
2345   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2346       if test -z "$ac_sed_cmds"; then
2347         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2348       else
2349         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2350       fi
2351       ac_sed_frag=`expr $ac_sed_frag + 1`
2352       ac_beg=$ac_end
2353       ac_end=`expr $ac_end + $ac_max_sed_lines`
2354     fi
2355   done
2356   if test -z "$ac_sed_cmds"; then
2357     ac_sed_cmds=cat
2358   fi
2359 fi # test -n "$CONFIG_FILES"
2360
2361 _ACEOF
2362 cat >>$CONFIG_STATUS <<\_ACEOF
2363 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2364   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2365   case $ac_file in
2366   - | *:- | *:-:* ) # input from stdin
2367         cat >$tmp/stdin
2368         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2369         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2370   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2371         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2372   * )   ac_file_in=$ac_file.in ;;
2373   esac
2374
2375   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2376   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2378          X"$ac_file" : 'X\(//\)[^/]' \| \
2379          X"$ac_file" : 'X\(//\)$' \| \
2380          X"$ac_file" : 'X\(/\)' \| \
2381          .     : '\(.\)' 2>/dev/null ||
2382 echo X"$ac_file" |
2383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2384           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2385           /^X\(\/\/\)$/{ s//\1/; q; }
2386           /^X\(\/\).*/{ s//\1/; q; }
2387           s/.*/./; q'`
2388   { if $as_mkdir_p; then
2389     mkdir -p "$ac_dir"
2390   else
2391     as_dir="$ac_dir"
2392     as_dirs=
2393     while test ! -d "$as_dir"; do
2394       as_dirs="$as_dir $as_dirs"
2395       as_dir=`(dirname "$as_dir") 2>/dev/null ||
2396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2397          X"$as_dir" : 'X\(//\)[^/]' \| \
2398          X"$as_dir" : 'X\(//\)$' \| \
2399          X"$as_dir" : 'X\(/\)' \| \
2400          .     : '\(.\)' 2>/dev/null ||
2401 echo X"$as_dir" |
2402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2403           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2404           /^X\(\/\/\)$/{ s//\1/; q; }
2405           /^X\(\/\).*/{ s//\1/; q; }
2406           s/.*/./; q'`
2407     done
2408     test ! -n "$as_dirs" || mkdir $as_dirs
2409   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2410 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2411    { (exit 1); exit 1; }; }; }
2412
2413   ac_builddir=.
2414
2415 if test "$ac_dir" != .; then
2416   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2417   # A "../" for each directory in $ac_dir_suffix.
2418   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2419 else
2420   ac_dir_suffix= ac_top_builddir=
2421 fi
2422
2423 case $srcdir in
2424   .)  # No --srcdir option.  We are building in place.
2425     ac_srcdir=.
2426     if test -z "$ac_top_builddir"; then
2427        ac_top_srcdir=.
2428     else
2429        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2430     fi ;;
2431   [\\/]* | ?:[\\/]* )  # Absolute path.
2432     ac_srcdir=$srcdir$ac_dir_suffix;
2433     ac_top_srcdir=$srcdir ;;
2434   *) # Relative path.
2435     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2436     ac_top_srcdir=$ac_top_builddir$srcdir ;;
2437 esac
2438 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2439 # absolute.
2440 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2441 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2442 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2443 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2444
2445
2446   case $INSTALL in
2447   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2448   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2449   esac
2450
2451   if test x"$ac_file" != x-; then
2452     { echo "$as_me:$LINENO: creating $ac_file" >&5
2453 echo "$as_me: creating $ac_file" >&6;}
2454     rm -f "$ac_file"
2455   fi
2456   # Let's still pretend it is `configure' which instantiates (i.e., don't
2457   # use $as_me), people would be surprised to read:
2458   #    /* config.h.  Generated by config.status.  */
2459   if test x"$ac_file" = x-; then
2460     configure_input=
2461   else
2462     configure_input="$ac_file.  "
2463   fi
2464   configure_input=$configure_input"Generated from `echo $ac_file_in |
2465                                      sed 's,.*/,,'` by configure."
2466
2467   # First look for the input files in the build tree, otherwise in the
2468   # src tree.
2469   ac_file_inputs=`IFS=:
2470     for f in $ac_file_in; do
2471       case $f in
2472       -) echo $tmp/stdin ;;
2473       [\\/$]*)
2474          # Absolute (can't be DOS-style, as IFS=:)
2475          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2476 echo "$as_me: error: cannot find input file: $f" >&2;}
2477    { (exit 1); exit 1; }; }
2478          echo $f;;
2479       *) # Relative
2480          if test -f "$f"; then
2481            # Build tree
2482            echo $f
2483          elif test -f "$srcdir/$f"; then
2484            # Source tree
2485            echo $srcdir/$f
2486          else
2487            # /dev/null tree
2488            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2489 echo "$as_me: error: cannot find input file: $f" >&2;}
2490    { (exit 1); exit 1; }; }
2491          fi;;
2492       esac
2493     done` || { (exit 1); exit 1; }
2494 _ACEOF
2495 cat >>$CONFIG_STATUS <<_ACEOF
2496   sed "$ac_vpsub
2497 $extrasub
2498 _ACEOF
2499 cat >>$CONFIG_STATUS <<\_ACEOF
2500 :t
2501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2502 s,@configure_input@,$configure_input,;t t
2503 s,@srcdir@,$ac_srcdir,;t t
2504 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2505 s,@top_srcdir@,$ac_top_srcdir,;t t
2506 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2507 s,@builddir@,$ac_builddir,;t t
2508 s,@abs_builddir@,$ac_abs_builddir,;t t
2509 s,@top_builddir@,$ac_top_builddir,;t t
2510 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2511 s,@INSTALL@,$ac_INSTALL,;t t
2512 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2513   rm -f $tmp/stdin
2514   if test x"$ac_file" != x-; then
2515     mv $tmp/out $ac_file
2516   else
2517     cat $tmp/out
2518     rm -f $tmp/out
2519   fi
2520
2521   # Run the commands associated with the file.
2522   case $ac_file in
2523     automake ) chmod +x automake ;;
2524     aclocal ) chmod +x aclocal ;;
2525   esac
2526 done
2527 _ACEOF
2528
2529 cat >>$CONFIG_STATUS <<\_ACEOF
2530
2531 { (exit 0); exit 0; }
2532 _ACEOF
2533 chmod +x $CONFIG_STATUS
2534 ac_clean_files=$ac_clean_files_save
2535
2536
2537 # configure is writing to config.log, and then calls config.status.
2538 # config.status does its own redirection, appending to config.log.
2539 # Unfortunately, on DOS this fails, as config.log is still kept open
2540 # by configure, so config.status won't be able to write to it; its
2541 # output is simply discarded.  So we exec the FD to /dev/null,
2542 # effectively closing config.log, so it can be properly (re)opened and
2543 # appended to by config.status.  When coming back to configure, we
2544 # need to make the FD available again.
2545 if test "$no_create" != yes; then
2546   ac_cs_success=:
2547   exec 5>/dev/null
2548   $SHELL $CONFIG_STATUS || ac_cs_success=false
2549   exec 5>>config.log
2550   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2551   # would make configure fail if this is the last instruction.
2552   $ac_cs_success || { (exit 1); exit 1; }
2553 fi
2554