For PR automake/347:
[platform/upstream/automake.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53c 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 LIBOBJS LTLIBOBJS'
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.53c
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.53c.  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           ac_config_files="$ac_config_files automake"
1676
1677           ac_config_files="$ac_config_files aclocal"
1678
1679
1680                                                                       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"
1681
1682
1683 cat >confcache <<\_ACEOF
1684 # This file is a shell script that caches the results of configure
1685 # tests run on this system so they can be shared between configure
1686 # scripts and configure runs, see configure's option --config-cache.
1687 # It is not useful on other systems.  If it contains results you don't
1688 # want to keep, you may remove or edit it.
1689 #
1690 # config.status only pays attention to the cache file if you give it
1691 # the --recheck option to rerun configure.
1692 #
1693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1695 # following values.
1696
1697 _ACEOF
1698
1699 # The following way of writing the cache mishandles newlines in values,
1700 # but we know of no workaround that is simple, portable, and efficient.
1701 # So, don't put newlines in cache variables' values.
1702 # Ultrix sh set writes to stderr and can't be redirected directly,
1703 # and sets the high bit in the cache file unless we assign to the vars.
1704 {
1705   (set) 2>&1 |
1706     case `(ac_space=' '; set | grep ac_space) 2>&1` in
1707     *ac_space=\ *)
1708       # `set' does not quote correctly, so add quotes (double-quote
1709       # substitution turns \\\\ into \\, and sed turns \\ into \).
1710       sed -n \
1711         "s/'/'\\\\''/g;
1712           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1713       ;;
1714     *)
1715       # `set' quotes correctly as required by POSIX, so do not add quotes.
1716       sed -n \
1717         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1718       ;;
1719     esac;
1720 } |
1721   sed '
1722      t clear
1723      : clear
1724      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1725      t end
1726      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1727      : end' >>confcache
1728 if cmp -s $cache_file confcache; then :; else
1729   if test -w $cache_file; then
1730     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1731     cat confcache >$cache_file
1732   else
1733     echo "not updating unwritable cache $cache_file"
1734   fi
1735 fi
1736 rm -f confcache
1737
1738 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1739 # Let make expand exec_prefix.
1740 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1741
1742 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1743 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1744 # trailing colons and then remove the whole line if VPATH becomes empty
1745 # (actually we leave an empty line to preserve line numbers).
1746 if test "x$srcdir" = x.; then
1747   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1748 s/:*\$(srcdir):*/:/;
1749 s/:*\${srcdir}:*/:/;
1750 s/:*@srcdir@:*/:/;
1751 s/^\([^=]*=[    ]*\):*/\1/;
1752 s/:*$//;
1753 s/^[^=]*=[      ]*$//;
1754 }'
1755 fi
1756
1757 # Transform confdefs.h into DEFS.
1758 # Protect against shell expansion while executing Makefile rules.
1759 # Protect against Makefile macro expansion.
1760 #
1761 # If the first sed substitution is executed (which looks for macros that
1762 # take arguments), then we branch to the quote section.  Otherwise,
1763 # look for a macro that doesn't take arguments.
1764 cat >confdef2opt.sed <<\_ACEOF
1765 t clear
1766 : clear
1767 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1768 t quote
1769 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1770 t quote
1771 d
1772 : quote
1773 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
1774 s,\[,\\&,g
1775 s,\],\\&,g
1776 s,\$,$$,g
1777 p
1778 _ACEOF
1779 # We use echo to avoid assuming a particular line-breaking character.
1780 # The extra dot is to prevent the shell from consuming trailing
1781 # line-breaks from the sub-command output.  A line-break within
1782 # single-quotes doesn't work because, if this script is created in a
1783 # platform that uses two characters for line-breaks (e.g., DOS), tr
1784 # would break.
1785 ac_LF_and_DOT=`echo; echo .`
1786 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1787 rm -f confdef2opt.sed
1788
1789
1790 ac_libobjs=
1791 ac_ltlibobjs=
1792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1793   # 1. Remove the extension, and $U if already installed.
1794   ac_i=`echo "$ac_i" |
1795          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1796   # 2. Add them.
1797   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1798   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1799 done
1800 LIBOBJS=$ac_libobjs
1801
1802 LTLIBOBJS=$ac_ltlibobjs
1803
1804
1805
1806 : ${CONFIG_STATUS=./config.status}
1807 ac_clean_files_save=$ac_clean_files
1808 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1809 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1810 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1811 cat >$CONFIG_STATUS <<_ACEOF
1812 #! $SHELL
1813 # Generated by $as_me.
1814 # Run this file to recreate the current configuration.
1815 # Compiler output produced by configure, useful for debugging
1816 # configure, is in config.log if it exists.
1817
1818 debug=false
1819 SHELL=\${CONFIG_SHELL-$SHELL}
1820 _ACEOF
1821
1822 cat >>$CONFIG_STATUS <<\_ACEOF
1823 ## --------------------- ##
1824 ## M4sh Initialization.  ##
1825 ## --------------------- ##
1826
1827 # Be Bourne compatible
1828 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1829   emulate sh
1830   NULLCMD=:
1831   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1832   # is contrary to our usage.  Disable this feature.
1833   alias -g '${1+"$@"}'='"$@"'
1834 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1835   set -o posix
1836 fi
1837
1838 # NLS nuisances.
1839 # Support unset when possible.
1840 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1841   as_unset=unset
1842 else
1843   as_unset=false
1844 fi
1845
1846 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1847     { $as_unset LANG || test "${LANG+set}" != set; } ||
1848       { LANG=C; export LANG; }
1849 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1850     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1851       { LC_ALL=C; export LC_ALL; }
1852 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1853     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1854       { LC_TIME=C; export LC_TIME; }
1855 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1856     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1857       { LC_CTYPE=C; export LC_CTYPE; }
1858 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1859     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1860       { LANGUAGE=C; export LANGUAGE; }
1861 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1862     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1863       { LC_COLLATE=C; export LC_COLLATE; }
1864 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1865     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1866       { LC_NUMERIC=C; export LC_NUMERIC; }
1867 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1868     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1869       { LC_MESSAGES=C; export LC_MESSAGES; }
1870
1871
1872 # Required to use basename.
1873 if expr a : '\(a\)' >/dev/null 2>&1; then
1874   as_expr=expr
1875 else
1876   as_expr=false
1877 fi
1878
1879 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1880   as_basename=basename
1881 else
1882   as_basename=false
1883 fi
1884
1885
1886 # Name of the executable.
1887 as_me=`$as_basename "$0" ||
1888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1889          X"$0" : 'X\(//\)$' \| \
1890          X"$0" : 'X\(/\)$' \| \
1891          .     : '\(.\)' 2>/dev/null ||
1892 echo X/"$0" |
1893     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1894           /^X\/\(\/\/\)$/{ s//\1/; q; }
1895           /^X\/\(\/\).*/{ s//\1/; q; }
1896           s/.*/./; q'`
1897
1898
1899 # PATH needs CR, and LINENO needs CR and PATH.
1900 # Avoid depending upon Character Ranges.
1901 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1902 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1903 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1904 as_cr_digits='0123456789'
1905 as_cr_alnum=$as_cr_Letters$as_cr_digits
1906
1907 # The user is always right.
1908 if test "${PATH_SEPARATOR+set}" != set; then
1909   echo "#! /bin/sh" >conftest.sh
1910   echo  "exit 0"   >>conftest.sh
1911   chmod +x conftest.sh
1912   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1913     PATH_SEPARATOR=';'
1914   else
1915     PATH_SEPARATOR=:
1916   fi
1917   rm -f conftest.sh
1918 fi
1919
1920
1921   as_lineno_1=$LINENO
1922   as_lineno_2=$LINENO
1923   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1924   test "x$as_lineno_1" != "x$as_lineno_2" &&
1925   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1926   # Find who we are.  Look in the path if we contain no path at all
1927   # relative or not.
1928   case $0 in
1929     *[\\/]* ) as_myself=$0 ;;
1930     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 for as_dir in $PATH
1932 do
1933   IFS=$as_save_IFS
1934   test -z "$as_dir" && as_dir=.
1935   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1936 done
1937
1938        ;;
1939   esac
1940   # We did not find ourselves, most probably we were run as `sh COMMAND'
1941   # in which case we are not to be found in the path.
1942   if test "x$as_myself" = x; then
1943     as_myself=$0
1944   fi
1945   if test ! -f "$as_myself"; then
1946     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1947 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1948    { (exit 1); exit 1; }; }
1949   fi
1950   case $CONFIG_SHELL in
1951   '')
1952     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1954 do
1955   IFS=$as_save_IFS
1956   test -z "$as_dir" && as_dir=.
1957   for as_base in sh bash ksh sh5; do
1958          case $as_dir in
1959          /*)
1960            if ("$as_dir/$as_base" -c '
1961   as_lineno_1=$LINENO
1962   as_lineno_2=$LINENO
1963   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1964   test "x$as_lineno_1" != "x$as_lineno_2" &&
1965   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1966              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1967              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1968              CONFIG_SHELL=$as_dir/$as_base
1969              export CONFIG_SHELL
1970              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1971            fi;;
1972          esac
1973        done
1974 done
1975 ;;
1976   esac
1977
1978   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1979   # uniformly replaced by the line number.  The first 'sed' inserts a
1980   # line-number line before each line; the second 'sed' does the real
1981   # work.  The second script uses 'N' to pair each line-number line
1982   # with the numbered line, and appends trailing '-' during
1983   # substitution so that $LINENO is not a special case at line end.
1984   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1985   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1986   sed '=' <$as_myself |
1987     sed '
1988       N
1989       s,$,-,
1990       : loop
1991       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1992       t loop
1993       s,-$,,
1994       s,^['$as_cr_digits']*\n,,
1995     ' >$as_me.lineno &&
1996   chmod +x $as_me.lineno ||
1997     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1998 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1999    { (exit 1); exit 1; }; }
2000
2001   # Don't try to exec as it changes $[0], causing all sort of problems
2002   # (the dirname of $[0] is not the place where we might find the
2003   # original and so on.  Autoconf is especially sensible to this).
2004   . ./$as_me.lineno
2005   # Exit status is that of the last command.
2006   exit
2007 }
2008
2009
2010 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2011   *c*,-n*) ECHO_N= ECHO_C='
2012 ' ECHO_T='      ' ;;
2013   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2014   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2015 esac
2016
2017 if expr a : '\(a\)' >/dev/null 2>&1; then
2018   as_expr=expr
2019 else
2020   as_expr=false
2021 fi
2022
2023 rm -f conf$$ conf$$.exe conf$$.file
2024 echo >conf$$.file
2025 if ln -s conf$$.file conf$$ 2>/dev/null; then
2026   # We could just check for DJGPP; but this test a) works b) is more generic
2027   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2028   if test -f conf$$.exe; then
2029     # Don't use ln at all; we don't have any links
2030     as_ln_s='cp -p'
2031   else
2032     as_ln_s='ln -s'
2033   fi
2034 elif ln conf$$.file conf$$ 2>/dev/null; then
2035   as_ln_s=ln
2036 else
2037   as_ln_s='cp -p'
2038 fi
2039 rm -f conf$$ conf$$.exe conf$$.file
2040
2041 if mkdir -p . 2>/dev/null; then
2042   as_mkdir_p=:
2043 else
2044   as_mkdir_p=false
2045 fi
2046
2047 as_executable_p="test -f"
2048
2049 # Sed expression to map a string onto a valid CPP name.
2050 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2051
2052 # Sed expression to map a string onto a valid variable name.
2053 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2054
2055
2056 # IFS
2057 # We need space, tab and new line, in precisely that order.
2058 as_nl='
2059 '
2060 IFS="   $as_nl"
2061
2062 # CDPATH.
2063 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2064
2065 exec 6>&1
2066
2067 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2068 # report actual input values of CONFIG_FILES etc. instead of their
2069 # values after options handling.  Logging --version etc. is OK.
2070 exec 5>>config.log
2071 {
2072   echo
2073   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2074 ## Running $as_me. ##
2075 _ASBOX
2076 } >&5
2077 cat >&5 <<_CSEOF
2078
2079 This file was extended by GNU Automake $as_me 1.6c, which was
2080 generated by GNU Autoconf 2.53c.  Invocation command line was
2081
2082   CONFIG_FILES    = $CONFIG_FILES
2083   CONFIG_HEADERS  = $CONFIG_HEADERS
2084   CONFIG_LINKS    = $CONFIG_LINKS
2085   CONFIG_COMMANDS = $CONFIG_COMMANDS
2086   $ $0 $@
2087
2088 _CSEOF
2089 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2090 echo >&5
2091 _ACEOF
2092
2093 # Files that config.status was made for.
2094 if test -n "$ac_config_files"; then
2095   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2096 fi
2097
2098 if test -n "$ac_config_headers"; then
2099   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2100 fi
2101
2102 if test -n "$ac_config_links"; then
2103   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2104 fi
2105
2106 if test -n "$ac_config_commands"; then
2107   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2108 fi
2109
2110 cat >>$CONFIG_STATUS <<\_ACEOF
2111
2112 ac_cs_usage="\
2113 \`$as_me' instantiates files from templates according to the
2114 current configuration.
2115
2116 Usage: $0 [OPTIONS] [FILE]...
2117
2118   -h, --help       print this help, then exit
2119   -V, --version    print version number, then exit
2120   -d, --debug      don't remove temporary files
2121       --recheck    update $as_me by reconfiguring in the same conditions
2122   --file=FILE[:TEMPLATE]
2123                    instantiate the configuration file FILE
2124
2125 Configuration files:
2126 $config_files
2127
2128 Report bugs to <bug-autoconf@gnu.org>."
2129 _ACEOF
2130
2131 cat >>$CONFIG_STATUS <<_ACEOF
2132 ac_cs_version="\\
2133 GNU Automake config.status 1.6c
2134 configured by $0, generated by GNU Autoconf 2.53c,
2135   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2136
2137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2138 Free Software Foundation, Inc.
2139 This config.status script is free software; the Free Software Foundation
2140 gives unlimited permission to copy, distribute and modify it."
2141 srcdir=$srcdir
2142 INSTALL="$INSTALL"
2143 _ACEOF
2144
2145 cat >>$CONFIG_STATUS <<\_ACEOF
2146 # If no file are specified by the user, then we need to provide default
2147 # value.  By we need to know if files were specified by the user.
2148 ac_need_defaults=:
2149 while test $# != 0
2150 do
2151   case $1 in
2152   --*=*)
2153     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2154     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2155     ac_shift=:
2156     ;;
2157   -*)
2158     ac_option=$1
2159     ac_optarg=$2
2160     ac_shift=shift
2161     ;;
2162   *) # This is not an option, so the user has probably given explicit
2163      # arguments.
2164      ac_option=$1
2165      ac_need_defaults=false;;
2166   esac
2167
2168   case $ac_option in
2169   # Handling of the options.
2170 _ACEOF
2171 cat >>$CONFIG_STATUS <<_ACEOF
2172   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2173     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2174     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2175 _ACEOF
2176 cat >>$CONFIG_STATUS <<\_ACEOF
2177   --version | --vers* | -V )
2178     echo "$ac_cs_version"; exit 0 ;;
2179   --he | --h)
2180     # Conflict between --help and --header
2181     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2182 Try \`$0 --help' for more information." >&5
2183 echo "$as_me: error: ambiguous option: $1
2184 Try \`$0 --help' for more information." >&2;}
2185    { (exit 1); exit 1; }; };;
2186   --help | --hel | -h )
2187     echo "$ac_cs_usage"; exit 0 ;;
2188   --debug | --d* | -d )
2189     debug=: ;;
2190   --file | --fil | --fi | --f )
2191     $ac_shift
2192     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2193     ac_need_defaults=false;;
2194   --header | --heade | --head | --hea )
2195     $ac_shift
2196     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2197     ac_need_defaults=false;;
2198
2199   # This is an error.
2200   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2201 Try \`$0 --help' for more information." >&5
2202 echo "$as_me: error: unrecognized option: $1
2203 Try \`$0 --help' for more information." >&2;}
2204    { (exit 1); exit 1; }; } ;;
2205
2206   *) ac_config_targets="$ac_config_targets $1" ;;
2207
2208   esac
2209   shift
2210 done
2211
2212 _ACEOF
2213
2214
2215
2216
2217
2218 cat >>$CONFIG_STATUS <<\_ACEOF
2219 for ac_config_target in $ac_config_targets
2220 do
2221   case "$ac_config_target" in
2222   # Handling of arguments.
2223   "automake" ) CONFIG_FILES="$CONFIG_FILES automake" ;;
2224   "aclocal" ) CONFIG_FILES="$CONFIG_FILES aclocal" ;;
2225   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2226   "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2227   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2228   "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2229   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2230   "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2231   "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2232   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2233 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2234    { (exit 1); exit 1; }; };;
2235   esac
2236 done
2237
2238 # If the user did not use the arguments to specify the items to instantiate,
2239 # then the envvar interface is used.  Set only those that are not.
2240 # We use the long form for the default assignment because of an extremely
2241 # bizarre bug on SunOS 4.1.3.
2242 if $ac_need_defaults; then
2243   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2244 fi
2245
2246 # Create a temporary directory, and hook for its removal unless debugging.
2247 $debug ||
2248 {
2249   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2250   trap '{ (exit 1); exit 1; }' 1 2 13 15
2251 }
2252
2253 # Create a (secure) tmp directory for tmp files.
2254 : ${TMPDIR=/tmp}
2255 {
2256   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2257   test -n "$tmp" && test -d "$tmp"
2258 }  ||
2259 {
2260   tmp=$TMPDIR/cs$$-$RANDOM
2261   (umask 077 && mkdir $tmp)
2262 } ||
2263 {
2264    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2265    { (exit 1); exit 1; }
2266 }
2267
2268 _ACEOF
2269
2270 cat >>$CONFIG_STATUS <<_ACEOF
2271
2272 #
2273 # CONFIG_FILES section.
2274 #
2275
2276 # No need to generate the scripts if there are no CONFIG_FILES.
2277 # This happens for instance when ./config.status config.h
2278 if test -n "\$CONFIG_FILES"; then
2279   # Protect against being on the right side of a sed subst in config.status.
2280   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2281    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2282 s,@SHELL@,$SHELL,;t t
2283 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2284 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2285 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2286 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2287 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2288 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2289 s,@exec_prefix@,$exec_prefix,;t t
2290 s,@prefix@,$prefix,;t t
2291 s,@program_transform_name@,$program_transform_name,;t t
2292 s,@bindir@,$bindir,;t t
2293 s,@sbindir@,$sbindir,;t t
2294 s,@libexecdir@,$libexecdir,;t t
2295 s,@datadir@,$datadir,;t t
2296 s,@sysconfdir@,$sysconfdir,;t t
2297 s,@sharedstatedir@,$sharedstatedir,;t t
2298 s,@localstatedir@,$localstatedir,;t t
2299 s,@libdir@,$libdir,;t t
2300 s,@includedir@,$includedir,;t t
2301 s,@oldincludedir@,$oldincludedir,;t t
2302 s,@infodir@,$infodir,;t t
2303 s,@mandir@,$mandir,;t t
2304 s,@build_alias@,$build_alias,;t t
2305 s,@host_alias@,$host_alias,;t t
2306 s,@target_alias@,$target_alias,;t t
2307 s,@DEFS@,$DEFS,;t t
2308 s,@ECHO_C@,$ECHO_C,;t t
2309 s,@ECHO_N@,$ECHO_N,;t t
2310 s,@ECHO_T@,$ECHO_T,;t t
2311 s,@LIBS@,$LIBS,;t t
2312 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2313 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2314 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2315 s,@PACKAGE@,$PACKAGE,;t t
2316 s,@VERSION@,$VERSION,;t t
2317 s,@ACLOCAL@,$ACLOCAL,;t t
2318 s,@AUTOCONF@,$AUTOCONF,;t t
2319 s,@AUTOMAKE@,$AUTOMAKE,;t t
2320 s,@AUTOHEADER@,$AUTOHEADER,;t t
2321 s,@MAKEINFO@,$MAKEINFO,;t t
2322 s,@AMTAR@,$AMTAR,;t t
2323 s,@install_sh@,$install_sh,;t t
2324 s,@STRIP@,$STRIP,;t t
2325 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2326 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2327 s,@AWK@,$AWK,;t t
2328 s,@SET_MAKE@,$SET_MAKE,;t t
2329 s,@APIVERSION@,$APIVERSION,;t t
2330 s,@pkgvdatadir@,$pkgvdatadir,;t t
2331 s,@PERL@,$PERL,;t t
2332 s,@LN@,$LN,;t t
2333 s,@LIBOBJS@,$LIBOBJS,;t t
2334 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2335 CEOF
2336
2337 _ACEOF
2338
2339   cat >>$CONFIG_STATUS <<\_ACEOF
2340   # Split the substitutions into bite-sized pieces for seds with
2341   # small command number limits, like on Digital OSF/1 and HP-UX.
2342   ac_max_sed_lines=48
2343   ac_sed_frag=1 # Number of current file.
2344   ac_beg=1 # First line for current file.
2345   ac_end=$ac_max_sed_lines # Line after last line for current file.
2346   ac_more_lines=:
2347   ac_sed_cmds=
2348   while $ac_more_lines; do
2349     if test $ac_beg -gt 1; then
2350       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2351     else
2352       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2353     fi
2354     if test ! -s $tmp/subs.frag; then
2355       ac_more_lines=false
2356     else
2357       # The purpose of the label and of the branching condition is to
2358       # speed up the sed processing (if there are no `@' at all, there
2359       # is no need to browse any of the substitutions).
2360       # These are the two extra sed commands mentioned above.
2361       (echo ':t
2362   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2363       if test -z "$ac_sed_cmds"; then
2364         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2365       else
2366         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2367       fi
2368       ac_sed_frag=`expr $ac_sed_frag + 1`
2369       ac_beg=$ac_end
2370       ac_end=`expr $ac_end + $ac_max_sed_lines`
2371     fi
2372   done
2373   if test -z "$ac_sed_cmds"; then
2374     ac_sed_cmds=cat
2375   fi
2376 fi # test -n "$CONFIG_FILES"
2377
2378 _ACEOF
2379 cat >>$CONFIG_STATUS <<\_ACEOF
2380 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2381   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2382   case $ac_file in
2383   - | *:- | *:-:* ) # input from stdin
2384         cat >$tmp/stdin
2385         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2386         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2387   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2388         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2389   * )   ac_file_in=$ac_file.in ;;
2390   esac
2391
2392   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2393   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2395          X"$ac_file" : 'X\(//\)[^/]' \| \
2396          X"$ac_file" : 'X\(//\)$' \| \
2397          X"$ac_file" : 'X\(/\)' \| \
2398          .     : '\(.\)' 2>/dev/null ||
2399 echo X"$ac_file" |
2400     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2401           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2402           /^X\(\/\/\)$/{ s//\1/; q; }
2403           /^X\(\/\).*/{ s//\1/; q; }
2404           s/.*/./; q'`
2405   { if $as_mkdir_p; then
2406     mkdir -p "$ac_dir"
2407   else
2408     as_dir="$ac_dir"
2409     as_dirs=
2410     while test ! -d "$as_dir"; do
2411       as_dirs="$as_dir $as_dirs"
2412       as_dir=`(dirname "$as_dir") 2>/dev/null ||
2413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2414          X"$as_dir" : 'X\(//\)[^/]' \| \
2415          X"$as_dir" : 'X\(//\)$' \| \
2416          X"$as_dir" : 'X\(/\)' \| \
2417          .     : '\(.\)' 2>/dev/null ||
2418 echo X"$as_dir" |
2419     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2420           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2421           /^X\(\/\/\)$/{ s//\1/; q; }
2422           /^X\(\/\).*/{ s//\1/; q; }
2423           s/.*/./; q'`
2424     done
2425     test ! -n "$as_dirs" || mkdir $as_dirs
2426   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2427 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2428    { (exit 1); exit 1; }; }; }
2429
2430   ac_builddir=.
2431
2432 if test "$ac_dir" != .; then
2433   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2434   # A "../" for each directory in $ac_dir_suffix.
2435   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2436 else
2437   ac_dir_suffix= ac_top_builddir=
2438 fi
2439
2440 case $srcdir in
2441   .)  # No --srcdir option.  We are building in place.
2442     ac_srcdir=.
2443     if test -z "$ac_top_builddir"; then
2444        ac_top_srcdir=.
2445     else
2446        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2447     fi ;;
2448   [\\/]* | ?:[\\/]* )  # Absolute path.
2449     ac_srcdir=$srcdir$ac_dir_suffix;
2450     ac_top_srcdir=$srcdir ;;
2451   *) # Relative path.
2452     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2453     ac_top_srcdir=$ac_top_builddir$srcdir ;;
2454 esac
2455 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2456 # absolute.
2457 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2458 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2459 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2460 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2461
2462
2463   case $INSTALL in
2464   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2465   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2466   esac
2467
2468   if test x"$ac_file" != x-; then
2469     { echo "$as_me:$LINENO: creating $ac_file" >&5
2470 echo "$as_me: creating $ac_file" >&6;}
2471     rm -f "$ac_file"
2472   fi
2473   # Let's still pretend it is `configure' which instantiates (i.e., don't
2474   # use $as_me), people would be surprised to read:
2475   #    /* config.h.  Generated by config.status.  */
2476   if test x"$ac_file" = x-; then
2477     configure_input=
2478   else
2479     configure_input="$ac_file.  "
2480   fi
2481   configure_input=$configure_input"Generated from `echo $ac_file_in |
2482                                      sed 's,.*/,,'` by configure."
2483
2484   # First look for the input files in the build tree, otherwise in the
2485   # src tree.
2486   ac_file_inputs=`IFS=:
2487     for f in $ac_file_in; do
2488       case $f in
2489       -) echo $tmp/stdin ;;
2490       [\\/$]*)
2491          # Absolute (can't be DOS-style, as IFS=:)
2492          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2493 echo "$as_me: error: cannot find input file: $f" >&2;}
2494    { (exit 1); exit 1; }; }
2495          echo $f;;
2496       *) # Relative
2497          if test -f "$f"; then
2498            # Build tree
2499            echo $f
2500          elif test -f "$srcdir/$f"; then
2501            # Source tree
2502            echo $srcdir/$f
2503          else
2504            # /dev/null tree
2505            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2506 echo "$as_me: error: cannot find input file: $f" >&2;}
2507    { (exit 1); exit 1; }; }
2508          fi;;
2509       esac
2510     done` || { (exit 1); exit 1; }
2511 _ACEOF
2512 cat >>$CONFIG_STATUS <<_ACEOF
2513   sed "$ac_vpsub
2514 $extrasub
2515 _ACEOF
2516 cat >>$CONFIG_STATUS <<\_ACEOF
2517 :t
2518 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2519 s,@configure_input@,$configure_input,;t t
2520 s,@srcdir@,$ac_srcdir,;t t
2521 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2522 s,@top_srcdir@,$ac_top_srcdir,;t t
2523 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2524 s,@builddir@,$ac_builddir,;t t
2525 s,@abs_builddir@,$ac_abs_builddir,;t t
2526 s,@top_builddir@,$ac_top_builddir,;t t
2527 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2528 s,@INSTALL@,$ac_INSTALL,;t t
2529 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2530   rm -f $tmp/stdin
2531   if test x"$ac_file" != x-; then
2532     mv $tmp/out $ac_file
2533   else
2534     cat $tmp/out
2535     rm -f $tmp/out
2536   fi
2537
2538   # Run the commands associated with the file.
2539   case $ac_file in
2540     automake ) chmod +x automake ;;
2541     aclocal ) chmod +x aclocal ;;
2542   esac
2543 done
2544 _ACEOF
2545
2546 cat >>$CONFIG_STATUS <<\_ACEOF
2547
2548 { (exit 0); exit 0; }
2549 _ACEOF
2550 chmod +x $CONFIG_STATUS
2551 ac_clean_files=$ac_clean_files_save
2552
2553
2554 # configure is writing to config.log, and then calls config.status.
2555 # config.status does its own redirection, appending to config.log.
2556 # Unfortunately, on DOS this fails, as config.log is still kept open
2557 # by configure, so config.status won't be able to write to it; its
2558 # output is simply discarded.  So we exec the FD to /dev/null,
2559 # effectively closing config.log, so it can be properly (re)opened and
2560 # appended to by config.status.  When coming back to configure, we
2561 # need to make the FD available again.
2562 if test "$no_create" != yes; then
2563   ac_cs_success=:
2564   exec 5>/dev/null
2565   $SHELL $CONFIG_STATUS || ac_cs_success=false
2566   exec 5>>config.log
2567   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2568   # would make configure fail if this is the last instruction.
2569   $ac_cs_success || { (exit 1); exit 1; }
2570 fi
2571