* configure.ac, NEWS: Bump version to 1.9.3.
[automake.git] / configure
blob0ef46c7675f07c4ce14da8ecf007ab6b7d43ee82
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Automake 1.9.3.
5 # Report bugs to <bug-automake@gnu.org>.
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 ## --------------------- ##
14 # Be Bourne compatible
15 if 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+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for 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
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
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if 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=:
98 rm -f conf$$.sh
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
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
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
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; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
154 done
156 esac
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 '
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; }; }
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
189 case `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= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if 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'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251 exec 6>&1
254 # Initializations.
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
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}
269 # Identity of this package.
270 PACKAGE_NAME='GNU Automake'
271 PACKAGE_TARNAME='automake'
272 PACKAGE_VERSION='1.9.3'
273 PACKAGE_STRING='GNU Automake 1.9.3'
274 PACKAGE_BUGREPORT='bug-automake@gnu.org'
276 ac_unique_file="automake.in"
277 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os am_AUTOCONF INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar APIVERSION pkgvdatadir PERL TEX LN MODIFICATION_DELAY EGREP FGREP LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
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.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
318 ac_prev=
319 for ac_option
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
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
332 case $ac_option in
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 ac_prev=bindir ;;
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 bindir=$ac_optarg ;;
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
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 ;;
351 --config-cache | -C)
352 cache_file=config.cache ;;
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 ;;
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" ;;
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'" ;;
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 ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
393 with_gas=yes ;;
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 ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
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 ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 ac_prev=infodir ;;
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
420 ac_prev=libdir ;;
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 libdir=$ac_optarg ;;
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 ;;
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 ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 ac_prev=mandir ;;
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 mandir=$ac_optarg ;;
445 -nfp | --nfp | --nf)
446 # Obsolete; use --without-fp.
447 with_fp=no ;;
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
451 no_create=yes ;;
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 ;;
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 ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 ac_prev=prefix ;;
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
504 silent=yes ;;
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 ;;
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 ;;
523 -site | --site | --sit)
524 ac_prev=site ;;
525 -site=* | --site=* | --sit=*)
526 site=$ac_optarg ;;
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 ac_prev=srcdir ;;
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 srcdir=$ac_optarg ;;
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 ;;
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 ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 verbose=yes ;;
548 -version | --version | --versio | --versi | --vers | -V)
549 ac_init_version=: ;;
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'" ;;
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" ;;
573 --x)
574 # Obsolete; use --with-x.
575 with_x=yes ;;
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 ;;
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 ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
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 ;;
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}
614 esac
615 done
617 if 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; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
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
632 done
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
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
644 done
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.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
653 # FIXME: To remove some day.
654 if 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
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if 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 ||
680 echo 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=..
690 else
691 ac_srcdir_defaulted=no
693 if 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; }; }
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; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
720 # Report the --help message.
722 if 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.9.3 to adapt to many kinds of systems.
728 Usage: $0 [OPTION]... [VAR=VALUE]...
730 To assign environment variables (e.g., CC, CFLAGS...), specify them as
731 VAR=VALUE. See below for descriptions of some of the useful variables.
733 Defaults for the options are specified in brackets.
735 Configuration:
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 \`..']
746 _ACEOF
748 cat <<_ACEOF
749 Installation 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]
755 By default, \`make install' will install all the files in
756 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758 for instance \`--prefix=\$HOME'.
760 For better control, use the options below.
762 Fine 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
777 cat <<\_ACEOF
779 Program 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
784 System types:
785 --build=BUILD configure for building on BUILD [guessed]
786 _ACEOF
789 if test -n "$ac_init_help"; then
790 case $ac_init_help in
791 short | recursive ) echo "Configuration of GNU Automake 1.9.3:";;
792 esac
793 cat <<\_ACEOF
795 Report bugs to <bug-automake@gnu.org>.
796 _ACEOF
799 if test "$ac_init_help" = "recursive"; then
800 # If there are subdirs, report their specific --help.
801 ac_popdir=`pwd`
802 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
803 test -d $ac_dir || continue
804 ac_builddir=.
806 if test "$ac_dir" != .; then
807 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
808 # A "../" for each directory in $ac_dir_suffix.
809 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
810 else
811 ac_dir_suffix= ac_top_builddir=
814 case $srcdir in
815 .) # No --srcdir option. We are building in place.
816 ac_srcdir=.
817 if test -z "$ac_top_builddir"; then
818 ac_top_srcdir=.
819 else
820 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
821 fi ;;
822 [\\/]* | ?:[\\/]* ) # Absolute path.
823 ac_srcdir=$srcdir$ac_dir_suffix;
824 ac_top_srcdir=$srcdir ;;
825 *) # Relative path.
826 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
827 ac_top_srcdir=$ac_top_builddir$srcdir ;;
828 esac
830 # Do not use `cd foo && pwd` to compute absolute paths, because
831 # the directories may not exist.
832 case `pwd` in
833 .) ac_abs_builddir="$ac_dir";;
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;;
840 esac
841 case $ac_abs_builddir in
842 .) ac_abs_top_builddir=${ac_top_builddir}.;;
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;;
849 esac
850 case $ac_abs_builddir in
851 .) ac_abs_srcdir=$ac_srcdir;;
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;;
858 esac
859 case $ac_abs_builddir in
860 .) ac_abs_top_srcdir=$ac_top_srcdir;;
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;;
867 esac
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
884 cd "$ac_popdir"
885 done
888 test -n "$ac_init_help" && exit 0
889 if $ac_init_version; then
890 cat <<\_ACEOF
891 GNU Automake configure 1.9.3
892 generated by GNU Autoconf 2.59
894 Copyright (C) 2003 Free Software Foundation, Inc.
895 This configure script is free software; the Free Software Foundation
896 gives unlimited permission to copy, distribute and modify it.
897 _ACEOF
898 exit 0
900 exec 5>config.log
901 cat >&5 <<_ACEOF
902 This file contains any messages produced by compilers while
903 running configure, to aid debugging if configure makes a mistake.
905 It was created by GNU Automake $as_me 1.9.3, which was
906 generated by GNU Autoconf 2.59. Invocation command line was
908 $ $0 $@
910 _ACEOF
912 cat <<_ASUNAME
913 ## --------- ##
914 ## Platform. ##
915 ## --------- ##
917 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
918 uname -m = `(uname -m) 2>/dev/null || echo unknown`
919 uname -r = `(uname -r) 2>/dev/null || echo unknown`
920 uname -s = `(uname -s) 2>/dev/null || echo unknown`
921 uname -v = `(uname -v) 2>/dev/null || echo unknown`
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`
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`
929 hostinfo = `(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`
934 _ASUNAME
936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
937 for as_dir in $PATH
939 IFS=$as_save_IFS
940 test -z "$as_dir" && as_dir=.
941 echo "PATH: $as_dir"
942 done
944 } >&5
946 cat >&5 <<_ACEOF
949 ## ----------- ##
950 ## Core tests. ##
951 ## ----------- ##
953 _ACEOF
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.
961 ac_configure_args=
962 ac_configure_args0=
963 ac_configure_args1=
964 ac_sep=
965 ac_must_keep_next=false
966 for ac_pass in 1 2
968 for ac_arg
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'" ;;
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
994 -* ) ac_must_keep_next=true ;;
995 esac
997 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
998 # Get rid of the leading space.
999 ac_sep=" "
1001 esac
1002 done
1003 done
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; }
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.
1012 trap 'exit_status=$?
1013 # Save into config.log some information that might help in debugging.
1015 echo
1017 cat <<\_ASBOX
1018 ## ---------------- ##
1019 ## Cache variables. ##
1020 ## ---------------- ##
1021 _ASBOX
1022 echo
1023 # The following way of writing the cache mishandles newlines in values,
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"
1033 sed -n \
1034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1036 esac;
1038 echo
1040 cat <<\_ASBOX
1041 ## ----------------- ##
1042 ## Output variables. ##
1043 ## ----------------- ##
1044 _ASBOX
1045 echo
1046 for ac_var in $ac_subst_vars
1048 eval ac_val=$`echo $ac_var`
1049 echo "$ac_var='"'"'$ac_val'"'"'"
1050 done | sort
1051 echo
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
1062 eval ac_val=$`echo $ac_var`
1063 echo "$ac_var='"'"'$ac_val'"'"'"
1064 done | sort
1065 echo
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
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
1086 for ac_signal in 1 2 13 15; do
1087 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1088 done
1089 ac_signal=0
1091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1092 rm -rf conftest* confdefs.h
1093 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1094 echo >confdefs.h
1096 # Predefined preprocessor variables.
1098 cat >>confdefs.h <<_ACEOF
1099 #define PACKAGE_NAME "$PACKAGE_NAME"
1100 _ACEOF
1103 cat >>confdefs.h <<_ACEOF
1104 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1105 _ACEOF
1108 cat >>confdefs.h <<_ACEOF
1109 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1110 _ACEOF
1113 cat >>confdefs.h <<_ACEOF
1114 #define PACKAGE_STRING "$PACKAGE_STRING"
1115 _ACEOF
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1120 _ACEOF
1123 # Let the site file select an alternate cache file if it wants to.
1124 # Prefer explicitly selected file to automatically selected ones.
1125 if 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"
1132 for 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
1135 echo "$as_me: loading site script $ac_site_file" >&6;}
1136 sed 's/^/| /' "$ac_site_file" >&5
1137 . "$ac_site_file"
1139 done
1141 if 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
1146 echo "$as_me: loading cache $cache_file" >&6;}
1147 case $cache_file in
1148 [\\/]* | ?:[\\/]* ) . $cache_file;;
1149 *) . ./$cache_file;;
1150 esac
1152 else
1153 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1154 echo "$as_me: creating cache $cache_file" >&6;}
1155 >$cache_file
1158 # Check that the precious variables saved in the cache have kept the same
1159 # value.
1160 ac_cache_corrupted=false
1161 for 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
1170 echo "$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
1174 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1175 ac_cache_corrupted=: ;;
1176 ,);;
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
1180 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1181 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1182 echo "$as_me: former value: $ac_old_val" >&2;}
1183 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1184 echo "$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
1200 done
1201 if $ac_cache_corrupted; then
1202 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1203 echo "$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
1205 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1206 { (exit 1); exit 1; }; }
1209 ac_ext=c
1210 ac_cpp='$CPP $CPPFLAGS'
1211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1243 ac_aux_dir=
1244 for 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
1258 done
1259 if test -z "$ac_aux_dir"; then
1260 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1261 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1262 { (exit 1); exit 1; }; }
1264 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1265 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1266 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
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
1272 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1273 { (exit 1); exit 1; }; }
1275 echo "$as_me:$LINENO: checking build system type" >&5
1276 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1277 if test "${ac_cv_build+set}" = set; then
1278 echo $ECHO_N "(cached) $ECHO_C" >&6
1279 else
1280 ac_cv_build_alias=$build_alias
1281 test -z "$ac_cv_build_alias" &&
1282 ac_cv_build_alias=`$ac_config_guess`
1283 test -z "$ac_cv_build_alias" &&
1284 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1285 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1286 { (exit 1); exit 1; }; }
1287 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1288 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1289 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1290 { (exit 1); exit 1; }; }
1293 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1294 echo "${ECHO_T}$ac_cv_build" >&6
1295 build=$ac_cv_build
1296 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1297 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1298 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1302 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1303 # way we can run Autoconf tests from configure (or from the test
1304 # suite) without being bothered by `missing'.
1305 am_AUTOCONF="${AUTOCONF-autoconf}"
1308 am__api_version="1.9"
1309 # Find a good install program. We prefer a C program (faster),
1310 # so one script is as good as another. But avoid the broken or
1311 # incompatible versions:
1312 # SysV /etc/install, /usr/sbin/install
1313 # SunOS /usr/etc/install
1314 # IRIX /sbin/install
1315 # AIX /bin/install
1316 # AmigaOS /C/install, which installs bootblocks on floppy discs
1317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1320 # OS/2's system install, which has a completely different semantic
1321 # ./install, which can be erroneously created by make from ./install.sh.
1322 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1323 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1324 if test -z "$INSTALL"; then
1325 if test "${ac_cv_path_install+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1327 else
1328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1329 for as_dir in $PATH
1331 IFS=$as_save_IFS
1332 test -z "$as_dir" && as_dir=.
1333 # Account for people who put trailing slashes in PATH elements.
1334 case $as_dir/ in
1335 ./ | .// | /cC/* | \
1336 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1337 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1338 /usr/ucb/* ) ;;
1340 # OSF1 and SCO ODT 3.0 have their own names for install.
1341 # Don't use installbsd from OSF since it installs stuff as root
1342 # by default.
1343 for ac_prog in ginstall scoinst install; do
1344 for ac_exec_ext in '' $ac_executable_extensions; do
1345 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1346 if test $ac_prog = install &&
1347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1348 # AIX install. It has an incompatible calling convention.
1350 elif test $ac_prog = install &&
1351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1352 # program-specific install script used by HP pwplus--don't use.
1354 else
1355 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1356 break 3
1359 done
1360 done
1362 esac
1363 done
1367 if test "${ac_cv_path_install+set}" = set; then
1368 INSTALL=$ac_cv_path_install
1369 else
1370 # As a last resort, use the slow shell script. We don't cache a
1371 # path for INSTALL within a source directory, because that will
1372 # break other packages using the cache if that directory is
1373 # removed, or if the path is relative.
1374 INSTALL=$ac_install_sh
1377 echo "$as_me:$LINENO: result: $INSTALL" >&5
1378 echo "${ECHO_T}$INSTALL" >&6
1380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1381 # It thinks the first close brace ends the variable substitution.
1382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1388 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1389 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1390 # Just in case
1391 sleep 1
1392 echo timestamp > conftest.file
1393 # Do `set' in a subshell so we don't clobber the current shell's
1394 # arguments. Must try -L first in case configure is actually a
1395 # symlink; some systems play weird games with the mod time of symlinks
1396 # (eg FreeBSD returns the mod time of the symlink's containing
1397 # directory).
1398 if (
1399 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1400 if test "$*" = "X"; then
1401 # -L didn't work.
1402 set X `ls -t $srcdir/configure conftest.file`
1404 rm -f conftest.file
1405 if test "$*" != "X $srcdir/configure conftest.file" \
1406 && test "$*" != "X conftest.file $srcdir/configure"; then
1408 # If neither matched, then we have a broken ls. This can happen
1409 # if, for instance, CONFIG_SHELL is bash and it inherits a
1410 # broken ls alias from the environment. This has actually
1411 # happened. Such a system could not be considered "sane".
1412 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1413 alias in your environment" >&5
1414 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1415 alias in your environment" >&2;}
1416 { (exit 1); exit 1; }; }
1419 test "$2" = conftest.file
1421 then
1422 # Ok.
1424 else
1425 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1426 Check your system clock" >&5
1427 echo "$as_me: error: newly created file is older than distributed files!
1428 Check your system clock" >&2;}
1429 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: yes" >&5
1432 echo "${ECHO_T}yes" >&6
1433 test "$program_prefix" != NONE &&
1434 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1435 # Use a double $ so make ignores it.
1436 test "$program_suffix" != NONE &&
1437 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1438 # Double any \ or $. echo might interpret backslashes.
1439 # By default was `s,x,x', remove it if useless.
1440 cat <<\_ACEOF >conftest.sed
1441 s/[\\$]/&&/g;s/;s,x,x,$//
1442 _ACEOF
1443 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1444 rm conftest.sed
1446 # expand $ac_aux_dir to an absolute path
1447 am_aux_dir=`cd $ac_aux_dir && pwd`
1449 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1450 # Use eval to expand $SHELL
1451 if eval "$MISSING --run true"; then
1452 am_missing_run="$MISSING --run "
1453 else
1454 am_missing_run=
1455 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1456 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1459 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1460 # We used to keeping the `.' as first argument, in order to
1461 # allow $(mkdir_p) to be used without argument. As in
1462 # $(mkdir_p) $(somedir)
1463 # where $(somedir) is conditionally defined. However this is wrong
1464 # for two reasons:
1465 # 1. if the package is installed by a user who cannot write `.'
1466 # make install will fail,
1467 # 2. the above comment should most certainly read
1468 # $(mkdir_p) $(DESTDIR)$(somedir)
1469 # so it does not work when $(somedir) is undefined and
1470 # $(DESTDIR) is not.
1471 # To support the latter case, we have to write
1472 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1473 # so the `.' trick is pointless.
1474 mkdir_p='mkdir -p --'
1475 else
1476 # On NextStep and OpenStep, the `mkdir' command does not
1477 # recognize any option. It will interpret all options as
1478 # directories to create, and then abort because `.' already
1479 # exists.
1480 for d in ./-p ./--version;
1482 test -d $d && rmdir $d
1483 done
1484 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1485 if test -f "$ac_aux_dir/mkinstalldirs"; then
1486 mkdir_p='$(mkinstalldirs)'
1487 else
1488 mkdir_p='$(install_sh) -d'
1492 for ac_prog in gawk mawk nawk awk
1494 # Extract the first word of "$ac_prog", so it can be a program name with args.
1495 set dummy $ac_prog; ac_word=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_AWK+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501 if test -n "$AWK"; then
1502 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1503 else
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 for ac_exec_ext in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_AWK="$ac_prog"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1513 break 2
1515 done
1516 done
1520 AWK=$ac_cv_prog_AWK
1521 if test -n "$AWK"; then
1522 echo "$as_me:$LINENO: result: $AWK" >&5
1523 echo "${ECHO_T}$AWK" >&6
1524 else
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1529 test -n "$AWK" && break
1530 done
1532 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1533 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1534 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1535 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 else
1538 cat >conftest.make <<\_ACEOF
1539 all:
1540 @echo 'ac_maketemp="$(MAKE)"'
1541 _ACEOF
1542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1543 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1544 if test -n "$ac_maketemp"; then
1545 eval ac_cv_prog_make_${ac_make}_set=yes
1546 else
1547 eval ac_cv_prog_make_${ac_make}_set=no
1549 rm -f conftest.make
1551 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1552 echo "$as_me:$LINENO: result: yes" >&5
1553 echo "${ECHO_T}yes" >&6
1554 SET_MAKE=
1555 else
1556 echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1558 SET_MAKE="MAKE=${MAKE-make}"
1561 rm -rf .tst 2>/dev/null
1562 mkdir .tst 2>/dev/null
1563 if test -d .tst; then
1564 am__leading_dot=.
1565 else
1566 am__leading_dot=_
1568 rmdir .tst 2>/dev/null
1570 # test to see if srcdir already configured
1571 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1572 test -f $srcdir/config.status; then
1573 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1574 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1575 { (exit 1); exit 1; }; }
1578 # test whether we have cygpath
1579 if test -z "$CYGPATH_W"; then
1580 if (cygpath --version) >/dev/null 2>/dev/null; then
1581 CYGPATH_W='cygpath -w'
1582 else
1583 CYGPATH_W=echo
1588 # Define the identity of the package.
1589 PACKAGE='automake'
1590 VERSION='1.9.3'
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE "$PACKAGE"
1595 _ACEOF
1598 cat >>confdefs.h <<_ACEOF
1599 #define VERSION "$VERSION"
1600 _ACEOF
1602 # Some tools Automake needs.
1604 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1607 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1610 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1613 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1616 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1618 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1620 # Installed binaries are usually stripped using `strip' when the user
1621 # run `make install-strip'. However `strip' might not be the right
1622 # tool to use in cross-compilation environments, therefore Automake
1623 # will honor the `STRIP' environment variable to overrule this program.
1624 if test "$cross_compiling" != no; then
1625 if test -n "$ac_tool_prefix"; then
1626 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1627 set dummy ${ac_tool_prefix}strip; ac_word=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_STRIP+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633 if test -n "$STRIP"; then
1634 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1635 else
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637 for as_dir in $PATH
1639 IFS=$as_save_IFS
1640 test -z "$as_dir" && as_dir=.
1641 for ac_exec_ext in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645 break 2
1647 done
1648 done
1652 STRIP=$ac_cv_prog_STRIP
1653 if test -n "$STRIP"; then
1654 echo "$as_me:$LINENO: result: $STRIP" >&5
1655 echo "${ECHO_T}$STRIP" >&6
1656 else
1657 echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6
1662 if test -z "$ac_cv_prog_STRIP"; then
1663 ac_ct_STRIP=$STRIP
1664 # Extract the first word of "strip", so it can be a program name with args.
1665 set dummy strip; ac_word=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 else
1671 if test -n "$ac_ct_STRIP"; then
1672 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1673 else
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 for as_dir in $PATH
1677 IFS=$as_save_IFS
1678 test -z "$as_dir" && as_dir=.
1679 for ac_exec_ext in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_ac_ct_STRIP="strip"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 break 2
1685 done
1686 done
1688 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1691 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1692 if test -n "$ac_ct_STRIP"; then
1693 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1694 echo "${ECHO_T}$ac_ct_STRIP" >&6
1695 else
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1700 STRIP=$ac_ct_STRIP
1701 else
1702 STRIP="$ac_cv_prog_STRIP"
1706 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1708 # We need awk for the "check" target. The system "awk" is bad on
1709 # some platforms.
1710 # Always define AMTAR for backward compatibility.
1712 AMTAR=${AMTAR-"${am_missing_run}tar"}
1714 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1721 # The API version is the base version. We must guarantee
1722 # compatibility for all releases with the same API version.
1723 # Our current rule is that:
1724 # * All releases, including the prereleases, in an X.Y series
1725 # are compatible. So 1.5.1c is compatible with 1.5.
1726 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1727 # aren't the same.
1728 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1731 # A versioned directory, defined here for convenience.
1732 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
1735 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1736 # hence `.' is really what we want for perllibdir, libdir, and acdir.
1737 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
1738 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
1740 # Extract the first word of "perl", so it can be a program name with args.
1741 set dummy perl; ac_word=$2
1742 echo "$as_me:$LINENO: checking for $ac_word" >&5
1743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1744 if test "${ac_cv_path_PERL+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 else
1747 case $PERL in
1748 [\\/]* | ?:[\\/]*)
1749 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753 for as_dir in $PATH
1755 IFS=$as_save_IFS
1756 test -z "$as_dir" && as_dir=.
1757 for ac_exec_ext in '' $ac_executable_extensions; do
1758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1761 break 2
1763 done
1764 done
1767 esac
1769 PERL=$ac_cv_path_PERL
1771 if test -n "$PERL"; then
1772 echo "$as_me:$LINENO: result: $PERL" >&5
1773 echo "${ECHO_T}$PERL" >&6
1774 else
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1779 if test -z "$PERL"; then
1780 { { echo "$as_me:$LINENO: error: perl not found" >&5
1781 echo "$as_me: error: perl not found" >&2;}
1782 { (exit 1); exit 1; }; }
1784 $PERL -e 'require 5.005;' || {
1785 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1786 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1787 { (exit 1); exit 1; }; }
1790 # The test suite will skip some tests if tex is absent.
1791 # Extract the first word of "tex", so it can be a program name with args.
1792 set dummy tex; ac_word=$2
1793 echo "$as_me:$LINENO: checking for $ac_word" >&5
1794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1795 if test "${ac_cv_prog_TEX+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 else
1798 if test -n "$TEX"; then
1799 ac_cv_prog_TEX="$TEX" # Let the user override the test.
1800 else
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 for as_dir in $PATH
1804 IFS=$as_save_IFS
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 ac_cv_prog_TEX="tex"
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 break 2
1812 done
1813 done
1817 TEX=$ac_cv_prog_TEX
1818 if test -n "$TEX"; then
1819 echo "$as_me:$LINENO: result: $TEX" >&5
1820 echo "${ECHO_T}$TEX" >&6
1821 else
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1827 # Test for Autoconf. We run Autoconf in a subdirectory to ease
1828 # deletion of any files created (such as those added to
1829 # autom4te.cache). We used to perform only the last of the three
1830 # following tests, but some users were unable to figure out that their
1831 # installation was broken since --version appeared to work.
1833 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
1834 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
1835 if test "${am_cv_autoconf_installed+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 else
1838 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
1839 (eval $am_AUTOCONF --version) >&5 2>&5
1840 ac_status=$?
1841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1842 (exit $ac_status); };
1843 then
1844 am_cv_autoconf_installed=yes
1845 else
1846 am_cv_autoconf_installed=no
1849 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
1850 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
1851 if test "$am_cv_autoconf_installed" = no; then
1852 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
1853 Please make sure it is installed and in your PATH." >&5
1854 echo "$as_me: error: Autoconf 2.58 or better is required.
1855 Please make sure it is installed and in your PATH." >&2;}
1856 { (exit 1); exit 1; }; }
1859 echo "$as_me:$LINENO: checking whether autoconf works" >&5
1860 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
1861 if test "${am_cv_autoconf_works+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 else
1864 mkdir conftest
1865 echo 'AC''_INIT' > conftest/conftest.ac
1866 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
1867 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1868 ac_status=$?
1869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1870 (exit $ac_status); };
1871 then
1872 am_cv_autoconf_works=yes
1873 else
1874 am_cv_autoconf_works=no
1876 rm -rf conftest
1878 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
1879 echo "${ECHO_T}$am_cv_autoconf_works" >&6
1880 if test "$am_cv_autoconf_works" = no; then
1881 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
1882 Please check config.log for error messages before this one." >&5
1883 echo "$as_me: error: The installed version of autoconf does not work.
1884 Please check config.log for error messages before this one." >&2;}
1885 { (exit 1); exit 1; }; }
1888 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
1889 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
1890 if test "${am_cv_autoconf_version+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 mkdir conftest
1894 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
1895 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
1896 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1897 ac_status=$?
1898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 (exit $ac_status); };
1900 then
1901 am_cv_autoconf_version=yes
1902 else
1903 am_cv_autoconf_version=no
1905 rm -rf conftest
1907 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
1908 echo "${ECHO_T}$am_cv_autoconf_version" >&6
1909 if test "$am_cv_autoconf_version" = no; then
1910 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
1911 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
1912 { (exit 1); exit 1; }; }
1915 # Test for ln. We need use it to install the versioned binaries.
1916 echo "$as_me:$LINENO: checking whether ln works" >&5
1917 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1918 if test "${am_cv_prog_ln+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 else
1922 rm -f conftest conftest.file
1923 : >conftest.file
1924 if ln conftest.file conftest 2>/dev/null; then
1925 am_cv_prog_ln=ln
1926 else
1927 am_cv_prog_ln='cp -p'
1929 rm -f conftest conftest.file
1932 LN=$am_cv_prog_ln
1934 result=no
1935 test "x$am_cv_prog_ln" = xln && result=yes
1936 echo "$as_me:$LINENO: result: $result" >&5
1937 echo "${ECHO_T}$result" >&6
1939 # The amount we should wait after modifying files depends on the platform.
1940 # On Windows '95, '98 and ME, files modifications have 2-seconds
1941 # granularity and can be up to 3 seconds in the future w.r.t. the
1942 # system clock. When it is important to ensure one file is older
1943 # than another we wait at least 5 seconds between creations.
1944 case $build in
1945 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
1946 *) MODIFICATION_DELAY=2;;
1947 esac
1950 # Test for things needed by the test suite.
1951 echo "$as_me:$LINENO: checking for egrep" >&5
1952 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1953 if test "${ac_cv_prog_egrep+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 else
1956 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1957 then ac_cv_prog_egrep='grep -E'
1958 else ac_cv_prog_egrep='egrep'
1961 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1962 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1963 EGREP=$ac_cv_prog_egrep
1966 echo "$as_me:$LINENO: checking for fgrep" >&5
1967 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
1968 if test "${ac_cv_prog_fgrep+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 else
1971 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
1972 then ac_cv_prog_fgrep='grep -F'
1973 else ac_cv_prog_fgrep='fgrep'
1976 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
1977 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
1978 FGREP=$ac_cv_prog_fgrep
1982 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"
1984 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
1986 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
1989 cat >confcache <<\_ACEOF
1990 # This file is a shell script that caches the results of configure
1991 # tests run on this system so they can be shared between configure
1992 # scripts and configure runs, see configure's option --config-cache.
1993 # It is not useful on other systems. If it contains results you don't
1994 # want to keep, you may remove or edit it.
1996 # config.status only pays attention to the cache file if you give it
1997 # the --recheck option to rerun configure.
1999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2001 # following values.
2003 _ACEOF
2005 # The following way of writing the cache mishandles newlines in values,
2006 # but we know of no workaround that is simple, portable, and efficient.
2007 # So, don't put newlines in cache variables' values.
2008 # Ultrix sh set writes to stderr and can't be redirected directly,
2009 # and sets the high bit in the cache file unless we assign to the vars.
2011 (set) 2>&1 |
2012 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2013 *ac_space=\ *)
2014 # `set' does not quote correctly, so add quotes (double-quote
2015 # substitution turns \\\\ into \\, and sed turns \\ into \).
2016 sed -n \
2017 "s/'/'\\\\''/g;
2018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2021 # `set' quotes correctly as required by POSIX, so do not add quotes.
2022 sed -n \
2023 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2025 esac;
2027 sed '
2028 t clear
2029 : clear
2030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2031 t end
2032 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2033 : end' >>confcache
2034 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2035 if test -w $cache_file; then
2036 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2037 cat confcache >$cache_file
2038 else
2039 echo "not updating unwritable cache $cache_file"
2042 rm -f confcache
2044 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2045 # Let make expand exec_prefix.
2046 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2048 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2049 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2050 # trailing colons and then remove the whole line if VPATH becomes empty
2051 # (actually we leave an empty line to preserve line numbers).
2052 if test "x$srcdir" = x.; then
2053 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2054 s/:*\$(srcdir):*/:/;
2055 s/:*\${srcdir}:*/:/;
2056 s/:*@srcdir@:*/:/;
2057 s/^\([^=]*=[ ]*\):*/\1/;
2058 s/:*$//;
2059 s/^[^=]*=[ ]*$//;
2063 # Transform confdefs.h into DEFS.
2064 # Protect against shell expansion while executing Makefile rules.
2065 # Protect against Makefile macro expansion.
2067 # If the first sed substitution is executed (which looks for macros that
2068 # take arguments), then we branch to the quote section. Otherwise,
2069 # look for a macro that doesn't take arguments.
2070 cat >confdef2opt.sed <<\_ACEOF
2071 t clear
2072 : clear
2073 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2074 t quote
2075 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2076 t quote
2078 : quote
2079 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2080 s,\[,\\&,g
2081 s,\],\\&,g
2082 s,\$,$$,g
2084 _ACEOF
2085 # We use echo to avoid assuming a particular line-breaking character.
2086 # The extra dot is to prevent the shell from consuming trailing
2087 # line-breaks from the sub-command output. A line-break within
2088 # single-quotes doesn't work because, if this script is created in a
2089 # platform that uses two characters for line-breaks (e.g., DOS), tr
2090 # would break.
2091 ac_LF_and_DOT=`echo; echo .`
2092 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2093 rm -f confdef2opt.sed
2096 ac_libobjs=
2097 ac_ltlibobjs=
2098 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2099 # 1. Remove the extension, and $U if already installed.
2100 ac_i=`echo "$ac_i" |
2101 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2102 # 2. Add them.
2103 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2104 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2105 done
2106 LIBOBJS=$ac_libobjs
2108 LTLIBOBJS=$ac_ltlibobjs
2112 : ${CONFIG_STATUS=./config.status}
2113 ac_clean_files_save=$ac_clean_files
2114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2115 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2116 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2117 cat >$CONFIG_STATUS <<_ACEOF
2118 #! $SHELL
2119 # Generated by $as_me.
2120 # Run this file to recreate the current configuration.
2121 # Compiler output produced by configure, useful for debugging
2122 # configure, is in config.log if it exists.
2124 debug=false
2125 ac_cs_recheck=false
2126 ac_cs_silent=false
2127 SHELL=\${CONFIG_SHELL-$SHELL}
2128 _ACEOF
2130 cat >>$CONFIG_STATUS <<\_ACEOF
2131 ## --------------------- ##
2132 ## M4sh Initialization. ##
2133 ## --------------------- ##
2135 # Be Bourne compatible
2136 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2137 emulate sh
2138 NULLCMD=:
2139 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2140 # is contrary to our usage. Disable this feature.
2141 alias -g '${1+"$@"}'='"$@"'
2142 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2143 set -o posix
2145 DUALCASE=1; export DUALCASE # for MKS sh
2147 # Support unset when possible.
2148 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2149 as_unset=unset
2150 else
2151 as_unset=false
2155 # Work around bugs in pre-3.0 UWIN ksh.
2156 $as_unset ENV MAIL MAILPATH
2157 PS1='$ '
2158 PS2='> '
2159 PS4='+ '
2161 # NLS nuisances.
2162 for as_var in \
2163 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2164 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2165 LC_TELEPHONE LC_TIME
2167 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2168 eval $as_var=C; export $as_var
2169 else
2170 $as_unset $as_var
2172 done
2174 # Required to use basename.
2175 if expr a : '\(a\)' >/dev/null 2>&1; then
2176 as_expr=expr
2177 else
2178 as_expr=false
2181 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2182 as_basename=basename
2183 else
2184 as_basename=false
2188 # Name of the executable.
2189 as_me=`$as_basename "$0" ||
2190 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2191 X"$0" : 'X\(//\)$' \| \
2192 X"$0" : 'X\(/\)$' \| \
2193 . : '\(.\)' 2>/dev/null ||
2194 echo X/"$0" |
2195 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2196 /^X\/\(\/\/\)$/{ s//\1/; q; }
2197 /^X\/\(\/\).*/{ s//\1/; q; }
2198 s/.*/./; q'`
2201 # PATH needs CR, and LINENO needs CR and PATH.
2202 # Avoid depending upon Character Ranges.
2203 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2204 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2205 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2206 as_cr_digits='0123456789'
2207 as_cr_alnum=$as_cr_Letters$as_cr_digits
2209 # The user is always right.
2210 if test "${PATH_SEPARATOR+set}" != set; then
2211 echo "#! /bin/sh" >conf$$.sh
2212 echo "exit 0" >>conf$$.sh
2213 chmod +x conf$$.sh
2214 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2215 PATH_SEPARATOR=';'
2216 else
2217 PATH_SEPARATOR=:
2219 rm -f conf$$.sh
2223 as_lineno_1=$LINENO
2224 as_lineno_2=$LINENO
2225 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2226 test "x$as_lineno_1" != "x$as_lineno_2" &&
2227 test "x$as_lineno_3" = "x$as_lineno_2" || {
2228 # Find who we are. Look in the path if we contain no path at all
2229 # relative or not.
2230 case $0 in
2231 *[\\/]* ) as_myself=$0 ;;
2232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2235 IFS=$as_save_IFS
2236 test -z "$as_dir" && as_dir=.
2237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2238 done
2241 esac
2242 # We did not find ourselves, most probably we were run as `sh COMMAND'
2243 # in which case we are not to be found in the path.
2244 if test "x$as_myself" = x; then
2245 as_myself=$0
2247 if test ! -f "$as_myself"; then
2248 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2249 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2250 { (exit 1); exit 1; }; }
2252 case $CONFIG_SHELL in
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2257 IFS=$as_save_IFS
2258 test -z "$as_dir" && as_dir=.
2259 for as_base in sh bash ksh sh5; do
2260 case $as_dir in
2262 if ("$as_dir/$as_base" -c '
2263 as_lineno_1=$LINENO
2264 as_lineno_2=$LINENO
2265 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2266 test "x$as_lineno_1" != "x$as_lineno_2" &&
2267 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2268 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2269 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2270 CONFIG_SHELL=$as_dir/$as_base
2271 export CONFIG_SHELL
2272 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2273 fi;;
2274 esac
2275 done
2276 done
2278 esac
2280 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2281 # uniformly replaced by the line number. The first 'sed' inserts a
2282 # line-number line before each line; the second 'sed' does the real
2283 # work. The second script uses 'N' to pair each line-number line
2284 # with the numbered line, and appends trailing '-' during
2285 # substitution so that $LINENO is not a special case at line end.
2286 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2287 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2288 sed '=' <$as_myself |
2289 sed '
2291 s,$,-,
2292 : loop
2293 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2294 t loop
2295 s,-$,,
2296 s,^['$as_cr_digits']*\n,,
2297 ' >$as_me.lineno &&
2298 chmod +x $as_me.lineno ||
2299 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2300 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2301 { (exit 1); exit 1; }; }
2303 # Don't try to exec as it changes $[0], causing all sort of problems
2304 # (the dirname of $[0] is not the place where we might find the
2305 # original and so on. Autoconf is especially sensible to this).
2306 . ./$as_me.lineno
2307 # Exit status is that of the last command.
2308 exit
2312 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2313 *c*,-n*) ECHO_N= ECHO_C='
2314 ' ECHO_T=' ' ;;
2315 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2316 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2317 esac
2319 if expr a : '\(a\)' >/dev/null 2>&1; then
2320 as_expr=expr
2321 else
2322 as_expr=false
2325 rm -f conf$$ conf$$.exe conf$$.file
2326 echo >conf$$.file
2327 if ln -s conf$$.file conf$$ 2>/dev/null; then
2328 # We could just check for DJGPP; but this test a) works b) is more generic
2329 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2330 if test -f conf$$.exe; then
2331 # Don't use ln at all; we don't have any links
2332 as_ln_s='cp -p'
2333 else
2334 as_ln_s='ln -s'
2336 elif ln conf$$.file conf$$ 2>/dev/null; then
2337 as_ln_s=ln
2338 else
2339 as_ln_s='cp -p'
2341 rm -f conf$$ conf$$.exe conf$$.file
2343 if mkdir -p . 2>/dev/null; then
2344 as_mkdir_p=:
2345 else
2346 test -d ./-p && rmdir ./-p
2347 as_mkdir_p=false
2350 as_executable_p="test -f"
2352 # Sed expression to map a string onto a valid CPP name.
2353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2355 # Sed expression to map a string onto a valid variable name.
2356 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2359 # IFS
2360 # We need space, tab and new line, in precisely that order.
2361 as_nl='
2363 IFS=" $as_nl"
2365 # CDPATH.
2366 $as_unset CDPATH
2368 exec 6>&1
2370 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2371 # report actual input values of CONFIG_FILES etc. instead of their
2372 # values after options handling. Logging --version etc. is OK.
2373 exec 5>>config.log
2375 echo
2376 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2377 ## Running $as_me. ##
2378 _ASBOX
2379 } >&5
2380 cat >&5 <<_CSEOF
2382 This file was extended by GNU Automake $as_me 1.9.3, which was
2383 generated by GNU Autoconf 2.59. Invocation command line was
2385 CONFIG_FILES = $CONFIG_FILES
2386 CONFIG_HEADERS = $CONFIG_HEADERS
2387 CONFIG_LINKS = $CONFIG_LINKS
2388 CONFIG_COMMANDS = $CONFIG_COMMANDS
2389 $ $0 $@
2391 _CSEOF
2392 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2393 echo >&5
2394 _ACEOF
2396 # Files that config.status was made for.
2397 if test -n "$ac_config_files"; then
2398 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2401 if test -n "$ac_config_headers"; then
2402 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2405 if test -n "$ac_config_links"; then
2406 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2409 if test -n "$ac_config_commands"; then
2410 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2413 cat >>$CONFIG_STATUS <<\_ACEOF
2415 ac_cs_usage="\
2416 \`$as_me' instantiates files from templates according to the
2417 current configuration.
2419 Usage: $0 [OPTIONS] [FILE]...
2421 -h, --help print this help, then exit
2422 -V, --version print version number, then exit
2423 -q, --quiet do not print progress messages
2424 -d, --debug don't remove temporary files
2425 --recheck update $as_me by reconfiguring in the same conditions
2426 --file=FILE[:TEMPLATE]
2427 instantiate the configuration file FILE
2429 Configuration files:
2430 $config_files
2432 Report bugs to <bug-autoconf@gnu.org>."
2433 _ACEOF
2435 cat >>$CONFIG_STATUS <<_ACEOF
2436 ac_cs_version="\\
2437 GNU Automake config.status 1.9.3
2438 configured by $0, generated by GNU Autoconf 2.59,
2439 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2441 Copyright (C) 2003 Free Software Foundation, Inc.
2442 This config.status script is free software; the Free Software Foundation
2443 gives unlimited permission to copy, distribute and modify it."
2444 srcdir=$srcdir
2445 INSTALL="$INSTALL"
2446 _ACEOF
2448 cat >>$CONFIG_STATUS <<\_ACEOF
2449 # If no file are specified by the user, then we need to provide default
2450 # value. By we need to know if files were specified by the user.
2451 ac_need_defaults=:
2452 while test $# != 0
2454 case $1 in
2455 --*=*)
2456 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2457 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2458 ac_shift=:
2461 ac_option=$1
2462 ac_optarg=$2
2463 ac_shift=shift
2465 *) # This is not an option, so the user has probably given explicit
2466 # arguments.
2467 ac_option=$1
2468 ac_need_defaults=false;;
2469 esac
2471 case $ac_option in
2472 # Handling of the options.
2473 _ACEOF
2474 cat >>$CONFIG_STATUS <<\_ACEOF
2475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2476 ac_cs_recheck=: ;;
2477 --version | --vers* | -V )
2478 echo "$ac_cs_version"; exit 0 ;;
2479 --he | --h)
2480 # Conflict between --help and --header
2481 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2482 Try \`$0 --help' for more information." >&5
2483 echo "$as_me: error: ambiguous option: $1
2484 Try \`$0 --help' for more information." >&2;}
2485 { (exit 1); exit 1; }; };;
2486 --help | --hel | -h )
2487 echo "$ac_cs_usage"; exit 0 ;;
2488 --debug | --d* | -d )
2489 debug=: ;;
2490 --file | --fil | --fi | --f )
2491 $ac_shift
2492 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2493 ac_need_defaults=false;;
2494 --header | --heade | --head | --hea )
2495 $ac_shift
2496 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2497 ac_need_defaults=false;;
2498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2499 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2500 ac_cs_silent=: ;;
2502 # This is an error.
2503 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2504 Try \`$0 --help' for more information." >&5
2505 echo "$as_me: error: unrecognized option: $1
2506 Try \`$0 --help' for more information." >&2;}
2507 { (exit 1); exit 1; }; } ;;
2509 *) ac_config_targets="$ac_config_targets $1" ;;
2511 esac
2512 shift
2513 done
2515 ac_configure_extra_args=
2517 if $ac_cs_silent; then
2518 exec 6>/dev/null
2519 ac_configure_extra_args="$ac_configure_extra_args --silent"
2522 _ACEOF
2523 cat >>$CONFIG_STATUS <<_ACEOF
2524 if \$ac_cs_recheck; then
2525 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2526 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2529 _ACEOF
2531 cat >>$CONFIG_STATUS <<_ACEOF
2533 # INIT-COMMANDS section.
2536 APIVERSION=$APIVERSION
2538 _ACEOF
2542 cat >>$CONFIG_STATUS <<\_ACEOF
2543 for ac_config_target in $ac_config_targets
2545 case "$ac_config_target" in
2546 # Handling of arguments.
2547 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2548 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2549 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2550 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
2551 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2552 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2553 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2554 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2555 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
2556 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
2557 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
2558 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2559 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2560 { (exit 1); exit 1; }; };;
2561 esac
2562 done
2564 # If the user did not use the arguments to specify the items to instantiate,
2565 # then the envvar interface is used. Set only those that are not.
2566 # We use the long form for the default assignment because of an extremely
2567 # bizarre bug on SunOS 4.1.3.
2568 if $ac_need_defaults; then
2569 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2572 # Have a temporary directory for convenience. Make it in the build tree
2573 # simply because there is no reason to put it here, and in addition,
2574 # creating and moving files from /tmp can sometimes cause problems.
2575 # Create a temporary directory, and hook for its removal unless debugging.
2576 $debug ||
2578 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2579 trap '{ (exit 1); exit 1; }' 1 2 13 15
2582 # Create a (secure) tmp directory for tmp files.
2585 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2586 test -n "$tmp" && test -d "$tmp"
2587 } ||
2589 tmp=./confstat$$-$RANDOM
2590 (umask 077 && mkdir $tmp)
2591 } ||
2593 echo "$me: cannot create a temporary directory in ." >&2
2594 { (exit 1); exit 1; }
2597 _ACEOF
2599 cat >>$CONFIG_STATUS <<_ACEOF
2602 # CONFIG_FILES section.
2605 # No need to generate the scripts if there are no CONFIG_FILES.
2606 # This happens for instance when ./config.status config.h
2607 if test -n "\$CONFIG_FILES"; then
2608 # Protect against being on the right side of a sed subst in config.status.
2609 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2610 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2611 s,@SHELL@,$SHELL,;t t
2612 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2613 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2614 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2615 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2616 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2617 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2618 s,@exec_prefix@,$exec_prefix,;t t
2619 s,@prefix@,$prefix,;t t
2620 s,@program_transform_name@,$program_transform_name,;t t
2621 s,@bindir@,$bindir,;t t
2622 s,@sbindir@,$sbindir,;t t
2623 s,@libexecdir@,$libexecdir,;t t
2624 s,@datadir@,$datadir,;t t
2625 s,@sysconfdir@,$sysconfdir,;t t
2626 s,@sharedstatedir@,$sharedstatedir,;t t
2627 s,@localstatedir@,$localstatedir,;t t
2628 s,@libdir@,$libdir,;t t
2629 s,@includedir@,$includedir,;t t
2630 s,@oldincludedir@,$oldincludedir,;t t
2631 s,@infodir@,$infodir,;t t
2632 s,@mandir@,$mandir,;t t
2633 s,@build_alias@,$build_alias,;t t
2634 s,@host_alias@,$host_alias,;t t
2635 s,@target_alias@,$target_alias,;t t
2636 s,@DEFS@,$DEFS,;t t
2637 s,@ECHO_C@,$ECHO_C,;t t
2638 s,@ECHO_N@,$ECHO_N,;t t
2639 s,@ECHO_T@,$ECHO_T,;t t
2640 s,@LIBS@,$LIBS,;t t
2641 s,@build@,$build,;t t
2642 s,@build_cpu@,$build_cpu,;t t
2643 s,@build_vendor@,$build_vendor,;t t
2644 s,@build_os@,$build_os,;t t
2645 s,@am_AUTOCONF@,$am_AUTOCONF,;t t
2646 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2647 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2648 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2649 s,@CYGPATH_W@,$CYGPATH_W,;t t
2650 s,@PACKAGE@,$PACKAGE,;t t
2651 s,@VERSION@,$VERSION,;t t
2652 s,@ACLOCAL@,$ACLOCAL,;t t
2653 s,@AUTOCONF@,$AUTOCONF,;t t
2654 s,@AUTOMAKE@,$AUTOMAKE,;t t
2655 s,@AUTOHEADER@,$AUTOHEADER,;t t
2656 s,@MAKEINFO@,$MAKEINFO,;t t
2657 s,@install_sh@,$install_sh,;t t
2658 s,@STRIP@,$STRIP,;t t
2659 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2660 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2661 s,@mkdir_p@,$mkdir_p,;t t
2662 s,@AWK@,$AWK,;t t
2663 s,@SET_MAKE@,$SET_MAKE,;t t
2664 s,@am__leading_dot@,$am__leading_dot,;t t
2665 s,@AMTAR@,$AMTAR,;t t
2666 s,@am__tar@,$am__tar,;t t
2667 s,@am__untar@,$am__untar,;t t
2668 s,@APIVERSION@,$APIVERSION,;t t
2669 s,@pkgvdatadir@,$pkgvdatadir,;t t
2670 s,@PERL@,$PERL,;t t
2671 s,@TEX@,$TEX,;t t
2672 s,@LN@,$LN,;t t
2673 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
2674 s,@EGREP@,$EGREP,;t t
2675 s,@FGREP@,$FGREP,;t t
2676 s,@LIBOBJS@,$LIBOBJS,;t t
2677 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2678 CEOF
2680 _ACEOF
2682 cat >>$CONFIG_STATUS <<\_ACEOF
2683 # Split the substitutions into bite-sized pieces for seds with
2684 # small command number limits, like on Digital OSF/1 and HP-UX.
2685 ac_max_sed_lines=48
2686 ac_sed_frag=1 # Number of current file.
2687 ac_beg=1 # First line for current file.
2688 ac_end=$ac_max_sed_lines # Line after last line for current file.
2689 ac_more_lines=:
2690 ac_sed_cmds=
2691 while $ac_more_lines; do
2692 if test $ac_beg -gt 1; then
2693 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2694 else
2695 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2697 if test ! -s $tmp/subs.frag; then
2698 ac_more_lines=false
2699 else
2700 # The purpose of the label and of the branching condition is to
2701 # speed up the sed processing (if there are no `@' at all, there
2702 # is no need to browse any of the substitutions).
2703 # These are the two extra sed commands mentioned above.
2704 (echo ':t
2705 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2706 if test -z "$ac_sed_cmds"; then
2707 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2708 else
2709 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2711 ac_sed_frag=`expr $ac_sed_frag + 1`
2712 ac_beg=$ac_end
2713 ac_end=`expr $ac_end + $ac_max_sed_lines`
2715 done
2716 if test -z "$ac_sed_cmds"; then
2717 ac_sed_cmds=cat
2719 fi # test -n "$CONFIG_FILES"
2721 _ACEOF
2722 cat >>$CONFIG_STATUS <<\_ACEOF
2723 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2724 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2725 case $ac_file in
2726 - | *:- | *:-:* ) # input from stdin
2727 cat >$tmp/stdin
2728 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2729 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2730 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2731 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2732 * ) ac_file_in=$ac_file.in ;;
2733 esac
2735 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2736 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2737 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2738 X"$ac_file" : 'X\(//\)[^/]' \| \
2739 X"$ac_file" : 'X\(//\)$' \| \
2740 X"$ac_file" : 'X\(/\)' \| \
2741 . : '\(.\)' 2>/dev/null ||
2742 echo X"$ac_file" |
2743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2744 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2745 /^X\(\/\/\)$/{ s//\1/; q; }
2746 /^X\(\/\).*/{ s//\1/; q; }
2747 s/.*/./; q'`
2748 { if $as_mkdir_p; then
2749 mkdir -p "$ac_dir"
2750 else
2751 as_dir="$ac_dir"
2752 as_dirs=
2753 while test ! -d "$as_dir"; do
2754 as_dirs="$as_dir $as_dirs"
2755 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2757 X"$as_dir" : 'X\(//\)[^/]' \| \
2758 X"$as_dir" : 'X\(//\)$' \| \
2759 X"$as_dir" : 'X\(/\)' \| \
2760 . : '\(.\)' 2>/dev/null ||
2761 echo X"$as_dir" |
2762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2764 /^X\(\/\/\)$/{ s//\1/; q; }
2765 /^X\(\/\).*/{ s//\1/; q; }
2766 s/.*/./; q'`
2767 done
2768 test ! -n "$as_dirs" || mkdir $as_dirs
2769 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2770 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2771 { (exit 1); exit 1; }; }; }
2773 ac_builddir=.
2775 if test "$ac_dir" != .; then
2776 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2777 # A "../" for each directory in $ac_dir_suffix.
2778 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2779 else
2780 ac_dir_suffix= ac_top_builddir=
2783 case $srcdir in
2784 .) # No --srcdir option. We are building in place.
2785 ac_srcdir=.
2786 if test -z "$ac_top_builddir"; then
2787 ac_top_srcdir=.
2788 else
2789 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2790 fi ;;
2791 [\\/]* | ?:[\\/]* ) # Absolute path.
2792 ac_srcdir=$srcdir$ac_dir_suffix;
2793 ac_top_srcdir=$srcdir ;;
2794 *) # Relative path.
2795 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2796 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2797 esac
2799 # Do not use `cd foo && pwd` to compute absolute paths, because
2800 # the directories may not exist.
2801 case `pwd` in
2802 .) ac_abs_builddir="$ac_dir";;
2804 case "$ac_dir" in
2805 .) ac_abs_builddir=`pwd`;;
2806 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2807 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2808 esac;;
2809 esac
2810 case $ac_abs_builddir in
2811 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2813 case ${ac_top_builddir}. in
2814 .) ac_abs_top_builddir=$ac_abs_builddir;;
2815 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2816 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2817 esac;;
2818 esac
2819 case $ac_abs_builddir in
2820 .) ac_abs_srcdir=$ac_srcdir;;
2822 case $ac_srcdir in
2823 .) ac_abs_srcdir=$ac_abs_builddir;;
2824 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2825 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2826 esac;;
2827 esac
2828 case $ac_abs_builddir in
2829 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2831 case $ac_top_srcdir in
2832 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2833 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2834 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2835 esac;;
2836 esac
2839 case $INSTALL in
2840 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2841 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2842 esac
2844 # Let's still pretend it is `configure' which instantiates (i.e., don't
2845 # use $as_me), people would be surprised to read:
2846 # /* config.h. Generated by config.status. */
2847 if test x"$ac_file" = x-; then
2848 configure_input=
2849 else
2850 configure_input="$ac_file. "
2852 configure_input=$configure_input"Generated from `echo $ac_file_in |
2853 sed 's,.*/,,'` by configure."
2855 # First look for the input files in the build tree, otherwise in the
2856 # src tree.
2857 ac_file_inputs=`IFS=:
2858 for f in $ac_file_in; do
2859 case $f in
2860 -) echo $tmp/stdin ;;
2861 [\\/$]*)
2862 # Absolute (can't be DOS-style, as IFS=:)
2863 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2864 echo "$as_me: error: cannot find input file: $f" >&2;}
2865 { (exit 1); exit 1; }; }
2866 echo "$f";;
2867 *) # Relative
2868 if test -f "$f"; then
2869 # Build tree
2870 echo "$f"
2871 elif test -f "$srcdir/$f"; then
2872 # Source tree
2873 echo "$srcdir/$f"
2874 else
2875 # /dev/null tree
2876 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2877 echo "$as_me: error: cannot find input file: $f" >&2;}
2878 { (exit 1); exit 1; }; }
2879 fi;;
2880 esac
2881 done` || { (exit 1); exit 1; }
2883 if test x"$ac_file" != x-; then
2884 { echo "$as_me:$LINENO: creating $ac_file" >&5
2885 echo "$as_me: creating $ac_file" >&6;}
2886 rm -f "$ac_file"
2888 _ACEOF
2889 cat >>$CONFIG_STATUS <<_ACEOF
2890 sed "$ac_vpsub
2891 $extrasub
2892 _ACEOF
2893 cat >>$CONFIG_STATUS <<\_ACEOF
2895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2896 s,@configure_input@,$configure_input,;t t
2897 s,@srcdir@,$ac_srcdir,;t t
2898 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2899 s,@top_srcdir@,$ac_top_srcdir,;t t
2900 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2901 s,@builddir@,$ac_builddir,;t t
2902 s,@abs_builddir@,$ac_abs_builddir,;t t
2903 s,@top_builddir@,$ac_top_builddir,;t t
2904 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2905 s,@INSTALL@,$ac_INSTALL,;t t
2906 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2907 rm -f $tmp/stdin
2908 if test x"$ac_file" != x-; then
2909 mv $tmp/out $ac_file
2910 else
2911 cat $tmp/out
2912 rm -f $tmp/out
2915 # Run the commands associated with the file.
2916 case $ac_file in
2917 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
2918 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
2919 esac
2920 done
2921 _ACEOF
2923 cat >>$CONFIG_STATUS <<\_ACEOF
2925 { (exit 0); exit 0; }
2926 _ACEOF
2927 chmod +x $CONFIG_STATUS
2928 ac_clean_files=$ac_clean_files_save
2931 # configure is writing to config.log, and then calls config.status.
2932 # config.status does its own redirection, appending to config.log.
2933 # Unfortunately, on DOS this fails, as config.log is still kept open
2934 # by configure, so config.status won't be able to write to it; its
2935 # output is simply discarded. So we exec the FD to /dev/null,
2936 # effectively closing config.log, so it can be properly (re)opened and
2937 # appended to by config.status. When coming back to configure, we
2938 # need to make the FD available again.
2939 if test "$no_create" != yes; then
2940 ac_cs_success=:
2941 ac_config_status_args=
2942 test "$silent" = yes &&
2943 ac_config_status_args="$ac_config_status_args --quiet"
2944 exec 5>/dev/null
2945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2946 exec 5>>config.log
2947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2948 # would make configure fail if this is the last instruction.
2949 $ac_cs_success || { (exit 1); exit 1; }