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