* lib/config-ml.in, lib/config.guess, lib/config.sub,
[automake.git] / configure
blob663c0f5b0dfa187c69738997ceb8d6ceca6dfb88
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59a for GNU Automake 1.9a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
8 # 2003, 2004 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (func_return () {
141 (exit \$1)
143 func_success () {
144 func_return 0
146 func_failure () {
147 func_return 1
149 func_ret_success () {
150 return 0
152 func_ret_failure () {
153 return 1
156 exitcode=0
157 if func_success; then
159 else
160 exitcode=1
161 echo func_failure succeeded.
164 if func_failure; then
165 exitcode=1
166 echo func_success failed.
169 if func_ret_success; then
171 else
172 exitcode=1
173 echo func_ret_success failed.
176 if func_ret_failure; then
177 exitcode=1
178 echo func_ret_failure succeeded.
181 test \$exitcode = 0) || { (exit 1); exit 1; }
184 as_lineno_1=\$LINENO
185 as_lineno_2=\$LINENO
186 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
187 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
188 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
189 ") 2> /dev/null; then
191 else
192 as_candidate_shells=
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196 IFS=$as_save_IFS
197 test -z "$as_dir" && as_dir=.
198 case $as_dir in
200 for as_base in sh bash ksh sh5; do
201 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
202 done
203 esac
204 done
207 for as_shell in $as_candidate_shells $SHELL; do
208 if { $as_shell 2> /dev/null <<\_ASEOF
209 # Be Bourne compatible
210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
211 emulate sh
212 NULLCMD=:
213 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
214 # is contrary to our usage. Disable this feature.
215 alias -g '${1+"$@"}'='"$@"'
216 setopt NO_GLOB_SUBST
217 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
218 set -o posix
220 BIN_SH=xpg4; export BIN_SH # for Tru64
221 DUALCASE=1; export DUALCASE # for MKS sh
224 _ASEOF
225 }; then
226 CONFIG_SHELL=$as_shell
227 as_have_required=yes
228 if { $as_shell 2> /dev/null <<\_ASEOF
229 # Be Bourne compatible
230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
231 emulate sh
232 NULLCMD=:
233 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
234 # is contrary to our usage. Disable this feature.
235 alias -g '${1+"$@"}'='"$@"'
236 setopt NO_GLOB_SUBST
237 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
238 set -o posix
240 BIN_SH=xpg4; export BIN_SH # for Tru64
241 DUALCASE=1; export DUALCASE # for MKS sh
244 (func_return () {
245 (exit $1)
247 func_success () {
248 func_return 0
250 func_failure () {
251 func_return 1
253 func_ret_success () {
254 return 0
256 func_ret_failure () {
257 return 1
260 exitcode=0
261 if func_success; then
263 else
264 exitcode=1
265 echo func_failure succeeded.
268 if func_failure; then
269 exitcode=1
270 echo func_success failed.
273 if func_ret_success; then
275 else
276 exitcode=1
277 echo func_ret_success failed.
280 if func_ret_failure; then
281 exitcode=1
282 echo func_ret_failure succeeded.
285 test $exitcode = 0) || { (exit 1); exit 1; }
288 as_lineno_1=$LINENO
289 as_lineno_2=$LINENO
290 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
291 test "x$as_lineno_1" != "x$as_lineno_2" &&
292 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
294 _ASEOF
295 }; then
296 break
301 done
303 if test "x$CONFIG_SHELL" != x; then
304 for as_var in BASH_ENV ENV
305 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
306 done
307 export CONFIG_SHELL
308 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
312 if test $as_have_required = no; then
313 echo This script requires a shell more modern than all the
314 echo shells that I found on your system. Please install a
315 echo modern shell, or manually run the script under such a
316 echo shell if you do have one.
317 { (exit 1); exit 1; }
327 (eval "func_return () {
328 (exit \$1)
330 func_success () {
331 func_return 0
333 func_failure () {
334 func_return 1
336 func_ret_success () {
337 return 0
339 func_ret_failure () {
340 return 1
343 exitcode=0
344 if func_success; then
346 else
347 exitcode=1
348 echo func_failure succeeded.
351 if func_failure; then
352 exitcode=1
353 echo func_success failed.
356 if func_ret_success; then
358 else
359 exitcode=1
360 echo func_ret_success failed.
363 if func_ret_failure; then
364 exitcode=1
365 echo func_ret_failure succeeded.
368 test \$exitcode = 0") || {
369 echo No shell found that supports shell functions.
370 echo Please tell autoconf@gnu.org about your system,
371 echo including any error possibly output before this
372 echo message
377 as_lineno_1=$LINENO
378 as_lineno_2=$LINENO
379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
380 test "x$as_lineno_1" != "x$as_lineno_2" &&
381 test "x$as_lineno_3" = "x$as_lineno_2" || {
383 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
384 # uniformly replaced by the line number. The first 'sed' inserts a
385 # line-number line after each line using $LINENO; the second 'sed'
386 # does the real work. The second script uses 'N' to pair each
387 # line-number line with the line containing $LINENO, and appends
388 # trailing '-' during substitution so that $LINENO is not a special
389 # case at line end.
390 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
391 # scripts with optimization help from Paolo Bonzini. Blame Lee
392 # E. McMahon (1931-1989) for sed's syntax. :-)
393 sed -n '
395 /[$]LINENO/=
396 ' <$as_myself |
397 sed '
398 s,[$]LINENO.*,&-,
399 t lineno
401 : lineno
403 : loop
404 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
405 t loop
406 s,-\n.*,,
407 ' >$as_me.lineno &&
408 chmod +x $as_me.lineno ||
409 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
410 { (exit 1); exit 1; }; }
412 # Don't try to exec as it changes $[0], causing all sort of problems
413 # (the dirname of $[0] is not the place where we might find the
414 # original and so on. Autoconf is especially sensible to this).
415 . ./$as_me.lineno
416 # Exit status is that of the last command.
417 exit
421 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
422 *c*,-n*) ECHO_N= ECHO_C='
423 ' ECHO_T=' ' ;;
424 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
425 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
426 esac
428 if expr a : '\(a\)' >/dev/null 2>&1; then
429 as_expr=expr
430 else
431 as_expr=false
434 rm -f conf$$ conf$$.exe conf$$.file
435 echo >conf$$.file
436 if ln -s conf$$.file conf$$ 2>/dev/null; then
437 # We could just check for DJGPP; but this test a) works b) is more generic
438 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
439 if test -f conf$$.exe; then
440 # Don't use ln at all; we don't have any links
441 as_ln_s='cp -p'
442 else
443 as_ln_s='ln -s'
445 elif ln conf$$.file conf$$ 2>/dev/null; then
446 as_ln_s=ln
447 else
448 as_ln_s='cp -p'
450 rm -f conf$$ conf$$.exe conf$$.file
452 if mkdir -p . 2>/dev/null; then
453 as_mkdir_p=:
454 else
455 test -d ./-p && rmdir ./-p
456 as_mkdir_p=false
459 as_executable_p="test -f"
461 # Sed expression to map a string onto a valid CPP name.
462 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
464 # Sed expression to map a string onto a valid variable name.
465 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
468 # IFS
469 # We need space, tab and new line, in precisely that order.
470 as_nl='
472 IFS=" $as_nl"
474 # CDPATH.
475 $as_unset CDPATH
478 # Name of the host.
479 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
480 # so uname gets run too.
481 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
483 exec 6>&1
486 # Initializations.
488 ac_default_prefix=/usr/local
489 ac_config_libobj_dir=.
490 cross_compiling=no
491 subdirs=
492 MFLAGS=
493 MAKEFLAGS=
494 SHELL=${CONFIG_SHELL-/bin/sh}
496 # Maximum number of lines to put in a shell here document.
497 # This variable seems obsolete. It should probably be removed, and
498 # only ac_max_sed_lines should be used.
499 : ${ac_max_here_lines=38}
501 # Identity of this package.
502 PACKAGE_NAME='GNU Automake'
503 PACKAGE_TARNAME='automake'
504 PACKAGE_VERSION='1.9a'
505 PACKAGE_STRING='GNU Automake 1.9a'
506 PACKAGE_BUGREPORT='bug-automake@gnu.org'
508 ac_unique_file="automake.in"
509 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 GREP EGREP FGREP LIBOBJS LTLIBOBJS'
510 ac_subst_files=''
512 # Initialize some variables set by options.
513 ac_init_help=
514 ac_init_version=false
515 # The variables have the same names as the options, with
516 # dashes changed to underlines.
517 cache_file=/dev/null
518 exec_prefix=NONE
519 no_create=
520 no_recursion=
521 prefix=NONE
522 program_prefix=NONE
523 program_suffix=NONE
524 program_transform_name=s,x,x,
525 silent=
526 site=
527 srcdir=
528 verbose=
529 x_includes=NONE
530 x_libraries=NONE
532 # Installation directory options.
533 # These are left unexpanded so users can "make install exec_prefix=/foo"
534 # and all the variables that are supposed to be based on exec_prefix
535 # by default will actually change.
536 # Use braces instead of parens because sh, perl, etc. also accept them.
537 bindir='${exec_prefix}/bin'
538 sbindir='${exec_prefix}/sbin'
539 libexecdir='${exec_prefix}/libexec'
540 datadir='${prefix}/share'
541 sysconfdir='${prefix}/etc'
542 sharedstatedir='${prefix}/com'
543 localstatedir='${prefix}/var'
544 libdir='${exec_prefix}/lib'
545 includedir='${prefix}/include'
546 oldincludedir='/usr/include'
547 infodir='${prefix}/info'
548 mandir='${prefix}/man'
550 ac_prev=
551 for ac_option
553 # If the previous option needs an argument, assign it.
554 if test -n "$ac_prev"; then
555 eval "$ac_prev=\$ac_option"
556 ac_prev=
557 continue
560 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
562 # Accept the important Cygnus configure options, so we can diagnose typos.
564 case $ac_option in
566 -bindir | --bindir | --bindi | --bind | --bin | --bi)
567 ac_prev=bindir ;;
568 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
569 bindir=$ac_optarg ;;
571 -build | --build | --buil | --bui | --bu)
572 ac_prev=build_alias ;;
573 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
574 build_alias=$ac_optarg ;;
576 -cache-file | --cache-file | --cache-fil | --cache-fi \
577 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
578 ac_prev=cache_file ;;
579 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
580 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
581 cache_file=$ac_optarg ;;
583 --config-cache | -C)
584 cache_file=config.cache ;;
586 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
587 ac_prev=datadir ;;
588 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
589 | --da=*)
590 datadir=$ac_optarg ;;
592 -disable-* | --disable-*)
593 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
596 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
597 { (exit 1); exit 1; }; }
598 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
599 eval "enable_$ac_feature=no" ;;
601 -enable-* | --enable-*)
602 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
606 { (exit 1); exit 1; }; }
607 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
608 case $ac_option in
609 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
610 *) ac_optarg=yes ;;
611 esac
612 eval "enable_$ac_feature='$ac_optarg'" ;;
614 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
615 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
616 | --exec | --exe | --ex)
617 ac_prev=exec_prefix ;;
618 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
619 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
620 | --exec=* | --exe=* | --ex=*)
621 exec_prefix=$ac_optarg ;;
623 -gas | --gas | --ga | --g)
624 # Obsolete; use --with-gas.
625 with_gas=yes ;;
627 -help | --help | --hel | --he | -h)
628 ac_init_help=long ;;
629 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
630 ac_init_help=recursive ;;
631 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
632 ac_init_help=short ;;
634 -host | --host | --hos | --ho)
635 ac_prev=host_alias ;;
636 -host=* | --host=* | --hos=* | --ho=*)
637 host_alias=$ac_optarg ;;
639 -includedir | --includedir | --includedi | --included | --include \
640 | --includ | --inclu | --incl | --inc)
641 ac_prev=includedir ;;
642 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
643 | --includ=* | --inclu=* | --incl=* | --inc=*)
644 includedir=$ac_optarg ;;
646 -infodir | --infodir | --infodi | --infod | --info | --inf)
647 ac_prev=infodir ;;
648 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
649 infodir=$ac_optarg ;;
651 -libdir | --libdir | --libdi | --libd)
652 ac_prev=libdir ;;
653 -libdir=* | --libdir=* | --libdi=* | --libd=*)
654 libdir=$ac_optarg ;;
656 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
657 | --libexe | --libex | --libe)
658 ac_prev=libexecdir ;;
659 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
660 | --libexe=* | --libex=* | --libe=*)
661 libexecdir=$ac_optarg ;;
663 -localstatedir | --localstatedir | --localstatedi | --localstated \
664 | --localstate | --localstat | --localsta | --localst \
665 | --locals | --local | --loca | --loc | --lo)
666 ac_prev=localstatedir ;;
667 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
668 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
669 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
670 localstatedir=$ac_optarg ;;
672 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
673 ac_prev=mandir ;;
674 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
675 mandir=$ac_optarg ;;
677 -nfp | --nfp | --nf)
678 # Obsolete; use --without-fp.
679 with_fp=no ;;
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
682 | --no-cr | --no-c | -n)
683 no_create=yes ;;
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
687 no_recursion=yes ;;
689 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
690 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
691 | --oldin | --oldi | --old | --ol | --o)
692 ac_prev=oldincludedir ;;
693 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
694 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
695 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
696 oldincludedir=$ac_optarg ;;
698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
699 ac_prev=prefix ;;
700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
701 prefix=$ac_optarg ;;
703 -program-prefix | --program-prefix | --program-prefi | --program-pref \
704 | --program-pre | --program-pr | --program-p)
705 ac_prev=program_prefix ;;
706 -program-prefix=* | --program-prefix=* | --program-prefi=* \
707 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
708 program_prefix=$ac_optarg ;;
710 -program-suffix | --program-suffix | --program-suffi | --program-suff \
711 | --program-suf | --program-su | --program-s)
712 ac_prev=program_suffix ;;
713 -program-suffix=* | --program-suffix=* | --program-suffi=* \
714 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
715 program_suffix=$ac_optarg ;;
717 -program-transform-name | --program-transform-name \
718 | --program-transform-nam | --program-transform-na \
719 | --program-transform-n | --program-transform- \
720 | --program-transform | --program-transfor \
721 | --program-transfo | --program-transf \
722 | --program-trans | --program-tran \
723 | --progr-tra | --program-tr | --program-t)
724 ac_prev=program_transform_name ;;
725 -program-transform-name=* | --program-transform-name=* \
726 | --program-transform-nam=* | --program-transform-na=* \
727 | --program-transform-n=* | --program-transform-=* \
728 | --program-transform=* | --program-transfor=* \
729 | --program-transfo=* | --program-transf=* \
730 | --program-trans=* | --program-tran=* \
731 | --progr-tra=* | --program-tr=* | --program-t=*)
732 program_transform_name=$ac_optarg ;;
734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
735 | -silent | --silent | --silen | --sile | --sil)
736 silent=yes ;;
738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
739 ac_prev=sbindir ;;
740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
741 | --sbi=* | --sb=*)
742 sbindir=$ac_optarg ;;
744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
746 | --sharedst | --shareds | --shared | --share | --shar \
747 | --sha | --sh)
748 ac_prev=sharedstatedir ;;
749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
752 | --sha=* | --sh=*)
753 sharedstatedir=$ac_optarg ;;
755 -site | --site | --sit)
756 ac_prev=site ;;
757 -site=* | --site=* | --sit=*)
758 site=$ac_optarg ;;
760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
761 ac_prev=srcdir ;;
762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
763 srcdir=$ac_optarg ;;
765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
766 | --syscon | --sysco | --sysc | --sys | --sy)
767 ac_prev=sysconfdir ;;
768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
770 sysconfdir=$ac_optarg ;;
772 -target | --target | --targe | --targ | --tar | --ta | --t)
773 ac_prev=target_alias ;;
774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
775 target_alias=$ac_optarg ;;
777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
778 verbose=yes ;;
780 -version | --version | --versio | --versi | --vers | -V)
781 ac_init_version=: ;;
783 -with-* | --with-*)
784 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
787 { echo "$as_me: error: invalid package name: $ac_package" >&2
788 { (exit 1); exit 1; }; }
789 ac_package=`echo $ac_package| sed 's/-/_/g'`
790 case $ac_option in
791 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
792 *) ac_optarg=yes ;;
793 esac
794 eval "with_$ac_package='$ac_optarg'" ;;
796 -without-* | --without-*)
797 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
800 { echo "$as_me: error: invalid package name: $ac_package" >&2
801 { (exit 1); exit 1; }; }
802 ac_package=`echo $ac_package | sed 's/-/_/g'`
803 eval "with_$ac_package=no" ;;
805 --x)
806 # Obsolete; use --with-x.
807 with_x=yes ;;
809 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
810 | --x-incl | --x-inc | --x-in | --x-i)
811 ac_prev=x_includes ;;
812 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
813 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
814 x_includes=$ac_optarg ;;
816 -x-libraries | --x-libraries | --x-librarie | --x-librari \
817 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
818 ac_prev=x_libraries ;;
819 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
820 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
821 x_libraries=$ac_optarg ;;
823 -*) { echo "$as_me: error: unrecognized option: $ac_option
824 Try \`$0 --help' for more information." >&2
825 { (exit 1); exit 1; }; }
828 *=*)
829 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
832 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
833 { (exit 1); exit 1; }; }
834 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
835 eval "$ac_envvar='$ac_optarg'"
836 export $ac_envvar ;;
839 # FIXME: should be removed in autoconf 3.0.
840 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
841 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
842 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
843 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
846 esac
847 done
849 if test -n "$ac_prev"; then
850 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
851 { echo "$as_me: error: missing argument to $ac_option" >&2
852 { (exit 1); exit 1; }; }
855 # Be sure to have absolute paths.
856 for ac_var in exec_prefix prefix
858 eval ac_val=$`echo $ac_var`
859 case $ac_val in
860 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
861 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
862 { (exit 1); exit 1; }; };;
863 esac
864 done
866 # Be sure to have absolute paths.
867 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
868 localstatedir libdir includedir oldincludedir infodir mandir
870 eval ac_val=$`echo $ac_var`
871 case $ac_val in
872 [\\/$]* | ?:[\\/]* ) ;;
873 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
874 { (exit 1); exit 1; }; };;
875 esac
876 done
878 # There might be people who depend on the old broken behavior: `$host'
879 # used to hold the argument of --host etc.
880 # FIXME: To remove some day.
881 build=$build_alias
882 host=$host_alias
883 target=$target_alias
885 # FIXME: To remove some day.
886 if test "x$host_alias" != x; then
887 if test "x$build_alias" = x; then
888 cross_compiling=maybe
889 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
890 If a cross compiler is detected then cross compile mode will be used." >&2
891 elif test "x$build_alias" != "x$host_alias"; then
892 cross_compiling=yes
896 ac_tool_prefix=
897 test -n "$host_alias" && ac_tool_prefix=$host_alias-
899 test "$silent" = yes && exec 6>/dev/null
902 # Find the source files, if location was not specified.
903 if test -z "$srcdir"; then
904 ac_srcdir_defaulted=yes
905 # Try the directory containing this script, then its parent.
906 ac_confdir=`(dirname "$0") 2>/dev/null ||
907 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
908 X"$0" : 'X\(//\)[^/]' \| \
909 X"$0" : 'X\(//\)$' \| \
910 X"$0" : 'X\(/\)' \| \
911 . : '\(.\)' 2>/dev/null ||
912 echo X"$0" |
913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
915 /^X\(\/\/\)$/{ s//\1/; q; }
916 /^X\(\/\).*/{ s//\1/; q; }
917 s/.*/./; q'`
918 srcdir=$ac_confdir
919 if test ! -r $srcdir/$ac_unique_file; then
920 srcdir=..
922 else
923 ac_srcdir_defaulted=no
925 if test ! -r $srcdir/$ac_unique_file; then
926 if test "$ac_srcdir_defaulted" = yes; then
927 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
928 { (exit 1); exit 1; }; }
929 else
930 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
931 { (exit 1); exit 1; }; }
934 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
935 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
936 { (exit 1); exit 1; }; }
937 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
938 ac_env_build_alias_set=${build_alias+set}
939 ac_env_build_alias_value=$build_alias
940 ac_cv_env_build_alias_set=${build_alias+set}
941 ac_cv_env_build_alias_value=$build_alias
942 ac_env_host_alias_set=${host_alias+set}
943 ac_env_host_alias_value=$host_alias
944 ac_cv_env_host_alias_set=${host_alias+set}
945 ac_cv_env_host_alias_value=$host_alias
946 ac_env_target_alias_set=${target_alias+set}
947 ac_env_target_alias_value=$target_alias
948 ac_cv_env_target_alias_set=${target_alias+set}
949 ac_cv_env_target_alias_value=$target_alias
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
957 cat <<_ACEOF
958 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
967 Configuration:
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
978 _ACEOF
980 cat <<_ACEOF
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
983 [$ac_default_prefix]
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 [PREFIX]
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1007 _ACEOF
1009 cat <<\_ACEOF
1011 Program names:
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1016 System types:
1017 --build=BUILD configure for building on BUILD [guessed]
1018 _ACEOF
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1024 esac
1025 cat <<\_ACEOF
1027 Report bugs to <bug-automake@gnu.org>.
1028 _ACEOF
1031 if test "$ac_init_help" = "recursive"; then
1032 # If there are subdirs, report their specific --help.
1033 ac_popdir=`pwd`
1034 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1035 test -d $ac_dir || continue
1036 ac_builddir=.
1038 if test "$ac_dir" != .; then
1039 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1040 # A "../" for each directory in $ac_dir_suffix.
1041 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1042 else
1043 ac_dir_suffix= ac_top_builddir=
1046 case $srcdir in
1047 .) # No --srcdir option. We are building in place.
1048 ac_srcdir=.
1049 if test -z "$ac_top_builddir"; then
1050 ac_top_srcdir=.
1051 else
1052 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1053 fi ;;
1054 [\\/]* | ?:[\\/]* ) # Absolute path.
1055 ac_srcdir=$srcdir$ac_dir_suffix;
1056 ac_top_srcdir=$srcdir ;;
1057 *) # Relative path.
1058 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1059 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1060 esac
1062 # Do not use `cd foo && pwd` to compute absolute paths, because
1063 # the directories may not exist.
1064 case `pwd` in
1065 .) ac_abs_builddir="$ac_dir";;
1067 case "$ac_dir" in
1068 .) ac_abs_builddir=`pwd`;;
1069 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1070 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1071 esac;;
1072 esac
1073 case $ac_abs_builddir in
1074 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1076 case ${ac_top_builddir}. in
1077 .) ac_abs_top_builddir=$ac_abs_builddir;;
1078 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1079 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1080 esac;;
1081 esac
1082 case $ac_abs_builddir in
1083 .) ac_abs_srcdir=$ac_srcdir;;
1085 case $ac_srcdir in
1086 .) ac_abs_srcdir=$ac_abs_builddir;;
1087 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1088 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1089 esac;;
1090 esac
1091 case $ac_abs_builddir in
1092 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1094 case $ac_top_srcdir in
1095 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1096 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1097 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1098 esac;;
1099 esac
1101 cd $ac_dir
1102 # Check for guested configure; otherwise get Cygnus style configure.
1103 if test -f $ac_srcdir/configure.gnu; then
1104 echo
1105 $SHELL $ac_srcdir/configure.gnu --help=recursive
1106 elif test -f $ac_srcdir/configure; then
1107 echo
1108 $SHELL $ac_srcdir/configure --help=recursive
1109 elif test -f $ac_srcdir/configure.ac ||
1110 test -f $ac_srcdir/configure.in; then
1111 echo
1112 $ac_configure --help
1113 else
1114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1116 cd $ac_popdir
1117 done
1120 test -n "$ac_init_help" && exit 0
1121 if $ac_init_version; then
1122 cat <<\_ACEOF
1123 GNU Automake configure 1.9a
1124 generated by GNU Autoconf 2.59a
1126 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1127 2003, 2004 Free Software Foundation, Inc.
1128 This configure script is free software; the Free Software Foundation
1129 gives unlimited permission to copy, distribute and modify it.
1130 _ACEOF
1131 exit 0
1133 exec 5>config.log
1134 cat >&5 <<_ACEOF
1135 This file contains any messages produced by compilers while
1136 running configure, to aid debugging if configure makes a mistake.
1138 It was created by GNU Automake $as_me 1.9a, which was
1139 generated by GNU Autoconf 2.59a. Invocation command line was
1141 $ $0 $@
1143 _ACEOF
1145 cat <<_ASUNAME
1146 ## --------- ##
1147 ## Platform. ##
1148 ## --------- ##
1150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1162 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1167 _ASUNAME
1169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1170 for as_dir in $PATH
1172 IFS=$as_save_IFS
1173 test -z "$as_dir" && as_dir=.
1174 echo "PATH: $as_dir"
1175 done
1177 } >&5
1179 cat >&5 <<_ACEOF
1182 ## ----------- ##
1183 ## Core tests. ##
1184 ## ----------- ##
1186 _ACEOF
1189 # Keep a trace of the command line.
1190 # Strip out --no-create and --no-recursion so they do not pile up.
1191 # Strip out --silent because we don't want to record it for future runs.
1192 # Also quote any args containing shell meta-characters.
1193 # Make two passes to allow for proper duplicate-argument suppression.
1194 ac_configure_args=
1195 ac_configure_args0=
1196 ac_configure_args1=
1197 ac_sep=
1198 ac_must_keep_next=false
1199 for ac_pass in 1 2
1201 for ac_arg
1203 case $ac_arg in
1204 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1206 | -silent | --silent | --silen | --sile | --sil)
1207 continue ;;
1208 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1209 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1210 esac
1211 case $ac_pass in
1212 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1214 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1215 if test $ac_must_keep_next = true; then
1216 ac_must_keep_next=false # Got value, back to normal.
1217 else
1218 case $ac_arg in
1219 *=* | --config-cache | -C | -disable-* | --disable-* \
1220 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1221 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1222 | -with-* | --with-* | -without-* | --without-* | --x)
1223 case "$ac_configure_args0 " in
1224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1225 esac
1227 -* ) ac_must_keep_next=true ;;
1228 esac
1230 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1231 # Get rid of the leading space.
1232 ac_sep=" "
1234 esac
1235 done
1236 done
1237 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1238 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1240 # When interrupted or exit'd, cleanup temporary files, and complete
1241 # config.log. We remove comments because anyway the quotes in there
1242 # would cause problems or look ugly.
1243 # WARNING: Be sure not to use single quotes in there, as some shells,
1244 # such as our DU 5.0 friend, will then `close' the trap.
1245 trap 'exit_status=$?
1246 # Save into config.log some information that might help in debugging.
1248 echo
1250 cat <<\_ASBOX
1251 ## ---------------- ##
1252 ## Cache variables. ##
1253 ## ---------------- ##
1254 _ASBOX
1255 echo
1256 # The following way of writing the cache mishandles newlines in values,
1258 (set) 2>&1 |
1259 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1260 *ac_space=\ *)
1261 sed -n \
1262 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1266 sed -n \
1267 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1269 esac;
1271 echo
1273 cat <<\_ASBOX
1274 ## ----------------- ##
1275 ## Output variables. ##
1276 ## ----------------- ##
1277 _ASBOX
1278 echo
1279 for ac_var in $ac_subst_vars
1281 eval ac_val=$`echo $ac_var`
1282 echo "$ac_var='"'"'$ac_val'"'"'"
1283 done | sort
1284 echo
1286 if test -n "$ac_subst_files"; then
1287 cat <<\_ASBOX
1288 ## ------------- ##
1289 ## Output files. ##
1290 ## ------------- ##
1291 _ASBOX
1292 echo
1293 for ac_var in $ac_subst_files
1295 eval ac_val=$`echo $ac_var`
1296 echo "$ac_var='"'"'$ac_val'"'"'"
1297 done | sort
1298 echo
1301 if test -s confdefs.h; then
1302 cat <<\_ASBOX
1303 ## ----------- ##
1304 ## confdefs.h. ##
1305 ## ----------- ##
1306 _ASBOX
1307 echo
1308 sed "/^$/d" confdefs.h | sort
1309 echo
1311 test "$ac_signal" != 0 &&
1312 echo "$as_me: caught signal $ac_signal"
1313 echo "$as_me: exit $exit_status"
1314 } >&5
1315 rm -f core *.core &&
1316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1317 exit $exit_status
1319 for ac_signal in 1 2 13 15; do
1320 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1321 done
1322 ac_signal=0
1324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1325 rm -f -r conftest* confdefs.h
1326 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1327 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1328 ac_space=' '
1329 echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
1331 # Predefined preprocessor variables.
1333 cat >>confdefs.h <<_ACEOF
1334 #define PACKAGE_NAME "$PACKAGE_NAME"
1335 _ACEOF
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1340 _ACEOF
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1345 _ACEOF
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_STRING "$PACKAGE_STRING"
1350 _ACEOF
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1355 _ACEOF
1358 # Let the site file select an alternate cache file if it wants to.
1359 # Prefer explicitly selected file to automatically selected ones.
1360 if test -z "$CONFIG_SITE"; then
1361 if test "x$prefix" != xNONE; then
1362 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1363 else
1364 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1367 for ac_site_file in $CONFIG_SITE; do
1368 if test -r "$ac_site_file"; then
1369 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1370 echo "$as_me: loading site script $ac_site_file" >&6;}
1371 sed 's/^/| /' "$ac_site_file" >&5
1372 . "$ac_site_file"
1374 done
1376 if test -r "$cache_file"; then
1377 # Some versions of bash will fail to source /dev/null (special
1378 # files actually), so we avoid doing that.
1379 if test -f "$cache_file"; then
1380 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1381 echo "$as_me: loading cache $cache_file" >&6;}
1382 case $cache_file in
1383 [\\/]* | ?:[\\/]* ) . $cache_file;;
1384 *) . ./$cache_file;;
1385 esac
1387 else
1388 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1389 echo "$as_me: creating cache $cache_file" >&6;}
1390 >$cache_file
1393 # Check that the precious variables saved in the cache have kept the same
1394 # value.
1395 ac_cache_corrupted=false
1396 for ac_var in `(set) 2>&1 |
1397 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1398 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1399 eval ac_new_set=\$ac_env_${ac_var}_set
1400 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1401 eval ac_new_val="\$ac_env_${ac_var}_value"
1402 case $ac_old_set,$ac_new_set in
1403 set,)
1404 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1405 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1406 ac_cache_corrupted=: ;;
1407 ,set)
1408 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1409 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1410 ac_cache_corrupted=: ;;
1411 ,);;
1413 if test "x$ac_old_val" != "x$ac_new_val"; then
1414 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1415 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1416 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1417 echo "$as_me: former value: $ac_old_val" >&2;}
1418 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1419 echo "$as_me: current value: $ac_new_val" >&2;}
1420 ac_cache_corrupted=:
1421 fi;;
1422 esac
1423 # Pass precious variables to config.status.
1424 if test "$ac_new_set" = set; then
1425 case $ac_new_val in
1426 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1427 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 *) ac_arg=$ac_var=$ac_new_val ;;
1429 esac
1430 case " $ac_configure_args " in
1431 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1432 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1433 esac
1435 done
1436 if $ac_cache_corrupted; then
1437 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1438 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1439 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1440 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1441 { (exit 1); exit 1; }; }
1444 ac_ext=c
1445 ac_cpp='$CPP $CPPFLAGS'
1446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1478 ac_aux_dir=
1479 for ac_dir in lib $srcdir/lib; do
1480 if test -f $ac_dir/install-sh; then
1481 ac_aux_dir=$ac_dir
1482 ac_install_sh="$ac_aux_dir/install-sh -c"
1483 break
1484 elif test -f $ac_dir/install.sh; then
1485 ac_aux_dir=$ac_dir
1486 ac_install_sh="$ac_aux_dir/install.sh -c"
1487 break
1488 elif test -f $ac_dir/shtool; then
1489 ac_aux_dir=$ac_dir
1490 ac_install_sh="$ac_aux_dir/shtool install -c"
1491 break
1493 done
1494 if test -z "$ac_aux_dir"; then
1495 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1496 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1497 { (exit 1); exit 1; }; }
1499 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1500 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1501 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1504 # Make sure we can run config.sub.
1505 $ac_config_sub sun4 >/dev/null 2>&1 ||
1506 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1507 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1508 { (exit 1); exit 1; }; }
1510 echo "$as_me:$LINENO: checking build system type" >&5
1511 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1512 if test "${ac_cv_build+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 else
1515 ac_cv_build_alias=$build_alias
1516 test -z "$ac_cv_build_alias" &&
1517 ac_cv_build_alias=`$ac_config_guess`
1518 test -z "$ac_cv_build_alias" &&
1519 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1520 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1521 { (exit 1); exit 1; }; }
1522 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1524 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1525 { (exit 1); exit 1; }; }
1528 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1529 echo "${ECHO_T}$ac_cv_build" >&6
1530 build=$ac_cv_build
1531 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1532 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1533 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1537 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1538 # way we can run Autoconf tests from configure (or from the test
1539 # suite) without being bothered by `missing'.
1540 am_AUTOCONF="${AUTOCONF-autoconf}"
1543 am__api_version="1.9a"
1544 # Find a good install program. We prefer a C program (faster),
1545 # so one script is as good as another. But avoid the broken or
1546 # incompatible versions:
1547 # SysV /etc/install, /usr/sbin/install
1548 # SunOS /usr/etc/install
1549 # IRIX /sbin/install
1550 # AIX /bin/install
1551 # AmigaOS /C/install, which installs bootblocks on floppy discs
1552 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1555 # OS/2's system install, which has a completely different semantic
1556 # ./install, which can be erroneously created by make from ./install.sh.
1557 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1558 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1559 if test -z "$INSTALL"; then
1560 if test "${ac_cv_path_install+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 else
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 for as_dir in $PATH
1566 IFS=$as_save_IFS
1567 test -z "$as_dir" && as_dir=.
1568 # Account for people who put trailing slashes in PATH elements.
1569 case $as_dir/ in
1570 ./ | .// | /cC/* | \
1571 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1572 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1573 /usr/ucb/* ) ;;
1575 # OSF1 and SCO ODT 3.0 have their own names for install.
1576 # Don't use installbsd from OSF since it installs stuff as root
1577 # by default.
1578 for ac_prog in ginstall scoinst install; do
1579 for ac_exec_ext in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1581 if test $ac_prog = install &&
1582 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1583 # AIX install. It has an incompatible calling convention.
1585 elif test $ac_prog = install &&
1586 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1587 # program-specific install script used by HP pwplus--don't use.
1589 else
1590 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1591 break 3
1594 done
1595 done
1597 esac
1598 done
1602 if test "${ac_cv_path_install+set}" = set; then
1603 INSTALL=$ac_cv_path_install
1604 else
1605 # As a last resort, use the slow shell script. We don't cache a
1606 # path for INSTALL within a source directory, because that will
1607 # break other packages using the cache if that directory is
1608 # removed, or if the path is relative.
1609 INSTALL=$ac_install_sh
1612 echo "$as_me:$LINENO: result: $INSTALL" >&5
1613 echo "${ECHO_T}$INSTALL" >&6
1615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1616 # It thinks the first close brace ends the variable substitution.
1617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1621 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1623 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1624 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1625 # Just in case
1626 sleep 1
1627 echo timestamp > conftest.file
1628 # Do `set' in a subshell so we don't clobber the current shell's
1629 # arguments. Must try -L first in case configure is actually a
1630 # symlink; some systems play weird games with the mod time of symlinks
1631 # (eg FreeBSD returns the mod time of the symlink's containing
1632 # directory).
1633 if (
1634 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1635 if test "$*" = "X"; then
1636 # -L didn't work.
1637 set X `ls -t $srcdir/configure conftest.file`
1639 rm -f conftest.file
1640 if test "$*" != "X $srcdir/configure conftest.file" \
1641 && test "$*" != "X conftest.file $srcdir/configure"; then
1643 # If neither matched, then we have a broken ls. This can happen
1644 # if, for instance, CONFIG_SHELL is bash and it inherits a
1645 # broken ls alias from the environment. This has actually
1646 # happened. Such a system could not be considered "sane".
1647 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1648 alias in your environment" >&5
1649 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&2;}
1651 { (exit 1); exit 1; }; }
1654 test "$2" = conftest.file
1656 then
1657 # Ok.
1659 else
1660 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1661 Check your system clock" >&5
1662 echo "$as_me: error: newly created file is older than distributed files!
1663 Check your system clock" >&2;}
1664 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: yes" >&5
1667 echo "${ECHO_T}yes" >&6
1668 test "$program_prefix" != NONE &&
1669 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1670 # Use a double $ so make ignores it.
1671 test "$program_suffix" != NONE &&
1672 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1673 # Double any \ or $. echo might interpret backslashes.
1674 # By default was `s,x,x', remove it if useless.
1675 cat <<\_ACEOF >conftest.sed
1676 s/[\\$]/&&/g;s/;s,x,x,$//
1677 _ACEOF
1678 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1679 rm -f conftest.sed
1681 # expand $ac_aux_dir to an absolute path
1682 am_aux_dir=`cd $ac_aux_dir && pwd`
1684 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1685 # Use eval to expand $SHELL
1686 if eval "$MISSING --run true"; then
1687 am_missing_run="$MISSING --run "
1688 else
1689 am_missing_run=
1690 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1691 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1694 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1695 # We used to keeping the `.' as first argument, in order to
1696 # allow $(mkdir_p) to be used without argument. As in
1697 # $(mkdir_p) $(somedir)
1698 # where $(somedir) is conditionally defined. However this is wrong
1699 # for two reasons:
1700 # 1. if the package is installed by a user who cannot write `.'
1701 # make install will fail,
1702 # 2. the above comment should most certainly read
1703 # $(mkdir_p) $(DESTDIR)$(somedir)
1704 # so it does not work when $(somedir) is undefined and
1705 # $(DESTDIR) is not.
1706 # To support the latter case, we have to write
1707 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1708 # so the `.' trick is pointless.
1709 mkdir_p='mkdir -p --'
1710 else
1711 # On NextStep and OpenStep, the `mkdir' command does not
1712 # recognize any option. It will interpret all options as
1713 # directories to create, and then abort because `.' already
1714 # exists.
1715 for d in ./-p ./--version;
1717 test -d $d && rmdir $d
1718 done
1719 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1720 if test -f "$ac_aux_dir/mkinstalldirs"; then
1721 mkdir_p='$(mkinstalldirs)'
1722 else
1723 mkdir_p='$(install_sh) -d'
1727 for ac_prog in gawk mawk nawk awk
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy $ac_prog; ac_word=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_AWK+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 else
1736 if test -n "$AWK"; then
1737 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1738 else
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 for as_dir in $PATH
1742 IFS=$as_save_IFS
1743 test -z "$as_dir" && as_dir=.
1744 for ac_exec_ext in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_AWK="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 break 2
1750 done
1751 done
1755 AWK=$ac_cv_prog_AWK
1756 if test -n "$AWK"; then
1757 echo "$as_me:$LINENO: result: $AWK" >&5
1758 echo "${ECHO_T}$AWK" >&6
1759 else
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$AWK" && break
1765 done
1767 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1768 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1769 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1770 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 cat >conftest.make <<\_ACEOF
1774 all:
1775 @echo 'ac_maketemp="$(MAKE)"'
1776 _ACEOF
1777 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1778 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1779 if test -n "$ac_maketemp"; then
1780 eval ac_cv_prog_make_${ac_make}_set=yes
1781 else
1782 eval ac_cv_prog_make_${ac_make}_set=no
1784 rm -f conftest.make
1786 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1787 echo "$as_me:$LINENO: result: yes" >&5
1788 echo "${ECHO_T}yes" >&6
1789 SET_MAKE=
1790 else
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1793 SET_MAKE="MAKE=${MAKE-make}"
1796 rm -rf .tst 2>/dev/null
1797 mkdir .tst 2>/dev/null
1798 if test -d .tst; then
1799 am__leading_dot=.
1800 else
1801 am__leading_dot=_
1803 rmdir .tst 2>/dev/null
1805 # test to see if srcdir already configured
1806 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1807 test -f $srcdir/config.status; then
1808 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1809 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1810 { (exit 1); exit 1; }; }
1813 # test whether we have cygpath
1814 if test -z "$CYGPATH_W"; then
1815 if (cygpath --version) >/dev/null 2>/dev/null; then
1816 CYGPATH_W='cygpath -w'
1817 else
1818 CYGPATH_W=echo
1823 # Define the identity of the package.
1824 PACKAGE='automake'
1825 VERSION='1.9a'
1828 cat >>confdefs.h <<_ACEOF
1829 #define PACKAGE "$PACKAGE"
1830 _ACEOF
1833 cat >>confdefs.h <<_ACEOF
1834 #define VERSION "$VERSION"
1835 _ACEOF
1837 # Some tools Automake needs.
1839 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1842 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1845 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1848 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1851 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1853 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1855 # Installed binaries are usually stripped using `strip' when the user
1856 # run `make install-strip'. However `strip' might not be the right
1857 # tool to use in cross-compilation environments, therefore Automake
1858 # will honor the `STRIP' environment variable to overrule this program.
1859 if test "$cross_compiling" != no; then
1860 if test -n "$ac_tool_prefix"; then
1861 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1862 set dummy ${ac_tool_prefix}strip; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_STRIP+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 else
1868 if test -n "$STRIP"; then
1869 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1870 else
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 for as_dir in $PATH
1874 IFS=$as_save_IFS
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 break 2
1882 done
1883 done
1887 STRIP=$ac_cv_prog_STRIP
1888 if test -n "$STRIP"; then
1889 echo "$as_me:$LINENO: result: $STRIP" >&5
1890 echo "${ECHO_T}$STRIP" >&6
1891 else
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$ac_cv_prog_STRIP"; then
1898 ac_ct_STRIP=$STRIP
1899 # Extract the first word of "strip", so it can be a program name with args.
1900 set dummy strip; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 else
1906 if test -n "$ac_ct_STRIP"; then
1907 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_ac_ct_STRIP="strip"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1920 done
1921 done
1925 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1926 if test -n "$ac_ct_STRIP"; then
1927 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1928 echo "${ECHO_T}$ac_ct_STRIP" >&6
1929 else
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1934 if test "x$ac_ct_STRIP" = x; then
1935 STRIP=":"
1936 else
1937 if test "$build" != "$host"; then
1938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1939 whose name does not start with the host triplet. If you think this
1940 configuration is useful to you, please write to autoconf@gnu.org." >&5
1941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1942 whose name does not start with the host triplet. If you think this
1943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1945 STRIP=$ac_ct_STRIP
1947 else
1948 STRIP="$ac_cv_prog_STRIP"
1952 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1954 # We need awk for the "check" target. The system "awk" is bad on
1955 # some platforms.
1956 # Always define AMTAR for backward compatibility.
1958 AMTAR=${AMTAR-"${am_missing_run}tar"}
1960 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1967 # The API version is the base version. We must guarantee
1968 # compatibility for all releases with the same API version.
1969 # Our current rule is that:
1970 # * All releases, including the prereleases, in an X.Y series
1971 # are compatible. So 1.5.1c is compatible with 1.5.
1972 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1973 # aren't the same.
1974 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1977 # A versioned directory, defined here for convenience.
1978 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
1981 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1982 # hence `.' is really what we want for perllibdir, libdir, and acdir.
1983 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
1984 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
1986 # Extract the first word of "perl", so it can be a program name with args.
1987 set dummy perl; ac_word=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_path_PERL+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 else
1993 case $PERL in
1994 [\\/]* | ?:[\\/]*)
1995 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 for as_dir in $PATH
2001 IFS=$as_save_IFS
2002 test -z "$as_dir" && as_dir=.
2003 for ac_exec_ext in '' $ac_executable_extensions; do
2004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2005 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 break 2
2009 done
2010 done
2013 esac
2015 PERL=$ac_cv_path_PERL
2017 if test -n "$PERL"; then
2018 echo "$as_me:$LINENO: result: $PERL" >&5
2019 echo "${ECHO_T}$PERL" >&6
2020 else
2021 echo "$as_me:$LINENO: result: no" >&5
2022 echo "${ECHO_T}no" >&6
2025 if test -z "$PERL"; then
2026 { { echo "$as_me:$LINENO: error: perl not found" >&5
2027 echo "$as_me: error: perl not found" >&2;}
2028 { (exit 1); exit 1; }; }
2030 $PERL -e 'require 5.006;' || {
2031 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2032 versions installed, select the one Automake should use using
2033 ./configure PERL=/path/to/perl" >&5
2034 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2035 versions installed, select the one Automake should use using
2036 ./configure PERL=/path/to/perl" >&2;}
2037 { (exit 1); exit 1; }; }
2040 # The test suite will skip some tests if tex is absent.
2041 # Extract the first word of "tex", so it can be a program name with args.
2042 set dummy tex; ac_word=$2
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045 if test "${ac_cv_prog_TEX+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 else
2048 if test -n "$TEX"; then
2049 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2050 else
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 for as_dir in $PATH
2054 IFS=$as_save_IFS
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058 ac_cv_prog_TEX="tex"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 break 2
2062 done
2063 done
2067 TEX=$ac_cv_prog_TEX
2068 if test -n "$TEX"; then
2069 echo "$as_me:$LINENO: result: $TEX" >&5
2070 echo "${ECHO_T}$TEX" >&6
2071 else
2072 echo "$as_me:$LINENO: result: no" >&5
2073 echo "${ECHO_T}no" >&6
2077 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2078 # deletion of any files created (such as those added to
2079 # autom4te.cache). We used to perform only the last of the three
2080 # following tests, but some users were unable to figure out that their
2081 # installation was broken since --version appeared to work.
2083 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2084 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
2085 if test "${am_cv_autoconf_installed+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 else
2088 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2089 (eval $am_AUTOCONF --version) >&5 2>&5
2090 ac_status=$?
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); };
2093 then
2094 am_cv_autoconf_installed=yes
2095 else
2096 am_cv_autoconf_installed=no
2099 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2100 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
2101 if test "$am_cv_autoconf_installed" = no; then
2102 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2103 Please make sure it is installed and in your PATH." >&5
2104 echo "$as_me: error: Autoconf 2.58 or better is required.
2105 Please make sure it is installed and in your PATH." >&2;}
2106 { (exit 1); exit 1; }; }
2109 echo "$as_me:$LINENO: checking whether autoconf works" >&5
2110 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
2111 if test "${am_cv_autoconf_works+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 else
2114 mkdir conftest
2115 echo 'AC''_INIT' > conftest/conftest.ac
2116 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2117 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2118 ac_status=$?
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); };
2121 then
2122 am_cv_autoconf_works=yes
2123 else
2124 am_cv_autoconf_works=no
2126 rm -rf conftest
2128 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2129 echo "${ECHO_T}$am_cv_autoconf_works" >&6
2130 if test "$am_cv_autoconf_works" = no; then
2131 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2132 Please check config.log for error messages before this one." >&5
2133 echo "$as_me: error: The installed version of autoconf does not work.
2134 Please check config.log for error messages before this one." >&2;}
2135 { (exit 1); exit 1; }; }
2138 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2139 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
2140 if test "${am_cv_autoconf_version+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 else
2143 mkdir conftest
2144 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2145 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2146 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2147 ac_status=$?
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); };
2150 then
2151 am_cv_autoconf_version=yes
2152 else
2153 am_cv_autoconf_version=no
2155 rm -rf conftest
2157 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2158 echo "${ECHO_T}$am_cv_autoconf_version" >&6
2159 if test "$am_cv_autoconf_version" = no; then
2160 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2161 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2162 { (exit 1); exit 1; }; }
2165 # Test for ln. We need use it to install the versioned binaries.
2166 echo "$as_me:$LINENO: checking whether ln works" >&5
2167 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2168 if test "${am_cv_prog_ln+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 else
2172 rm -f conftest conftest.file
2173 : >conftest.file
2174 if ln conftest.file conftest 2>/dev/null; then
2175 am_cv_prog_ln=ln
2176 else
2177 am_cv_prog_ln='cp -p'
2179 rm -f conftest conftest.file
2182 LN=$am_cv_prog_ln
2184 result=no
2185 test "x$am_cv_prog_ln" = xln && result=yes
2186 echo "$as_me:$LINENO: result: $result" >&5
2187 echo "${ECHO_T}$result" >&6
2189 # The amount we should wait after modifying files depends on the platform.
2190 # On Windows '95, '98 and ME, files modifications have 2-seconds
2191 # granularity and can be up to 3 seconds in the future w.r.t. the
2192 # system clock. When it is important to ensure one file is older
2193 # than another we wait at least 5 seconds between creations.
2194 case $build in
2195 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2196 *) MODIFICATION_DELAY=2;;
2197 esac
2200 # Test for things needed by the test suite.
2201 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2202 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2203 if test "${ac_cv_path_GREP+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 else
2206 # Extract the first word of "grep ggrep" to use in msg output
2207 if test -z "$GREP"; then
2208 set dummy grep ggrep; ac_prog_name=$2
2209 if test "${ac_cv_path_GREP+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 else
2212 # Create a temporary directory, and hook for its removal unless debugging.
2213 $debug ||
2215 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2216 trap '{ (exit 1); exit 1; }' 1 2 13 15
2219 # Create a (secure) tmp directory for tmp files.
2220 : ${TMPDIR=/tmp}
2222 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
2223 test -n "$tmp" && test -d "$tmp"
2224 } ||
2226 tmp=$TMPDIR/GREP$$-$RANDOM
2227 (umask 077 && mkdir $tmp)
2228 } ||
2230 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2231 { (exit 1); exit 1; }
2233 ac_path_GREP_found=false
2234 # Loop through the user's path and test for each of PROGNAME-LIST
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 as_dummy="$PATH:/usr/xpg4/bin"
2237 for as_dir in $as_dummy
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_prog in grep ggrep; do
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2244 test -f "$ac_path_GREP" || continue
2245 $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
2246 # Check for GNU ac_path_GREP and select it if it is found.
2247 # Check for GNU $ac_path_GREP
2248 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2249 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2250 else
2251 ac_count=0
2252 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2253 while :
2255 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2256 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2257 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2258 echo 'GREP' >> "$tmp/conftest.nl"
2259 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2260 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2261 ac_count=`expr $ac_count + 1`
2262 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2263 # Best one so far, save it but keep looking for a better one
2264 ac_cv_path_GREP="$ac_path_GREP"
2265 ac_path_GREP_max=$ac_count
2267 # 10*(2^10) chars as input seems more than enough
2268 test $ac_count -gt 10 && break
2269 done
2274 $ac_path_GREP_found && break 3
2275 done
2276 done
2278 done
2280 rm -rf "$tmp"
2284 GREP="$ac_cv_path_GREP"
2285 if test -z "$GREP"; then
2286 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2287 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2288 { (exit 1); exit 1; }; }
2295 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2296 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2297 GREP="$ac_cv_path_GREP"
2300 echo "$as_me:$LINENO: checking for egrep" >&5
2301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2302 if test "${ac_cv_path_EGREP+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 else
2305 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
2306 then ac_cv_path_EGREP="$GREP -E"
2307 else
2308 # Extract the first word of "egrep" to use in msg output
2309 if test -z "$EGREP"; then
2310 set dummy egrep; ac_prog_name=$2
2311 if test "${ac_cv_path_EGREP+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314 # Create a temporary directory, and hook for its removal unless debugging.
2315 $debug ||
2317 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2318 trap '{ (exit 1); exit 1; }' 1 2 13 15
2321 # Create a (secure) tmp directory for tmp files.
2322 : ${TMPDIR=/tmp}
2324 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
2325 test -n "$tmp" && test -d "$tmp"
2326 } ||
2328 tmp=$TMPDIR/EGREP$$-$RANDOM
2329 (umask 077 && mkdir $tmp)
2330 } ||
2332 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2333 { (exit 1); exit 1; }
2335 ac_path_EGREP_found=false
2336 # Loop through the user's path and test for each of PROGNAME-LIST
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 as_dummy="$PATH:/usr/xpg4/bin"
2339 for as_dir in $as_dummy
2341 IFS=$as_save_IFS
2342 test -z "$as_dir" && as_dir=.
2343 for ac_prog in egrep; do
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2346 test -f "$ac_path_EGREP" || continue
2347 $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
2348 # Check for GNU ac_path_EGREP and select it if it is found.
2349 # Check for GNU $ac_path_EGREP
2350 if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2351 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
2352 else
2353 ac_count=0
2354 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2355 while :
2357 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2358 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2359 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2360 echo 'EGREP' >> "$tmp/conftest.nl"
2361 "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2362 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2363 ac_count=`expr $ac_count + 1`
2364 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2365 # Best one so far, save it but keep looking for a better one
2366 ac_cv_path_EGREP="$ac_path_EGREP"
2367 ac_path_EGREP_max=$ac_count
2369 # 10*(2^10) chars as input seems more than enough
2370 test $ac_count -gt 10 && break
2371 done
2376 $ac_path_EGREP_found && break 3
2377 done
2378 done
2380 done
2382 rm -rf "$tmp"
2386 EGREP="$ac_cv_path_EGREP"
2387 if test -z "$EGREP"; then
2388 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2389 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2390 { (exit 1); exit 1; }; }
2398 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2399 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2400 EGREP="$ac_cv_path_EGREP"
2403 echo "$as_me:$LINENO: checking for fgrep" >&5
2404 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
2405 if test "${ac_cv_path_FGREP+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 else
2408 if echo 'ab*c' | ($GREP -F 'ab*c') >/dev/null 2>&1
2409 then ac_cv_path_FGREP="$GREP -F"
2410 else
2411 # Extract the first word of "fgrep" to use in msg output
2412 if test -z "$FGREP"; then
2413 set dummy fgrep; ac_prog_name=$2
2414 if test "${ac_cv_path_FGREP+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 else
2417 # Create a temporary directory, and hook for its removal unless debugging.
2418 $debug ||
2420 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2421 trap '{ (exit 1); exit 1; }' 1 2 13 15
2424 # Create a (secure) tmp directory for tmp files.
2425 : ${TMPDIR=/tmp}
2427 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/FGREPXXXXXX") 2>/dev/null` &&
2428 test -n "$tmp" && test -d "$tmp"
2429 } ||
2431 tmp=$TMPDIR/FGREP$$-$RANDOM
2432 (umask 077 && mkdir $tmp)
2433 } ||
2435 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2436 { (exit 1); exit 1; }
2438 ac_path_FGREP_found=false
2439 # Loop through the user's path and test for each of PROGNAME-LIST
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 as_dummy="$PATH:/usr/xpg4/bin"
2442 for as_dir in $as_dummy
2444 IFS=$as_save_IFS
2445 test -z "$as_dir" && as_dir=.
2446 for ac_prog in fgrep; do
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2449 test -f "$ac_path_FGREP" || continue
2450 $ac_path_FGREP_found || if $as_executable_p "$ac_path_FGREP"; then
2451 # Check for GNU ac_path_FGREP and select it if it is found.
2452 # Check for GNU $ac_path_FGREP
2453 if "$ac_path_FGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2454 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:
2455 else
2456 ac_count=0
2457 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2458 while :
2460 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2461 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2462 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2463 echo 'FGREP' >> "$tmp/conftest.nl"
2464 "$ac_path_FGREP" FGREP < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2465 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2466 ac_count=`expr $ac_count + 1`
2467 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2468 # Best one so far, save it but keep looking for a better one
2469 ac_cv_path_FGREP="$ac_path_FGREP"
2470 ac_path_FGREP_max=$ac_count
2472 # 10*(2^10) chars as input seems more than enough
2473 test $ac_count -gt 10 && break
2474 done
2479 $ac_path_FGREP_found && break 3
2480 done
2481 done
2483 done
2485 rm -rf "$tmp"
2489 FGREP="$ac_cv_path_FGREP"
2490 if test -z "$FGREP"; then
2491 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2492 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2493 { (exit 1); exit 1; }; }
2501 echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2502 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
2503 FGREP="$ac_cv_path_FGREP"
2507 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"
2509 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2511 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2514 cat >confcache <<\_ACEOF
2515 # This file is a shell script that caches the results of configure
2516 # tests run on this system so they can be shared between configure
2517 # scripts and configure runs, see configure's option --config-cache.
2518 # It is not useful on other systems. If it contains results you don't
2519 # want to keep, you may remove or edit it.
2521 # config.status only pays attention to the cache file if you give it
2522 # the --recheck option to rerun configure.
2524 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2525 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2526 # following values.
2528 _ACEOF
2530 # The following way of writing the cache mishandles newlines in values,
2531 # but we know of no workaround that is simple, portable, and efficient.
2532 # So, don't put newlines in cache variables' values.
2533 # Ultrix sh set writes to stderr and can't be redirected directly,
2534 # and sets the high bit in the cache file unless we assign to the vars.
2536 (set) 2>&1 |
2537 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2538 *ac_space=\ *)
2539 # `set' does not quote correctly, so add quotes (double-quote
2540 # substitution turns \\\\ into \\, and sed turns \\ into \).
2541 sed -n \
2542 "s/'/'\\\\''/g;
2543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2546 # `set' quotes correctly as required by POSIX, so do not add quotes.
2547 sed -n \
2548 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2550 esac;
2552 sed '
2553 t clear
2554 : clear
2555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2556 t end
2557 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2558 : end' >>confcache
2559 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2560 if test -w $cache_file; then
2561 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2562 cat confcache >$cache_file
2563 else
2564 echo "not updating unwritable cache $cache_file"
2567 rm -f confcache
2569 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2570 # Let make expand exec_prefix.
2571 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2573 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2574 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2575 # trailing colons and then remove the whole line if VPATH becomes empty
2576 # (actually we leave an empty line to preserve line numbers).
2577 if test "x$srcdir" = x.; then
2578 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2579 s/:*\$(srcdir):*/:/;
2580 s/:*\${srcdir}:*/:/;
2581 s/:*@srcdir@:*/:/;
2582 s/^\([^=]*=[ ]*\):*/\1/;
2583 s/:*$//;
2584 s/^[^=]*=[ ]*$//;
2588 # Transform confdefs.h into DEFS.
2589 # Protect against shell expansion while executing Makefile rules.
2590 # Protect against Makefile macro expansion.
2592 # If the first sed substitution is executed (which looks for macros that
2593 # take arguments), then we branch to the quote section. Otherwise,
2594 # look for a macro that doesn't take arguments.
2595 cat >confdef2opt.sed <<\_ACEOF
2596 t clear
2597 : clear
2598 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2599 t quote
2600 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2601 t quote
2603 : quote
2604 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2605 s,\[,\\&,g
2606 s,\],\\&,g
2607 s,\$,$$,g
2609 _ACEOF
2610 # We use echo to avoid assuming a particular line-breaking character.
2611 # The extra dot is to prevent the shell from consuming trailing
2612 # line-breaks from the sub-command output. A line-break within
2613 # single-quotes doesn't work because, if this script is created in a
2614 # platform that uses two characters for line-breaks (e.g., DOS), tr
2615 # would break.
2616 ac_LF_and_DOT=`echo; echo .`
2617 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2618 rm -f confdef2opt.sed
2621 ac_libobjs=
2622 ac_ltlibobjs=
2623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2624 # 1. Remove the extension, and $U if already installed.
2625 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2626 ac_i=`echo "$ac_i" | sed "$ac_script"`
2627 # 2. Add them.
2628 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2629 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2630 done
2631 LIBOBJS=$ac_libobjs
2633 LTLIBOBJS=$ac_ltlibobjs
2637 : ${CONFIG_STATUS=./config.status}
2638 ac_clean_files_save=$ac_clean_files
2639 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2640 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2641 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2642 cat >$CONFIG_STATUS <<_ACEOF
2643 #! $SHELL
2644 # Generated by $as_me.
2645 # Run this file to recreate the current configuration.
2646 # Compiler output produced by configure, useful for debugging
2647 # configure, is in config.log if it exists.
2649 debug=false
2650 ac_cs_recheck=false
2651 ac_cs_silent=false
2652 SHELL=\${CONFIG_SHELL-$SHELL}
2653 _ACEOF
2655 cat >>$CONFIG_STATUS <<\_ACEOF
2656 ## --------------------- ##
2657 ## M4sh Initialization. ##
2658 ## --------------------- ##
2660 # Be Bourne compatible
2661 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2662 emulate sh
2663 NULLCMD=:
2664 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2665 # is contrary to our usage. Disable this feature.
2666 alias -g '${1+"$@"}'='"$@"'
2667 setopt NO_GLOB_SUBST
2668 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2669 set -o posix
2671 BIN_SH=xpg4; export BIN_SH # for Tru64
2672 DUALCASE=1; export DUALCASE # for MKS sh
2675 # PATH needs CR
2676 # Avoid depending upon Character Ranges.
2677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2680 as_cr_digits='0123456789'
2681 as_cr_alnum=$as_cr_Letters$as_cr_digits
2683 # The user is always right.
2684 if test "${PATH_SEPARATOR+set}" != set; then
2685 echo "#! /bin/sh" >conf$$.sh
2686 echo "exit 0" >>conf$$.sh
2687 chmod +x conf$$.sh
2688 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2689 PATH_SEPARATOR=';'
2690 else
2691 PATH_SEPARATOR=:
2693 rm -f conf$$.sh
2696 # Support unset when possible.
2697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2698 as_unset=unset
2699 else
2700 as_unset=false
2704 # Find who we are. Look in the path if we contain no path at all
2705 # relative or not.
2706 case $0 in
2707 *[\\/]* ) as_myself=$0 ;;
2708 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 for as_dir in $PATH
2711 IFS=$as_save_IFS
2712 test -z "$as_dir" && as_dir=.
2713 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2714 done
2717 esac
2718 # We did not find ourselves, most probably we were run as `sh COMMAND'
2719 # in which case we are not to be found in the path.
2720 if test "x$as_myself" = x; then
2721 as_myself=$0
2723 if test ! -f "$as_myself"; then
2724 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2725 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2726 { (exit 1); exit 1; }; }
2729 # Work around bugs in pre-3.0 UWIN ksh.
2730 for as_var in ENV MAIL MAILPATH
2731 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2732 done
2733 PS1='$ '
2734 PS2='> '
2735 PS4='+ '
2737 # NLS nuisances.
2738 for as_var in \
2739 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2740 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2741 LC_TELEPHONE LC_TIME
2743 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2744 eval $as_var=C; export $as_var
2745 else
2746 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2748 done
2750 # Required to use basename.
2751 if expr a : '\(a\)' >/dev/null 2>&1; then
2752 as_expr=expr
2753 else
2754 as_expr=false
2757 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2758 as_basename=basename
2759 else
2760 as_basename=false
2764 # Name of the executable.
2765 as_me=`$as_basename "$0" ||
2766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2767 X"$0" : 'X\(//\)$' \| \
2768 X"$0" : 'X\(/\)$' \| \
2769 . : '\(.\)' 2>/dev/null ||
2770 echo X/"$0" |
2771 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2772 /^X\/\(\/\/\)$/{ s//\1/; q; }
2773 /^X\/\(\/\).*/{ s//\1/; q; }
2774 s/.*/./; q'`
2779 as_lineno_1=$LINENO
2780 as_lineno_2=$LINENO
2781 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2782 test "x$as_lineno_1" != "x$as_lineno_2" &&
2783 test "x$as_lineno_3" = "x$as_lineno_2" || {
2785 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2786 # uniformly replaced by the line number. The first 'sed' inserts a
2787 # line-number line after each line using $LINENO; the second 'sed'
2788 # does the real work. The second script uses 'N' to pair each
2789 # line-number line with the line containing $LINENO, and appends
2790 # trailing '-' during substitution so that $LINENO is not a special
2791 # case at line end.
2792 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2793 # scripts with optimization help from Paolo Bonzini. Blame Lee
2794 # E. McMahon (1931-1989) for sed's syntax. :-)
2795 sed -n '
2797 /[$]LINENO/=
2798 ' <$as_myself |
2799 sed '
2800 s,[$]LINENO.*,&-,
2801 t lineno
2803 : lineno
2805 : loop
2806 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2807 t loop
2808 s,-\n.*,,
2809 ' >$as_me.lineno &&
2810 chmod +x $as_me.lineno ||
2811 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2812 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2813 { (exit 1); exit 1; }; }
2815 # Don't try to exec as it changes $[0], causing all sort of problems
2816 # (the dirname of $[0] is not the place where we might find the
2817 # original and so on. Autoconf is especially sensible to this).
2818 . ./$as_me.lineno
2819 # Exit status is that of the last command.
2820 exit
2824 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2825 *c*,-n*) ECHO_N= ECHO_C='
2826 ' ECHO_T=' ' ;;
2827 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2828 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2829 esac
2831 if expr a : '\(a\)' >/dev/null 2>&1; then
2832 as_expr=expr
2833 else
2834 as_expr=false
2837 rm -f conf$$ conf$$.exe conf$$.file
2838 echo >conf$$.file
2839 if ln -s conf$$.file conf$$ 2>/dev/null; then
2840 # We could just check for DJGPP; but this test a) works b) is more generic
2841 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2842 if test -f conf$$.exe; then
2843 # Don't use ln at all; we don't have any links
2844 as_ln_s='cp -p'
2845 else
2846 as_ln_s='ln -s'
2848 elif ln conf$$.file conf$$ 2>/dev/null; then
2849 as_ln_s=ln
2850 else
2851 as_ln_s='cp -p'
2853 rm -f conf$$ conf$$.exe conf$$.file
2855 if mkdir -p . 2>/dev/null; then
2856 as_mkdir_p=:
2857 else
2858 test -d ./-p && rmdir ./-p
2859 as_mkdir_p=false
2862 as_executable_p="test -f"
2864 # Sed expression to map a string onto a valid CPP name.
2865 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2867 # Sed expression to map a string onto a valid variable name.
2868 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2871 # IFS
2872 # We need space, tab and new line, in precisely that order.
2873 as_nl='
2875 IFS=" $as_nl"
2877 # CDPATH.
2878 $as_unset CDPATH
2880 exec 6>&1
2882 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2883 # report actual input values of CONFIG_FILES etc. instead of their
2884 # values after options handling. Logging --version etc. is OK.
2885 exec 5>>config.log
2887 echo
2888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2889 ## Running $as_me. ##
2890 _ASBOX
2891 } >&5
2892 cat >&5 <<_CSEOF
2894 This file was extended by GNU Automake $as_me 1.9a, which was
2895 generated by GNU Autoconf 2.59a. Invocation command line was
2897 CONFIG_FILES = $CONFIG_FILES
2898 CONFIG_HEADERS = $CONFIG_HEADERS
2899 CONFIG_LINKS = $CONFIG_LINKS
2900 CONFIG_COMMANDS = $CONFIG_COMMANDS
2901 $ $0 $@
2903 _CSEOF
2904 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2905 echo >&5
2906 _ACEOF
2908 # Files that config.status was made for.
2909 if test -n "$ac_config_files"; then
2910 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2913 if test -n "$ac_config_headers"; then
2914 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2917 if test -n "$ac_config_links"; then
2918 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2921 if test -n "$ac_config_commands"; then
2922 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2925 cat >>$CONFIG_STATUS <<\_ACEOF
2927 ac_cs_usage="\
2928 \`$as_me' instantiates files from templates according to the
2929 current configuration.
2931 Usage: $0 [OPTIONS] [FILE]...
2933 -h, --help print this help, then exit
2934 -V, --version print version number, then exit
2935 -q, --quiet do not print progress messages
2936 -d, --debug don't remove temporary files
2937 --recheck update $as_me by reconfiguring in the same conditions
2938 --file=FILE[:TEMPLATE]
2939 instantiate the configuration file FILE
2941 Configuration files:
2942 $config_files
2944 Report bugs to <bug-autoconf@gnu.org>."
2945 _ACEOF
2947 cat >>$CONFIG_STATUS <<_ACEOF
2948 ac_cs_version="\\
2949 GNU Automake config.status 1.9a
2950 configured by $0, generated by GNU Autoconf 2.59a,
2951 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2953 Copyright (C) 2004 Free Software Foundation, Inc.
2954 This config.status script is free software; the Free Software Foundation
2955 gives unlimited permission to copy, distribute and modify it."
2956 srcdir=$srcdir
2957 INSTALL="$INSTALL"
2958 _ACEOF
2960 cat >>$CONFIG_STATUS <<\_ACEOF
2961 # If no file are specified by the user, then we need to provide default
2962 # value. By we need to know if files were specified by the user.
2963 ac_need_defaults=:
2964 while test $# != 0
2966 case $1 in
2967 --*=*)
2968 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2969 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2970 ac_shift=:
2973 ac_option=$1
2974 ac_optarg=$2
2975 ac_shift=shift
2977 *) # This is not an option, so the user has probably given explicit
2978 # arguments.
2979 ac_option=$1
2980 ac_need_defaults=false;;
2981 esac
2983 case $ac_option in
2984 # Handling of the options.
2985 _ACEOF
2986 cat >>$CONFIG_STATUS <<\_ACEOF
2987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2988 ac_cs_recheck=: ;;
2989 --version | --vers* | -V )
2990 echo "$ac_cs_version"; exit 0 ;;
2991 --he | --h)
2992 # Conflict between --help and --header
2993 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2994 Try \`$0 --help' for more information." >&5
2995 echo "$as_me: error: ambiguous option: $1
2996 Try \`$0 --help' for more information." >&2;}
2997 { (exit 1); exit 1; }; };;
2998 --help | --hel | -h )
2999 echo "$ac_cs_usage"; exit 0 ;;
3000 --debug | --d* | -d )
3001 debug=: ;;
3002 --file | --fil | --fi | --f )
3003 $ac_shift
3004 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3005 ac_need_defaults=false;;
3006 --header | --heade | --head | --hea )
3007 $ac_shift
3008 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3009 ac_need_defaults=false;;
3010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3011 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3012 ac_cs_silent=: ;;
3014 # This is an error.
3015 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3016 Try \`$0 --help' for more information." >&5
3017 echo "$as_me: error: unrecognized option: $1
3018 Try \`$0 --help' for more information." >&2;}
3019 { (exit 1); exit 1; }; } ;;
3021 *) ac_config_targets="$ac_config_targets $1" ;;
3023 esac
3024 shift
3025 done
3027 ac_configure_extra_args=
3029 if $ac_cs_silent; then
3030 exec 6>/dev/null
3031 ac_configure_extra_args="$ac_configure_extra_args --silent"
3034 _ACEOF
3035 cat >>$CONFIG_STATUS <<_ACEOF
3036 if \$ac_cs_recheck; then
3037 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3038 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3041 _ACEOF
3043 cat >>$CONFIG_STATUS <<_ACEOF
3045 # INIT-COMMANDS section.
3048 APIVERSION=$APIVERSION
3050 _ACEOF
3054 cat >>$CONFIG_STATUS <<\_ACEOF
3055 for ac_config_target in $ac_config_targets
3057 case "$ac_config_target" in
3058 # Handling of arguments.
3059 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3060 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3061 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3062 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3063 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3064 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3065 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3066 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3067 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3068 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3069 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3070 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3071 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3072 { (exit 1); exit 1; }; };;
3073 esac
3074 done
3076 # If the user did not use the arguments to specify the items to instantiate,
3077 # then the envvar interface is used. Set only those that are not.
3078 # We use the long form for the default assignment because of an extremely
3079 # bizarre bug on SunOS 4.1.3.
3080 if $ac_need_defaults; then
3081 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3084 # Have a temporary directory for convenience. Make it in the build tree
3085 # simply because there is no reason to put it here, and in addition,
3086 # creating and moving files from /tmp can sometimes cause problems.
3087 # Create a temporary directory, and hook for its removal unless debugging.
3088 $debug ||
3090 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
3091 trap '{ (exit 1); exit 1; }' 1 2 13 15
3094 # Create a (secure) tmp directory for tmp files.
3097 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3098 test -n "$tmp" && test -d "$tmp"
3099 } ||
3101 tmp=./confstat$$-$RANDOM
3102 (umask 077 && mkdir $tmp)
3103 } ||
3105 echo "$me: cannot create a temporary directory in ." >&2
3106 { (exit 1); exit 1; }
3109 _ACEOF
3111 cat >>$CONFIG_STATUS <<_ACEOF
3114 # CONFIG_FILES section.
3117 # No need to generate the scripts if there are no CONFIG_FILES.
3118 # This happens for instance when ./config.status config.h
3119 if test -n "\$CONFIG_FILES"; then
3120 # Protect against being on the right side of a sed subst in config.status.
3121 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3122 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3123 s,@SHELL@,$SHELL,;t t
3124 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3125 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3126 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3127 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3128 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3129 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3130 s,@exec_prefix@,$exec_prefix,;t t
3131 s,@prefix@,$prefix,;t t
3132 s,@program_transform_name@,$program_transform_name,;t t
3133 s,@bindir@,$bindir,;t t
3134 s,@sbindir@,$sbindir,;t t
3135 s,@libexecdir@,$libexecdir,;t t
3136 s,@datadir@,$datadir,;t t
3137 s,@sysconfdir@,$sysconfdir,;t t
3138 s,@sharedstatedir@,$sharedstatedir,;t t
3139 s,@localstatedir@,$localstatedir,;t t
3140 s,@libdir@,$libdir,;t t
3141 s,@includedir@,$includedir,;t t
3142 s,@oldincludedir@,$oldincludedir,;t t
3143 s,@infodir@,$infodir,;t t
3144 s,@mandir@,$mandir,;t t
3145 s,@build_alias@,$build_alias,;t t
3146 s,@host_alias@,$host_alias,;t t
3147 s,@target_alias@,$target_alias,;t t
3148 s,@DEFS@,$DEFS,;t t
3149 s,@ECHO_C@,$ECHO_C,;t t
3150 s,@ECHO_N@,$ECHO_N,;t t
3151 s,@ECHO_T@,$ECHO_T,;t t
3152 s,@LIBS@,$LIBS,;t t
3153 s,@build@,$build,;t t
3154 s,@build_cpu@,$build_cpu,;t t
3155 s,@build_vendor@,$build_vendor,;t t
3156 s,@build_os@,$build_os,;t t
3157 s,@am_AUTOCONF@,$am_AUTOCONF,;t t
3158 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3159 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3160 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3161 s,@CYGPATH_W@,$CYGPATH_W,;t t
3162 s,@PACKAGE@,$PACKAGE,;t t
3163 s,@VERSION@,$VERSION,;t t
3164 s,@ACLOCAL@,$ACLOCAL,;t t
3165 s,@AUTOCONF@,$AUTOCONF,;t t
3166 s,@AUTOMAKE@,$AUTOMAKE,;t t
3167 s,@AUTOHEADER@,$AUTOHEADER,;t t
3168 s,@MAKEINFO@,$MAKEINFO,;t t
3169 s,@install_sh@,$install_sh,;t t
3170 s,@STRIP@,$STRIP,;t t
3171 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3172 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3173 s,@mkdir_p@,$mkdir_p,;t t
3174 s,@AWK@,$AWK,;t t
3175 s,@SET_MAKE@,$SET_MAKE,;t t
3176 s,@am__leading_dot@,$am__leading_dot,;t t
3177 s,@AMTAR@,$AMTAR,;t t
3178 s,@am__tar@,$am__tar,;t t
3179 s,@am__untar@,$am__untar,;t t
3180 s,@APIVERSION@,$APIVERSION,;t t
3181 s,@pkgvdatadir@,$pkgvdatadir,;t t
3182 s,@PERL@,$PERL,;t t
3183 s,@TEX@,$TEX,;t t
3184 s,@LN@,$LN,;t t
3185 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
3186 s,@GREP@,$GREP,;t t
3187 s,@EGREP@,$EGREP,;t t
3188 s,@FGREP@,$FGREP,;t t
3189 s,@LIBOBJS@,$LIBOBJS,;t t
3190 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3191 CEOF
3193 _ACEOF
3195 cat >>$CONFIG_STATUS <<\_ACEOF
3196 # Split the substitutions into bite-sized pieces for seds with
3197 # small command number limits, like on Digital OSF/1 and HP-UX.
3198 ac_max_sed_lines=48
3199 ac_sed_frag=1 # Number of current file.
3200 ac_beg=1 # First line for current file.
3201 ac_end=$ac_max_sed_lines # Line after last line for current file.
3202 ac_more_lines=:
3203 ac_sed_cmds=
3204 while $ac_more_lines; do
3205 if test $ac_beg -gt 1; then
3206 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3207 else
3208 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3210 if test ! -s $tmp/subs.frag; then
3211 ac_more_lines=false
3212 else
3213 # The purpose of the label and of the branching condition is to
3214 # speed up the sed processing (if there are no `@' at all, there
3215 # is no need to browse any of the substitutions).
3216 # These are the two extra sed commands mentioned above.
3217 (echo ':t
3218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3219 if test -z "$ac_sed_cmds"; then
3220 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3221 else
3222 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3224 ac_sed_frag=`expr $ac_sed_frag + 1`
3225 ac_beg=$ac_end
3226 ac_end=`expr $ac_end + $ac_max_sed_lines`
3228 done
3229 if test -z "$ac_sed_cmds"; then
3230 ac_sed_cmds=cat
3232 fi # test -n "$CONFIG_FILES"
3234 _ACEOF
3235 cat >>$CONFIG_STATUS <<\_ACEOF
3236 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3237 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3238 case $ac_file in
3239 - | *:- | *:-:* ) # input from stdin
3240 cat >$tmp/stdin
3241 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3242 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3243 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3244 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3245 * ) ac_file_in=$ac_file.in ;;
3246 esac
3248 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3249 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3250 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3251 X"$ac_file" : 'X\(//\)[^/]' \| \
3252 X"$ac_file" : 'X\(//\)$' \| \
3253 X"$ac_file" : 'X\(/\)' \| \
3254 . : '\(.\)' 2>/dev/null ||
3255 echo X"$ac_file" |
3256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3258 /^X\(\/\/\)$/{ s//\1/; q; }
3259 /^X\(\/\).*/{ s//\1/; q; }
3260 s/.*/./; q'`
3261 { if $as_mkdir_p; then
3262 test -d "$ac_dir" || mkdir -p "$ac_dir"
3263 else
3264 as_dir="$ac_dir"
3265 as_dirs=
3266 while test ! -d "$as_dir"; do
3267 as_dirs="$as_dir $as_dirs"
3268 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3270 X"$as_dir" : 'X\(//\)[^/]' \| \
3271 X"$as_dir" : 'X\(//\)$' \| \
3272 X"$as_dir" : 'X\(/\)' \| \
3273 . : '\(.\)' 2>/dev/null ||
3274 echo X"$as_dir" |
3275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3277 /^X\(\/\/\)$/{ s//\1/; q; }
3278 /^X\(\/\).*/{ s//\1/; q; }
3279 s/.*/./; q'`
3280 done
3281 test ! -n "$as_dirs" || mkdir $as_dirs
3282 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3283 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3284 { (exit 1); exit 1; }; }; }
3286 ac_builddir=.
3288 if test "$ac_dir" != .; then
3289 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3290 # A "../" for each directory in $ac_dir_suffix.
3291 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3292 else
3293 ac_dir_suffix= ac_top_builddir=
3296 case $srcdir in
3297 .) # No --srcdir option. We are building in place.
3298 ac_srcdir=.
3299 if test -z "$ac_top_builddir"; then
3300 ac_top_srcdir=.
3301 else
3302 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3303 fi ;;
3304 [\\/]* | ?:[\\/]* ) # Absolute path.
3305 ac_srcdir=$srcdir$ac_dir_suffix;
3306 ac_top_srcdir=$srcdir ;;
3307 *) # Relative path.
3308 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3309 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3310 esac
3312 # Do not use `cd foo && pwd` to compute absolute paths, because
3313 # the directories may not exist.
3314 case `pwd` in
3315 .) ac_abs_builddir="$ac_dir";;
3317 case "$ac_dir" in
3318 .) ac_abs_builddir=`pwd`;;
3319 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3320 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3321 esac;;
3322 esac
3323 case $ac_abs_builddir in
3324 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3326 case ${ac_top_builddir}. in
3327 .) ac_abs_top_builddir=$ac_abs_builddir;;
3328 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3329 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3330 esac;;
3331 esac
3332 case $ac_abs_builddir in
3333 .) ac_abs_srcdir=$ac_srcdir;;
3335 case $ac_srcdir in
3336 .) ac_abs_srcdir=$ac_abs_builddir;;
3337 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3338 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3339 esac;;
3340 esac
3341 case $ac_abs_builddir in
3342 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3344 case $ac_top_srcdir in
3345 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3346 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3347 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3348 esac;;
3349 esac
3352 case $INSTALL in
3353 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3354 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3355 esac
3357 if test x"$ac_file" != x-; then
3358 { echo "$as_me:$LINENO: creating $ac_file" >&5
3359 echo "$as_me: creating $ac_file" >&6;}
3360 rm -f "$ac_file"
3362 # Let's still pretend it is `configure' which instantiates (i.e., don't
3363 # use $as_me), people would be surprised to read:
3364 # /* config.h. Generated by config.status. */
3365 if test x"$ac_file" = x-; then
3366 configure_input=
3367 else
3368 configure_input="$ac_file. "
3370 configure_input=$configure_input"Generated from `echo $ac_file_in |
3371 sed 's,.*/,,'` by configure."
3373 # First look for the input files in the build tree, otherwise in the
3374 # src tree.
3375 ac_file_inputs=`IFS=:
3376 for f in $ac_file_in; do
3377 case $f in
3378 -) echo $tmp/stdin ;;
3379 [\\/$]*)
3380 # Absolute (can't be DOS-style, as IFS=:)
3381 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3382 echo "$as_me: error: cannot find input file: $f" >&2;}
3383 { (exit 1); exit 1; }; }
3384 echo "$f";;
3385 *) # Relative
3386 if test -f "$f"; then
3387 # Build tree
3388 echo "$f"
3389 elif test -f "$srcdir/$f"; then
3390 # Source tree
3391 echo "$srcdir/$f"
3392 else
3393 # /dev/null tree
3394 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3395 echo "$as_me: error: cannot find input file: $f" >&2;}
3396 { (exit 1); exit 1; }; }
3397 fi;;
3398 esac
3399 done` || { (exit 1); exit 1; }
3400 _ACEOF
3401 cat >>$CONFIG_STATUS <<_ACEOF
3402 sed "$ac_vpsub
3403 $extrasub
3404 _ACEOF
3405 cat >>$CONFIG_STATUS <<\_ACEOF
3407 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3408 s,@configure_input@,$configure_input,;t t
3409 s,@srcdir@,$ac_srcdir,;t t
3410 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3411 s,@top_srcdir@,$ac_top_srcdir,;t t
3412 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3413 s,@builddir@,$ac_builddir,;t t
3414 s,@abs_builddir@,$ac_abs_builddir,;t t
3415 s,@top_builddir@,$ac_top_builddir,;t t
3416 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3417 s,@INSTALL@,$ac_INSTALL,;t t
3418 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3419 rm -f $tmp/stdin
3420 if test x"$ac_file" != x-; then
3421 mv $tmp/out $ac_file
3422 else
3423 cat $tmp/out
3424 rm -f $tmp/out
3427 # Run the commands associated with the file.
3428 case $ac_file in
3429 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3430 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3431 esac
3432 done
3433 _ACEOF
3435 cat >>$CONFIG_STATUS <<\_ACEOF
3437 { (exit 0); exit 0; }
3438 _ACEOF
3439 chmod +x $CONFIG_STATUS
3440 ac_clean_files=$ac_clean_files_save
3443 # configure is writing to config.log, and then calls config.status.
3444 # config.status does its own redirection, appending to config.log.
3445 # Unfortunately, on DOS this fails, as config.log is still kept open
3446 # by configure, so config.status won't be able to write to it; its
3447 # output is simply discarded. So we exec the FD to /dev/null,
3448 # effectively closing config.log, so it can be properly (re)opened and
3449 # appended to by config.status. When coming back to configure, we
3450 # need to make the FD available again.
3451 if test "$no_create" != yes; then
3452 ac_cs_success=:
3453 ac_config_status_args=
3454 test "$silent" = yes &&
3455 ac_config_status_args="$ac_config_status_args --quiet"
3456 exec 5>/dev/null
3457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3458 exec 5>>config.log
3459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3460 # would make configure fail if this is the last instruction.
3461 $ac_cs_success || { (exit 1); exit 1; }