2002-02-23 Per Bothner <per@bothner.com>
[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.5e.
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.5e'
260 PACKAGE_STRING='GNU Automake 1.5e'
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.5e 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.5e:";;
770    esac
771   cat <<\_ACEOF
772
773 Report bugs to <bug-automake@gnu.org>.
774 _ACEOF
775 fi
776
777 if test "$ac_init_help" = "recursive"; then
778   # If there are subdirs, report their specific --help.
779   ac_popdir=`pwd`
780   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
781     test -d $ac_dir || continue
782     ac_builddir=.
783
784 if test "$ac_dir" != .; then
785   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
786   # A "../" for each directory in $ac_dir_suffix.
787   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
788 else
789   ac_dir_suffix= ac_top_builddir=
790 fi
791
792 case $srcdir in
793   .)  # No --srcdir option.  We are building in place.
794     ac_srcdir=.
795     if test -z "$ac_top_builddir"; then
796        ac_top_srcdir=.
797     else
798        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
799     fi ;;
800   [\\/]* | ?:[\\/]* )  # Absolute path.
801     ac_srcdir=$srcdir$ac_dir_suffix;
802     ac_top_srcdir=$srcdir ;;
803   *) # Relative path.
804     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
805     ac_top_srcdir=$ac_top_builddir$srcdir ;;
806 esac
807 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
808 # absolute.
809 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
810 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
811 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
812 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
813
814     cd $ac_dir
815     # Check for guested configure; otherwise get Cygnus style configure.
816     if test -f $ac_srcdir/configure.gnu; then
817       echo
818       $SHELL $ac_srcdir/configure.gnu  --help=recursive
819     elif test -f $ac_srcdir/configure; then
820       echo
821       $SHELL $ac_srcdir/configure  --help=recursive
822     elif test -f $ac_srcdir/configure.ac ||
823            test -f $ac_srcdir/configure.in; then
824       echo
825       $ac_configure --help
826     else
827       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
828     fi
829     cd $ac_popdir
830   done
831 fi
832
833 test -n "$ac_init_help" && exit 0
834 if $ac_init_version; then
835   cat <<\_ACEOF
836 GNU Automake configure 1.5e
837 generated by GNU Autoconf 2.52g
838
839 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
840 Free Software Foundation, Inc.
841 This configure script is free software; the Free Software Foundation
842 gives unlimited permission to copy, distribute and modify it.
843 _ACEOF
844   exit 0
845 fi
846 exec 5>config.log
847 cat >&5 <<_ACEOF
848 This file contains any messages produced by compilers while
849 running configure, to aid debugging if configure makes a mistake.
850
851 It was created by GNU Automake $as_me 1.5e, which was
852 generated by GNU Autoconf 2.52g.  Invocation command line was
853
854   $ $0 $@
855
856 _ACEOF
857 {
858 cat <<_ASUNAME
859 ## --------- ##
860 ## Platform. ##
861 ## --------- ##
862
863 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
864 uname -m = `(uname -m) 2>/dev/null || echo unknown`
865 uname -r = `(uname -r) 2>/dev/null || echo unknown`
866 uname -s = `(uname -s) 2>/dev/null || echo unknown`
867 uname -v = `(uname -v) 2>/dev/null || echo unknown`
868
869 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
870 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
871
872 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
873 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
874 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
875 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
876 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
877 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
878 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
879
880 _ASUNAME
881
882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
883 for as_dir in $PATH
884 do
885   IFS=$as_save_IFS
886   test -z "$as_dir" && as_dir=.
887   echo "PATH: $as_dir"
888 done
889
890 } >&5
891
892 cat >&5 <<_ACEOF
893
894
895 ## ----------- ##
896 ## Core tests. ##
897 ## ----------- ##
898
899 _ACEOF
900
901
902 # Keep a trace of the command line.
903 # Strip out --no-create and --no-recursion so they do not pile up.
904 # Also quote any args containing shell meta-characters.
905 ac_configure_args=
906 ac_sep=
907 for ac_arg
908 do
909   case $ac_arg in
910   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
911   | --no-cr | --no-c) continue ;;
912   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
913   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
914     continue ;;
915   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
916     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
917   esac
918   case " $ac_configure_args " in
919     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
920     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
921        ac_sep=" " ;;
922   esac
923   # Get rid of the leading space.
924 done
925
926 # When interrupted or exit'd, cleanup temporary files, and complete
927 # config.log.  We remove comments because anyway the quotes in there
928 # would cause problems or look ugly.
929 # WARNING: Be sure not to use single quotes in there, as some shells,
930 # such as our DU 5.0 friend, will then `close' the trap.
931 trap 'exit_status=$?
932   # Save into config.log some information that might help in debugging.
933   {
934     echo
935     cat <<\_ASBOX
936 ## ---------------- ##
937 ## Cache variables. ##
938 ## ---------------- ##
939 _ASBOX
940     echo
941     # The following way of writing the cache mishandles newlines in values,
942 {
943   (set) 2>&1 |
944     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
945     *ac_space=\ *)
946       sed -n \
947         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
948           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
949       ;;
950     *)
951       sed -n \
952         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
953       ;;
954     esac;
955 }
956     echo
957     if test -s confdefs.h; then
958       cat <<\_ASBOX
959 ## ----------- ##
960 ## confdefs.h. ##
961 ## ----------- ##
962 _ASBOX
963       echo
964       sed "/^$/d" confdefs.h
965       echo
966     fi
967     test "$ac_signal" != 0 &&
968       echo "$as_me: caught signal $ac_signal"
969     echo "$as_me: exit $exit_status"
970   } >&5
971   rm -f core core.* *.core &&
972   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
973     exit $exit_status
974      ' 0
975 for ac_signal in 1 2 13 15; do
976   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
977 done
978 ac_signal=0
979
980 # confdefs.h avoids OS command line length limits that DEFS can exceed.
981 rm -rf conftest* confdefs.h
982 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
983 echo >confdefs.h
984
985 # Predefined preprocessor variables.
986
987 cat >>confdefs.h <<_ACEOF
988 #define PACKAGE_NAME "$PACKAGE_NAME"
989 _ACEOF
990
991
992 cat >>confdefs.h <<_ACEOF
993 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
994 _ACEOF
995
996
997 cat >>confdefs.h <<_ACEOF
998 #define PACKAGE_VERSION "$PACKAGE_VERSION"
999 _ACEOF
1000
1001
1002 cat >>confdefs.h <<_ACEOF
1003 #define PACKAGE_STRING "$PACKAGE_STRING"
1004 _ACEOF
1005
1006
1007 cat >>confdefs.h <<_ACEOF
1008 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1009 _ACEOF
1010
1011
1012 # Let the site file select an alternate cache file if it wants to.
1013 # Prefer explicitly selected file to automatically selected ones.
1014 if test -z "$CONFIG_SITE"; then
1015   if test "x$prefix" != xNONE; then
1016     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1017   else
1018     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1019   fi
1020 fi
1021 for ac_site_file in $CONFIG_SITE; do
1022   if test -r "$ac_site_file"; then
1023     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1024 echo "$as_me: loading site script $ac_site_file" >&6;}
1025     sed 's/^/| /' "$ac_site_file" >&5
1026     . "$ac_site_file"
1027   fi
1028 done
1029
1030 if test -r "$cache_file"; then
1031   # Some versions of bash will fail to source /dev/null (special
1032   # files actually), so we avoid doing that.
1033   if test -f "$cache_file"; then
1034     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1035 echo "$as_me: loading cache $cache_file" >&6;}
1036     case $cache_file in
1037       [\\/]* | ?:[\\/]* ) . $cache_file;;
1038       *)                      . ./$cache_file;;
1039     esac
1040   fi
1041 else
1042   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1043 echo "$as_me: creating cache $cache_file" >&6;}
1044   >$cache_file
1045 fi
1046
1047 # Check that the precious variables saved in the cache have kept the same
1048 # value.
1049 ac_cache_corrupted=false
1050 for ac_var in `(set) 2>&1 |
1051                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1052   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1053   eval ac_new_set=\$ac_env_${ac_var}_set
1054   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1055   eval ac_new_val="\$ac_env_${ac_var}_value"
1056   case $ac_old_set,$ac_new_set in
1057     set,)
1058       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1059 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1060       ac_cache_corrupted=: ;;
1061     ,set)
1062       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1063 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1064       ac_cache_corrupted=: ;;
1065     ,);;
1066     *)
1067       if test "x$ac_old_val" != "x$ac_new_val"; then
1068         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1069 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1070         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1071 echo "$as_me:   former value:  $ac_old_val" >&2;}
1072         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1073 echo "$as_me:   current value: $ac_new_val" >&2;}
1074         ac_cache_corrupted=:
1075       fi;;
1076   esac
1077   # Pass precious variables to config.status.
1078   if test "$ac_new_set" = set; then
1079     case $ac_new_val in
1080     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1081       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1082     *) ac_arg=$ac_var=$ac_new_val ;;
1083     esac
1084     case " $ac_configure_args " in
1085       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1086       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1087     esac
1088   fi
1089 done
1090 if $ac_cache_corrupted; then
1091   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1092 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1093   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1094 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1095    { (exit 1); exit 1; }; }
1096 fi
1097
1098 ac_ext=c
1099 ac_cpp='$CPP $CPPFLAGS'
1100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131 ac_aux_dir=
1132 for ac_dir in lib $srcdir/lib; do
1133   if test -f $ac_dir/install-sh; then
1134     ac_aux_dir=$ac_dir
1135     ac_install_sh="$ac_aux_dir/install-sh -c"
1136     break
1137   elif test -f $ac_dir/install.sh; then
1138     ac_aux_dir=$ac_dir
1139     ac_install_sh="$ac_aux_dir/install.sh -c"
1140     break
1141   elif test -f $ac_dir/shtool; then
1142     ac_aux_dir=$ac_dir
1143     ac_install_sh="$ac_aux_dir/shtool install -c"
1144     break
1145   fi
1146 done
1147 if test -z "$ac_aux_dir"; then
1148   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1149 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1150    { (exit 1); exit 1; }; }
1151 fi
1152 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1153 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1154 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1155
1156
1157 am__api_version="1.5e"
1158 # Find a good install program.  We prefer a C program (faster),
1159 # so one script is as good as another.  But avoid the broken or
1160 # incompatible versions:
1161 # SysV /etc/install, /usr/sbin/install
1162 # SunOS /usr/etc/install
1163 # IRIX /sbin/install
1164 # AIX /bin/install
1165 # AmigaOS /C/install, which installs bootblocks on floppy discs
1166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1169 # ./install, which can be erroneously created by make from ./install.sh.
1170 echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
1171 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1172 if test -z "$INSTALL"; then
1173 if test "${ac_cv_path_install+set}" = set; then
1174   echo $ECHO_N "(cached) $ECHO_C" >&6
1175 else
1176   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1177 for as_dir in $PATH
1178 do
1179   IFS=$as_save_IFS
1180   test -z "$as_dir" && as_dir=.
1181   # Account for people who put trailing slashes in PATH elements.
1182 case $as_dir/ in
1183   ./ | .// | /cC/* | \
1184   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1185   /usr/ucb/* ) ;;
1186   *)
1187     # OSF1 and SCO ODT 3.0 have their own names for install.
1188     # Don't use installbsd from OSF since it installs stuff as root
1189     # by default.
1190     for ac_prog in ginstall scoinst install; do
1191       for ac_exec_ext in '' $ac_executable_extensions; do
1192         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1193           if test $ac_prog = install &&
1194             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1195             # AIX install.  It has an incompatible calling convention.
1196             :
1197           elif test $ac_prog = install &&
1198             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1199             # program-specific install script used by HP pwplus--don't use.
1200             :
1201           else
1202             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1203             break 3
1204           fi
1205         fi
1206       done
1207     done
1208     ;;
1209 esac
1210 done
1211
1212
1213 fi
1214   if test "${ac_cv_path_install+set}" = set; then
1215     INSTALL=$ac_cv_path_install
1216   else
1217     # As a last resort, use the slow shell script.  We don't cache a
1218     # path for INSTALL within a source directory, because that will
1219     # break other packages using the cache if that directory is
1220     # removed, or if the path is relative.
1221     INSTALL=$ac_install_sh
1222   fi
1223 fi
1224 echo "$as_me:$LINENO: result: $INSTALL" >&5
1225 echo "${ECHO_T}$INSTALL" >&6
1226
1227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1228 # It thinks the first close brace ends the variable substitution.
1229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1230
1231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1232
1233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1234
1235 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1236 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1237 # Just in case
1238 sleep 1
1239 echo timestamp > conftest.file
1240 # Do `set' in a subshell so we don't clobber the current shell's
1241 # arguments.  Must try -L first in case configure is actually a
1242 # symlink; some systems play weird games with the mod time of symlinks
1243 # (eg FreeBSD returns the mod time of the symlink's containing
1244 # directory).
1245 if (
1246    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1247    if test "$*" = "X"; then
1248       # -L didn't work.
1249       set X `ls -t $srcdir/configure conftest.file`
1250    fi
1251    rm -f conftest.file
1252    if test "$*" != "X $srcdir/configure conftest.file" \
1253       && test "$*" != "X conftest.file $srcdir/configure"; then
1254
1255       # If neither matched, then we have a broken ls.  This can happen
1256       # if, for instance, CONFIG_SHELL is bash and it inherits a
1257       # broken ls alias from the environment.  This has actually
1258       # happened.  Such a system could not be considered "sane".
1259       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1260 alias in your environment" >&5
1261 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1262 alias in your environment" >&2;}
1263    { (exit 1); exit 1; }; }
1264    fi
1265
1266    test "$2" = conftest.file
1267    )
1268 then
1269    # Ok.
1270    :
1271 else
1272    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1273 Check your system clock" >&5
1274 echo "$as_me: error: newly created file is older than distributed files!
1275 Check your system clock" >&2;}
1276    { (exit 1); exit 1; }; }
1277 fi
1278 echo "$as_me:$LINENO: result: yes" >&5
1279 echo "${ECHO_T}yes" >&6
1280 test "$program_prefix" != NONE &&
1281   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1282 # Use a double $ so make ignores it.
1283 test "$program_suffix" != NONE &&
1284   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1285 # Double any \ or $.  echo might interpret backslashes.
1286 # By default was `s,x,x', remove it if useless.
1287 cat <<\_ACEOF >conftest.sed
1288 s/[\\$]/&&/g;s/;s,x,x,$//
1289 _ACEOF
1290 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1291 rm conftest.sed
1292
1293
1294 # expand $ac_aux_dir to an absolute path
1295 am_aux_dir=`cd $ac_aux_dir && pwd`
1296
1297 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1298 # Use eval to expand $SHELL
1299 if eval "$MISSING --run true"; then
1300   am_missing_run="$MISSING --run "
1301 else
1302   am_missing_run=
1303   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1304 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1305 fi
1306
1307 for ac_prog in gawk mawk nawk awk
1308 do
1309   # Extract the first word of "$ac_prog", so it can be a program name with args.
1310 set dummy $ac_prog; ac_word=$2
1311 echo "$as_me:$LINENO: checking for $ac_word" >&5
1312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1313 if test "${ac_cv_prog_AWK+set}" = set; then
1314   echo $ECHO_N "(cached) $ECHO_C" >&6
1315 else
1316   if test -n "$AWK"; then
1317   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1318 else
1319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1320 for as_dir in $PATH
1321 do
1322   IFS=$as_save_IFS
1323   test -z "$as_dir" && as_dir=.
1324   for ac_exec_ext in '' $ac_executable_extensions; do
1325   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1326     ac_cv_prog_AWK="$ac_prog"
1327     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1328     break 2
1329   fi
1330 done
1331 done
1332
1333 fi
1334 fi
1335 AWK=$ac_cv_prog_AWK
1336 if test -n "$AWK"; then
1337   echo "$as_me:$LINENO: result: $AWK" >&5
1338 echo "${ECHO_T}$AWK" >&6
1339 else
1340   echo "$as_me:$LINENO: result: no" >&5
1341 echo "${ECHO_T}no" >&6
1342 fi
1343
1344   test -n "$AWK" && break
1345 done
1346
1347 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1348 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1350 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1351   echo $ECHO_N "(cached) $ECHO_C" >&6
1352 else
1353   cat >conftest.make <<\_ACEOF
1354 all:
1355         @echo 'ac_maketemp="${MAKE}"'
1356 _ACEOF
1357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1358 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1359 if test -n "$ac_maketemp"; then
1360   eval ac_cv_prog_make_${ac_make}_set=yes
1361 else
1362   eval ac_cv_prog_make_${ac_make}_set=no
1363 fi
1364 rm -f conftest.make
1365 fi
1366 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1367   echo "$as_me:$LINENO: result: yes" >&5
1368 echo "${ECHO_T}yes" >&6
1369   SET_MAKE=
1370 else
1371   echo "$as_me:$LINENO: result: no" >&5
1372 echo "${ECHO_T}no" >&6
1373   SET_MAKE="MAKE=${MAKE-make}"
1374 fi
1375
1376  # test to see if srcdir already configured
1377 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1378    test -f $srcdir/config.status; then
1379   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1380 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1381    { (exit 1); exit 1; }; }
1382 fi
1383
1384 # Define the identity of the package.
1385  PACKAGE=automake
1386  VERSION=1.5e
1387
1388
1389 cat >>confdefs.h <<_ACEOF
1390 #define PACKAGE "$PACKAGE"
1391 _ACEOF
1392
1393
1394 cat >>confdefs.h <<_ACEOF
1395 #define VERSION "$VERSION"
1396 _ACEOF
1397
1398 # Some tools Automake needs.
1399
1400 ACLOCAL=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1401
1402
1403 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1404
1405
1406 AUTOMAKE=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1407
1408
1409 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1410
1411
1412 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1413
1414
1415 AMTAR=${AMTAR-"${am_missing_run}tar"}
1416
1417 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1418
1419 # Installed binaries are usually stripped using `strip' when the user
1420 # run `make install-strip'.  However `strip' might not be the right
1421 # tool to use in cross-compilation environments, therefore Automake
1422 # will honor the `STRIP' environment variable to overrule this program.
1423 if test "$cross_compiling" != no; then
1424   if test -n "$ac_tool_prefix"; then
1425   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1426 set dummy ${ac_tool_prefix}strip; ac_word=$2
1427 echo "$as_me:$LINENO: checking for $ac_word" >&5
1428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1429 if test "${ac_cv_prog_STRIP+set}" = set; then
1430   echo $ECHO_N "(cached) $ECHO_C" >&6
1431 else
1432   if test -n "$STRIP"; then
1433   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1434 else
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 for as_dir in $PATH
1437 do
1438   IFS=$as_save_IFS
1439   test -z "$as_dir" && as_dir=.
1440   for ac_exec_ext in '' $ac_executable_extensions; do
1441   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1442     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1443     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1444     break 2
1445   fi
1446 done
1447 done
1448
1449 fi
1450 fi
1451 STRIP=$ac_cv_prog_STRIP
1452 if test -n "$STRIP"; then
1453   echo "$as_me:$LINENO: result: $STRIP" >&5
1454 echo "${ECHO_T}$STRIP" >&6
1455 else
1456   echo "$as_me:$LINENO: result: no" >&5
1457 echo "${ECHO_T}no" >&6
1458 fi
1459
1460 fi
1461 if test -z "$ac_cv_prog_STRIP"; then
1462   ac_ct_STRIP=$STRIP
1463   # Extract the first word of "strip", so it can be a program name with args.
1464 set dummy strip; ac_word=$2
1465 echo "$as_me:$LINENO: checking for $ac_word" >&5
1466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1468   echo $ECHO_N "(cached) $ECHO_C" >&6
1469 else
1470   if test -n "$ac_ct_STRIP"; then
1471   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1472 else
1473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1474 for as_dir in $PATH
1475 do
1476   IFS=$as_save_IFS
1477   test -z "$as_dir" && as_dir=.
1478   for ac_exec_ext in '' $ac_executable_extensions; do
1479   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1480     ac_cv_prog_ac_ct_STRIP="strip"
1481     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482     break 2
1483   fi
1484 done
1485 done
1486
1487   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1488 fi
1489 fi
1490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1491 if test -n "$ac_ct_STRIP"; then
1492   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1493 echo "${ECHO_T}$ac_ct_STRIP" >&6
1494 else
1495   echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1497 fi
1498
1499   STRIP=$ac_ct_STRIP
1500 else
1501   STRIP="$ac_cv_prog_STRIP"
1502 fi
1503
1504 fi
1505 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1506
1507 # We need awk for the "check" target.  The system "awk" is bad on
1508 # some platforms.
1509
1510
1511
1512
1513 # The API version is the base version.  We must guarantee
1514 # compatibility for all releases with the same API version.
1515 # Our current rule is that:
1516 # * All releases, including the prereleases, in an X.Y series
1517 #   are compatible.  So 1.5.1c is compatible with 1.5.
1518 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1519 #   aren't the same.
1520 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]?\).*$/\1/'`
1521
1522
1523 # A versioned directory, defined here for convenience.
1524 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1525
1526
1527 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1528 # hence `.' is really what we want for perllibdir and libdir.
1529 ACLOCAL="perllibdir=./lib `pwd`/aclocal --acdir=m4 -I `pwd`/m4"
1530 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
1531
1532 # Extract the first word of "perl", so it can be a program name with args.
1533 set dummy perl; ac_word=$2
1534 echo "$as_me:$LINENO: checking for $ac_word" >&5
1535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1536 if test "${ac_cv_path_PERL+set}" = set; then
1537   echo $ECHO_N "(cached) $ECHO_C" >&6
1538 else
1539   case $PERL in
1540   [\\/]* | ?:[\\/]*)
1541   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1542   ;;
1543   *)
1544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1545 for as_dir in $PATH
1546 do
1547   IFS=$as_save_IFS
1548   test -z "$as_dir" && as_dir=.
1549   for ac_exec_ext in '' $ac_executable_extensions; do
1550   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1551     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1552     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1553     break 2
1554   fi
1555 done
1556 done
1557
1558   ;;
1559 esac
1560 fi
1561 PERL=$ac_cv_path_PERL
1562
1563 if test -n "$PERL"; then
1564   echo "$as_me:$LINENO: result: $PERL" >&5
1565 echo "${ECHO_T}$PERL" >&6
1566 else
1567   echo "$as_me:$LINENO: result: no" >&5
1568 echo "${ECHO_T}no" >&6
1569 fi
1570
1571 if test -z "$PERL"; then
1572    { { echo "$as_me:$LINENO: error: perl not found" >&5
1573 echo "$as_me: error: perl not found" >&2;}
1574    { (exit 1); exit 1; }; }
1575 fi
1576 $PERL -e 'require 5.005;' || {
1577    { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1578 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1579    { (exit 1); exit 1; }; }
1580 }
1581
1582 # Test for Autoconf.  We run Autoconf in a subdirectory to ease
1583 # deletion of any files created (such as those added to
1584 # autom4te.cache).
1585 mkdir conftest
1586 echo 'AC''_PREREQ(2.52)' > conftest/conftest.ac
1587 { echo "$as_me:$LINENO: cd conftest && eval $AUTOCONF -o /dev/null conftest.ac" >&5
1588    (cd conftest && eval $AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1589    ac_status=$?
1590    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1591    (exit $ac_status); } || {
1592    { { echo "$as_me:$LINENO: error: Autoconf 2.52 or better is required" >&5
1593 echo "$as_me: error: Autoconf 2.52 or better is required" >&2;}
1594    { (exit 1); exit 1; }; }
1595 }
1596 rm -rf conftest
1597
1598 ac_config_files="$ac_config_files automake"
1599
1600 ac_config_files="$ac_config_files aclocal"
1601
1602
1603 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"
1604
1605
1606 cat >confcache <<\_ACEOF
1607 # This file is a shell script that caches the results of configure
1608 # tests run on this system so they can be shared between configure
1609 # scripts and configure runs, see configure's option --config-cache.
1610 # It is not useful on other systems.  If it contains results you don't
1611 # want to keep, you may remove or edit it.
1612 #
1613 # config.status only pays attention to the cache file if you give it
1614 # the --recheck option to rerun configure.
1615 #
1616 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1618 # following values.
1619
1620 _ACEOF
1621
1622 # The following way of writing the cache mishandles newlines in values,
1623 # but we know of no workaround that is simple, portable, and efficient.
1624 # So, don't put newlines in cache variables' values.
1625 # Ultrix sh set writes to stderr and can't be redirected directly,
1626 # and sets the high bit in the cache file unless we assign to the vars.
1627 {
1628   (set) 2>&1 |
1629     case `(ac_space=' '; set | grep ac_space) 2>&1` in
1630     *ac_space=\ *)
1631       # `set' does not quote correctly, so add quotes (double-quote
1632       # substitution turns \\\\ into \\, and sed turns \\ into \).
1633       sed -n \
1634         "s/'/'\\\\''/g;
1635           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1636       ;;
1637     *)
1638       # `set' quotes correctly as required by POSIX, so do not add quotes.
1639       sed -n \
1640         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1641       ;;
1642     esac;
1643 } |
1644   sed '
1645      t clear
1646      : clear
1647      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1648      t end
1649      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1650      : end' >>confcache
1651 if cmp -s $cache_file confcache; then :; else
1652   if test -w $cache_file; then
1653     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1654     cat confcache >$cache_file
1655   else
1656     echo "not updating unwritable cache $cache_file"
1657   fi
1658 fi
1659 rm -f confcache
1660
1661 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1662 # Let make expand exec_prefix.
1663 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1664
1665 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1666 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1667 # trailing colons and then remove the whole line if VPATH becomes empty
1668 # (actually we leave an empty line to preserve line numbers).
1669 if test "x$srcdir" = x.; then
1670   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1671 s/:*\$(srcdir):*/:/;
1672 s/:*\${srcdir}:*/:/;
1673 s/:*@srcdir@:*/:/;
1674 s/^\([^=]*=[    ]*\):*/\1/;
1675 s/:*$//;
1676 s/^[^=]*=[      ]*$//;
1677 }'
1678 fi
1679
1680 # Transform confdefs.h into DEFS.
1681 # Protect against shell expansion while executing Makefile rules.
1682 # Protect against Makefile macro expansion.
1683 #
1684 # If the first sed substitution is executed (which looks for macros that
1685 # take arguments), then we branch to the quote section.  Otherwise,
1686 # look for a macro that doesn't take arguments.
1687 cat >confdef2opt.sed <<\_ACEOF
1688 t clear
1689 : clear
1690 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1691 t quote
1692 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1693 t quote
1694 d
1695 : quote
1696 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
1697 s,\[,\\&,g
1698 s,\],\\&,g
1699 s,\$,$$,g
1700 p
1701 _ACEOF
1702 # We use echo to avoid assuming a particular line-breaking character.
1703 # The extra dot is to prevent the shell from consuming trailing
1704 # line-breaks from the sub-command output.  A line-break within
1705 # single-quotes doesn't work because, if this script is created in a
1706 # platform that uses two characters for line-breaks (e.g., DOS), tr
1707 # would break.
1708 ac_LF_and_DOT=`echo; echo .`
1709 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1710 rm -f confdef2opt.sed
1711
1712
1713
1714 : ${CONFIG_STATUS=./config.status}
1715 ac_clean_files_save=$ac_clean_files
1716 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1717 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1718 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1719 cat >$CONFIG_STATUS <<_ACEOF
1720 #! $SHELL
1721 # Generated by $as_me.
1722 # Run this file to recreate the current configuration.
1723 # Compiler output produced by configure, useful for debugging
1724 # configure, is in config.log if it exists.
1725
1726 debug=false
1727 SHELL=\${CONFIG_SHELL-$SHELL}
1728 _ACEOF
1729
1730 cat >>$CONFIG_STATUS <<\_ACEOF
1731
1732 ## --------------------- ##
1733 ## M4sh Initialization.  ##
1734 ## --------------------- ##
1735
1736 # Be Bourne compatible
1737 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1738   emulate sh
1739   NULLCMD=:
1740 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1741   set -o posix
1742 fi
1743
1744 # NLS nuisances.
1745 # Support unset when possible.
1746 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1747   as_unset=unset
1748 else
1749   as_unset=false
1750 fi
1751
1752 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1753     { $as_unset LANG || test "${LANG+set}" != set; } ||
1754       { LANG=C; export LANG; }
1755 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1756     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1757       { LC_ALL=C; export LC_ALL; }
1758 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1759     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1760       { LC_TIME=C; export LC_TIME; }
1761 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1762     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1763       { LC_CTYPE=C; export LC_CTYPE; }
1764 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1765     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1766       { LANGUAGE=C; export LANGUAGE; }
1767 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1768     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1769       { LC_COLLATE=C; export LC_COLLATE; }
1770 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1771     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1772       { LC_NUMERIC=C; export LC_NUMERIC; }
1773 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1774     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1775       { LC_MESSAGES=C; export LC_MESSAGES; }
1776
1777
1778 # Name of the executable.
1779 as_me=`(basename "$0") 2>/dev/null ||
1780 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1781          X"$0" : 'X\(//\)$' \| \
1782          X"$0" : 'X\(/\)$' \| \
1783          .     : '\(.\)' 2>/dev/null ||
1784 echo X/"$0" |
1785     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1786           /^X\/\(\/\/\)$/{ s//\1/; q; }
1787           /^X\/\(\/\).*/{ s//\1/; q; }
1788           s/.*/./; q'`
1789
1790 # PATH needs CR, and LINENO needs CR and PATH.
1791 # Avoid depending upon Character Ranges.
1792 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1793 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1794 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1795 as_cr_digits='0123456789'
1796 as_cr_alnum=$as_cr_Letters$as_cr_digits
1797
1798 # The user is always right.
1799 if test "${PATH_SEPARATOR+set}" != set; then
1800   echo "#! $SHELL" >conftest.sh
1801   echo  "exit 0"   >>conftest.sh
1802   chmod +x conftest.sh
1803   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1804     PATH_SEPARATOR=';'
1805   else
1806     PATH_SEPARATOR=:
1807   fi
1808   rm -f conftest.sh
1809 fi
1810
1811
1812   as_lineno_1=$LINENO
1813   as_lineno_2=$LINENO
1814   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1815   test "x$as_lineno_1" != "x$as_lineno_2" &&
1816   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1817   # Find who we are.  Look in the path if we contain no path at all
1818   # relative or not.
1819   case $0 in
1820     *[\\/]* ) as_myself=$0 ;;
1821     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 for as_dir in $PATH
1823 do
1824   IFS=$as_save_IFS
1825   test -z "$as_dir" && as_dir=.
1826   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1827 done
1828
1829        ;;
1830   esac
1831   # We did not find ourselves, most probably we were run as `sh COMMAND'
1832   # in which case we are not to be found in the path.
1833   if test "x$as_myself" = x; then
1834     as_myself=$0
1835   fi
1836   if test ! -f "$as_myself"; then
1837     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1838 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1839    { (exit 1); exit 1; }; }
1840   fi
1841   case $CONFIG_SHELL in
1842   '')
1843     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 for as_dir in /bin:/usr/bin:$PATH
1845 do
1846   IFS=$as_save_IFS
1847   test -z "$as_dir" && as_dir=.
1848   for as_base in sh bash ksh sh5; do
1849          case $as_dir in
1850          /*)
1851            if ("$as_dir/$as_base" -c '
1852   as_lineno_1=$LINENO
1853   as_lineno_2=$LINENO
1854   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1855   test "x$as_lineno_1" != "x$as_lineno_2" &&
1856   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1857              CONFIG_SHELL=$as_dir/$as_base
1858              export CONFIG_SHELL
1859              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1860            fi;;
1861          esac
1862        done
1863 done
1864 ;;
1865   esac
1866
1867   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1868   # uniformly replaced by the line number.  The first 'sed' inserts a
1869   # line-number line before each line; the second 'sed' does the real
1870   # work.  The second script uses 'N' to pair each line-number line
1871   # with the numbered line, and appends trailing '-' during
1872   # substitution so that $LINENO is not a special case at line end.
1873   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1874   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1875   sed '=' <$as_myself |
1876     sed '
1877       N
1878       s,$,-,
1879       : loop
1880       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1881       t loop
1882       s,-$,,
1883       s,^['$as_cr_digits']*\n,,
1884     ' >$as_me.lineno &&
1885   chmod +x $as_me.lineno ||
1886     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1887 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1888    { (exit 1); exit 1; }; }
1889
1890   # Don't try to exec as it changes $[0], causing all sort of problems
1891   # (the dirname of $[0] is not the place where we might find the
1892   # original and so on.  Autoconf is especially sensible to this).
1893   . ./$as_me.lineno
1894   # Exit status is that of the last command.
1895   exit
1896 }
1897
1898
1899 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1900   *c*,-n*) ECHO_N= ECHO_C='
1901 ' ECHO_T='      ' ;;
1902   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1903   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1904 esac
1905
1906 if expr a : '\(a\)' >/dev/null 2>&1; then
1907   as_expr=expr
1908 else
1909   as_expr=false
1910 fi
1911
1912 rm -f conf$$ conf$$.exe conf$$.file
1913 echo >conf$$.file
1914 if ln -s conf$$.file conf$$ 2>/dev/null; then
1915   # We could just check for DJGPP; but this test a) works b) is more generic
1916   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1917   if test -f conf$$.exe; then
1918     # Don't use ln at all; we don't have any links
1919     as_ln_s='cp -p'
1920   else
1921     as_ln_s='ln -s'
1922   fi
1923 elif ln conf$$.file conf$$ 2>/dev/null; then
1924   as_ln_s=ln
1925 else
1926   as_ln_s='cp -p'
1927 fi
1928 rm -f conf$$ conf$$.exe conf$$.file
1929
1930 as_executable_p="test -f"
1931
1932 # Sed expression to map a string onto a valid CPP name.
1933 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1934
1935 # Sed expression to map a string onto a valid variable name.
1936 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1937
1938
1939 # IFS
1940 # We need space, tab and new line, in precisely that order.
1941 as_nl='
1942 '
1943 IFS="   $as_nl"
1944
1945 # CDPATH.
1946 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1947
1948 exec 6>&1
1949
1950 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1951 # report actual input values of CONFIG_FILES etc. instead of their
1952 # values after options handling.  Logging --version etc. is OK.
1953 exec 5>>config.log
1954 {
1955   echo
1956   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1957 ## Running $as_me. ##
1958 _ASBOX
1959 } >&5
1960 cat >&5 <<_CSEOF
1961
1962 This file was extended by GNU Automake $as_me 1.5e, which was
1963 generated by GNU Autoconf 2.52g.  Invocation command line was
1964
1965   CONFIG_FILES    = $CONFIG_FILES
1966   CONFIG_HEADERS  = $CONFIG_HEADERS
1967   CONFIG_LINKS    = $CONFIG_LINKS
1968   CONFIG_COMMANDS = $CONFIG_COMMANDS
1969   $ $0 $@
1970
1971 _CSEOF
1972 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1973 echo >&5
1974 _ACEOF
1975
1976 # Files that config.status was made for.
1977 if test -n "$ac_config_files"; then
1978   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1979 fi
1980
1981 if test -n "$ac_config_headers"; then
1982   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1983 fi
1984
1985 if test -n "$ac_config_links"; then
1986   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1987 fi
1988
1989 if test -n "$ac_config_commands"; then
1990   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1991 fi
1992
1993 cat >>$CONFIG_STATUS <<\_ACEOF
1994
1995 ac_cs_usage="\
1996 \`$as_me' instantiates files from templates according to the
1997 current configuration.
1998
1999 Usage: $0 [OPTIONS] [FILE]...
2000
2001   -h, --help       print this help, then exit
2002   -V, --version    print version number, then exit
2003   -d, --debug      don't remove temporary files
2004       --recheck    update $as_me by reconfiguring in the same conditions
2005   --file=FILE[:TEMPLATE]
2006                    instantiate the configuration file FILE
2007
2008 Configuration files:
2009 $config_files
2010
2011 Report bugs to <bug-autoconf@gnu.org>."
2012 _ACEOF
2013
2014 cat >>$CONFIG_STATUS <<_ACEOF
2015 ac_cs_version="\\
2016 GNU Automake config.status 1.5e
2017 configured by $0, generated by GNU Autoconf 2.52g,
2018   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2019
2020 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2021 Free Software Foundation, Inc.
2022 This config.status script is free software; the Free Software Foundation
2023 gives unlimited permission to copy, distribute and modify it."
2024 srcdir=$srcdir
2025 INSTALL="$INSTALL"
2026 _ACEOF
2027
2028 cat >>$CONFIG_STATUS <<\_ACEOF
2029 # If no file are specified by the user, then we need to provide default
2030 # value.  By we need to know if files were specified by the user.
2031 ac_need_defaults=:
2032 while test $# != 0
2033 do
2034   case $1 in
2035   --*=*)
2036     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2037     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2038     shift
2039     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2040     shift
2041     ;;
2042   -*);;
2043   *) # This is not an option, so the user has probably given explicit
2044      # arguments.
2045      ac_need_defaults=false;;
2046   esac
2047
2048   case $1 in
2049   # Handling of the options.
2050 _ACEOF
2051 cat >>$CONFIG_STATUS <<_ACEOF
2052   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2053     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2054     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2055 _ACEOF
2056 cat >>$CONFIG_STATUS <<\_ACEOF
2057   --version | --vers* | -V )
2058     echo "$ac_cs_version"; exit 0 ;;
2059   --he | --h)
2060     # Conflict between --help and --header
2061     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2062 Try \`$0 --help' for more information." >&5
2063 echo "$as_me: error: ambiguous option: $1
2064 Try \`$0 --help' for more information." >&2;}
2065    { (exit 1); exit 1; }; };;
2066   --help | --hel | -h )
2067     echo "$ac_cs_usage"; exit 0 ;;
2068   --debug | --d* | -d )
2069     debug=: ;;
2070   --file | --fil | --fi | --f )
2071     shift
2072     CONFIG_FILES="$CONFIG_FILES $1"
2073     ac_need_defaults=false;;
2074   --header | --heade | --head | --hea )
2075     shift
2076     CONFIG_HEADERS="$CONFIG_HEADERS $1"
2077     ac_need_defaults=false;;
2078
2079   # This is an error.
2080   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2081 Try \`$0 --help' for more information." >&5
2082 echo "$as_me: error: unrecognized option: $1
2083 Try \`$0 --help' for more information." >&2;}
2084    { (exit 1); exit 1; }; } ;;
2085
2086   *) ac_config_targets="$ac_config_targets $1" ;;
2087
2088   esac
2089   shift
2090 done
2091
2092 _ACEOF
2093
2094
2095
2096
2097
2098 cat >>$CONFIG_STATUS <<\_ACEOF
2099 for ac_config_target in $ac_config_targets
2100 do
2101   case "$ac_config_target" in
2102   # Handling of arguments.
2103   "automake" ) CONFIG_FILES="$CONFIG_FILES automake" ;;
2104   "aclocal" ) CONFIG_FILES="$CONFIG_FILES aclocal" ;;
2105   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2106   "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2107   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2108   "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2109   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2110   "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2111   "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2112   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2113 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2114    { (exit 1); exit 1; }; };;
2115   esac
2116 done
2117
2118 # If the user did not use the arguments to specify the items to instantiate,
2119 # then the envvar interface is used.  Set only those that are not.
2120 # We use the long form for the default assignment because of an extremely
2121 # bizarre bug on SunOS 4.1.3.
2122 if $ac_need_defaults; then
2123   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2124 fi
2125
2126 # Create a temporary directory, and hook for its removal unless debugging.
2127 $debug ||
2128 {
2129   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2130   trap '{ (exit 1); exit 1; }' 1 2 13 15
2131 }
2132
2133 # Create a (secure) tmp directory for tmp files.
2134 : ${TMPDIR=/tmp}
2135 {
2136   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2137   test -n "$tmp" && test -d "$tmp"
2138 }  ||
2139 {
2140   tmp=$TMPDIR/cs$$-$RANDOM
2141   (umask 077 && mkdir $tmp)
2142 } ||
2143 {
2144    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2145    { (exit 1); exit 1; }
2146 }
2147
2148 _ACEOF
2149
2150 cat >>$CONFIG_STATUS <<_ACEOF
2151
2152 #
2153 # CONFIG_FILES section.
2154 #
2155
2156 # No need to generate the scripts if there are no CONFIG_FILES.
2157 # This happens for instance when ./config.status config.h
2158 if test -n "\$CONFIG_FILES"; then
2159   # Protect against being on the right side of a sed subst in config.status.
2160   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2161    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2162 s,@SHELL@,$SHELL,;t t
2163 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2164 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2165 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2166 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2167 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2168 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2169 s,@exec_prefix@,$exec_prefix,;t t
2170 s,@prefix@,$prefix,;t t
2171 s,@program_transform_name@,$program_transform_name,;t t
2172 s,@bindir@,$bindir,;t t
2173 s,@sbindir@,$sbindir,;t t
2174 s,@libexecdir@,$libexecdir,;t t
2175 s,@datadir@,$datadir,;t t
2176 s,@sysconfdir@,$sysconfdir,;t t
2177 s,@sharedstatedir@,$sharedstatedir,;t t
2178 s,@localstatedir@,$localstatedir,;t t
2179 s,@libdir@,$libdir,;t t
2180 s,@includedir@,$includedir,;t t
2181 s,@oldincludedir@,$oldincludedir,;t t
2182 s,@infodir@,$infodir,;t t
2183 s,@mandir@,$mandir,;t t
2184 s,@build_alias@,$build_alias,;t t
2185 s,@host_alias@,$host_alias,;t t
2186 s,@target_alias@,$target_alias,;t t
2187 s,@DEFS@,$DEFS,;t t
2188 s,@ECHO_C@,$ECHO_C,;t t
2189 s,@ECHO_N@,$ECHO_N,;t t
2190 s,@ECHO_T@,$ECHO_T,;t t
2191 s,@LIBS@,$LIBS,;t t
2192 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2193 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2194 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2195 s,@PACKAGE@,$PACKAGE,;t t
2196 s,@VERSION@,$VERSION,;t t
2197 s,@ACLOCAL@,$ACLOCAL,;t t
2198 s,@AUTOCONF@,$AUTOCONF,;t t
2199 s,@AUTOMAKE@,$AUTOMAKE,;t t
2200 s,@AUTOHEADER@,$AUTOHEADER,;t t
2201 s,@MAKEINFO@,$MAKEINFO,;t t
2202 s,@AMTAR@,$AMTAR,;t t
2203 s,@install_sh@,$install_sh,;t t
2204 s,@STRIP@,$STRIP,;t t
2205 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2206 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2207 s,@AWK@,$AWK,;t t
2208 s,@SET_MAKE@,$SET_MAKE,;t t
2209 s,@APIVERSION@,$APIVERSION,;t t
2210 s,@pkgvdatadir@,$pkgvdatadir,;t t
2211 s,@PERL@,$PERL,;t t
2212 CEOF
2213
2214 _ACEOF
2215
2216   cat >>$CONFIG_STATUS <<\_ACEOF
2217   # Split the substitutions into bite-sized pieces for seds with
2218   # small command number limits, like on Digital OSF/1 and HP-UX.
2219   ac_max_sed_lines=48
2220   ac_sed_frag=1 # Number of current file.
2221   ac_beg=1 # First line for current file.
2222   ac_end=$ac_max_sed_lines # Line after last line for current file.
2223   ac_more_lines=:
2224   ac_sed_cmds=
2225   while $ac_more_lines; do
2226     if test $ac_beg -gt 1; then
2227       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2228     else
2229       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2230     fi
2231     if test ! -s $tmp/subs.frag; then
2232       ac_more_lines=false
2233     else
2234       # The purpose of the label and of the branching condition is to
2235       # speed up the sed processing (if there are no `@' at all, there
2236       # is no need to browse any of the substitutions).
2237       # These are the two extra sed commands mentioned above.
2238       (echo ':t
2239   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2240       if test -z "$ac_sed_cmds"; then
2241         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2242       else
2243         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2244       fi
2245       ac_sed_frag=`expr $ac_sed_frag + 1`
2246       ac_beg=$ac_end
2247       ac_end=`expr $ac_end + $ac_max_sed_lines`
2248     fi
2249   done
2250   if test -z "$ac_sed_cmds"; then
2251     ac_sed_cmds=cat
2252   fi
2253 fi # test -n "$CONFIG_FILES"
2254
2255 _ACEOF
2256 cat >>$CONFIG_STATUS <<\_ACEOF
2257 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2258   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2259   case $ac_file in
2260   - | *:- | *:-:* ) # input from stdin
2261         cat >$tmp/stdin
2262         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2263         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2264   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2265         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2266   * )   ac_file_in=$ac_file.in ;;
2267   esac
2268
2269   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2270   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2272          X"$ac_file" : 'X\(//\)[^/]' \| \
2273          X"$ac_file" : 'X\(//\)$' \| \
2274          X"$ac_file" : 'X\(/\)' \| \
2275          .     : '\(.\)' 2>/dev/null ||
2276 echo X"$ac_file" |
2277     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2278           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2279           /^X\(\/\/\)$/{ s//\1/; q; }
2280           /^X\(\/\).*/{ s//\1/; q; }
2281           s/.*/./; q'`
2282   { case "$ac_dir" in
2283   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2284   *)                      as_incr_dir=.;;
2285 esac
2286 as_dummy="$ac_dir"
2287 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2288   case $as_mkdir_dir in
2289     # Skip DOS drivespec
2290     ?:) as_incr_dir=$as_mkdir_dir ;;
2291     *)
2292       as_incr_dir=$as_incr_dir/$as_mkdir_dir
2293       test -d "$as_incr_dir" ||
2294         mkdir "$as_incr_dir" ||
2295         { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2296 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2297    { (exit 1); exit 1; }; }
2298     ;;
2299   esac
2300 done; }
2301
2302   ac_builddir=.
2303
2304 if test "$ac_dir" != .; then
2305   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2306   # A "../" for each directory in $ac_dir_suffix.
2307   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2308 else
2309   ac_dir_suffix= ac_top_builddir=
2310 fi
2311
2312 case $srcdir in
2313   .)  # No --srcdir option.  We are building in place.
2314     ac_srcdir=.
2315     if test -z "$ac_top_builddir"; then
2316        ac_top_srcdir=.
2317     else
2318        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2319     fi ;;
2320   [\\/]* | ?:[\\/]* )  # Absolute path.
2321     ac_srcdir=$srcdir$ac_dir_suffix;
2322     ac_top_srcdir=$srcdir ;;
2323   *) # Relative path.
2324     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2325     ac_top_srcdir=$ac_top_builddir$srcdir ;;
2326 esac
2327 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2328 # absolute.
2329 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2330 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2331 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2332 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2333
2334
2335   case $INSTALL in
2336   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2337   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2338   esac
2339
2340   if test x"$ac_file" != x-; then
2341     { echo "$as_me:$LINENO: creating $ac_file" >&5
2342 echo "$as_me: creating $ac_file" >&6;}
2343     rm -f "$ac_file"
2344   fi
2345   # Let's still pretend it is `configure' which instantiates (i.e., don't
2346   # use $as_me), people would be surprised to read:
2347   #    /* config.h.  Generated by config.status.  */
2348   if test x"$ac_file" = x-; then
2349     configure_input=
2350   else
2351     configure_input="$ac_file.  "
2352   fi
2353   configure_input=$configure_input"Generated from `echo $ac_file_in |
2354                                      sed 's,.*/,,'` by configure."
2355
2356   # First look for the input files in the build tree, otherwise in the
2357   # src tree.
2358   ac_file_inputs=`IFS=:
2359     for f in $ac_file_in; do
2360       case $f in
2361       -) echo $tmp/stdin ;;
2362       [\\/$]*)
2363          # Absolute (can't be DOS-style, as IFS=:)
2364          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2365 echo "$as_me: error: cannot find input file: $f" >&2;}
2366    { (exit 1); exit 1; }; }
2367          echo $f;;
2368       *) # Relative
2369          if test -f "$f"; then
2370            # Build tree
2371            echo $f
2372          elif test -f "$srcdir/$f"; then
2373            # Source tree
2374            echo $srcdir/$f
2375          else
2376            # /dev/null tree
2377            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2378 echo "$as_me: error: cannot find input file: $f" >&2;}
2379    { (exit 1); exit 1; }; }
2380          fi;;
2381       esac
2382     done` || { (exit 1); exit 1; }
2383 _ACEOF
2384 cat >>$CONFIG_STATUS <<_ACEOF
2385   sed "$ac_vpsub
2386 $extrasub
2387 _ACEOF
2388 cat >>$CONFIG_STATUS <<\_ACEOF
2389 :t
2390 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2391 s,@configure_input@,$configure_input,;t t
2392 s,@srcdir@,$ac_srcdir,;t t
2393 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2394 s,@top_srcdir@,$ac_top_srcdir,;t t
2395 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2396 s,@builddir@,$ac_builddir,;t t
2397 s,@abs_builddir@,$ac_abs_builddir,;t t
2398 s,@top_builddir@,$ac_top_builddir,;t t
2399 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2400 s,@INSTALL@,$ac_INSTALL,;t t
2401 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2402   rm -f $tmp/stdin
2403   if test x"$ac_file" != x-; then
2404     mv $tmp/out $ac_file
2405   else
2406     cat $tmp/out
2407     rm -f $tmp/out
2408   fi
2409
2410   # Run the commands associated with the file.
2411   case $ac_file in
2412     automake ) chmod +x automake ;;
2413     aclocal ) chmod +x aclocal ;;
2414   esac
2415 done
2416 _ACEOF
2417
2418 cat >>$CONFIG_STATUS <<\_ACEOF
2419
2420 { (exit 0); exit 0; }
2421 _ACEOF
2422 chmod +x $CONFIG_STATUS
2423 ac_clean_files=$ac_clean_files_save
2424
2425
2426 # configure is writing to config.log, and then calls config.status.
2427 # config.status does its own redirection, appending to config.log.
2428 # Unfortunately, on DOS this fails, as config.log is still kept open
2429 # by configure, so config.status won't be able to write to it; its
2430 # output is simply discarded.  So we exec the FD to /dev/null,
2431 # effectively closing config.log, so it can be properly (re)opened and
2432 # appended to by config.status.  When coming back to configure, we
2433 # need to make the FD available again.
2434 if test "$no_create" != yes; then
2435   ac_cs_success=:
2436   exec 5>/dev/null
2437   $SHELL $CONFIG_STATUS || ac_cs_success=false
2438   exec 5>>config.log
2439   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2440   # would make configure fail if this is the last instruction.
2441   $ac_cs_success || { (exit 1); exit 1; }
2442 fi
2443