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