source: vendor/automake/1.8.5/configure@ 3590

Last change on this file since 3590 was 3118, checked in by bird, 18 years ago

automake 1.8.5

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