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