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