Clarify overriding of `*_DEPENDENCIES' in LIBOBJS node.
[automake/ericb.git] / configure
blob8247805d1b9156e5760e67a0c81fa7e1f93c0fbe
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for GNU Automake 1.10a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
186 as_func_success () {
187 as_func_return 0
189 as_func_failure () {
190 as_func_return 1
192 as_func_ret_success () {
193 return 0
195 as_func_ret_failure () {
196 return 1
199 exitcode=0
200 if as_func_success; then
202 else
203 exitcode=1
204 echo as_func_success failed.
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 else
227 exitcode=1
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
298 (as_func_return () {
299 (exit $1)
301 as_func_success () {
302 as_func_return 0
304 as_func_failure () {
305 as_func_return 1
307 as_func_ret_success () {
308 return 0
310 as_func_ret_failure () {
311 return 1
314 exitcode=0
315 if as_func_success; then
317 else
318 exitcode=1
319 echo as_func_success failed.
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 else
342 exitcode=1
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 _ASEOF
355 }; then
356 break
361 done
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
388 (exit \$1)
390 as_func_success () {
391 as_func_return 0
393 as_func_failure () {
394 as_func_return 1
396 as_func_ret_success () {
397 return 0
399 as_func_ret_failure () {
400 return 1
403 exitcode=0
404 if as_func_success; then
406 else
407 exitcode=1
408 echo as_func_success failed.
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 else
431 exitcode=1
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
468 :lineno
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
532 else
533 as_ln_s='cp -p'
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540 else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
545 if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547 else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 # Initializations.
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='GNU Automake'
598 PACKAGE_TARNAME='automake'
599 PACKAGE_VERSION='1.10a'
600 PACKAGE_STRING='GNU Automake 1.10a'
601 PACKAGE_BUGREPORT='bug-automake@gnu.org'
603 ac_unique_file="automake.in"
604 ac_subst_vars='LTLIBOBJS
605 LIBOBJS
606 FGREP
607 EGREP
608 GREP
609 MODIFICATION_DELAY
611 HELP2MAN
613 PERL_THREADS
614 PERL
615 pkgvdatadir
616 APIVERSION
617 am__untar
618 am__tar
619 AMTAR
620 am__leading_dot
621 SET_MAKE
623 mkdir_p
624 MKDIR_P
625 INSTALL_STRIP_PROGRAM
626 STRIP
627 install_sh
628 MAKEINFO
629 AUTOHEADER
630 AUTOMAKE
631 AUTOCONF
632 ACLOCAL
633 VERSION
634 PACKAGE
635 CYGPATH_W
636 am__isrc
637 INSTALL_DATA
638 INSTALL_SCRIPT
639 INSTALL_PROGRAM
640 am_AUTOHEADER
641 am_AUTOCONF
642 build_os
643 build_vendor
644 build_cpu
645 build
646 target_alias
647 host_alias
648 build_alias
649 LIBS
650 ECHO_T
651 ECHO_N
652 ECHO_C
653 DEFS
654 mandir
655 localedir
656 libdir
657 psdir
658 pdfdir
659 dvidir
660 htmldir
661 infodir
662 docdir
663 oldincludedir
664 includedir
665 localstatedir
666 sharedstatedir
667 sysconfdir
668 datadir
669 datarootdir
670 libexecdir
671 sbindir
672 bindir
673 program_transform_name
674 prefix
675 exec_prefix
676 PACKAGE_BUGREPORT
677 PACKAGE_STRING
678 PACKAGE_VERSION
679 PACKAGE_TARNAME
680 PACKAGE_NAME
681 PATH_SEPARATOR
682 SHELL'
683 ac_subst_files=''
684 ac_user_opts='
685 enable_option_checking
687 ac_precious_vars='build_alias
688 host_alias
689 target_alias'
692 # Initialize some variables set by options.
693 ac_init_help=
694 ac_init_version=false
695 ac_unrecognized_opts=
696 ac_unrecognized_sep=
697 # The variables have the same names as the options, with
698 # dashes changed to underlines.
699 cache_file=/dev/null
700 exec_prefix=NONE
701 no_create=
702 no_recursion=
703 prefix=NONE
704 program_prefix=NONE
705 program_suffix=NONE
706 program_transform_name=s,x,x,
707 silent=
708 site=
709 srcdir=
710 verbose=
711 x_includes=NONE
712 x_libraries=NONE
714 # Installation directory options.
715 # These are left unexpanded so users can "make install exec_prefix=/foo"
716 # and all the variables that are supposed to be based on exec_prefix
717 # by default will actually change.
718 # Use braces instead of parens because sh, perl, etc. also accept them.
719 # (The list follows the same order as the GNU Coding Standards.)
720 bindir='${exec_prefix}/bin'
721 sbindir='${exec_prefix}/sbin'
722 libexecdir='${exec_prefix}/libexec'
723 datarootdir='${prefix}/share'
724 datadir='${datarootdir}'
725 sysconfdir='${prefix}/etc'
726 sharedstatedir='${prefix}/com'
727 localstatedir='${prefix}/var'
728 includedir='${prefix}/include'
729 oldincludedir='/usr/include'
730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
731 infodir='${datarootdir}/info'
732 htmldir='${docdir}'
733 dvidir='${docdir}'
734 pdfdir='${docdir}'
735 psdir='${docdir}'
736 libdir='${exec_prefix}/lib'
737 localedir='${datarootdir}/locale'
738 mandir='${datarootdir}/man'
740 ac_prev=
741 ac_dashdash=
742 for ac_option
744 # If the previous option needs an argument, assign it.
745 if test -n "$ac_prev"; then
746 eval $ac_prev=\$ac_option
747 ac_prev=
748 continue
751 case $ac_option in
752 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753 *) ac_optarg=yes ;;
754 esac
756 # Accept the important Cygnus configure options, so we can diagnose typos.
758 case $ac_dashdash$ac_option in
760 ac_dashdash=yes ;;
762 -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 ac_prev=bindir ;;
764 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
765 bindir=$ac_optarg ;;
767 -build | --build | --buil | --bui | --bu)
768 ac_prev=build_alias ;;
769 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
770 build_alias=$ac_optarg ;;
772 -cache-file | --cache-file | --cache-fil | --cache-fi \
773 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
774 ac_prev=cache_file ;;
775 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
776 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
777 cache_file=$ac_optarg ;;
779 --config-cache | -C)
780 cache_file=config.cache ;;
782 -datadir | --datadir | --datadi | --datad)
783 ac_prev=datadir ;;
784 -datadir=* | --datadir=* | --datadi=* | --datad=*)
785 datadir=$ac_optarg ;;
787 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
788 | --dataroo | --dataro | --datar)
789 ac_prev=datarootdir ;;
790 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
791 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
792 datarootdir=$ac_optarg ;;
794 -disable-* | --disable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
799 { (exit 1); exit 1; }; }
800 ac_useropt_orig=$ac_useropt
801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
804 "enable_$ac_useropt"
805 "*) ;;
806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
807 ac_unrecognized_sep=', ';;
808 esac
809 eval enable_$ac_useropt=no ;;
811 -docdir | --docdir | --docdi | --doc | --do)
812 ac_prev=docdir ;;
813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814 docdir=$ac_optarg ;;
816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817 ac_prev=dvidir ;;
818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819 dvidir=$ac_optarg ;;
821 -enable-* | --enable-*)
822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
826 { (exit 1); exit 1; }; }
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
831 "enable_$ac_useropt"
832 "*) ;;
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
835 esac
836 eval enable_$ac_useropt=\$ac_optarg ;;
838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840 | --exec | --exe | --ex)
841 ac_prev=exec_prefix ;;
842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844 | --exec=* | --exe=* | --ex=*)
845 exec_prefix=$ac_optarg ;;
847 -gas | --gas | --ga | --g)
848 # Obsolete; use --with-gas.
849 with_gas=yes ;;
851 -help | --help | --hel | --he | -h)
852 ac_init_help=long ;;
853 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854 ac_init_help=recursive ;;
855 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856 ac_init_help=short ;;
858 -host | --host | --hos | --ho)
859 ac_prev=host_alias ;;
860 -host=* | --host=* | --hos=* | --ho=*)
861 host_alias=$ac_optarg ;;
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
864 ac_prev=htmldir ;;
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
866 | --ht=*)
867 htmldir=$ac_optarg ;;
869 -includedir | --includedir | --includedi | --included | --include \
870 | --includ | --inclu | --incl | --inc)
871 ac_prev=includedir ;;
872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873 | --includ=* | --inclu=* | --incl=* | --inc=*)
874 includedir=$ac_optarg ;;
876 -infodir | --infodir | --infodi | --infod | --info | --inf)
877 ac_prev=infodir ;;
878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879 infodir=$ac_optarg ;;
881 -libdir | --libdir | --libdi | --libd)
882 ac_prev=libdir ;;
883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
884 libdir=$ac_optarg ;;
886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887 | --libexe | --libex | --libe)
888 ac_prev=libexecdir ;;
889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890 | --libexe=* | --libex=* | --libe=*)
891 libexecdir=$ac_optarg ;;
893 -localedir | --localedir | --localedi | --localed | --locale)
894 ac_prev=localedir ;;
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896 localedir=$ac_optarg ;;
898 -localstatedir | --localstatedir | --localstatedi | --localstated \
899 | --localstate | --localstat | --localsta | --localst | --locals)
900 ac_prev=localstatedir ;;
901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903 localstatedir=$ac_optarg ;;
905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
906 ac_prev=mandir ;;
907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908 mandir=$ac_optarg ;;
910 -nfp | --nfp | --nf)
911 # Obsolete; use --without-fp.
912 with_fp=no ;;
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n)
916 no_create=yes ;;
918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
920 no_recursion=yes ;;
922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924 | --oldin | --oldi | --old | --ol | --o)
925 ac_prev=oldincludedir ;;
926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929 oldincludedir=$ac_optarg ;;
931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
932 ac_prev=prefix ;;
933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
934 prefix=$ac_optarg ;;
936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
937 | --program-pre | --program-pr | --program-p)
938 ac_prev=program_prefix ;;
939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941 program_prefix=$ac_optarg ;;
943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
944 | --program-suf | --program-su | --program-s)
945 ac_prev=program_suffix ;;
946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948 program_suffix=$ac_optarg ;;
950 -program-transform-name | --program-transform-name \
951 | --program-transform-nam | --program-transform-na \
952 | --program-transform-n | --program-transform- \
953 | --program-transform | --program-transfor \
954 | --program-transfo | --program-transf \
955 | --program-trans | --program-tran \
956 | --progr-tra | --program-tr | --program-t)
957 ac_prev=program_transform_name ;;
958 -program-transform-name=* | --program-transform-name=* \
959 | --program-transform-nam=* | --program-transform-na=* \
960 | --program-transform-n=* | --program-transform-=* \
961 | --program-transform=* | --program-transfor=* \
962 | --program-transfo=* | --program-transf=* \
963 | --program-trans=* | --program-tran=* \
964 | --progr-tra=* | --program-tr=* | --program-t=*)
965 program_transform_name=$ac_optarg ;;
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
968 ac_prev=pdfdir ;;
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
970 pdfdir=$ac_optarg ;;
972 -psdir | --psdir | --psdi | --psd | --ps)
973 ac_prev=psdir ;;
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
975 psdir=$ac_optarg ;;
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
979 silent=yes ;;
981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
982 ac_prev=sbindir ;;
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
984 | --sbi=* | --sb=*)
985 sbindir=$ac_optarg ;;
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
990 | --sha | --sh)
991 ac_prev=sharedstatedir ;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
995 | --sha=* | --sh=*)
996 sharedstatedir=$ac_optarg ;;
998 -site | --site | --sit)
999 ac_prev=site ;;
1000 -site=* | --site=* | --sit=*)
1001 site=$ac_optarg ;;
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1004 ac_prev=srcdir ;;
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir=$ac_optarg ;;
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev=sysconfdir ;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir=$ac_optarg ;;
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev=target_alias ;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias=$ac_optarg ;;
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1021 verbose=yes ;;
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version=: ;;
1026 -with-* | --with-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1031 { (exit 1); exit 1; }; }
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "with_$ac_useropt"
1037 "*) ;;
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1040 esac
1041 eval with_$ac_useropt=\$ac_optarg ;;
1043 -without-* | --without-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "with_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval with_$ac_useropt=no ;;
1060 --x)
1061 # Obsolete; use --with-x.
1062 with_x=yes ;;
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1078 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1079 Try \`$0 --help' for more information." >&2
1080 { (exit 1); exit 1; }; }
1083 *=*)
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1087 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088 { (exit 1); exit 1; }; }
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1100 esac
1101 done
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1106 { (exit 1); exit 1; }; }
1109 if test -n "$ac_unrecognized_opts"; then
1110 case $enable_option_checking in
1111 no) ;;
1112 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1113 { (exit 1); exit 1; }; } ;;
1114 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1115 esac
1118 # Check all directory arguments for consistency.
1119 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1120 datadir sysconfdir sharedstatedir localstatedir includedir \
1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1122 libdir localedir mandir
1124 eval ac_val=\$$ac_var
1125 # Remove trailing slashes.
1126 case $ac_val in
1127 */ )
1128 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1129 eval $ac_var=\$ac_val;;
1130 esac
1131 # Be sure to have absolute directory names.
1132 case $ac_val in
1133 [\\/$]* | ?:[\\/]* ) continue;;
1134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 esac
1136 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1137 { (exit 1); exit 1; }; }
1138 done
1140 # There might be people who depend on the old broken behavior: `$host'
1141 # used to hold the argument of --host etc.
1142 # FIXME: To remove some day.
1143 build=$build_alias
1144 host=$host_alias
1145 target=$target_alias
1147 # FIXME: To remove some day.
1148 if test "x$host_alias" != x; then
1149 if test "x$build_alias" = x; then
1150 cross_compiling=maybe
1151 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1152 If a cross compiler is detected then cross compile mode will be used." >&2
1153 elif test "x$build_alias" != "x$host_alias"; then
1154 cross_compiling=yes
1158 ac_tool_prefix=
1159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161 test "$silent" = yes && exec 6>/dev/null
1164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di=`ls -di .` &&
1166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1168 { (exit 1); exit 1; }; }
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1171 { (exit 1); exit 1; }; }
1174 # Find the source files, if location was not specified.
1175 if test -z "$srcdir"; then
1176 ac_srcdir_defaulted=yes
1177 # Try the directory containing this script, then the parent directory.
1178 ac_confdir=`$as_dirname -- "$as_myself" ||
1179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$as_myself" : 'X\(//\)[^/]' \| \
1181 X"$as_myself" : 'X\(//\)$' \| \
1182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183 $as_echo X"$as_myself" |
1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185 s//\1/
1188 /^X\(\/\/\)[^/].*/{
1189 s//\1/
1192 /^X\(\/\/\)$/{
1193 s//\1/
1196 /^X\(\/\).*/{
1197 s//\1/
1200 s/.*/./; q'`
1201 srcdir=$ac_confdir
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 srcdir=..
1205 else
1206 ac_srcdir_defaulted=no
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1210 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1211 { (exit 1); exit 1; }; }
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1216 { (exit 1); exit 1; }; }
1217 pwd)`
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 srcdir=.
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1225 case $srcdir in
1226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 esac
1228 for ac_var in $ac_precious_vars; do
1229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_${ac_var}_value=\$${ac_var}
1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233 done
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1241 cat <<_ACEOF
1242 \`configure' configures GNU Automake 1.10a to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1251 Configuration:
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 [PREFIX]
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1295 _ACEOF
1297 cat <<\_ACEOF
1299 Program names:
1300 --program-prefix=PREFIX prepend PREFIX to installed program names
1301 --program-suffix=SUFFIX append SUFFIX to installed program names
1302 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1304 System types:
1305 --build=BUILD configure for building on BUILD [guessed]
1306 _ACEOF
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short | recursive ) echo "Configuration of GNU Automake 1.10a:";;
1312 esac
1313 cat <<\_ACEOF
1315 Report bugs to <bug-automake@gnu.org>.
1316 _ACEOF
1317 ac_status=$?
1320 if test "$ac_init_help" = "recursive"; then
1321 # If there are subdirs, report their specific --help.
1322 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1323 test -d "$ac_dir" ||
1324 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1325 continue
1326 ac_builddir=.
1328 case "$ac_dir" in
1329 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1332 # A ".." for each directory in $ac_dir_suffix.
1333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1334 case $ac_top_builddir_sub in
1335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1337 esac ;;
1338 esac
1339 ac_abs_top_builddir=$ac_pwd
1340 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1341 # for backward compatibility:
1342 ac_top_builddir=$ac_top_build_prefix
1344 case $srcdir in
1345 .) # We are building in place.
1346 ac_srcdir=.
1347 ac_top_srcdir=$ac_top_builddir_sub
1348 ac_abs_top_srcdir=$ac_pwd ;;
1349 [\\/]* | ?:[\\/]* ) # Absolute name.
1350 ac_srcdir=$srcdir$ac_dir_suffix;
1351 ac_top_srcdir=$srcdir
1352 ac_abs_top_srcdir=$srcdir ;;
1353 *) # Relative name.
1354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1355 ac_top_srcdir=$ac_top_build_prefix$srcdir
1356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1357 esac
1358 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360 cd "$ac_dir" || { ac_status=$?; continue; }
1361 # Check for guested configure.
1362 if test -f "$ac_srcdir/configure.gnu"; then
1363 echo &&
1364 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1365 elif test -f "$ac_srcdir/configure"; then
1366 echo &&
1367 $SHELL "$ac_srcdir/configure" --help=recursive
1368 else
1369 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370 fi || ac_status=$?
1371 cd "$ac_pwd" || { ac_status=$?; break; }
1372 done
1375 test -n "$ac_init_help" && exit $ac_status
1376 if $ac_init_version; then
1377 cat <<\_ACEOF
1378 GNU Automake configure 1.10a
1379 generated by GNU Autoconf 2.63
1381 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1382 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1385 _ACEOF
1386 exit
1388 cat >config.log <<_ACEOF
1389 This file contains any messages produced by compilers while
1390 running configure, to aid debugging if configure makes a mistake.
1392 It was created by GNU Automake $as_me 1.10a, which was
1393 generated by GNU Autoconf 2.63. Invocation command line was
1395 $ $0 $@
1397 _ACEOF
1398 exec 5>>config.log
1400 cat <<_ASUNAME
1401 ## --------- ##
1402 ## Platform. ##
1403 ## --------- ##
1405 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1406 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1407 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1408 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1409 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1411 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1412 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1414 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1415 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1416 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1417 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1418 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1419 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1420 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1422 _ASUNAME
1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1425 for as_dir in $PATH
1427 IFS=$as_save_IFS
1428 test -z "$as_dir" && as_dir=.
1429 $as_echo "PATH: $as_dir"
1430 done
1431 IFS=$as_save_IFS
1433 } >&5
1435 cat >&5 <<_ACEOF
1438 ## ----------- ##
1439 ## Core tests. ##
1440 ## ----------- ##
1442 _ACEOF
1445 # Keep a trace of the command line.
1446 # Strip out --no-create and --no-recursion so they do not pile up.
1447 # Strip out --silent because we don't want to record it for future runs.
1448 # Also quote any args containing shell meta-characters.
1449 # Make two passes to allow for proper duplicate-argument suppression.
1450 ac_configure_args=
1451 ac_configure_args0=
1452 ac_configure_args1=
1453 ac_must_keep_next=false
1454 for ac_pass in 1 2
1456 for ac_arg
1458 case $ac_arg in
1459 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1460 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1461 | -silent | --silent | --silen | --sile | --sil)
1462 continue ;;
1463 *\'*)
1464 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1465 esac
1466 case $ac_pass in
1467 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1469 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1470 if test $ac_must_keep_next = true; then
1471 ac_must_keep_next=false # Got value, back to normal.
1472 else
1473 case $ac_arg in
1474 *=* | --config-cache | -C | -disable-* | --disable-* \
1475 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1476 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1477 | -with-* | --with-* | -without-* | --without-* | --x)
1478 case "$ac_configure_args0 " in
1479 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1480 esac
1482 -* ) ac_must_keep_next=true ;;
1483 esac
1485 ac_configure_args="$ac_configure_args '$ac_arg'"
1487 esac
1488 done
1489 done
1490 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1491 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1493 # When interrupted or exit'd, cleanup temporary files, and complete
1494 # config.log. We remove comments because anyway the quotes in there
1495 # would cause problems or look ugly.
1496 # WARNING: Use '\'' to represent an apostrophe within the trap.
1497 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1498 trap 'exit_status=$?
1499 # Save into config.log some information that might help in debugging.
1501 echo
1503 cat <<\_ASBOX
1504 ## ---------------- ##
1505 ## Cache variables. ##
1506 ## ---------------- ##
1507 _ASBOX
1508 echo
1509 # The following way of writing the cache mishandles newlines in values,
1511 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1512 eval ac_val=\$$ac_var
1513 case $ac_val in #(
1514 *${as_nl}*)
1515 case $ac_var in #(
1516 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1517 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1518 esac
1519 case $ac_var in #(
1520 _ | IFS | as_nl) ;; #(
1521 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1522 *) $as_unset $ac_var ;;
1523 esac ;;
1524 esac
1525 done
1526 (set) 2>&1 |
1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1528 *${as_nl}ac_space=\ *)
1529 sed -n \
1530 "s/'\''/'\''\\\\'\'''\''/g;
1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1532 ;; #(
1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1536 esac |
1537 sort
1539 echo
1541 cat <<\_ASBOX
1542 ## ----------------- ##
1543 ## Output variables. ##
1544 ## ----------------- ##
1545 _ASBOX
1546 echo
1547 for ac_var in $ac_subst_vars
1549 eval ac_val=\$$ac_var
1550 case $ac_val in
1551 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1552 esac
1553 $as_echo "$ac_var='\''$ac_val'\''"
1554 done | sort
1555 echo
1557 if test -n "$ac_subst_files"; then
1558 cat <<\_ASBOX
1559 ## ------------------- ##
1560 ## File substitutions. ##
1561 ## ------------------- ##
1562 _ASBOX
1563 echo
1564 for ac_var in $ac_subst_files
1566 eval ac_val=\$$ac_var
1567 case $ac_val in
1568 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1569 esac
1570 $as_echo "$ac_var='\''$ac_val'\''"
1571 done | sort
1572 echo
1575 if test -s confdefs.h; then
1576 cat <<\_ASBOX
1577 ## ----------- ##
1578 ## confdefs.h. ##
1579 ## ----------- ##
1580 _ASBOX
1581 echo
1582 cat confdefs.h
1583 echo
1585 test "$ac_signal" != 0 &&
1586 $as_echo "$as_me: caught signal $ac_signal"
1587 $as_echo "$as_me: exit $exit_status"
1588 } >&5
1589 rm -f core *.core core.conftest.* &&
1590 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1591 exit $exit_status
1593 for ac_signal in 1 2 13 15; do
1594 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1595 done
1596 ac_signal=0
1598 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1599 rm -f -r conftest* confdefs.h
1601 # Predefined preprocessor variables.
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_NAME "$PACKAGE_NAME"
1605 _ACEOF
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1610 _ACEOF
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1615 _ACEOF
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_STRING "$PACKAGE_STRING"
1620 _ACEOF
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1625 _ACEOF
1628 # Let the site file select an alternate cache file if it wants to.
1629 # Prefer an explicitly selected file to automatically selected ones.
1630 ac_site_file1=NONE
1631 ac_site_file2=NONE
1632 if test -n "$CONFIG_SITE"; then
1633 ac_site_file1=$CONFIG_SITE
1634 elif test "x$prefix" != xNONE; then
1635 ac_site_file1=$prefix/share/config.site
1636 ac_site_file2=$prefix/etc/config.site
1637 else
1638 ac_site_file1=$ac_default_prefix/share/config.site
1639 ac_site_file2=$ac_default_prefix/etc/config.site
1641 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1643 test "x$ac_site_file" = xNONE && continue
1644 if test -r "$ac_site_file"; then
1645 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1646 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1647 sed 's/^/| /' "$ac_site_file" >&5
1648 . "$ac_site_file"
1650 done
1652 if test -r "$cache_file"; then
1653 # Some versions of bash will fail to source /dev/null (special
1654 # files actually), so we avoid doing that.
1655 if test -f "$cache_file"; then
1656 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1657 $as_echo "$as_me: loading cache $cache_file" >&6;}
1658 case $cache_file in
1659 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660 *) . "./$cache_file";;
1661 esac
1663 else
1664 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1665 $as_echo "$as_me: creating cache $cache_file" >&6;}
1666 >$cache_file
1669 # Check that the precious variables saved in the cache have kept the same
1670 # value.
1671 ac_cache_corrupted=false
1672 for ac_var in $ac_precious_vars; do
1673 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674 eval ac_new_set=\$ac_env_${ac_var}_set
1675 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676 eval ac_new_val=\$ac_env_${ac_var}_value
1677 case $ac_old_set,$ac_new_set in
1678 set,)
1679 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681 ac_cache_corrupted=: ;;
1682 ,set)
1683 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1684 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1686 ,);;
1688 if test "x$ac_old_val" != "x$ac_new_val"; then
1689 # differences in whitespace do not lead to failure.
1690 ac_old_val_w=`echo x $ac_old_val`
1691 ac_new_val_w=`echo x $ac_new_val`
1692 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1693 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1694 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1695 ac_cache_corrupted=:
1696 else
1697 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1698 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1699 eval $ac_var=\$ac_old_val
1701 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1702 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1703 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1704 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1705 fi;;
1706 esac
1707 # Pass precious variables to config.status.
1708 if test "$ac_new_set" = set; then
1709 case $ac_new_val in
1710 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1711 *) ac_arg=$ac_var=$ac_new_val ;;
1712 esac
1713 case " $ac_configure_args " in
1714 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1715 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1716 esac
1718 done
1719 if $ac_cache_corrupted; then
1720 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1722 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1724 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1725 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1726 { (exit 1); exit 1; }; }
1753 ac_ext=c
1754 ac_cpp='$CPP $CPPFLAGS'
1755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1762 ac_aux_dir=
1763 for ac_dir in lib "$srcdir"/lib; do
1764 if test -f "$ac_dir/install-sh"; then
1765 ac_aux_dir=$ac_dir
1766 ac_install_sh="$ac_aux_dir/install-sh -c"
1767 break
1768 elif test -f "$ac_dir/install.sh"; then
1769 ac_aux_dir=$ac_dir
1770 ac_install_sh="$ac_aux_dir/install.sh -c"
1771 break
1772 elif test -f "$ac_dir/shtool"; then
1773 ac_aux_dir=$ac_dir
1774 ac_install_sh="$ac_aux_dir/shtool install -c"
1775 break
1777 done
1778 if test -z "$ac_aux_dir"; then
1779 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1780 $as_echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1781 { (exit 1); exit 1; }; }
1784 # These three variables are undocumented and unsupported,
1785 # and are intended to be withdrawn in a future Autoconf release.
1786 # They can cause serious problems if a builder's source tree is in a directory
1787 # whose full name contains unusual characters.
1788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1794 # Make sure we can run config.sub.
1795 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1796 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1797 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1798 { (exit 1); exit 1; }; }
1800 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1801 $as_echo_n "checking build system type... " >&6; }
1802 if test "${ac_cv_build+set}" = set; then
1803 $as_echo_n "(cached) " >&6
1804 else
1805 ac_build_alias=$build_alias
1806 test "x$ac_build_alias" = x &&
1807 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1808 test "x$ac_build_alias" = x &&
1809 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1810 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1811 { (exit 1); exit 1; }; }
1812 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1813 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1814 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1815 { (exit 1); exit 1; }; }
1818 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1819 $as_echo "$ac_cv_build" >&6; }
1820 case $ac_cv_build in
1821 *-*-*) ;;
1822 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1823 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1824 { (exit 1); exit 1; }; };;
1825 esac
1826 build=$ac_cv_build
1827 ac_save_IFS=$IFS; IFS='-'
1828 set x $ac_cv_build
1829 shift
1830 build_cpu=$1
1831 build_vendor=$2
1832 shift; shift
1833 # Remember, the first character of IFS is used to create $*,
1834 # except with old shells:
1835 build_os=$*
1836 IFS=$ac_save_IFS
1837 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1841 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1842 # way we can run Autoconf tests from configure (or from the test
1843 # suite) without being bothered by `missing'. Likewise for autoheader.
1844 am_AUTOCONF="${AUTOCONF-autoconf}"
1846 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1849 am__api_version='1.10a'
1851 # Find a good install program. We prefer a C program (faster),
1852 # so one script is as good as another. But avoid the broken or
1853 # incompatible versions:
1854 # SysV /etc/install, /usr/sbin/install
1855 # SunOS /usr/etc/install
1856 # IRIX /sbin/install
1857 # AIX /bin/install
1858 # AmigaOS /C/install, which installs bootblocks on floppy discs
1859 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1860 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1861 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1862 # OS/2's system install, which has a completely different semantic
1863 # ./install, which can be erroneously created by make from ./install.sh.
1864 # Reject install programs that cannot install multiple files.
1865 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1866 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1867 if test -z "$INSTALL"; then
1868 if test "${ac_cv_path_install+set}" = set; then
1869 $as_echo_n "(cached) " >&6
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 # Account for people who put trailing slashes in PATH elements.
1877 case $as_dir/ in
1878 ./ | .// | /cC/* | \
1879 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1880 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1881 /usr/ucb/* ) ;;
1883 # OSF1 and SCO ODT 3.0 have their own names for install.
1884 # Don't use installbsd from OSF since it installs stuff as root
1885 # by default.
1886 for ac_prog in ginstall scoinst install; do
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1889 if test $ac_prog = install &&
1890 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1891 # AIX install. It has an incompatible calling convention.
1893 elif test $ac_prog = install &&
1894 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1895 # program-specific install script used by HP pwplus--don't use.
1897 else
1898 rm -rf conftest.one conftest.two conftest.dir
1899 echo one > conftest.one
1900 echo two > conftest.two
1901 mkdir conftest.dir
1902 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1903 test -s conftest.one && test -s conftest.two &&
1904 test -s conftest.dir/conftest.one &&
1905 test -s conftest.dir/conftest.two
1906 then
1907 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1908 break 3
1912 done
1913 done
1915 esac
1917 done
1918 IFS=$as_save_IFS
1920 rm -rf conftest.one conftest.two conftest.dir
1923 if test "${ac_cv_path_install+set}" = set; then
1924 INSTALL=$ac_cv_path_install
1925 else
1926 # As a last resort, use the slow shell script. Don't cache a
1927 # value for INSTALL within a source directory, because that will
1928 # break other packages using the cache if that directory is
1929 # removed, or if the value is a relative name.
1930 INSTALL=$ac_install_sh
1933 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1934 $as_echo "$INSTALL" >&6; }
1936 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1937 # It thinks the first close brace ends the variable substitution.
1938 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1940 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1942 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1944 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1945 $as_echo_n "checking whether build environment is sane... " >&6; }
1946 # Just in case
1947 sleep 1
1948 echo timestamp > conftest.file
1949 # Reject unsafe characters in $srcdir or the absolute working directory
1950 # name. Accept space and tab only in the latter.
1951 am_lf='
1953 case `pwd` in
1954 *[\\\"\#\$\&\'\`$am_lf]*)
1955 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1956 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1957 { (exit 1); exit 1; }; };;
1958 esac
1959 case $srcdir in
1960 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1961 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1962 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1963 { (exit 1); exit 1; }; };;
1964 esac
1966 # Do `set' in a subshell so we don't clobber the current shell's
1967 # arguments. Must try -L first in case configure is actually a
1968 # symlink; some systems play weird games with the mod time of symlinks
1969 # (eg FreeBSD returns the mod time of the symlink's containing
1970 # directory).
1971 if (
1972 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1973 if test "$*" = "X"; then
1974 # -L didn't work.
1975 set X `ls -t "$srcdir/configure" conftest.file`
1977 rm -f conftest.file
1978 if test "$*" != "X $srcdir/configure conftest.file" \
1979 && test "$*" != "X conftest.file $srcdir/configure"; then
1981 # If neither matched, then we have a broken ls. This can happen
1982 # if, for instance, CONFIG_SHELL is bash and it inherits a
1983 # broken ls alias from the environment. This has actually
1984 # happened. Such a system could not be considered "sane".
1985 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1986 alias in your environment" >&5
1987 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1988 alias in your environment" >&2;}
1989 { (exit 1); exit 1; }; }
1992 test "$2" = conftest.file
1994 then
1995 # Ok.
1997 else
1998 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1999 Check your system clock" >&5
2000 $as_echo "$as_me: error: newly created file is older than distributed files!
2001 Check your system clock" >&2;}
2002 { (exit 1); exit 1; }; }
2004 { $as_echo "$as_me:$LINENO: result: yes" >&5
2005 $as_echo "yes" >&6; }
2006 test "$program_prefix" != NONE &&
2007 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2008 # Use a double $ so make ignores it.
2009 test "$program_suffix" != NONE &&
2010 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2011 # Double any \ or $.
2012 # By default was `s,x,x', remove it if useless.
2013 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2014 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2016 # expand $ac_aux_dir to an absolute path
2017 am_aux_dir=`cd $ac_aux_dir && pwd`
2019 if test x"${MISSING+set}" != xset; then
2020 case $am_aux_dir in
2021 *\ * | *\ *)
2022 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2024 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2025 esac
2027 # Use eval to expand $SHELL
2028 if eval "$MISSING --run true"; then
2029 am_missing_run="$MISSING --run "
2030 else
2031 am_missing_run=
2032 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2033 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2036 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2037 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2038 if test -z "$MKDIR_P"; then
2039 if test "${ac_cv_path_mkdir+set}" = set; then
2040 $as_echo_n "(cached) " >&6
2041 else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_prog in mkdir gmkdir; do
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2050 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2051 'mkdir (GNU coreutils) '* | \
2052 'mkdir (coreutils) '* | \
2053 'mkdir (fileutils) '4.1*)
2054 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2055 break 3;;
2056 esac
2057 done
2058 done
2059 done
2060 IFS=$as_save_IFS
2064 if test "${ac_cv_path_mkdir+set}" = set; then
2065 MKDIR_P="$ac_cv_path_mkdir -p"
2066 else
2067 # As a last resort, use the slow shell script. Don't cache a
2068 # value for MKDIR_P within a source directory, because that will
2069 # break other packages using the cache if that directory is
2070 # removed, or if the value is a relative name.
2071 test -d ./--version && rmdir ./--version
2072 MKDIR_P="$ac_install_sh -d"
2075 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2076 $as_echo "$MKDIR_P" >&6; }
2078 mkdir_p="$MKDIR_P"
2079 case $mkdir_p in
2080 [\\/$]* | ?:[\\/]*) ;;
2081 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2082 esac
2084 for ac_prog in gawk mawk nawk awk
2086 # Extract the first word of "$ac_prog", so it can be a program name with args.
2087 set dummy $ac_prog; ac_word=$2
2088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 $as_echo_n "checking for $ac_word... " >&6; }
2090 if test "${ac_cv_prog_AWK+set}" = set; then
2091 $as_echo_n "(cached) " >&6
2092 else
2093 if test -n "$AWK"; then
2094 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_AWK="$ac_prog"
2104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2107 done
2108 done
2109 IFS=$as_save_IFS
2113 AWK=$ac_cv_prog_AWK
2114 if test -n "$AWK"; then
2115 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2116 $as_echo "$AWK" >&6; }
2117 else
2118 { $as_echo "$as_me:$LINENO: result: no" >&5
2119 $as_echo "no" >&6; }
2123 test -n "$AWK" && break
2124 done
2126 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2127 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2128 set x ${MAKE-make}
2129 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2130 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2131 $as_echo_n "(cached) " >&6
2132 else
2133 cat >conftest.make <<\_ACEOF
2134 SHELL = /bin/sh
2135 all:
2136 @echo '@@@%%%=$(MAKE)=@@@%%%'
2137 _ACEOF
2138 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2139 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2140 *@@@%%%=?*=@@@%%%*)
2141 eval ac_cv_prog_make_${ac_make}_set=yes;;
2143 eval ac_cv_prog_make_${ac_make}_set=no;;
2144 esac
2145 rm -f conftest.make
2147 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2148 { $as_echo "$as_me:$LINENO: result: yes" >&5
2149 $as_echo "yes" >&6; }
2150 SET_MAKE=
2151 else
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153 $as_echo "no" >&6; }
2154 SET_MAKE="MAKE=${MAKE-make}"
2157 rm -rf .tst 2>/dev/null
2158 mkdir .tst 2>/dev/null
2159 if test -d .tst; then
2160 am__leading_dot=.
2161 else
2162 am__leading_dot=_
2164 rmdir .tst 2>/dev/null
2166 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2167 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2168 # is not polluted with repeated "-I."
2169 am__isrc=' -I$(srcdir)'
2170 # test to see if srcdir already configured
2171 if test -f $srcdir/config.status; then
2172 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2173 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2174 { (exit 1); exit 1; }; }
2178 # test whether we have cygpath
2179 if test -z "$CYGPATH_W"; then
2180 if (cygpath --version) >/dev/null 2>/dev/null; then
2181 CYGPATH_W='cygpath -w'
2182 else
2183 CYGPATH_W=echo
2188 # Define the identity of the package.
2189 PACKAGE='automake'
2190 VERSION='1.10a'
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE "$PACKAGE"
2195 _ACEOF
2198 cat >>confdefs.h <<_ACEOF
2199 #define VERSION "$VERSION"
2200 _ACEOF
2202 # Some tools Automake needs.
2204 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2207 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2210 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2213 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2216 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2218 if test x"${install_sh}" != xset; then
2219 case $am_aux_dir in
2220 *\ * | *\ *)
2221 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2223 install_sh="\${SHELL} $am_aux_dir/install-sh"
2224 esac
2227 # Installed binaries are usually stripped using `strip' when the user
2228 # run `make install-strip'. However `strip' might not be the right
2229 # tool to use in cross-compilation environments, therefore Automake
2230 # will honor the `STRIP' environment variable to overrule this program.
2231 if test "$cross_compiling" != no; then
2232 if test -n "$ac_tool_prefix"; then
2233 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2234 set dummy ${ac_tool_prefix}strip; ac_word=$2
2235 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 $as_echo_n "checking for $ac_word... " >&6; }
2237 if test "${ac_cv_prog_STRIP+set}" = set; then
2238 $as_echo_n "(cached) " >&6
2239 else
2240 if test -n "$STRIP"; then
2241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2242 else
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 for as_dir in $PATH
2246 IFS=$as_save_IFS
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2251 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 break 2
2254 done
2255 done
2256 IFS=$as_save_IFS
2260 STRIP=$ac_cv_prog_STRIP
2261 if test -n "$STRIP"; then
2262 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2263 $as_echo "$STRIP" >&6; }
2264 else
2265 { $as_echo "$as_me:$LINENO: result: no" >&5
2266 $as_echo "no" >&6; }
2271 if test -z "$ac_cv_prog_STRIP"; then
2272 ac_ct_STRIP=$STRIP
2273 # Extract the first word of "strip", so it can be a program name with args.
2274 set dummy strip; ac_word=$2
2275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2276 $as_echo_n "checking for $ac_word... " >&6; }
2277 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2278 $as_echo_n "(cached) " >&6
2279 else
2280 if test -n "$ac_ct_STRIP"; then
2281 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2282 else
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 for as_dir in $PATH
2286 IFS=$as_save_IFS
2287 test -z "$as_dir" && as_dir=.
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290 ac_cv_prog_ac_ct_STRIP="strip"
2291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 break 2
2294 done
2295 done
2296 IFS=$as_save_IFS
2300 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2301 if test -n "$ac_ct_STRIP"; then
2302 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2303 $as_echo "$ac_ct_STRIP" >&6; }
2304 else
2305 { $as_echo "$as_me:$LINENO: result: no" >&5
2306 $as_echo "no" >&6; }
2309 if test "x$ac_ct_STRIP" = x; then
2310 STRIP=":"
2311 else
2312 case $cross_compiling:$ac_tool_warned in
2313 yes:)
2314 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2316 ac_tool_warned=yes ;;
2317 esac
2318 STRIP=$ac_ct_STRIP
2320 else
2321 STRIP="$ac_cv_prog_STRIP"
2325 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2327 # We need awk for the "check" target. The system "awk" is bad on
2328 # some platforms.
2329 # Always define AMTAR for backward compatibility.
2331 AMTAR=${AMTAR-"${am_missing_run}tar"}
2333 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2340 # The API version is the base version. We must guarantee
2341 # compatibility for all releases with the same API version.
2342 # Our current rule is that:
2343 # * All releases, including the prereleases, in an X.Y series
2344 # are compatible. So 1.5.1c is compatible with 1.5.
2345 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2346 # aren't the same.
2347 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2350 # A versioned directory, defined here for convenience.
2351 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2354 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2355 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2356 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2357 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2359 # Extract the first word of "perl", so it can be a program name with args.
2360 set dummy perl; ac_word=$2
2361 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 $as_echo_n "checking for $ac_word... " >&6; }
2363 if test "${ac_cv_path_PERL+set}" = set; then
2364 $as_echo_n "(cached) " >&6
2365 else
2366 case $PERL in
2367 [\\/]* | ?:[\\/]*)
2368 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 for as_dir in $PATH
2374 IFS=$as_save_IFS
2375 test -z "$as_dir" && as_dir=.
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2379 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 break 2
2382 done
2383 done
2384 IFS=$as_save_IFS
2387 esac
2389 PERL=$ac_cv_path_PERL
2390 if test -n "$PERL"; then
2391 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2392 $as_echo "$PERL" >&6; }
2393 else
2394 { $as_echo "$as_me:$LINENO: result: no" >&5
2395 $as_echo "no" >&6; }
2399 if test -z "$PERL"; then
2400 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
2401 $as_echo "$as_me: error: perl not found" >&2;}
2402 { (exit 1); exit 1; }; }
2404 $PERL -e 'require 5.006;' || {
2405 { { $as_echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2406 is recommended. If you have several perl versions
2407 installed, select the one Automake should use using
2408 ./configure PERL=/path/to/perl" >&5
2409 $as_echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2410 is recommended. If you have several perl versions
2411 installed, select the one Automake should use using
2412 ./configure PERL=/path/to/perl" >&2;}
2413 { (exit 1); exit 1; }; }
2416 # We require ithreads support, and version 5.7.2 for CLONE.
2417 { $as_echo "$as_me:$LINENO: checking whether $PERL supports ithreads" >&5
2418 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2419 if test "${am_cv_prog_PERL_ithreads+set}" = set; then
2420 $as_echo_n "(cached) " >&6
2421 else
2422 if $PERL -e '
2423 require 5.007_002;
2424 use Config;
2425 if ($Config{useithreads})
2427 require threads;
2428 import threads;
2429 require Thread::Queue;
2430 import Thread::Queue;
2431 exit 0;
2433 exit 1;' >&5 2>&1
2434 then
2435 am_cv_prog_PERL_ithreads=yes
2436 else
2437 am_cv_prog_PERL_ithreads=no
2440 { $as_echo "$as_me:$LINENO: result: $am_cv_prog_PERL_ithreads" >&5
2441 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2442 if test $am_cv_prog_PERL_ithreads = yes; then
2443 PERL_THREADS=1;
2444 else
2445 PERL_THREADS=0;
2449 # The test suite will skip some tests if tex is absent.
2450 # Extract the first word of "tex", so it can be a program name with args.
2451 set dummy tex; ac_word=$2
2452 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if test "${ac_cv_prog_TEX+set}" = set; then
2455 $as_echo_n "(cached) " >&6
2456 else
2457 if test -n "$TEX"; then
2458 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2459 else
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 for as_dir in $PATH
2463 IFS=$as_save_IFS
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467 ac_cv_prog_TEX="tex"
2468 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 break 2
2471 done
2472 done
2473 IFS=$as_save_IFS
2477 TEX=$ac_cv_prog_TEX
2478 if test -n "$TEX"; then
2479 { $as_echo "$as_me:$LINENO: result: $TEX" >&5
2480 $as_echo "$TEX" >&6; }
2481 else
2482 { $as_echo "$as_me:$LINENO: result: no" >&5
2483 $as_echo "no" >&6; }
2488 # Generate man pages.
2490 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2493 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2494 # deletion of any files created (such as those added to
2495 # autom4te.cache). We used to perform only the last of the three
2496 # following tests, but some users were unable to figure out that their
2497 # installation was broken since --version appeared to work.
2499 { $as_echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2500 $as_echo_n "checking whether autoconf is installed... " >&6; }
2501 if test "${am_cv_autoconf_installed+set}" = set; then
2502 $as_echo_n "(cached) " >&6
2503 else
2504 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2505 (eval $am_AUTOCONF --version) >&5 2>&5
2506 ac_status=$?
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); };
2509 then
2510 am_cv_autoconf_installed=yes
2511 else
2512 am_cv_autoconf_installed=no
2515 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2516 $as_echo "$am_cv_autoconf_installed" >&6; }
2517 if test "$am_cv_autoconf_installed" = no; then
2518 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2519 Please make sure it is installed and in your PATH." >&5
2520 $as_echo "$as_me: error: Autoconf 2.60 or better is required.
2521 Please make sure it is installed and in your PATH." >&2;}
2522 { (exit 1); exit 1; }; }
2525 { $as_echo "$as_me:$LINENO: checking whether autoconf works" >&5
2526 $as_echo_n "checking whether autoconf works... " >&6; }
2527 if test "${am_cv_autoconf_works+set}" = set; then
2528 $as_echo_n "(cached) " >&6
2529 else
2530 mkdir conftest
2531 echo 'AC''_INIT' > conftest/conftest.ac
2532 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2533 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2534 ac_status=$?
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); };
2537 then
2538 am_cv_autoconf_works=yes
2539 else
2540 am_cv_autoconf_works=no
2542 rm -rf conftest
2544 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2545 $as_echo "$am_cv_autoconf_works" >&6; }
2546 if test "$am_cv_autoconf_works" = no; then
2547 { { $as_echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2548 Please check config.log for error messages before this one." >&5
2549 $as_echo "$as_me: error: The installed version of autoconf does not work.
2550 Please check config.log for error messages before this one." >&2;}
2551 { (exit 1); exit 1; }; }
2554 { $as_echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2555 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2556 if test "${am_cv_autoconf_version+set}" = set; then
2557 $as_echo_n "(cached) " >&6
2558 else
2559 mkdir conftest
2560 echo 'AC''_PREREQ([2.62])' > conftest/conftest.ac
2561 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2562 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2563 ac_status=$?
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); };
2566 then
2567 am_cv_autoconf_version=yes
2568 else
2569 am_cv_autoconf_version=no
2571 rm -rf conftest
2573 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2574 $as_echo "$am_cv_autoconf_version" >&6; }
2575 if test "$am_cv_autoconf_version" = no; then
2576 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.61a-341 or better is required." >&5
2577 $as_echo "$as_me: error: Autoconf 2.61a-341 or better is required." >&2;}
2578 { (exit 1); exit 1; }; }
2581 # Test for ln. We need use it to install the versioned binaries.
2582 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
2583 $as_echo_n "checking whether ln works... " >&6; }
2584 if test "${am_cv_prog_ln+set}" = set; then
2585 $as_echo_n "(cached) " >&6
2586 else
2588 rm -f conftest conftest.file
2589 : >conftest.file
2590 if ln conftest.file conftest 2>/dev/null; then
2591 am_cv_prog_ln=ln
2592 else
2593 am_cv_prog_ln='cp -p'
2595 rm -f conftest conftest.file
2598 LN=$am_cv_prog_ln
2600 result=no
2601 test "x$am_cv_prog_ln" = xln && result=yes
2602 { $as_echo "$as_me:$LINENO: result: $result" >&5
2603 $as_echo "$result" >&6; }
2605 # The amount we should wait after modifying files depends on the platform.
2606 # On Windows '95, '98 and ME, files modifications have 2-seconds
2607 # granularity and can be up to 3 seconds in the future w.r.t. the
2608 # system clock. When it is important to ensure one file is older
2609 # than another we wait at least 5 seconds between creations.
2610 case $build in
2611 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2612 *) MODIFICATION_DELAY=2;;
2613 esac
2616 # Test for things needed by the test suite.
2617 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2618 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2619 if test "${ac_cv_path_GREP+set}" = set; then
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test -z "$GREP"; then
2623 ac_path_GREP_found=false
2624 # Loop through the user's path and test for each of PROGNAME-LIST
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_prog in grep ggrep; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2633 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2634 # Check for GNU ac_path_GREP and select it if it is found.
2635 # Check for GNU $ac_path_GREP
2636 case `"$ac_path_GREP" --version 2>&1` in
2637 *GNU*)
2638 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2640 ac_count=0
2641 $as_echo_n 0123456789 >"conftest.in"
2642 while :
2644 cat "conftest.in" "conftest.in" >"conftest.tmp"
2645 mv "conftest.tmp" "conftest.in"
2646 cp "conftest.in" "conftest.nl"
2647 $as_echo 'GREP' >> "conftest.nl"
2648 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2649 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2650 ac_count=`expr $ac_count + 1`
2651 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2652 # Best one so far, save it but keep looking for a better one
2653 ac_cv_path_GREP="$ac_path_GREP"
2654 ac_path_GREP_max=$ac_count
2656 # 10*(2^10) chars as input seems more than enough
2657 test $ac_count -gt 10 && break
2658 done
2659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2660 esac
2662 $ac_path_GREP_found && break 3
2663 done
2664 done
2665 done
2666 IFS=$as_save_IFS
2667 if test -z "$ac_cv_path_GREP"; then
2668 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2669 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2670 { (exit 1); exit 1; }; }
2672 else
2673 ac_cv_path_GREP=$GREP
2677 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2678 $as_echo "$ac_cv_path_GREP" >&6; }
2679 GREP="$ac_cv_path_GREP"
2682 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2683 $as_echo_n "checking for egrep... " >&6; }
2684 if test "${ac_cv_path_EGREP+set}" = set; then
2685 $as_echo_n "(cached) " >&6
2686 else
2687 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2688 then ac_cv_path_EGREP="$GREP -E"
2689 else
2690 if test -z "$EGREP"; then
2691 ac_path_EGREP_found=false
2692 # Loop through the user's path and test for each of PROGNAME-LIST
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_prog in egrep; do
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2701 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2702 # Check for GNU ac_path_EGREP and select it if it is found.
2703 # Check for GNU $ac_path_EGREP
2704 case `"$ac_path_EGREP" --version 2>&1` in
2705 *GNU*)
2706 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2708 ac_count=0
2709 $as_echo_n 0123456789 >"conftest.in"
2710 while :
2712 cat "conftest.in" "conftest.in" >"conftest.tmp"
2713 mv "conftest.tmp" "conftest.in"
2714 cp "conftest.in" "conftest.nl"
2715 $as_echo 'EGREP' >> "conftest.nl"
2716 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2717 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2718 ac_count=`expr $ac_count + 1`
2719 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2720 # Best one so far, save it but keep looking for a better one
2721 ac_cv_path_EGREP="$ac_path_EGREP"
2722 ac_path_EGREP_max=$ac_count
2724 # 10*(2^10) chars as input seems more than enough
2725 test $ac_count -gt 10 && break
2726 done
2727 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2728 esac
2730 $ac_path_EGREP_found && break 3
2731 done
2732 done
2733 done
2734 IFS=$as_save_IFS
2735 if test -z "$ac_cv_path_EGREP"; then
2736 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2737 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2738 { (exit 1); exit 1; }; }
2740 else
2741 ac_cv_path_EGREP=$EGREP
2746 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2747 $as_echo "$ac_cv_path_EGREP" >&6; }
2748 EGREP="$ac_cv_path_EGREP"
2751 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
2752 $as_echo_n "checking for fgrep... " >&6; }
2753 if test "${ac_cv_path_FGREP+set}" = set; then
2754 $as_echo_n "(cached) " >&6
2755 else
2756 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2757 then ac_cv_path_FGREP="$GREP -F"
2758 else
2759 if test -z "$FGREP"; then
2760 ac_path_FGREP_found=false
2761 # Loop through the user's path and test for each of PROGNAME-LIST
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 for ac_prog in fgrep; do
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2770 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2771 # Check for GNU ac_path_FGREP and select it if it is found.
2772 # Check for GNU $ac_path_FGREP
2773 case `"$ac_path_FGREP" --version 2>&1` in
2774 *GNU*)
2775 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2777 ac_count=0
2778 $as_echo_n 0123456789 >"conftest.in"
2779 while :
2781 cat "conftest.in" "conftest.in" >"conftest.tmp"
2782 mv "conftest.tmp" "conftest.in"
2783 cp "conftest.in" "conftest.nl"
2784 $as_echo 'FGREP' >> "conftest.nl"
2785 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2787 ac_count=`expr $ac_count + 1`
2788 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2789 # Best one so far, save it but keep looking for a better one
2790 ac_cv_path_FGREP="$ac_path_FGREP"
2791 ac_path_FGREP_max=$ac_count
2793 # 10*(2^10) chars as input seems more than enough
2794 test $ac_count -gt 10 && break
2795 done
2796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2797 esac
2799 $ac_path_FGREP_found && break 3
2800 done
2801 done
2802 done
2803 IFS=$as_save_IFS
2804 if test -z "$ac_cv_path_FGREP"; then
2805 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2806 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2807 { (exit 1); exit 1; }; }
2809 else
2810 ac_cv_path_FGREP=$FGREP
2815 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2816 $as_echo "$ac_cv_path_FGREP" >&6; }
2817 FGREP="$ac_cv_path_FGREP"
2821 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"
2823 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2825 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2828 cat >confcache <<\_ACEOF
2829 # This file is a shell script that caches the results of configure
2830 # tests run on this system so they can be shared between configure
2831 # scripts and configure runs, see configure's option --config-cache.
2832 # It is not useful on other systems. If it contains results you don't
2833 # want to keep, you may remove or edit it.
2835 # config.status only pays attention to the cache file if you give it
2836 # the --recheck option to rerun configure.
2838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2840 # following values.
2842 _ACEOF
2844 # The following way of writing the cache mishandles newlines in values,
2845 # but we know of no workaround that is simple, portable, and efficient.
2846 # So, we kill variables containing newlines.
2847 # Ultrix sh set writes to stderr and can't be redirected directly,
2848 # and sets the high bit in the cache file unless we assign to the vars.
2850 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2851 eval ac_val=\$$ac_var
2852 case $ac_val in #(
2853 *${as_nl}*)
2854 case $ac_var in #(
2855 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2856 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2857 esac
2858 case $ac_var in #(
2859 _ | IFS | as_nl) ;; #(
2860 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2861 *) $as_unset $ac_var ;;
2862 esac ;;
2863 esac
2864 done
2866 (set) 2>&1 |
2867 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2868 *${as_nl}ac_space=\ *)
2869 # `set' does not quote correctly, so add quotes (double-quote
2870 # substitution turns \\\\ into \\, and sed turns \\ into \).
2871 sed -n \
2872 "s/'/'\\\\''/g;
2873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2874 ;; #(
2876 # `set' quotes correctly as required by POSIX, so do not add quotes.
2877 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2879 esac |
2880 sort
2882 sed '
2883 /^ac_cv_env_/b end
2884 t clear
2885 :clear
2886 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2887 t end
2888 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2889 :end' >>confcache
2890 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2891 if test -w "$cache_file"; then
2892 test "x$cache_file" != "x/dev/null" &&
2893 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2894 $as_echo "$as_me: updating cache $cache_file" >&6;}
2895 cat confcache >$cache_file
2896 else
2897 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2898 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2901 rm -f confcache
2903 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2904 # Let make expand exec_prefix.
2905 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2907 # Transform confdefs.h into DEFS.
2908 # Protect against shell expansion while executing Makefile rules.
2909 # Protect against Makefile macro expansion.
2911 # If the first sed substitution is executed (which looks for macros that
2912 # take arguments), then branch to the quote section. Otherwise,
2913 # look for a macro that doesn't take arguments.
2914 ac_script='
2915 :mline
2916 /\\$/{
2918 s,\\\n,,
2919 b mline
2921 t clear
2922 :clear
2923 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2924 t quote
2925 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2926 t quote
2927 b any
2928 :quote
2929 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2930 s/\[/\\&/g
2931 s/\]/\\&/g
2932 s/\$/$$/g
2934 :any
2937 s/^\n//
2938 s/\n/ /g
2942 DEFS=`sed -n "$ac_script" confdefs.h`
2945 ac_libobjs=
2946 ac_ltlibobjs=
2947 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2948 # 1. Remove the extension, and $U if already installed.
2949 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2950 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2951 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2952 # will be set to the directory where LIBOBJS objects are built.
2953 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2954 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2955 done
2956 LIBOBJS=$ac_libobjs
2958 LTLIBOBJS=$ac_ltlibobjs
2962 : ${CONFIG_STATUS=./config.status}
2963 ac_write_fail=0
2964 ac_clean_files_save=$ac_clean_files
2965 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2966 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2968 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2969 #! $SHELL
2970 # Generated by $as_me.
2971 # Run this file to recreate the current configuration.
2972 # Compiler output produced by configure, useful for debugging
2973 # configure, is in config.log if it exists.
2975 debug=false
2976 ac_cs_recheck=false
2977 ac_cs_silent=false
2978 SHELL=\${CONFIG_SHELL-$SHELL}
2979 _ACEOF
2981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2982 ## --------------------- ##
2983 ## M4sh Initialization. ##
2984 ## --------------------- ##
2986 # Be more Bourne compatible
2987 DUALCASE=1; export DUALCASE # for MKS sh
2988 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2989 emulate sh
2990 NULLCMD=:
2991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2992 # is contrary to our usage. Disable this feature.
2993 alias -g '${1+"$@"}'='"$@"'
2994 setopt NO_GLOB_SUBST
2995 else
2996 case `(set -o) 2>/dev/null` in
2997 *posix*) set -o posix ;;
2998 esac
3005 # PATH needs CR
3006 # Avoid depending upon Character Ranges.
3007 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3008 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3009 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3010 as_cr_digits='0123456789'
3011 as_cr_alnum=$as_cr_Letters$as_cr_digits
3013 as_nl='
3015 export as_nl
3016 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3017 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3018 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3020 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3021 as_echo='printf %s\n'
3022 as_echo_n='printf %s'
3023 else
3024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3025 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3026 as_echo_n='/usr/ucb/echo -n'
3027 else
3028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3029 as_echo_n_body='eval
3030 arg=$1;
3031 case $arg in
3032 *"$as_nl"*)
3033 expr "X$arg" : "X\\(.*\\)$as_nl";
3034 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3035 esac;
3036 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3038 export as_echo_n_body
3039 as_echo_n='sh -c $as_echo_n_body as_echo'
3041 export as_echo_body
3042 as_echo='sh -c $as_echo_body as_echo'
3045 # The user is always right.
3046 if test "${PATH_SEPARATOR+set}" != set; then
3047 PATH_SEPARATOR=:
3048 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3049 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3050 PATH_SEPARATOR=';'
3054 # Support unset when possible.
3055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3056 as_unset=unset
3057 else
3058 as_unset=false
3062 # IFS
3063 # We need space, tab and new line, in precisely that order. Quoting is
3064 # there to prevent editors from complaining about space-tab.
3065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3066 # splitting by setting IFS to empty value.)
3067 IFS=" "" $as_nl"
3069 # Find who we are. Look in the path if we contain no directory separator.
3070 case $0 in
3071 *[\\/]* ) as_myself=$0 ;;
3072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3078 done
3079 IFS=$as_save_IFS
3082 esac
3083 # We did not find ourselves, most probably we were run as `sh COMMAND'
3084 # in which case we are not to be found in the path.
3085 if test "x$as_myself" = x; then
3086 as_myself=$0
3088 if test ! -f "$as_myself"; then
3089 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3090 { (exit 1); exit 1; }
3093 # Work around bugs in pre-3.0 UWIN ksh.
3094 for as_var in ENV MAIL MAILPATH
3095 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3096 done
3097 PS1='$ '
3098 PS2='> '
3099 PS4='+ '
3101 # NLS nuisances.
3102 LC_ALL=C
3103 export LC_ALL
3104 LANGUAGE=C
3105 export LANGUAGE
3107 # Required to use basename.
3108 if expr a : '\(a\)' >/dev/null 2>&1 &&
3109 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3110 as_expr=expr
3111 else
3112 as_expr=false
3115 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3116 as_basename=basename
3117 else
3118 as_basename=false
3122 # Name of the executable.
3123 as_me=`$as_basename -- "$0" ||
3124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3125 X"$0" : 'X\(//\)$' \| \
3126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3127 $as_echo X/"$0" |
3128 sed '/^.*\/\([^/][^/]*\)\/*$/{
3129 s//\1/
3132 /^X\/\(\/\/\)$/{
3133 s//\1/
3136 /^X\/\(\/\).*/{
3137 s//\1/
3140 s/.*/./; q'`
3142 # CDPATH.
3143 $as_unset CDPATH
3147 as_lineno_1=$LINENO
3148 as_lineno_2=$LINENO
3149 test "x$as_lineno_1" != "x$as_lineno_2" &&
3150 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3153 # uniformly replaced by the line number. The first 'sed' inserts a
3154 # line-number line after each line using $LINENO; the second 'sed'
3155 # does the real work. The second script uses 'N' to pair each
3156 # line-number line with the line containing $LINENO, and appends
3157 # trailing '-' during substitution so that $LINENO is not a special
3158 # case at line end.
3159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3160 # scripts with optimization help from Paolo Bonzini. Blame Lee
3161 # E. McMahon (1931-1989) for sed's syntax. :-)
3162 sed -n '
3164 /[$]LINENO/=
3165 ' <$as_myself |
3166 sed '
3167 s/[$]LINENO.*/&-/
3168 t lineno
3170 :lineno
3172 :loop
3173 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3174 t loop
3175 s/-\n.*//
3176 ' >$as_me.lineno &&
3177 chmod +x "$as_me.lineno" ||
3178 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3179 { (exit 1); exit 1; }; }
3181 # Don't try to exec as it changes $[0], causing all sort of problems
3182 # (the dirname of $[0] is not the place where we might find the
3183 # original and so on. Autoconf is especially sensitive to this).
3184 . "./$as_me.lineno"
3185 # Exit status is that of the last command.
3186 exit
3190 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3191 as_dirname=dirname
3192 else
3193 as_dirname=false
3196 ECHO_C= ECHO_N= ECHO_T=
3197 case `echo -n x` in
3198 -n*)
3199 case `echo 'x\c'` in
3200 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3201 *) ECHO_C='\c';;
3202 esac;;
3204 ECHO_N='-n';;
3205 esac
3206 if expr a : '\(a\)' >/dev/null 2>&1 &&
3207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3208 as_expr=expr
3209 else
3210 as_expr=false
3213 rm -f conf$$ conf$$.exe conf$$.file
3214 if test -d conf$$.dir; then
3215 rm -f conf$$.dir/conf$$.file
3216 else
3217 rm -f conf$$.dir
3218 mkdir conf$$.dir 2>/dev/null
3220 if (echo >conf$$.file) 2>/dev/null; then
3221 if ln -s conf$$.file conf$$ 2>/dev/null; then
3222 as_ln_s='ln -s'
3223 # ... but there are two gotchas:
3224 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3225 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3226 # In both cases, we have to default to `cp -p'.
3227 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3228 as_ln_s='cp -p'
3229 elif ln conf$$.file conf$$ 2>/dev/null; then
3230 as_ln_s=ln
3231 else
3232 as_ln_s='cp -p'
3234 else
3235 as_ln_s='cp -p'
3237 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3238 rmdir conf$$.dir 2>/dev/null
3240 if mkdir -p . 2>/dev/null; then
3241 as_mkdir_p=:
3242 else
3243 test -d ./-p && rmdir ./-p
3244 as_mkdir_p=false
3247 if test -x / >/dev/null 2>&1; then
3248 as_test_x='test -x'
3249 else
3250 if ls -dL / >/dev/null 2>&1; then
3251 as_ls_L_option=L
3252 else
3253 as_ls_L_option=
3255 as_test_x='
3256 eval sh -c '\''
3257 if test -d "$1"; then
3258 test -d "$1/.";
3259 else
3260 case $1 in
3261 -*)set "./$1";;
3262 esac;
3263 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3264 ???[sx]*):;;*)false;;esac;fi
3265 '\'' sh
3268 as_executable_p=$as_test_x
3270 # Sed expression to map a string onto a valid CPP name.
3271 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3273 # Sed expression to map a string onto a valid variable name.
3274 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3277 exec 6>&1
3279 # Save the log message, to keep $[0] and so on meaningful, and to
3280 # report actual input values of CONFIG_FILES etc. instead of their
3281 # values after options handling.
3282 ac_log="
3283 This file was extended by GNU Automake $as_me 1.10a, which was
3284 generated by GNU Autoconf 2.63. Invocation command line was
3286 CONFIG_FILES = $CONFIG_FILES
3287 CONFIG_HEADERS = $CONFIG_HEADERS
3288 CONFIG_LINKS = $CONFIG_LINKS
3289 CONFIG_COMMANDS = $CONFIG_COMMANDS
3290 $ $0 $@
3292 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3295 _ACEOF
3297 case $ac_config_files in *"
3298 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3299 esac
3303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3304 # Files that config.status was made for.
3305 config_files="$ac_config_files"
3307 _ACEOF
3309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3310 ac_cs_usage="\
3311 \`$as_me' instantiates files from templates according to the
3312 current configuration.
3314 Usage: $0 [OPTION]... [FILE]...
3316 -h, --help print this help, then exit
3317 -V, --version print version number and configuration settings, then exit
3318 -q, --quiet, --silent
3319 do not print progress messages
3320 -d, --debug don't remove temporary files
3321 --recheck update $as_me by reconfiguring in the same conditions
3322 --file=FILE[:TEMPLATE]
3323 instantiate the configuration file FILE
3325 Configuration files:
3326 $config_files
3328 Report bugs to <bug-autoconf@gnu.org>."
3330 _ACEOF
3331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3332 ac_cs_version="\\
3333 GNU Automake config.status 1.10a
3334 configured by $0, generated by GNU Autoconf 2.63,
3335 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3337 Copyright (C) 2008 Free Software Foundation, Inc.
3338 This config.status script is free software; the Free Software Foundation
3339 gives unlimited permission to copy, distribute and modify it."
3341 ac_pwd='$ac_pwd'
3342 srcdir='$srcdir'
3343 INSTALL='$INSTALL'
3344 MKDIR_P='$MKDIR_P'
3345 AWK='$AWK'
3346 test -n "\$AWK" || AWK=awk
3347 _ACEOF
3349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3350 # The default lists apply if the user does not specify any file.
3351 ac_need_defaults=:
3352 while test $# != 0
3354 case $1 in
3355 --*=*)
3356 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3357 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3358 ac_shift=:
3361 ac_option=$1
3362 ac_optarg=$2
3363 ac_shift=shift
3365 esac
3367 case $ac_option in
3368 # Handling of the options.
3369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3370 ac_cs_recheck=: ;;
3371 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3372 $as_echo "$ac_cs_version"; exit ;;
3373 --debug | --debu | --deb | --de | --d | -d )
3374 debug=: ;;
3375 --file | --fil | --fi | --f )
3376 $ac_shift
3377 case $ac_optarg in
3378 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3379 esac
3380 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3381 ac_need_defaults=false;;
3382 --he | --h | --help | --hel | -h )
3383 $as_echo "$ac_cs_usage"; exit ;;
3384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3385 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3386 ac_cs_silent=: ;;
3388 # This is an error.
3389 -*) { $as_echo "$as_me: error: unrecognized option: $1
3390 Try \`$0 --help' for more information." >&2
3391 { (exit 1); exit 1; }; } ;;
3393 *) ac_config_targets="$ac_config_targets $1"
3394 ac_need_defaults=false ;;
3396 esac
3397 shift
3398 done
3400 ac_configure_extra_args=
3402 if $ac_cs_silent; then
3403 exec 6>/dev/null
3404 ac_configure_extra_args="$ac_configure_extra_args --silent"
3407 _ACEOF
3408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3409 if \$ac_cs_recheck; then
3410 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3411 shift
3412 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3413 CONFIG_SHELL='$SHELL'
3414 export CONFIG_SHELL
3415 exec "\$@"
3418 _ACEOF
3419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3420 exec 5>>config.log
3422 echo
3423 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3424 ## Running $as_me. ##
3425 _ASBOX
3426 $as_echo "$ac_log"
3427 } >&5
3429 _ACEOF
3430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3432 # INIT-COMMANDS
3434 APIVERSION=$APIVERSION
3436 _ACEOF
3438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3440 # Handling of arguments.
3441 for ac_config_target in $ac_config_targets
3443 case $ac_config_target in
3444 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3445 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3446 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3447 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3448 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3449 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3450 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3451 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3452 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3453 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3454 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3456 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3457 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3458 { (exit 1); exit 1; }; };;
3459 esac
3460 done
3463 # If the user did not use the arguments to specify the items to instantiate,
3464 # then the envvar interface is used. Set only those that are not.
3465 # We use the long form for the default assignment because of an extremely
3466 # bizarre bug on SunOS 4.1.3.
3467 if $ac_need_defaults; then
3468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3471 # Have a temporary directory for convenience. Make it in the build tree
3472 # simply because there is no reason against having it here, and in addition,
3473 # creating and moving files from /tmp can sometimes cause problems.
3474 # Hook for its removal unless debugging.
3475 # Note that there is a small window in which the directory will not be cleaned:
3476 # after its creation but before its name has been assigned to `$tmp'.
3477 $debug ||
3479 tmp=
3480 trap 'exit_status=$?
3481 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3483 trap '{ (exit 1); exit 1; }' 1 2 13 15
3485 # Create a (secure) tmp directory for tmp files.
3488 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3489 test -n "$tmp" && test -d "$tmp"
3490 } ||
3492 tmp=./conf$$-$RANDOM
3493 (umask 077 && mkdir "$tmp")
3494 } ||
3496 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3497 { (exit 1); exit 1; }
3500 # Set up the scripts for CONFIG_FILES section.
3501 # No need to generate them if there are no CONFIG_FILES.
3502 # This happens for instance with `./config.status config.h'.
3503 if test -n "$CONFIG_FILES"; then
3506 ac_cr=' '
3507 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3508 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3509 ac_cs_awk_cr='\\r'
3510 else
3511 ac_cs_awk_cr=$ac_cr
3514 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3515 _ACEOF
3519 echo "cat >conf$$subs.awk <<_ACEOF" &&
3520 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3521 echo "_ACEOF"
3522 } >conf$$subs.sh ||
3523 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3524 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3525 { (exit 1); exit 1; }; }
3526 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3527 ac_delim='%!_!# '
3528 for ac_last_try in false false false false false :; do
3529 . ./conf$$subs.sh ||
3530 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3531 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3532 { (exit 1); exit 1; }; }
3534 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3535 if test $ac_delim_n = $ac_delim_num; then
3536 break
3537 elif $ac_last_try; then
3538 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3539 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3540 { (exit 1); exit 1; }; }
3541 else
3542 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3544 done
3545 rm -f conf$$subs.sh
3547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3548 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3549 _ACEOF
3550 sed -n '
3552 s/^/S["/; s/!.*/"]=/
3555 s/^[^!]*!//
3556 :repl
3557 t repl
3558 s/'"$ac_delim"'$//
3559 t delim
3562 s/\(.\{148\}\).*/\1/
3563 t more1
3564 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3567 b repl
3568 :more1
3569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3572 s/.\{148\}//
3573 t nl
3574 :delim
3576 s/\(.\{148\}\).*/\1/
3577 t more2
3578 s/["\\]/\\&/g; s/^/"/; s/$/"/
3581 :more2
3582 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3585 s/.\{148\}//
3586 t delim
3587 ' <conf$$subs.awk | sed '
3588 /^[^""]/{
3590 s/\n//
3592 ' >>$CONFIG_STATUS || ac_write_fail=1
3593 rm -f conf$$subs.awk
3594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3595 _ACAWK
3596 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3597 for (key in S) S_is_set[key] = 1
3598 FS = "\a"
3602 line = $ 0
3603 nfields = split(line, field, "@")
3604 substed = 0
3605 len = length(field[1])
3606 for (i = 2; i < nfields; i++) {
3607 key = field[i]
3608 keylen = length(key)
3609 if (S_is_set[key]) {
3610 value = S[key]
3611 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3612 len += length(value) + length(field[++i])
3613 substed = 1
3614 } else
3615 len += 1 + keylen
3618 print line
3621 _ACAWK
3622 _ACEOF
3623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3624 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3625 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3626 else
3628 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3629 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3630 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3631 { (exit 1); exit 1; }; }
3632 _ACEOF
3634 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3635 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3636 # trailing colons and then remove the whole line if VPATH becomes empty
3637 # (actually we leave an empty line to preserve line numbers).
3638 if test "x$srcdir" = x.; then
3639 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3640 s/:*\$(srcdir):*/:/
3641 s/:*\${srcdir}:*/:/
3642 s/:*@srcdir@:*/:/
3643 s/^\([^=]*=[ ]*\):*/\1/
3644 s/:*$//
3645 s/^[^=]*=[ ]*$//
3649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3650 fi # test -n "$CONFIG_FILES"
3653 eval set X " :F $CONFIG_FILES "
3654 shift
3655 for ac_tag
3657 case $ac_tag in
3658 :[FHLC]) ac_mode=$ac_tag; continue;;
3659 esac
3660 case $ac_mode$ac_tag in
3661 :[FHL]*:*);;
3662 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3663 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3664 { (exit 1); exit 1; }; };;
3665 :[FH]-) ac_tag=-:-;;
3666 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3667 esac
3668 ac_save_IFS=$IFS
3669 IFS=:
3670 set x $ac_tag
3671 IFS=$ac_save_IFS
3672 shift
3673 ac_file=$1
3674 shift
3676 case $ac_mode in
3677 :L) ac_source=$1;;
3678 :[FH])
3679 ac_file_inputs=
3680 for ac_f
3682 case $ac_f in
3683 -) ac_f="$tmp/stdin";;
3684 *) # Look for the file first in the build tree, then in the source tree
3685 # (if the path is not absolute). The absolute path cannot be DOS-style,
3686 # because $ac_f cannot contain `:'.
3687 test -f "$ac_f" ||
3688 case $ac_f in
3689 [\\/$]*) false;;
3690 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3691 esac ||
3692 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3693 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3694 { (exit 1); exit 1; }; };;
3695 esac
3696 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3697 ac_file_inputs="$ac_file_inputs '$ac_f'"
3698 done
3700 # Let's still pretend it is `configure' which instantiates (i.e., don't
3701 # use $as_me), people would be surprised to read:
3702 # /* config.h. Generated by config.status. */
3703 configure_input='Generated from '`
3704 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3705 `' by configure.'
3706 if test x"$ac_file" != x-; then
3707 configure_input="$ac_file. $configure_input"
3708 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3709 $as_echo "$as_me: creating $ac_file" >&6;}
3711 # Neutralize special characters interpreted by sed in replacement strings.
3712 case $configure_input in #(
3713 *\&* | *\|* | *\\* )
3714 ac_sed_conf_input=`$as_echo "$configure_input" |
3715 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3716 *) ac_sed_conf_input=$configure_input;;
3717 esac
3719 case $ac_tag in
3720 *:-:* | *:-) cat >"$tmp/stdin" \
3721 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3722 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3723 { (exit 1); exit 1; }; } ;;
3724 esac
3726 esac
3728 ac_dir=`$as_dirname -- "$ac_file" ||
3729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3730 X"$ac_file" : 'X\(//\)[^/]' \| \
3731 X"$ac_file" : 'X\(//\)$' \| \
3732 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3733 $as_echo X"$ac_file" |
3734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3735 s//\1/
3738 /^X\(\/\/\)[^/].*/{
3739 s//\1/
3742 /^X\(\/\/\)$/{
3743 s//\1/
3746 /^X\(\/\).*/{
3747 s//\1/
3750 s/.*/./; q'`
3751 { as_dir="$ac_dir"
3752 case $as_dir in #(
3753 -*) as_dir=./$as_dir;;
3754 esac
3755 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3756 as_dirs=
3757 while :; do
3758 case $as_dir in #(
3759 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3760 *) as_qdir=$as_dir;;
3761 esac
3762 as_dirs="'$as_qdir' $as_dirs"
3763 as_dir=`$as_dirname -- "$as_dir" ||
3764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3765 X"$as_dir" : 'X\(//\)[^/]' \| \
3766 X"$as_dir" : 'X\(//\)$' \| \
3767 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3768 $as_echo X"$as_dir" |
3769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3770 s//\1/
3773 /^X\(\/\/\)[^/].*/{
3774 s//\1/
3777 /^X\(\/\/\)$/{
3778 s//\1/
3781 /^X\(\/\).*/{
3782 s//\1/
3785 s/.*/./; q'`
3786 test -d "$as_dir" && break
3787 done
3788 test -z "$as_dirs" || eval "mkdir $as_dirs"
3789 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3790 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3791 { (exit 1); exit 1; }; }; }
3792 ac_builddir=.
3794 case "$ac_dir" in
3795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3797 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3798 # A ".." for each directory in $ac_dir_suffix.
3799 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3800 case $ac_top_builddir_sub in
3801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3803 esac ;;
3804 esac
3805 ac_abs_top_builddir=$ac_pwd
3806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3807 # for backward compatibility:
3808 ac_top_builddir=$ac_top_build_prefix
3810 case $srcdir in
3811 .) # We are building in place.
3812 ac_srcdir=.
3813 ac_top_srcdir=$ac_top_builddir_sub
3814 ac_abs_top_srcdir=$ac_pwd ;;
3815 [\\/]* | ?:[\\/]* ) # Absolute name.
3816 ac_srcdir=$srcdir$ac_dir_suffix;
3817 ac_top_srcdir=$srcdir
3818 ac_abs_top_srcdir=$srcdir ;;
3819 *) # Relative name.
3820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3821 ac_top_srcdir=$ac_top_build_prefix$srcdir
3822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3823 esac
3824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3827 case $ac_mode in
3830 # CONFIG_FILE
3833 case $INSTALL in
3834 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3835 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3836 esac
3837 ac_MKDIR_P=$MKDIR_P
3838 case $MKDIR_P in
3839 [\\/$]* | ?:[\\/]* ) ;;
3840 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3841 esac
3842 _ACEOF
3844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3845 # If the template does not know about datarootdir, expand it.
3846 # FIXME: This hack should be removed a few years after 2.60.
3847 ac_datarootdir_hack=; ac_datarootdir_seen=
3849 ac_sed_dataroot='
3850 /datarootdir/ {
3854 /@datadir@/p
3855 /@docdir@/p
3856 /@infodir@/p
3857 /@localedir@/p
3858 /@mandir@/p
3860 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3861 *datarootdir*) ac_datarootdir_seen=yes;;
3862 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3863 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3864 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3865 _ACEOF
3866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3867 ac_datarootdir_hack='
3868 s&@datadir@&$datadir&g
3869 s&@docdir@&$docdir&g
3870 s&@infodir@&$infodir&g
3871 s&@localedir@&$localedir&g
3872 s&@mandir@&$mandir&g
3873 s&\\\${datarootdir}&$datarootdir&g' ;;
3874 esac
3875 _ACEOF
3877 # Neutralize VPATH when `$srcdir' = `.'.
3878 # Shell code in configure.ac might set extrasub.
3879 # FIXME: do we really want to maintain this feature?
3880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3881 ac_sed_extra="$ac_vpsub
3882 $extrasub
3883 _ACEOF
3884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3887 s|@configure_input@|$ac_sed_conf_input|;t t
3888 s&@top_builddir@&$ac_top_builddir_sub&;t t
3889 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3890 s&@srcdir@&$ac_srcdir&;t t
3891 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3892 s&@top_srcdir@&$ac_top_srcdir&;t t
3893 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3894 s&@builddir@&$ac_builddir&;t t
3895 s&@abs_builddir@&$ac_abs_builddir&;t t
3896 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3897 s&@INSTALL@&$ac_INSTALL&;t t
3898 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3899 $ac_datarootdir_hack
3901 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3902 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3903 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3904 { (exit 1); exit 1; }; }
3906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3909 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3910 which seems to be undefined. Please make sure it is defined." >&5
3911 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3912 which seems to be undefined. Please make sure it is defined." >&2;}
3914 rm -f "$tmp/stdin"
3915 case $ac_file in
3916 -) cat "$tmp/out" && rm -f "$tmp/out";;
3917 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3918 esac \
3919 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3920 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3921 { (exit 1); exit 1; }; }
3926 esac
3929 case $ac_file$ac_mode in
3930 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3931 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3933 esac
3934 done # for ac_tag
3937 { (exit 0); exit 0; }
3938 _ACEOF
3939 chmod +x $CONFIG_STATUS
3940 ac_clean_files=$ac_clean_files_save
3942 test $ac_write_fail = 0 ||
3943 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3944 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3945 { (exit 1); exit 1; }; }
3948 # configure is writing to config.log, and then calls config.status.
3949 # config.status does its own redirection, appending to config.log.
3950 # Unfortunately, on DOS this fails, as config.log is still kept open
3951 # by configure, so config.status won't be able to write to it; its
3952 # output is simply discarded. So we exec the FD to /dev/null,
3953 # effectively closing config.log, so it can be properly (re)opened and
3954 # appended to by config.status. When coming back to configure, we
3955 # need to make the FD available again.
3956 if test "$no_create" != yes; then
3957 ac_cs_success=:
3958 ac_config_status_args=
3959 test "$silent" = yes &&
3960 ac_config_status_args="$ac_config_status_args --quiet"
3961 exec 5>/dev/null
3962 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3963 exec 5>>config.log
3964 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3965 # would make configure fail if this is the last instruction.
3966 $ac_cs_success || { (exit 1); exit 1; }
3968 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3969 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3970 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}