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