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