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