Fix typos and grammaros in the documentation.
[automake/ericb.git] / configure
blob73994bd03e235c3843485ab370814ee6c327de5d
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_AUTOCONF
641 build_os
642 build_vendor
643 build_cpu
644 build
645 target_alias
646 host_alias
647 build_alias
648 LIBS
649 ECHO_T
650 ECHO_N
651 ECHO_C
652 DEFS
653 mandir
654 localedir
655 libdir
656 psdir
657 pdfdir
658 dvidir
659 htmldir
660 infodir
661 docdir
662 oldincludedir
663 includedir
664 localstatedir
665 sharedstatedir
666 sysconfdir
667 datadir
668 datarootdir
669 libexecdir
670 sbindir
671 bindir
672 program_transform_name
673 prefix
674 exec_prefix
675 PACKAGE_BUGREPORT
676 PACKAGE_STRING
677 PACKAGE_VERSION
678 PACKAGE_TARNAME
679 PACKAGE_NAME
680 PATH_SEPARATOR
681 SHELL'
682 ac_subst_files=''
683 ac_user_opts='
684 enable_option_checking
686 ac_precious_vars='build_alias
687 host_alias
688 target_alias'
691 # Initialize some variables set by options.
692 ac_init_help=
693 ac_init_version=false
694 ac_unrecognized_opts=
695 ac_unrecognized_sep=
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
698 cache_file=/dev/null
699 exec_prefix=NONE
700 no_create=
701 no_recursion=
702 prefix=NONE
703 program_prefix=NONE
704 program_suffix=NONE
705 program_transform_name=s,x,x,
706 silent=
707 site=
708 srcdir=
709 verbose=
710 x_includes=NONE
711 x_libraries=NONE
713 # Installation directory options.
714 # These are left unexpanded so users can "make install exec_prefix=/foo"
715 # and all the variables that are supposed to be based on exec_prefix
716 # by default will actually change.
717 # Use braces instead of parens because sh, perl, etc. also accept them.
718 # (The list follows the same order as the GNU Coding Standards.)
719 bindir='${exec_prefix}/bin'
720 sbindir='${exec_prefix}/sbin'
721 libexecdir='${exec_prefix}/libexec'
722 datarootdir='${prefix}/share'
723 datadir='${datarootdir}'
724 sysconfdir='${prefix}/etc'
725 sharedstatedir='${prefix}/com'
726 localstatedir='${prefix}/var'
727 includedir='${prefix}/include'
728 oldincludedir='/usr/include'
729 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
730 infodir='${datarootdir}/info'
731 htmldir='${docdir}'
732 dvidir='${docdir}'
733 pdfdir='${docdir}'
734 psdir='${docdir}'
735 libdir='${exec_prefix}/lib'
736 localedir='${datarootdir}/locale'
737 mandir='${datarootdir}/man'
739 ac_prev=
740 ac_dashdash=
741 for ac_option
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\$ac_option
746 ac_prev=
747 continue
750 case $ac_option in
751 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 *) ac_optarg=yes ;;
753 esac
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
759 ac_dashdash=yes ;;
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 ac_prev=bindir ;;
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 bindir=$ac_optarg ;;
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
778 --config-cache | -C)
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
782 ac_prev=datadir ;;
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
798 { (exit 1); exit 1; }; }
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
803 "enable_$ac_useropt"
804 "*) ;;
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
807 esac
808 eval enable_$ac_useropt=no ;;
810 -docdir | --docdir | --docdi | --doc | --do)
811 ac_prev=docdir ;;
812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
813 docdir=$ac_optarg ;;
815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
816 ac_prev=dvidir ;;
817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
818 dvidir=$ac_optarg ;;
820 -enable-* | --enable-*)
821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
825 { (exit 1); exit 1; }; }
826 ac_useropt_orig=$ac_useropt
827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
830 "enable_$ac_useropt"
831 "*) ;;
832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
833 ac_unrecognized_sep=', ';;
834 esac
835 eval enable_$ac_useropt=\$ac_optarg ;;
837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
839 | --exec | --exe | --ex)
840 ac_prev=exec_prefix ;;
841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
843 | --exec=* | --exe=* | --ex=*)
844 exec_prefix=$ac_optarg ;;
846 -gas | --gas | --ga | --g)
847 # Obsolete; use --with-gas.
848 with_gas=yes ;;
850 -help | --help | --hel | --he | -h)
851 ac_init_help=long ;;
852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
853 ac_init_help=recursive ;;
854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
855 ac_init_help=short ;;
857 -host | --host | --hos | --ho)
858 ac_prev=host_alias ;;
859 -host=* | --host=* | --hos=* | --ho=*)
860 host_alias=$ac_optarg ;;
862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
863 ac_prev=htmldir ;;
864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
865 | --ht=*)
866 htmldir=$ac_optarg ;;
868 -includedir | --includedir | --includedi | --included | --include \
869 | --includ | --inclu | --incl | --inc)
870 ac_prev=includedir ;;
871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
872 | --includ=* | --inclu=* | --incl=* | --inc=*)
873 includedir=$ac_optarg ;;
875 -infodir | --infodir | --infodi | --infod | --info | --inf)
876 ac_prev=infodir ;;
877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
878 infodir=$ac_optarg ;;
880 -libdir | --libdir | --libdi | --libd)
881 ac_prev=libdir ;;
882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 libdir=$ac_optarg ;;
885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
886 | --libexe | --libex | --libe)
887 ac_prev=libexecdir ;;
888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
889 | --libexe=* | --libex=* | --libe=*)
890 libexecdir=$ac_optarg ;;
892 -localedir | --localedir | --localedi | --localed | --locale)
893 ac_prev=localedir ;;
894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
895 localedir=$ac_optarg ;;
897 -localstatedir | --localstatedir | --localstatedi | --localstated \
898 | --localstate | --localstat | --localsta | --localst | --locals)
899 ac_prev=localstatedir ;;
900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
902 localstatedir=$ac_optarg ;;
904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
905 ac_prev=mandir ;;
906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
907 mandir=$ac_optarg ;;
909 -nfp | --nfp | --nf)
910 # Obsolete; use --without-fp.
911 with_fp=no ;;
913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
914 | --no-cr | --no-c | -n)
915 no_create=yes ;;
917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 no_recursion=yes ;;
921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
923 | --oldin | --oldi | --old | --ol | --o)
924 ac_prev=oldincludedir ;;
925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
928 oldincludedir=$ac_optarg ;;
930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
931 ac_prev=prefix ;;
932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 prefix=$ac_optarg ;;
935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
936 | --program-pre | --program-pr | --program-p)
937 ac_prev=program_prefix ;;
938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
940 program_prefix=$ac_optarg ;;
942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
943 | --program-suf | --program-su | --program-s)
944 ac_prev=program_suffix ;;
945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
947 program_suffix=$ac_optarg ;;
949 -program-transform-name | --program-transform-name \
950 | --program-transform-nam | --program-transform-na \
951 | --program-transform-n | --program-transform- \
952 | --program-transform | --program-transfor \
953 | --program-transfo | --program-transf \
954 | --program-trans | --program-tran \
955 | --progr-tra | --program-tr | --program-t)
956 ac_prev=program_transform_name ;;
957 -program-transform-name=* | --program-transform-name=* \
958 | --program-transform-nam=* | --program-transform-na=* \
959 | --program-transform-n=* | --program-transform-=* \
960 | --program-transform=* | --program-transfor=* \
961 | --program-transfo=* | --program-transf=* \
962 | --program-trans=* | --program-tran=* \
963 | --progr-tra=* | --program-tr=* | --program-t=*)
964 program_transform_name=$ac_optarg ;;
966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
967 ac_prev=pdfdir ;;
968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 pdfdir=$ac_optarg ;;
971 -psdir | --psdir | --psdi | --psd | --ps)
972 ac_prev=psdir ;;
973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 psdir=$ac_optarg ;;
976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
977 | -silent | --silent | --silen | --sile | --sil)
978 silent=yes ;;
980 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
981 ac_prev=sbindir ;;
982 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
983 | --sbi=* | --sb=*)
984 sbindir=$ac_optarg ;;
986 -sharedstatedir | --sharedstatedir | --sharedstatedi \
987 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
988 | --sharedst | --shareds | --shared | --share | --shar \
989 | --sha | --sh)
990 ac_prev=sharedstatedir ;;
991 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
992 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
993 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
994 | --sha=* | --sh=*)
995 sharedstatedir=$ac_optarg ;;
997 -site | --site | --sit)
998 ac_prev=site ;;
999 -site=* | --site=* | --sit=*)
1000 site=$ac_optarg ;;
1002 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1003 ac_prev=srcdir ;;
1004 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1005 srcdir=$ac_optarg ;;
1007 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1008 | --syscon | --sysco | --sysc | --sys | --sy)
1009 ac_prev=sysconfdir ;;
1010 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1011 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1012 sysconfdir=$ac_optarg ;;
1014 -target | --target | --targe | --targ | --tar | --ta | --t)
1015 ac_prev=target_alias ;;
1016 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1017 target_alias=$ac_optarg ;;
1019 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 verbose=yes ;;
1022 -version | --version | --versio | --versi | --vers | -V)
1023 ac_init_version=: ;;
1025 -with-* | --with-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1030 { (exit 1); exit 1; }; }
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "with_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval with_$ac_useropt=\$ac_optarg ;;
1042 -without-* | --without-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "with_$ac_useropt"
1053 "*) ;;
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1056 esac
1057 eval with_$ac_useropt=no ;;
1059 --x)
1060 # Obsolete; use --with-x.
1061 with_x=yes ;;
1063 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1064 | --x-incl | --x-inc | --x-in | --x-i)
1065 ac_prev=x_includes ;;
1066 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1067 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1068 x_includes=$ac_optarg ;;
1070 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1071 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1072 ac_prev=x_libraries ;;
1073 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1074 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1075 x_libraries=$ac_optarg ;;
1077 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1078 Try \`$0 --help' for more information." >&2
1079 { (exit 1); exit 1; }; }
1082 *=*)
1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1086 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1087 { (exit 1); exit 1; }; }
1088 eval $ac_envvar=\$ac_optarg
1089 export $ac_envvar ;;
1092 # FIXME: should be removed in autoconf 3.0.
1093 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1094 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1096 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1099 esac
1100 done
1102 if test -n "$ac_prev"; then
1103 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1104 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1105 { (exit 1); exit 1; }; }
1108 if test -n "$ac_unrecognized_opts"; then
1109 case $enable_option_checking in
1110 no) ;;
1111 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1112 { (exit 1); exit 1; }; } ;;
1113 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 esac
1117 # Check all directory arguments for consistency.
1118 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val=\$$ac_var
1124 # Remove trailing slashes.
1125 case $ac_val in
1126 */ )
1127 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128 eval $ac_var=\$ac_val;;
1129 esac
1130 # Be sure to have absolute directory names.
1131 case $ac_val in
1132 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134 esac
1135 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1136 { (exit 1); exit 1; }; }
1137 done
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1142 build=$build_alias
1143 host=$host_alias
1144 target=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x; then
1148 if test "x$build_alias" = x; then
1149 cross_compiling=maybe
1150 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then
1153 cross_compiling=yes
1157 ac_tool_prefix=
1158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160 test "$silent" = yes && exec 6>/dev/null
1163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di=`ls -di .` &&
1165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1167 { (exit 1); exit 1; }; }
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1170 { (exit 1); exit 1; }; }
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$as_myself" ||
1178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182 $as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 s//\1/
1187 /^X\(\/\/\)[^/].*/{
1188 s//\1/
1191 /^X\(\/\/\)$/{
1192 s//\1/
1195 /^X\(\/\).*/{
1196 s//\1/
1199 s/.*/./; q'`
1200 srcdir=$ac_confdir
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 srcdir=..
1204 else
1205 ac_srcdir_defaulted=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1210 { (exit 1); exit 1; }; }
1212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 ac_abs_confdir=`(
1214 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1215 { (exit 1); exit 1; }; }
1216 pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 srcdir=.
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF
1241 \`configure' configures GNU Automake 1.10a to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1250 Configuration:
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX]
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1294 _ACEOF
1296 cat <<\_ACEOF
1298 Program names:
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1303 System types:
1304 --build=BUILD configure for building on BUILD [guessed]
1305 _ACEOF
1308 if test -n "$ac_init_help"; then
1309 case $ac_init_help in
1310 short | recursive ) echo "Configuration of GNU Automake 1.10a:";;
1311 esac
1312 cat <<\_ACEOF
1314 Report bugs to <bug-automake@gnu.org>.
1315 _ACEOF
1316 ac_status=$?
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 continue
1325 ac_builddir=.
1327 case "$ac_dir" in
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1336 esac ;;
1337 esac
1338 ac_abs_top_builddir=$ac_pwd
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir=$ac_top_build_prefix
1343 case $srcdir in
1344 .) # We are building in place.
1345 ac_srcdir=.
1346 ac_top_srcdir=$ac_top_builddir_sub
1347 ac_abs_top_srcdir=$ac_pwd ;;
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
1349 ac_srcdir=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir=$srcdir
1351 ac_abs_top_srcdir=$srcdir ;;
1352 *) # Relative name.
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1356 esac
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1359 cd "$ac_dir" || { ac_status=$?; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1362 echo &&
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1365 echo &&
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1367 else
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 fi || ac_status=$?
1370 cd "$ac_pwd" || { ac_status=$?; break; }
1371 done
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1376 cat <<\_ACEOF
1377 GNU Automake configure 1.10a
1378 generated by GNU Autoconf 2.63
1380 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1381 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1382 This configure script is free software; the Free Software Foundation
1383 gives unlimited permission to copy, distribute and modify it.
1384 _ACEOF
1385 exit
1387 cat >config.log <<_ACEOF
1388 This file contains any messages produced by compilers while
1389 running configure, to aid debugging if configure makes a mistake.
1391 It was created by GNU Automake $as_me 1.10a, which was
1392 generated by GNU Autoconf 2.63. Invocation command line was
1394 $ $0 $@
1396 _ACEOF
1397 exec 5>>config.log
1399 cat <<_ASUNAME
1400 ## --------- ##
1401 ## Platform. ##
1402 ## --------- ##
1404 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1405 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1406 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1407 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1408 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1410 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1411 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1413 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1414 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1415 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1416 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1417 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1418 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1419 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1421 _ASUNAME
1423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1424 for as_dir in $PATH
1426 IFS=$as_save_IFS
1427 test -z "$as_dir" && as_dir=.
1428 $as_echo "PATH: $as_dir"
1429 done
1430 IFS=$as_save_IFS
1432 } >&5
1434 cat >&5 <<_ACEOF
1437 ## ----------- ##
1438 ## Core tests. ##
1439 ## ----------- ##
1441 _ACEOF
1444 # Keep a trace of the command line.
1445 # Strip out --no-create and --no-recursion so they do not pile up.
1446 # Strip out --silent because we don't want to record it for future runs.
1447 # Also quote any args containing shell meta-characters.
1448 # Make two passes to allow for proper duplicate-argument suppression.
1449 ac_configure_args=
1450 ac_configure_args0=
1451 ac_configure_args1=
1452 ac_must_keep_next=false
1453 for ac_pass in 1 2
1455 for ac_arg
1457 case $ac_arg in
1458 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1460 | -silent | --silent | --silen | --sile | --sil)
1461 continue ;;
1462 *\'*)
1463 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1464 esac
1465 case $ac_pass in
1466 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1468 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1469 if test $ac_must_keep_next = true; then
1470 ac_must_keep_next=false # Got value, back to normal.
1471 else
1472 case $ac_arg in
1473 *=* | --config-cache | -C | -disable-* | --disable-* \
1474 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1475 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1476 | -with-* | --with-* | -without-* | --without-* | --x)
1477 case "$ac_configure_args0 " in
1478 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1479 esac
1481 -* ) ac_must_keep_next=true ;;
1482 esac
1484 ac_configure_args="$ac_configure_args '$ac_arg'"
1486 esac
1487 done
1488 done
1489 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1490 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1492 # When interrupted or exit'd, cleanup temporary files, and complete
1493 # config.log. We remove comments because anyway the quotes in there
1494 # would cause problems or look ugly.
1495 # WARNING: Use '\'' to represent an apostrophe within the trap.
1496 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1497 trap 'exit_status=$?
1498 # Save into config.log some information that might help in debugging.
1500 echo
1502 cat <<\_ASBOX
1503 ## ---------------- ##
1504 ## Cache variables. ##
1505 ## ---------------- ##
1506 _ASBOX
1507 echo
1508 # The following way of writing the cache mishandles newlines in values,
1510 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1511 eval ac_val=\$$ac_var
1512 case $ac_val in #(
1513 *${as_nl}*)
1514 case $ac_var in #(
1515 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1517 esac
1518 case $ac_var in #(
1519 _ | IFS | as_nl) ;; #(
1520 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1521 *) $as_unset $ac_var ;;
1522 esac ;;
1523 esac
1524 done
1525 (set) 2>&1 |
1526 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1527 *${as_nl}ac_space=\ *)
1528 sed -n \
1529 "s/'\''/'\''\\\\'\'''\''/g;
1530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1531 ;; #(
1533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 esac |
1536 sort
1538 echo
1540 cat <<\_ASBOX
1541 ## ----------------- ##
1542 ## Output variables. ##
1543 ## ----------------- ##
1544 _ASBOX
1545 echo
1546 for ac_var in $ac_subst_vars
1548 eval ac_val=\$$ac_var
1549 case $ac_val in
1550 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1551 esac
1552 $as_echo "$ac_var='\''$ac_val'\''"
1553 done | sort
1554 echo
1556 if test -n "$ac_subst_files"; then
1557 cat <<\_ASBOX
1558 ## ------------------- ##
1559 ## File substitutions. ##
1560 ## ------------------- ##
1561 _ASBOX
1562 echo
1563 for ac_var in $ac_subst_files
1565 eval ac_val=\$$ac_var
1566 case $ac_val in
1567 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1568 esac
1569 $as_echo "$ac_var='\''$ac_val'\''"
1570 done | sort
1571 echo
1574 if test -s confdefs.h; then
1575 cat <<\_ASBOX
1576 ## ----------- ##
1577 ## confdefs.h. ##
1578 ## ----------- ##
1579 _ASBOX
1580 echo
1581 cat confdefs.h
1582 echo
1584 test "$ac_signal" != 0 &&
1585 $as_echo "$as_me: caught signal $ac_signal"
1586 $as_echo "$as_me: exit $exit_status"
1587 } >&5
1588 rm -f core *.core core.conftest.* &&
1589 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1590 exit $exit_status
1592 for ac_signal in 1 2 13 15; do
1593 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1594 done
1595 ac_signal=0
1597 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1598 rm -f -r conftest* confdefs.h
1600 # Predefined preprocessor variables.
1602 cat >>confdefs.h <<_ACEOF
1603 #define PACKAGE_NAME "$PACKAGE_NAME"
1604 _ACEOF
1607 cat >>confdefs.h <<_ACEOF
1608 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1609 _ACEOF
1612 cat >>confdefs.h <<_ACEOF
1613 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1614 _ACEOF
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_STRING "$PACKAGE_STRING"
1619 _ACEOF
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1624 _ACEOF
1627 # Let the site file select an alternate cache file if it wants to.
1628 # Prefer an explicitly selected file to automatically selected ones.
1629 ac_site_file1=NONE
1630 ac_site_file2=NONE
1631 if test -n "$CONFIG_SITE"; then
1632 ac_site_file1=$CONFIG_SITE
1633 elif test "x$prefix" != xNONE; then
1634 ac_site_file1=$prefix/share/config.site
1635 ac_site_file2=$prefix/etc/config.site
1636 else
1637 ac_site_file1=$ac_default_prefix/share/config.site
1638 ac_site_file2=$ac_default_prefix/etc/config.site
1640 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1642 test "x$ac_site_file" = xNONE && continue
1643 if test -r "$ac_site_file"; then
1644 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1645 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1646 sed 's/^/| /' "$ac_site_file" >&5
1647 . "$ac_site_file"
1649 done
1651 if test -r "$cache_file"; then
1652 # Some versions of bash will fail to source /dev/null (special
1653 # files actually), so we avoid doing that.
1654 if test -f "$cache_file"; then
1655 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1656 $as_echo "$as_me: loading cache $cache_file" >&6;}
1657 case $cache_file in
1658 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1659 *) . "./$cache_file";;
1660 esac
1662 else
1663 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1664 $as_echo "$as_me: creating cache $cache_file" >&6;}
1665 >$cache_file
1668 # Check that the precious variables saved in the cache have kept the same
1669 # value.
1670 ac_cache_corrupted=false
1671 for ac_var in $ac_precious_vars; do
1672 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1673 eval ac_new_set=\$ac_env_${ac_var}_set
1674 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1675 eval ac_new_val=\$ac_env_${ac_var}_value
1676 case $ac_old_set,$ac_new_set in
1677 set,)
1678 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1679 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1680 ac_cache_corrupted=: ;;
1681 ,set)
1682 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1683 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1684 ac_cache_corrupted=: ;;
1685 ,);;
1687 if test "x$ac_old_val" != "x$ac_new_val"; then
1688 # differences in whitespace do not lead to failure.
1689 ac_old_val_w=`echo x $ac_old_val`
1690 ac_new_val_w=`echo x $ac_new_val`
1691 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1692 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1693 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1694 ac_cache_corrupted=:
1695 else
1696 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1697 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1698 eval $ac_var=\$ac_old_val
1700 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1701 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1702 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1703 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1704 fi;;
1705 esac
1706 # Pass precious variables to config.status.
1707 if test "$ac_new_set" = set; then
1708 case $ac_new_val in
1709 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1710 *) ac_arg=$ac_var=$ac_new_val ;;
1711 esac
1712 case " $ac_configure_args " in
1713 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1714 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1715 esac
1717 done
1718 if $ac_cache_corrupted; then
1719 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1721 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1722 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1723 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1724 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1725 { (exit 1); exit 1; }; }
1752 ac_ext=c
1753 ac_cpp='$CPP $CPPFLAGS'
1754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1761 ac_aux_dir=
1762 for ac_dir in lib "$srcdir"/lib; do
1763 if test -f "$ac_dir/install-sh"; then
1764 ac_aux_dir=$ac_dir
1765 ac_install_sh="$ac_aux_dir/install-sh -c"
1766 break
1767 elif test -f "$ac_dir/install.sh"; then
1768 ac_aux_dir=$ac_dir
1769 ac_install_sh="$ac_aux_dir/install.sh -c"
1770 break
1771 elif test -f "$ac_dir/shtool"; then
1772 ac_aux_dir=$ac_dir
1773 ac_install_sh="$ac_aux_dir/shtool install -c"
1774 break
1776 done
1777 if test -z "$ac_aux_dir"; then
1778 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1779 $as_echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1780 { (exit 1); exit 1; }; }
1783 # These three variables are undocumented and unsupported,
1784 # and are intended to be withdrawn in a future Autoconf release.
1785 # They can cause serious problems if a builder's source tree is in a directory
1786 # whose full name contains unusual characters.
1787 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1788 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1789 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1793 # Make sure we can run config.sub.
1794 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1795 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1796 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1797 { (exit 1); exit 1; }; }
1799 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1800 $as_echo_n "checking build system type... " >&6; }
1801 if test "${ac_cv_build+set}" = set; then
1802 $as_echo_n "(cached) " >&6
1803 else
1804 ac_build_alias=$build_alias
1805 test "x$ac_build_alias" = x &&
1806 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1807 test "x$ac_build_alias" = x &&
1808 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1809 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1810 { (exit 1); exit 1; }; }
1811 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1812 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1813 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1814 { (exit 1); exit 1; }; }
1817 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1818 $as_echo "$ac_cv_build" >&6; }
1819 case $ac_cv_build in
1820 *-*-*) ;;
1821 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1822 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1823 { (exit 1); exit 1; }; };;
1824 esac
1825 build=$ac_cv_build
1826 ac_save_IFS=$IFS; IFS='-'
1827 set x $ac_cv_build
1828 shift
1829 build_cpu=$1
1830 build_vendor=$2
1831 shift; shift
1832 # Remember, the first character of IFS is used to create $*,
1833 # except with old shells:
1834 build_os=$*
1835 IFS=$ac_save_IFS
1836 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1840 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1841 # way we can run Autoconf tests from configure (or from the test
1842 # suite) without being bothered by `missing'.
1843 am_AUTOCONF="${AUTOCONF-autoconf}"
1846 am__api_version='1.10a'
1848 # Find a good install program. We prefer a C program (faster),
1849 # so one script is as good as another. But avoid the broken or
1850 # incompatible versions:
1851 # SysV /etc/install, /usr/sbin/install
1852 # SunOS /usr/etc/install
1853 # IRIX /sbin/install
1854 # AIX /bin/install
1855 # AmigaOS /C/install, which installs bootblocks on floppy discs
1856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1859 # OS/2's system install, which has a completely different semantic
1860 # ./install, which can be erroneously created by make from ./install.sh.
1861 # Reject install programs that cannot install multiple files.
1862 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1863 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1864 if test -z "$INSTALL"; then
1865 if test "${ac_cv_path_install+set}" = set; then
1866 $as_echo_n "(cached) " >&6
1867 else
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 for as_dir in $PATH
1871 IFS=$as_save_IFS
1872 test -z "$as_dir" && as_dir=.
1873 # Account for people who put trailing slashes in PATH elements.
1874 case $as_dir/ in
1875 ./ | .// | /cC/* | \
1876 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1877 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1878 /usr/ucb/* ) ;;
1880 # OSF1 and SCO ODT 3.0 have their own names for install.
1881 # Don't use installbsd from OSF since it installs stuff as root
1882 # by default.
1883 for ac_prog in ginstall scoinst install; do
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1886 if test $ac_prog = install &&
1887 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1888 # AIX install. It has an incompatible calling convention.
1890 elif test $ac_prog = install &&
1891 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892 # program-specific install script used by HP pwplus--don't use.
1894 else
1895 rm -rf conftest.one conftest.two conftest.dir
1896 echo one > conftest.one
1897 echo two > conftest.two
1898 mkdir conftest.dir
1899 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1900 test -s conftest.one && test -s conftest.two &&
1901 test -s conftest.dir/conftest.one &&
1902 test -s conftest.dir/conftest.two
1903 then
1904 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1905 break 3
1909 done
1910 done
1912 esac
1914 done
1915 IFS=$as_save_IFS
1917 rm -rf conftest.one conftest.two conftest.dir
1920 if test "${ac_cv_path_install+set}" = set; then
1921 INSTALL=$ac_cv_path_install
1922 else
1923 # As a last resort, use the slow shell script. Don't cache a
1924 # value for INSTALL within a source directory, because that will
1925 # break other packages using the cache if that directory is
1926 # removed, or if the value is a relative name.
1927 INSTALL=$ac_install_sh
1930 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1931 $as_echo "$INSTALL" >&6; }
1933 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1934 # It thinks the first close brace ends the variable substitution.
1935 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1937 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1939 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1941 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1942 $as_echo_n "checking whether build environment is sane... " >&6; }
1943 # Just in case
1944 sleep 1
1945 echo timestamp > conftest.file
1946 # Do `set' in a subshell so we don't clobber the current shell's
1947 # arguments. Must try -L first in case configure is actually a
1948 # symlink; some systems play weird games with the mod time of symlinks
1949 # (eg FreeBSD returns the mod time of the symlink's containing
1950 # directory).
1951 if (
1952 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1953 if test "$*" = "X"; then
1954 # -L didn't work.
1955 set X `ls -t $srcdir/configure conftest.file`
1957 rm -f conftest.file
1958 if test "$*" != "X $srcdir/configure conftest.file" \
1959 && test "$*" != "X conftest.file $srcdir/configure"; then
1961 # If neither matched, then we have a broken ls. This can happen
1962 # if, for instance, CONFIG_SHELL is bash and it inherits a
1963 # broken ls alias from the environment. This has actually
1964 # happened. Such a system could not be considered "sane".
1965 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1966 alias in your environment" >&5
1967 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1968 alias in your environment" >&2;}
1969 { (exit 1); exit 1; }; }
1972 test "$2" = conftest.file
1974 then
1975 # Ok.
1977 else
1978 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1979 Check your system clock" >&5
1980 $as_echo "$as_me: error: newly created file is older than distributed files!
1981 Check your system clock" >&2;}
1982 { (exit 1); exit 1; }; }
1984 { $as_echo "$as_me:$LINENO: result: yes" >&5
1985 $as_echo "yes" >&6; }
1986 test "$program_prefix" != NONE &&
1987 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1988 # Use a double $ so make ignores it.
1989 test "$program_suffix" != NONE &&
1990 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1991 # Double any \ or $.
1992 # By default was `s,x,x', remove it if useless.
1993 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1994 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1996 # expand $ac_aux_dir to an absolute path
1997 am_aux_dir=`cd $ac_aux_dir && pwd`
1999 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2000 # Use eval to expand $SHELL
2001 if eval "$MISSING --run true"; then
2002 am_missing_run="$MISSING --run "
2003 else
2004 am_missing_run=
2005 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2006 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2009 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2010 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2011 if test -z "$MKDIR_P"; then
2012 if test "${ac_cv_path_mkdir+set}" = set; then
2013 $as_echo_n "(cached) " >&6
2014 else
2015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2018 IFS=$as_save_IFS
2019 test -z "$as_dir" && as_dir=.
2020 for ac_prog in mkdir gmkdir; do
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2023 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2024 'mkdir (GNU coreutils) '* | \
2025 'mkdir (coreutils) '* | \
2026 'mkdir (fileutils) '4.1*)
2027 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2028 break 3;;
2029 esac
2030 done
2031 done
2032 done
2033 IFS=$as_save_IFS
2037 if test "${ac_cv_path_mkdir+set}" = set; then
2038 MKDIR_P="$ac_cv_path_mkdir -p"
2039 else
2040 # As a last resort, use the slow shell script. Don't cache a
2041 # value for MKDIR_P within a source directory, because that will
2042 # break other packages using the cache if that directory is
2043 # removed, or if the value is a relative name.
2044 test -d ./--version && rmdir ./--version
2045 MKDIR_P="$ac_install_sh -d"
2048 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2049 $as_echo "$MKDIR_P" >&6; }
2051 mkdir_p="$MKDIR_P"
2052 case $mkdir_p in
2053 [\\/$]* | ?:[\\/]*) ;;
2054 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2055 esac
2057 for ac_prog in gawk mawk nawk awk
2059 # Extract the first word of "$ac_prog", so it can be a program name with args.
2060 set dummy $ac_prog; ac_word=$2
2061 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 $as_echo_n "checking for $ac_word... " >&6; }
2063 if test "${ac_cv_prog_AWK+set}" = set; then
2064 $as_echo_n "(cached) " >&6
2065 else
2066 if test -n "$AWK"; then
2067 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2076 ac_cv_prog_AWK="$ac_prog"
2077 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2080 done
2081 done
2082 IFS=$as_save_IFS
2086 AWK=$ac_cv_prog_AWK
2087 if test -n "$AWK"; then
2088 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2089 $as_echo "$AWK" >&6; }
2090 else
2091 { $as_echo "$as_me:$LINENO: result: no" >&5
2092 $as_echo "no" >&6; }
2096 test -n "$AWK" && break
2097 done
2099 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2100 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2101 set x ${MAKE-make}
2102 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2103 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2104 $as_echo_n "(cached) " >&6
2105 else
2106 cat >conftest.make <<\_ACEOF
2107 SHELL = /bin/sh
2108 all:
2109 @echo '@@@%%%=$(MAKE)=@@@%%%'
2110 _ACEOF
2111 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2112 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2113 *@@@%%%=?*=@@@%%%*)
2114 eval ac_cv_prog_make_${ac_make}_set=yes;;
2116 eval ac_cv_prog_make_${ac_make}_set=no;;
2117 esac
2118 rm -f conftest.make
2120 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2121 { $as_echo "$as_me:$LINENO: result: yes" >&5
2122 $as_echo "yes" >&6; }
2123 SET_MAKE=
2124 else
2125 { $as_echo "$as_me:$LINENO: result: no" >&5
2126 $as_echo "no" >&6; }
2127 SET_MAKE="MAKE=${MAKE-make}"
2130 rm -rf .tst 2>/dev/null
2131 mkdir .tst 2>/dev/null
2132 if test -d .tst; then
2133 am__leading_dot=.
2134 else
2135 am__leading_dot=_
2137 rmdir .tst 2>/dev/null
2139 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2140 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2141 # is not polluted with repeated "-I."
2142 am__isrc=' -I$(srcdir)'
2143 # test to see if srcdir already configured
2144 if test -f $srcdir/config.status; then
2145 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2146 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2147 { (exit 1); exit 1; }; }
2151 # test whether we have cygpath
2152 if test -z "$CYGPATH_W"; then
2153 if (cygpath --version) >/dev/null 2>/dev/null; then
2154 CYGPATH_W='cygpath -w'
2155 else
2156 CYGPATH_W=echo
2161 # Define the identity of the package.
2162 PACKAGE='automake'
2163 VERSION='1.10a'
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE "$PACKAGE"
2168 _ACEOF
2171 cat >>confdefs.h <<_ACEOF
2172 #define VERSION "$VERSION"
2173 _ACEOF
2175 # Some tools Automake needs.
2177 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2180 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2183 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2186 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2189 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2191 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2193 # Installed binaries are usually stripped using `strip' when the user
2194 # run `make install-strip'. However `strip' might not be the right
2195 # tool to use in cross-compilation environments, therefore Automake
2196 # will honor the `STRIP' environment variable to overrule this program.
2197 if test "$cross_compiling" != no; then
2198 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2200 set dummy ${ac_tool_prefix}strip; ac_word=$2
2201 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 $as_echo_n "checking for $ac_word... " >&6; }
2203 if test "${ac_cv_prog_STRIP+set}" = set; then
2204 $as_echo_n "(cached) " >&6
2205 else
2206 if test -n "$STRIP"; then
2207 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2208 else
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2216 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2217 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 break 2
2220 done
2221 done
2222 IFS=$as_save_IFS
2226 STRIP=$ac_cv_prog_STRIP
2227 if test -n "$STRIP"; then
2228 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2229 $as_echo "$STRIP" >&6; }
2230 else
2231 { $as_echo "$as_me:$LINENO: result: no" >&5
2232 $as_echo "no" >&6; }
2237 if test -z "$ac_cv_prog_STRIP"; then
2238 ac_ct_STRIP=$STRIP
2239 # Extract the first word of "strip", so it can be a program name with args.
2240 set dummy strip; ac_word=$2
2241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2242 $as_echo_n "checking for $ac_word... " >&6; }
2243 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2244 $as_echo_n "(cached) " >&6
2245 else
2246 if test -n "$ac_ct_STRIP"; then
2247 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2248 else
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 for as_dir in $PATH
2252 IFS=$as_save_IFS
2253 test -z "$as_dir" && as_dir=.
2254 for ac_exec_ext in '' $ac_executable_extensions; do
2255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2256 ac_cv_prog_ac_ct_STRIP="strip"
2257 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 break 2
2260 done
2261 done
2262 IFS=$as_save_IFS
2266 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2267 if test -n "$ac_ct_STRIP"; then
2268 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2269 $as_echo "$ac_ct_STRIP" >&6; }
2270 else
2271 { $as_echo "$as_me:$LINENO: result: no" >&5
2272 $as_echo "no" >&6; }
2275 if test "x$ac_ct_STRIP" = x; then
2276 STRIP=":"
2277 else
2278 case $cross_compiling:$ac_tool_warned in
2279 yes:)
2280 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2282 ac_tool_warned=yes ;;
2283 esac
2284 STRIP=$ac_ct_STRIP
2286 else
2287 STRIP="$ac_cv_prog_STRIP"
2291 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2293 # We need awk for the "check" target. The system "awk" is bad on
2294 # some platforms.
2295 # Always define AMTAR for backward compatibility.
2297 AMTAR=${AMTAR-"${am_missing_run}tar"}
2299 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2306 # The API version is the base version. We must guarantee
2307 # compatibility for all releases with the same API version.
2308 # Our current rule is that:
2309 # * All releases, including the prereleases, in an X.Y series
2310 # are compatible. So 1.5.1c is compatible with 1.5.
2311 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2312 # aren't the same.
2313 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2316 # A versioned directory, defined here for convenience.
2317 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2320 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2321 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2322 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2323 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2325 # Extract the first word of "perl", so it can be a program name with args.
2326 set dummy perl; ac_word=$2
2327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 $as_echo_n "checking for $ac_word... " >&6; }
2329 if test "${ac_cv_path_PERL+set}" = set; then
2330 $as_echo_n "(cached) " >&6
2331 else
2332 case $PERL in
2333 [\\/]* | ?:[\\/]*)
2334 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2340 IFS=$as_save_IFS
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 break 2
2348 done
2349 done
2350 IFS=$as_save_IFS
2353 esac
2355 PERL=$ac_cv_path_PERL
2356 if test -n "$PERL"; then
2357 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2358 $as_echo "$PERL" >&6; }
2359 else
2360 { $as_echo "$as_me:$LINENO: result: no" >&5
2361 $as_echo "no" >&6; }
2365 if test -z "$PERL"; then
2366 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
2367 $as_echo "$as_me: error: perl not found" >&2;}
2368 { (exit 1); exit 1; }; }
2370 $PERL -e 'require 5.006;' || {
2371 { { $as_echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2372 is recommended. If you have several perl versions
2373 installed, select the one Automake should use using
2374 ./configure PERL=/path/to/perl" >&5
2375 $as_echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2376 is recommended. If you have several perl versions
2377 installed, select the one Automake should use using
2378 ./configure PERL=/path/to/perl" >&2;}
2379 { (exit 1); exit 1; }; }
2382 # We require ithreads support, and version 5.7.2 for CLONE.
2383 { $as_echo "$as_me:$LINENO: checking whether $PERL supports ithreads" >&5
2384 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2385 if test "${am_cv_prog_PERL_ithreads+set}" = set; then
2386 $as_echo_n "(cached) " >&6
2387 else
2388 if $PERL -e '
2389 require 5.007_002;
2390 use Config;
2391 if ($Config{useithreads})
2393 require threads;
2394 import threads;
2395 require Thread::Queue;
2396 import Thread::Queue;
2397 exit 0;
2399 exit 1;' >&5 2>&1
2400 then
2401 am_cv_prog_PERL_ithreads=yes
2402 else
2403 am_cv_prog_PERL_ithreads=no
2406 { $as_echo "$as_me:$LINENO: result: $am_cv_prog_PERL_ithreads" >&5
2407 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2408 if test $am_cv_prog_PERL_ithreads = yes; then
2409 PERL_THREADS=1;
2410 else
2411 PERL_THREADS=0;
2415 # The test suite will skip some tests if tex is absent.
2416 # Extract the first word of "tex", so it can be a program name with args.
2417 set dummy tex; ac_word=$2
2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if test "${ac_cv_prog_TEX+set}" = set; then
2421 $as_echo_n "(cached) " >&6
2422 else
2423 if test -n "$TEX"; then
2424 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2425 else
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2429 IFS=$as_save_IFS
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_TEX="tex"
2434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 break 2
2437 done
2438 done
2439 IFS=$as_save_IFS
2443 TEX=$ac_cv_prog_TEX
2444 if test -n "$TEX"; then
2445 { $as_echo "$as_me:$LINENO: result: $TEX" >&5
2446 $as_echo "$TEX" >&6; }
2447 else
2448 { $as_echo "$as_me:$LINENO: result: no" >&5
2449 $as_echo "no" >&6; }
2454 # Generate man pages.
2456 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2459 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2460 # deletion of any files created (such as those added to
2461 # autom4te.cache). We used to perform only the last of the three
2462 # following tests, but some users were unable to figure out that their
2463 # installation was broken since --version appeared to work.
2465 { $as_echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2466 $as_echo_n "checking whether autoconf is installed... " >&6; }
2467 if test "${am_cv_autoconf_installed+set}" = set; then
2468 $as_echo_n "(cached) " >&6
2469 else
2470 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2471 (eval $am_AUTOCONF --version) >&5 2>&5
2472 ac_status=$?
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); };
2475 then
2476 am_cv_autoconf_installed=yes
2477 else
2478 am_cv_autoconf_installed=no
2481 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2482 $as_echo "$am_cv_autoconf_installed" >&6; }
2483 if test "$am_cv_autoconf_installed" = no; then
2484 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2485 Please make sure it is installed and in your PATH." >&5
2486 $as_echo "$as_me: error: Autoconf 2.60 or better is required.
2487 Please make sure it is installed and in your PATH." >&2;}
2488 { (exit 1); exit 1; }; }
2491 { $as_echo "$as_me:$LINENO: checking whether autoconf works" >&5
2492 $as_echo_n "checking whether autoconf works... " >&6; }
2493 if test "${am_cv_autoconf_works+set}" = set; then
2494 $as_echo_n "(cached) " >&6
2495 else
2496 mkdir conftest
2497 echo 'AC''_INIT' > conftest/conftest.ac
2498 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2499 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2500 ac_status=$?
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); };
2503 then
2504 am_cv_autoconf_works=yes
2505 else
2506 am_cv_autoconf_works=no
2508 rm -rf conftest
2510 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2511 $as_echo "$am_cv_autoconf_works" >&6; }
2512 if test "$am_cv_autoconf_works" = no; then
2513 { { $as_echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2514 Please check config.log for error messages before this one." >&5
2515 $as_echo "$as_me: error: The installed version of autoconf does not work.
2516 Please check config.log for error messages before this one." >&2;}
2517 { (exit 1); exit 1; }; }
2520 { $as_echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2521 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2522 if test "${am_cv_autoconf_version+set}" = set; then
2523 $as_echo_n "(cached) " >&6
2524 else
2525 mkdir conftest
2526 echo 'AC''_PREREQ([2.62])' > conftest/conftest.ac
2527 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2528 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2529 ac_status=$?
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); };
2532 then
2533 am_cv_autoconf_version=yes
2534 else
2535 am_cv_autoconf_version=no
2537 rm -rf conftest
2539 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2540 $as_echo "$am_cv_autoconf_version" >&6; }
2541 if test "$am_cv_autoconf_version" = no; then
2542 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.61a-341 or better is required." >&5
2543 $as_echo "$as_me: error: Autoconf 2.61a-341 or better is required." >&2;}
2544 { (exit 1); exit 1; }; }
2547 # Test for ln. We need use it to install the versioned binaries.
2548 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
2549 $as_echo_n "checking whether ln works... " >&6; }
2550 if test "${am_cv_prog_ln+set}" = set; then
2551 $as_echo_n "(cached) " >&6
2552 else
2554 rm -f conftest conftest.file
2555 : >conftest.file
2556 if ln conftest.file conftest 2>/dev/null; then
2557 am_cv_prog_ln=ln
2558 else
2559 am_cv_prog_ln='cp -p'
2561 rm -f conftest conftest.file
2564 LN=$am_cv_prog_ln
2566 result=no
2567 test "x$am_cv_prog_ln" = xln && result=yes
2568 { $as_echo "$as_me:$LINENO: result: $result" >&5
2569 $as_echo "$result" >&6; }
2571 # The amount we should wait after modifying files depends on the platform.
2572 # On Windows '95, '98 and ME, files modifications have 2-seconds
2573 # granularity and can be up to 3 seconds in the future w.r.t. the
2574 # system clock. When it is important to ensure one file is older
2575 # than another we wait at least 5 seconds between creations.
2576 case $build in
2577 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2578 *) MODIFICATION_DELAY=2;;
2579 esac
2582 # Test for things needed by the test suite.
2583 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2584 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2585 if test "${ac_cv_path_GREP+set}" = set; then
2586 $as_echo_n "(cached) " >&6
2587 else
2588 if test -z "$GREP"; then
2589 ac_path_GREP_found=false
2590 # Loop through the user's path and test for each of PROGNAME-LIST
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
2596 for ac_prog in grep ggrep; do
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2599 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2600 # Check for GNU ac_path_GREP and select it if it is found.
2601 # Check for GNU $ac_path_GREP
2602 case `"$ac_path_GREP" --version 2>&1` in
2603 *GNU*)
2604 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2606 ac_count=0
2607 $as_echo_n 0123456789 >"conftest.in"
2608 while :
2610 cat "conftest.in" "conftest.in" >"conftest.tmp"
2611 mv "conftest.tmp" "conftest.in"
2612 cp "conftest.in" "conftest.nl"
2613 $as_echo 'GREP' >> "conftest.nl"
2614 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2615 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2616 ac_count=`expr $ac_count + 1`
2617 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2618 # Best one so far, save it but keep looking for a better one
2619 ac_cv_path_GREP="$ac_path_GREP"
2620 ac_path_GREP_max=$ac_count
2622 # 10*(2^10) chars as input seems more than enough
2623 test $ac_count -gt 10 && break
2624 done
2625 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2626 esac
2628 $ac_path_GREP_found && break 3
2629 done
2630 done
2631 done
2632 IFS=$as_save_IFS
2633 if test -z "$ac_cv_path_GREP"; then
2634 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2635 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2636 { (exit 1); exit 1; }; }
2638 else
2639 ac_cv_path_GREP=$GREP
2643 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2644 $as_echo "$ac_cv_path_GREP" >&6; }
2645 GREP="$ac_cv_path_GREP"
2648 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2649 $as_echo_n "checking for egrep... " >&6; }
2650 if test "${ac_cv_path_EGREP+set}" = set; then
2651 $as_echo_n "(cached) " >&6
2652 else
2653 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2654 then ac_cv_path_EGREP="$GREP -E"
2655 else
2656 if test -z "$EGREP"; then
2657 ac_path_EGREP_found=false
2658 # Loop through the user's path and test for each of PROGNAME-LIST
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_prog in egrep; do
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2667 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2668 # Check for GNU ac_path_EGREP and select it if it is found.
2669 # Check for GNU $ac_path_EGREP
2670 case `"$ac_path_EGREP" --version 2>&1` in
2671 *GNU*)
2672 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2674 ac_count=0
2675 $as_echo_n 0123456789 >"conftest.in"
2676 while :
2678 cat "conftest.in" "conftest.in" >"conftest.tmp"
2679 mv "conftest.tmp" "conftest.in"
2680 cp "conftest.in" "conftest.nl"
2681 $as_echo 'EGREP' >> "conftest.nl"
2682 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2683 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2684 ac_count=`expr $ac_count + 1`
2685 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2686 # Best one so far, save it but keep looking for a better one
2687 ac_cv_path_EGREP="$ac_path_EGREP"
2688 ac_path_EGREP_max=$ac_count
2690 # 10*(2^10) chars as input seems more than enough
2691 test $ac_count -gt 10 && break
2692 done
2693 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2694 esac
2696 $ac_path_EGREP_found && break 3
2697 done
2698 done
2699 done
2700 IFS=$as_save_IFS
2701 if test -z "$ac_cv_path_EGREP"; then
2702 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2703 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2704 { (exit 1); exit 1; }; }
2706 else
2707 ac_cv_path_EGREP=$EGREP
2712 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2713 $as_echo "$ac_cv_path_EGREP" >&6; }
2714 EGREP="$ac_cv_path_EGREP"
2717 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
2718 $as_echo_n "checking for fgrep... " >&6; }
2719 if test "${ac_cv_path_FGREP+set}" = set; then
2720 $as_echo_n "(cached) " >&6
2721 else
2722 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2723 then ac_cv_path_FGREP="$GREP -F"
2724 else
2725 if test -z "$FGREP"; then
2726 ac_path_FGREP_found=false
2727 # Loop through the user's path and test for each of PROGNAME-LIST
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2731 IFS=$as_save_IFS
2732 test -z "$as_dir" && as_dir=.
2733 for ac_prog in fgrep; do
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2736 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2737 # Check for GNU ac_path_FGREP and select it if it is found.
2738 # Check for GNU $ac_path_FGREP
2739 case `"$ac_path_FGREP" --version 2>&1` in
2740 *GNU*)
2741 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2743 ac_count=0
2744 $as_echo_n 0123456789 >"conftest.in"
2745 while :
2747 cat "conftest.in" "conftest.in" >"conftest.tmp"
2748 mv "conftest.tmp" "conftest.in"
2749 cp "conftest.in" "conftest.nl"
2750 $as_echo 'FGREP' >> "conftest.nl"
2751 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2753 ac_count=`expr $ac_count + 1`
2754 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2755 # Best one so far, save it but keep looking for a better one
2756 ac_cv_path_FGREP="$ac_path_FGREP"
2757 ac_path_FGREP_max=$ac_count
2759 # 10*(2^10) chars as input seems more than enough
2760 test $ac_count -gt 10 && break
2761 done
2762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2763 esac
2765 $ac_path_FGREP_found && break 3
2766 done
2767 done
2768 done
2769 IFS=$as_save_IFS
2770 if test -z "$ac_cv_path_FGREP"; then
2771 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2772 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2773 { (exit 1); exit 1; }; }
2775 else
2776 ac_cv_path_FGREP=$FGREP
2781 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2782 $as_echo "$ac_cv_path_FGREP" >&6; }
2783 FGREP="$ac_cv_path_FGREP"
2787 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"
2789 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2791 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2794 cat >confcache <<\_ACEOF
2795 # This file is a shell script that caches the results of configure
2796 # tests run on this system so they can be shared between configure
2797 # scripts and configure runs, see configure's option --config-cache.
2798 # It is not useful on other systems. If it contains results you don't
2799 # want to keep, you may remove or edit it.
2801 # config.status only pays attention to the cache file if you give it
2802 # the --recheck option to rerun configure.
2804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2806 # following values.
2808 _ACEOF
2810 # The following way of writing the cache mishandles newlines in values,
2811 # but we know of no workaround that is simple, portable, and efficient.
2812 # So, we kill variables containing newlines.
2813 # Ultrix sh set writes to stderr and can't be redirected directly,
2814 # and sets the high bit in the cache file unless we assign to the vars.
2816 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2817 eval ac_val=\$$ac_var
2818 case $ac_val in #(
2819 *${as_nl}*)
2820 case $ac_var in #(
2821 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2822 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2823 esac
2824 case $ac_var in #(
2825 _ | IFS | as_nl) ;; #(
2826 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2827 *) $as_unset $ac_var ;;
2828 esac ;;
2829 esac
2830 done
2832 (set) 2>&1 |
2833 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2834 *${as_nl}ac_space=\ *)
2835 # `set' does not quote correctly, so add quotes (double-quote
2836 # substitution turns \\\\ into \\, and sed turns \\ into \).
2837 sed -n \
2838 "s/'/'\\\\''/g;
2839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2840 ;; #(
2842 # `set' quotes correctly as required by POSIX, so do not add quotes.
2843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2845 esac |
2846 sort
2848 sed '
2849 /^ac_cv_env_/b end
2850 t clear
2851 :clear
2852 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2853 t end
2854 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2855 :end' >>confcache
2856 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2857 if test -w "$cache_file"; then
2858 test "x$cache_file" != "x/dev/null" &&
2859 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2860 $as_echo "$as_me: updating cache $cache_file" >&6;}
2861 cat confcache >$cache_file
2862 else
2863 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2864 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2867 rm -f confcache
2869 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2870 # Let make expand exec_prefix.
2871 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2873 # Transform confdefs.h into DEFS.
2874 # Protect against shell expansion while executing Makefile rules.
2875 # Protect against Makefile macro expansion.
2877 # If the first sed substitution is executed (which looks for macros that
2878 # take arguments), then branch to the quote section. Otherwise,
2879 # look for a macro that doesn't take arguments.
2880 ac_script='
2881 :mline
2882 /\\$/{
2884 s,\\\n,,
2885 b mline
2887 t clear
2888 :clear
2889 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2890 t quote
2891 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2892 t quote
2893 b any
2894 :quote
2895 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2896 s/\[/\\&/g
2897 s/\]/\\&/g
2898 s/\$/$$/g
2900 :any
2903 s/^\n//
2904 s/\n/ /g
2908 DEFS=`sed -n "$ac_script" confdefs.h`
2911 ac_libobjs=
2912 ac_ltlibobjs=
2913 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2914 # 1. Remove the extension, and $U if already installed.
2915 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2916 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2918 # will be set to the directory where LIBOBJS objects are built.
2919 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2920 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2921 done
2922 LIBOBJS=$ac_libobjs
2924 LTLIBOBJS=$ac_ltlibobjs
2928 : ${CONFIG_STATUS=./config.status}
2929 ac_write_fail=0
2930 ac_clean_files_save=$ac_clean_files
2931 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2932 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2933 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2934 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2935 #! $SHELL
2936 # Generated by $as_me.
2937 # Run this file to recreate the current configuration.
2938 # Compiler output produced by configure, useful for debugging
2939 # configure, is in config.log if it exists.
2941 debug=false
2942 ac_cs_recheck=false
2943 ac_cs_silent=false
2944 SHELL=\${CONFIG_SHELL-$SHELL}
2945 _ACEOF
2947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2948 ## --------------------- ##
2949 ## M4sh Initialization. ##
2950 ## --------------------- ##
2952 # Be more Bourne compatible
2953 DUALCASE=1; export DUALCASE # for MKS sh
2954 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2955 emulate sh
2956 NULLCMD=:
2957 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2958 # is contrary to our usage. Disable this feature.
2959 alias -g '${1+"$@"}'='"$@"'
2960 setopt NO_GLOB_SUBST
2961 else
2962 case `(set -o) 2>/dev/null` in
2963 *posix*) set -o posix ;;
2964 esac
2971 # PATH needs CR
2972 # Avoid depending upon Character Ranges.
2973 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2974 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2975 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2976 as_cr_digits='0123456789'
2977 as_cr_alnum=$as_cr_Letters$as_cr_digits
2979 as_nl='
2981 export as_nl
2982 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2983 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2986 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2987 as_echo='printf %s\n'
2988 as_echo_n='printf %s'
2989 else
2990 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2991 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2992 as_echo_n='/usr/ucb/echo -n'
2993 else
2994 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2995 as_echo_n_body='eval
2996 arg=$1;
2997 case $arg in
2998 *"$as_nl"*)
2999 expr "X$arg" : "X\\(.*\\)$as_nl";
3000 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3001 esac;
3002 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3004 export as_echo_n_body
3005 as_echo_n='sh -c $as_echo_n_body as_echo'
3007 export as_echo_body
3008 as_echo='sh -c $as_echo_body as_echo'
3011 # The user is always right.
3012 if test "${PATH_SEPARATOR+set}" != set; then
3013 PATH_SEPARATOR=:
3014 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3015 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3016 PATH_SEPARATOR=';'
3020 # Support unset when possible.
3021 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3022 as_unset=unset
3023 else
3024 as_unset=false
3028 # IFS
3029 # We need space, tab and new line, in precisely that order. Quoting is
3030 # there to prevent editors from complaining about space-tab.
3031 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3032 # splitting by setting IFS to empty value.)
3033 IFS=" "" $as_nl"
3035 # Find who we are. Look in the path if we contain no directory separator.
3036 case $0 in
3037 *[\\/]* ) as_myself=$0 ;;
3038 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3041 IFS=$as_save_IFS
3042 test -z "$as_dir" && as_dir=.
3043 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3044 done
3045 IFS=$as_save_IFS
3048 esac
3049 # We did not find ourselves, most probably we were run as `sh COMMAND'
3050 # in which case we are not to be found in the path.
3051 if test "x$as_myself" = x; then
3052 as_myself=$0
3054 if test ! -f "$as_myself"; then
3055 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3056 { (exit 1); exit 1; }
3059 # Work around bugs in pre-3.0 UWIN ksh.
3060 for as_var in ENV MAIL MAILPATH
3061 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3062 done
3063 PS1='$ '
3064 PS2='> '
3065 PS4='+ '
3067 # NLS nuisances.
3068 LC_ALL=C
3069 export LC_ALL
3070 LANGUAGE=C
3071 export LANGUAGE
3073 # Required to use basename.
3074 if expr a : '\(a\)' >/dev/null 2>&1 &&
3075 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3076 as_expr=expr
3077 else
3078 as_expr=false
3081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3082 as_basename=basename
3083 else
3084 as_basename=false
3088 # Name of the executable.
3089 as_me=`$as_basename -- "$0" ||
3090 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3091 X"$0" : 'X\(//\)$' \| \
3092 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3093 $as_echo X/"$0" |
3094 sed '/^.*\/\([^/][^/]*\)\/*$/{
3095 s//\1/
3098 /^X\/\(\/\/\)$/{
3099 s//\1/
3102 /^X\/\(\/\).*/{
3103 s//\1/
3106 s/.*/./; q'`
3108 # CDPATH.
3109 $as_unset CDPATH
3113 as_lineno_1=$LINENO
3114 as_lineno_2=$LINENO
3115 test "x$as_lineno_1" != "x$as_lineno_2" &&
3116 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3118 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3119 # uniformly replaced by the line number. The first 'sed' inserts a
3120 # line-number line after each line using $LINENO; the second 'sed'
3121 # does the real work. The second script uses 'N' to pair each
3122 # line-number line with the line containing $LINENO, and appends
3123 # trailing '-' during substitution so that $LINENO is not a special
3124 # case at line end.
3125 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3126 # scripts with optimization help from Paolo Bonzini. Blame Lee
3127 # E. McMahon (1931-1989) for sed's syntax. :-)
3128 sed -n '
3130 /[$]LINENO/=
3131 ' <$as_myself |
3132 sed '
3133 s/[$]LINENO.*/&-/
3134 t lineno
3136 :lineno
3138 :loop
3139 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3140 t loop
3141 s/-\n.*//
3142 ' >$as_me.lineno &&
3143 chmod +x "$as_me.lineno" ||
3144 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3145 { (exit 1); exit 1; }; }
3147 # Don't try to exec as it changes $[0], causing all sort of problems
3148 # (the dirname of $[0] is not the place where we might find the
3149 # original and so on. Autoconf is especially sensitive to this).
3150 . "./$as_me.lineno"
3151 # Exit status is that of the last command.
3152 exit
3156 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3157 as_dirname=dirname
3158 else
3159 as_dirname=false
3162 ECHO_C= ECHO_N= ECHO_T=
3163 case `echo -n x` in
3164 -n*)
3165 case `echo 'x\c'` in
3166 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3167 *) ECHO_C='\c';;
3168 esac;;
3170 ECHO_N='-n';;
3171 esac
3172 if expr a : '\(a\)' >/dev/null 2>&1 &&
3173 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3174 as_expr=expr
3175 else
3176 as_expr=false
3179 rm -f conf$$ conf$$.exe conf$$.file
3180 if test -d conf$$.dir; then
3181 rm -f conf$$.dir/conf$$.file
3182 else
3183 rm -f conf$$.dir
3184 mkdir conf$$.dir 2>/dev/null
3186 if (echo >conf$$.file) 2>/dev/null; then
3187 if ln -s conf$$.file conf$$ 2>/dev/null; then
3188 as_ln_s='ln -s'
3189 # ... but there are two gotchas:
3190 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3191 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3192 # In both cases, we have to default to `cp -p'.
3193 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3194 as_ln_s='cp -p'
3195 elif ln conf$$.file conf$$ 2>/dev/null; then
3196 as_ln_s=ln
3197 else
3198 as_ln_s='cp -p'
3200 else
3201 as_ln_s='cp -p'
3203 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3204 rmdir conf$$.dir 2>/dev/null
3206 if mkdir -p . 2>/dev/null; then
3207 as_mkdir_p=:
3208 else
3209 test -d ./-p && rmdir ./-p
3210 as_mkdir_p=false
3213 if test -x / >/dev/null 2>&1; then
3214 as_test_x='test -x'
3215 else
3216 if ls -dL / >/dev/null 2>&1; then
3217 as_ls_L_option=L
3218 else
3219 as_ls_L_option=
3221 as_test_x='
3222 eval sh -c '\''
3223 if test -d "$1"; then
3224 test -d "$1/.";
3225 else
3226 case $1 in
3227 -*)set "./$1";;
3228 esac;
3229 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3230 ???[sx]*):;;*)false;;esac;fi
3231 '\'' sh
3234 as_executable_p=$as_test_x
3236 # Sed expression to map a string onto a valid CPP name.
3237 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3239 # Sed expression to map a string onto a valid variable name.
3240 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3243 exec 6>&1
3245 # Save the log message, to keep $[0] and so on meaningful, and to
3246 # report actual input values of CONFIG_FILES etc. instead of their
3247 # values after options handling.
3248 ac_log="
3249 This file was extended by GNU Automake $as_me 1.10a, which was
3250 generated by GNU Autoconf 2.63. Invocation command line was
3252 CONFIG_FILES = $CONFIG_FILES
3253 CONFIG_HEADERS = $CONFIG_HEADERS
3254 CONFIG_LINKS = $CONFIG_LINKS
3255 CONFIG_COMMANDS = $CONFIG_COMMANDS
3256 $ $0 $@
3258 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3261 _ACEOF
3263 case $ac_config_files in *"
3264 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3265 esac
3269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3270 # Files that config.status was made for.
3271 config_files="$ac_config_files"
3273 _ACEOF
3275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3276 ac_cs_usage="\
3277 \`$as_me' instantiates files from templates according to the
3278 current configuration.
3280 Usage: $0 [OPTION]... [FILE]...
3282 -h, --help print this help, then exit
3283 -V, --version print version number and configuration settings, then exit
3284 -q, --quiet, --silent
3285 do not print progress messages
3286 -d, --debug don't remove temporary files
3287 --recheck update $as_me by reconfiguring in the same conditions
3288 --file=FILE[:TEMPLATE]
3289 instantiate the configuration file FILE
3291 Configuration files:
3292 $config_files
3294 Report bugs to <bug-autoconf@gnu.org>."
3296 _ACEOF
3297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3298 ac_cs_version="\\
3299 GNU Automake config.status 1.10a
3300 configured by $0, generated by GNU Autoconf 2.63,
3301 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3303 Copyright (C) 2008 Free Software Foundation, Inc.
3304 This config.status script is free software; the Free Software Foundation
3305 gives unlimited permission to copy, distribute and modify it."
3307 ac_pwd='$ac_pwd'
3308 srcdir='$srcdir'
3309 INSTALL='$INSTALL'
3310 MKDIR_P='$MKDIR_P'
3311 AWK='$AWK'
3312 test -n "\$AWK" || AWK=awk
3313 _ACEOF
3315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3316 # The default lists apply if the user does not specify any file.
3317 ac_need_defaults=:
3318 while test $# != 0
3320 case $1 in
3321 --*=*)
3322 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3323 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3324 ac_shift=:
3327 ac_option=$1
3328 ac_optarg=$2
3329 ac_shift=shift
3331 esac
3333 case $ac_option in
3334 # Handling of the options.
3335 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3336 ac_cs_recheck=: ;;
3337 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3338 $as_echo "$ac_cs_version"; exit ;;
3339 --debug | --debu | --deb | --de | --d | -d )
3340 debug=: ;;
3341 --file | --fil | --fi | --f )
3342 $ac_shift
3343 case $ac_optarg in
3344 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3345 esac
3346 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3347 ac_need_defaults=false;;
3348 --he | --h | --help | --hel | -h )
3349 $as_echo "$ac_cs_usage"; exit ;;
3350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3351 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3352 ac_cs_silent=: ;;
3354 # This is an error.
3355 -*) { $as_echo "$as_me: error: unrecognized option: $1
3356 Try \`$0 --help' for more information." >&2
3357 { (exit 1); exit 1; }; } ;;
3359 *) ac_config_targets="$ac_config_targets $1"
3360 ac_need_defaults=false ;;
3362 esac
3363 shift
3364 done
3366 ac_configure_extra_args=
3368 if $ac_cs_silent; then
3369 exec 6>/dev/null
3370 ac_configure_extra_args="$ac_configure_extra_args --silent"
3373 _ACEOF
3374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3375 if \$ac_cs_recheck; then
3376 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3377 shift
3378 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3379 CONFIG_SHELL='$SHELL'
3380 export CONFIG_SHELL
3381 exec "\$@"
3384 _ACEOF
3385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3386 exec 5>>config.log
3388 echo
3389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3390 ## Running $as_me. ##
3391 _ASBOX
3392 $as_echo "$ac_log"
3393 } >&5
3395 _ACEOF
3396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3398 # INIT-COMMANDS
3400 APIVERSION=$APIVERSION
3402 _ACEOF
3404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3406 # Handling of arguments.
3407 for ac_config_target in $ac_config_targets
3409 case $ac_config_target in
3410 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3411 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3412 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3413 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3414 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3415 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3416 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3417 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3418 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3419 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3420 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3422 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3423 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3424 { (exit 1); exit 1; }; };;
3425 esac
3426 done
3429 # If the user did not use the arguments to specify the items to instantiate,
3430 # then the envvar interface is used. Set only those that are not.
3431 # We use the long form for the default assignment because of an extremely
3432 # bizarre bug on SunOS 4.1.3.
3433 if $ac_need_defaults; then
3434 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3437 # Have a temporary directory for convenience. Make it in the build tree
3438 # simply because there is no reason against having it here, and in addition,
3439 # creating and moving files from /tmp can sometimes cause problems.
3440 # Hook for its removal unless debugging.
3441 # Note that there is a small window in which the directory will not be cleaned:
3442 # after its creation but before its name has been assigned to `$tmp'.
3443 $debug ||
3445 tmp=
3446 trap 'exit_status=$?
3447 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3449 trap '{ (exit 1); exit 1; }' 1 2 13 15
3451 # Create a (secure) tmp directory for tmp files.
3454 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3455 test -n "$tmp" && test -d "$tmp"
3456 } ||
3458 tmp=./conf$$-$RANDOM
3459 (umask 077 && mkdir "$tmp")
3460 } ||
3462 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3463 { (exit 1); exit 1; }
3466 # Set up the scripts for CONFIG_FILES section.
3467 # No need to generate them if there are no CONFIG_FILES.
3468 # This happens for instance with `./config.status config.h'.
3469 if test -n "$CONFIG_FILES"; then
3472 ac_cr=' '
3473 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3474 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3475 ac_cs_awk_cr='\\r'
3476 else
3477 ac_cs_awk_cr=$ac_cr
3480 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3481 _ACEOF
3485 echo "cat >conf$$subs.awk <<_ACEOF" &&
3486 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3487 echo "_ACEOF"
3488 } >conf$$subs.sh ||
3489 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3490 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3491 { (exit 1); exit 1; }; }
3492 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3493 ac_delim='%!_!# '
3494 for ac_last_try in false false false false false :; do
3495 . ./conf$$subs.sh ||
3496 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3497 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3498 { (exit 1); exit 1; }; }
3500 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3501 if test $ac_delim_n = $ac_delim_num; then
3502 break
3503 elif $ac_last_try; then
3504 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3505 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3506 { (exit 1); exit 1; }; }
3507 else
3508 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3510 done
3511 rm -f conf$$subs.sh
3513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3514 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3515 _ACEOF
3516 sed -n '
3518 s/^/S["/; s/!.*/"]=/
3521 s/^[^!]*!//
3522 :repl
3523 t repl
3524 s/'"$ac_delim"'$//
3525 t delim
3528 s/\(.\{148\}\).*/\1/
3529 t more1
3530 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3533 b repl
3534 :more1
3535 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3538 s/.\{148\}//
3539 t nl
3540 :delim
3542 s/\(.\{148\}\).*/\1/
3543 t more2
3544 s/["\\]/\\&/g; s/^/"/; s/$/"/
3547 :more2
3548 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3551 s/.\{148\}//
3552 t delim
3553 ' <conf$$subs.awk | sed '
3554 /^[^""]/{
3556 s/\n//
3558 ' >>$CONFIG_STATUS || ac_write_fail=1
3559 rm -f conf$$subs.awk
3560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3561 _ACAWK
3562 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3563 for (key in S) S_is_set[key] = 1
3564 FS = "\a"
3568 line = $ 0
3569 nfields = split(line, field, "@")
3570 substed = 0
3571 len = length(field[1])
3572 for (i = 2; i < nfields; i++) {
3573 key = field[i]
3574 keylen = length(key)
3575 if (S_is_set[key]) {
3576 value = S[key]
3577 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3578 len += length(value) + length(field[++i])
3579 substed = 1
3580 } else
3581 len += 1 + keylen
3584 print line
3587 _ACAWK
3588 _ACEOF
3589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3590 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3591 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3592 else
3594 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3595 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3596 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3597 { (exit 1); exit 1; }; }
3598 _ACEOF
3600 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3601 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3602 # trailing colons and then remove the whole line if VPATH becomes empty
3603 # (actually we leave an empty line to preserve line numbers).
3604 if test "x$srcdir" = x.; then
3605 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3606 s/:*\$(srcdir):*/:/
3607 s/:*\${srcdir}:*/:/
3608 s/:*@srcdir@:*/:/
3609 s/^\([^=]*=[ ]*\):*/\1/
3610 s/:*$//
3611 s/^[^=]*=[ ]*$//
3615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3616 fi # test -n "$CONFIG_FILES"
3619 eval set X " :F $CONFIG_FILES "
3620 shift
3621 for ac_tag
3623 case $ac_tag in
3624 :[FHLC]) ac_mode=$ac_tag; continue;;
3625 esac
3626 case $ac_mode$ac_tag in
3627 :[FHL]*:*);;
3628 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3629 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3630 { (exit 1); exit 1; }; };;
3631 :[FH]-) ac_tag=-:-;;
3632 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3633 esac
3634 ac_save_IFS=$IFS
3635 IFS=:
3636 set x $ac_tag
3637 IFS=$ac_save_IFS
3638 shift
3639 ac_file=$1
3640 shift
3642 case $ac_mode in
3643 :L) ac_source=$1;;
3644 :[FH])
3645 ac_file_inputs=
3646 for ac_f
3648 case $ac_f in
3649 -) ac_f="$tmp/stdin";;
3650 *) # Look for the file first in the build tree, then in the source tree
3651 # (if the path is not absolute). The absolute path cannot be DOS-style,
3652 # because $ac_f cannot contain `:'.
3653 test -f "$ac_f" ||
3654 case $ac_f in
3655 [\\/$]*) false;;
3656 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3657 esac ||
3658 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3659 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3660 { (exit 1); exit 1; }; };;
3661 esac
3662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3663 ac_file_inputs="$ac_file_inputs '$ac_f'"
3664 done
3666 # Let's still pretend it is `configure' which instantiates (i.e., don't
3667 # use $as_me), people would be surprised to read:
3668 # /* config.h. Generated by config.status. */
3669 configure_input='Generated from '`
3670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3671 `' by configure.'
3672 if test x"$ac_file" != x-; then
3673 configure_input="$ac_file. $configure_input"
3674 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3675 $as_echo "$as_me: creating $ac_file" >&6;}
3677 # Neutralize special characters interpreted by sed in replacement strings.
3678 case $configure_input in #(
3679 *\&* | *\|* | *\\* )
3680 ac_sed_conf_input=`$as_echo "$configure_input" |
3681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3682 *) ac_sed_conf_input=$configure_input;;
3683 esac
3685 case $ac_tag in
3686 *:-:* | *:-) cat >"$tmp/stdin" \
3687 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3688 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3689 { (exit 1); exit 1; }; } ;;
3690 esac
3692 esac
3694 ac_dir=`$as_dirname -- "$ac_file" ||
3695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3696 X"$ac_file" : 'X\(//\)[^/]' \| \
3697 X"$ac_file" : 'X\(//\)$' \| \
3698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3699 $as_echo X"$ac_file" |
3700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3701 s//\1/
3704 /^X\(\/\/\)[^/].*/{
3705 s//\1/
3708 /^X\(\/\/\)$/{
3709 s//\1/
3712 /^X\(\/\).*/{
3713 s//\1/
3716 s/.*/./; q'`
3717 { as_dir="$ac_dir"
3718 case $as_dir in #(
3719 -*) as_dir=./$as_dir;;
3720 esac
3721 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3722 as_dirs=
3723 while :; do
3724 case $as_dir in #(
3725 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3726 *) as_qdir=$as_dir;;
3727 esac
3728 as_dirs="'$as_qdir' $as_dirs"
3729 as_dir=`$as_dirname -- "$as_dir" ||
3730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3731 X"$as_dir" : 'X\(//\)[^/]' \| \
3732 X"$as_dir" : 'X\(//\)$' \| \
3733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3734 $as_echo X"$as_dir" |
3735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3736 s//\1/
3739 /^X\(\/\/\)[^/].*/{
3740 s//\1/
3743 /^X\(\/\/\)$/{
3744 s//\1/
3747 /^X\(\/\).*/{
3748 s//\1/
3751 s/.*/./; q'`
3752 test -d "$as_dir" && break
3753 done
3754 test -z "$as_dirs" || eval "mkdir $as_dirs"
3755 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3756 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3757 { (exit 1); exit 1; }; }; }
3758 ac_builddir=.
3760 case "$ac_dir" in
3761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3763 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3764 # A ".." for each directory in $ac_dir_suffix.
3765 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3766 case $ac_top_builddir_sub in
3767 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3768 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3769 esac ;;
3770 esac
3771 ac_abs_top_builddir=$ac_pwd
3772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3773 # for backward compatibility:
3774 ac_top_builddir=$ac_top_build_prefix
3776 case $srcdir in
3777 .) # We are building in place.
3778 ac_srcdir=.
3779 ac_top_srcdir=$ac_top_builddir_sub
3780 ac_abs_top_srcdir=$ac_pwd ;;
3781 [\\/]* | ?:[\\/]* ) # Absolute name.
3782 ac_srcdir=$srcdir$ac_dir_suffix;
3783 ac_top_srcdir=$srcdir
3784 ac_abs_top_srcdir=$srcdir ;;
3785 *) # Relative name.
3786 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3787 ac_top_srcdir=$ac_top_build_prefix$srcdir
3788 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3789 esac
3790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3793 case $ac_mode in
3796 # CONFIG_FILE
3799 case $INSTALL in
3800 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3801 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3802 esac
3803 ac_MKDIR_P=$MKDIR_P
3804 case $MKDIR_P in
3805 [\\/$]* | ?:[\\/]* ) ;;
3806 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3807 esac
3808 _ACEOF
3810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3811 # If the template does not know about datarootdir, expand it.
3812 # FIXME: This hack should be removed a few years after 2.60.
3813 ac_datarootdir_hack=; ac_datarootdir_seen=
3815 ac_sed_dataroot='
3816 /datarootdir/ {
3820 /@datadir@/p
3821 /@docdir@/p
3822 /@infodir@/p
3823 /@localedir@/p
3824 /@mandir@/p
3826 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3827 *datarootdir*) ac_datarootdir_seen=yes;;
3828 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3829 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3830 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3831 _ACEOF
3832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3833 ac_datarootdir_hack='
3834 s&@datadir@&$datadir&g
3835 s&@docdir@&$docdir&g
3836 s&@infodir@&$infodir&g
3837 s&@localedir@&$localedir&g
3838 s&@mandir@&$mandir&g
3839 s&\\\${datarootdir}&$datarootdir&g' ;;
3840 esac
3841 _ACEOF
3843 # Neutralize VPATH when `$srcdir' = `.'.
3844 # Shell code in configure.ac might set extrasub.
3845 # FIXME: do we really want to maintain this feature?
3846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3847 ac_sed_extra="$ac_vpsub
3848 $extrasub
3849 _ACEOF
3850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3853 s|@configure_input@|$ac_sed_conf_input|;t t
3854 s&@top_builddir@&$ac_top_builddir_sub&;t t
3855 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3856 s&@srcdir@&$ac_srcdir&;t t
3857 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3858 s&@top_srcdir@&$ac_top_srcdir&;t t
3859 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3860 s&@builddir@&$ac_builddir&;t t
3861 s&@abs_builddir@&$ac_abs_builddir&;t t
3862 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3863 s&@INSTALL@&$ac_INSTALL&;t t
3864 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3865 $ac_datarootdir_hack
3867 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3868 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3869 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3870 { (exit 1); exit 1; }; }
3872 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3873 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3874 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3875 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3876 which seems to be undefined. Please make sure it is defined." >&5
3877 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3878 which seems to be undefined. Please make sure it is defined." >&2;}
3880 rm -f "$tmp/stdin"
3881 case $ac_file in
3882 -) cat "$tmp/out" && rm -f "$tmp/out";;
3883 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3884 esac \
3885 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3886 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3887 { (exit 1); exit 1; }; }
3892 esac
3895 case $ac_file$ac_mode in
3896 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3897 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3899 esac
3900 done # for ac_tag
3903 { (exit 0); exit 0; }
3904 _ACEOF
3905 chmod +x $CONFIG_STATUS
3906 ac_clean_files=$ac_clean_files_save
3908 test $ac_write_fail = 0 ||
3909 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3910 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3911 { (exit 1); exit 1; }; }
3914 # configure is writing to config.log, and then calls config.status.
3915 # config.status does its own redirection, appending to config.log.
3916 # Unfortunately, on DOS this fails, as config.log is still kept open
3917 # by configure, so config.status won't be able to write to it; its
3918 # output is simply discarded. So we exec the FD to /dev/null,
3919 # effectively closing config.log, so it can be properly (re)opened and
3920 # appended to by config.status. When coming back to configure, we
3921 # need to make the FD available again.
3922 if test "$no_create" != yes; then
3923 ac_cs_success=:
3924 ac_config_status_args=
3925 test "$silent" = yes &&
3926 ac_config_status_args="$ac_config_status_args --quiet"
3927 exec 5>/dev/null
3928 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3929 exec 5>>config.log
3930 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3931 # would make configure fail if this is the last instruction.
3932 $ac_cs_success || { (exit 1); exit 1; }
3934 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3935 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3936 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}