Fix comment typos.
[automake/ericb.git] / configure
blob235f1a0baedc4c39727a9c0ec3faaf159430f55d
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
614 pkgvdatadir
615 APIVERSION
616 am__untar
617 am__tar
618 AMTAR
619 am__leading_dot
620 SET_MAKE
622 mkdir_p
623 MKDIR_P
624 INSTALL_STRIP_PROGRAM
625 STRIP
626 install_sh
627 MAKEINFO
628 AUTOHEADER
629 AUTOMAKE
630 AUTOCONF
631 ACLOCAL
632 VERSION
633 PACKAGE
634 CYGPATH_W
635 am__isrc
636 INSTALL_DATA
637 INSTALL_SCRIPT
638 INSTALL_PROGRAM
639 am_AUTOCONF
640 build_os
641 build_vendor
642 build_cpu
643 build
644 target_alias
645 host_alias
646 build_alias
647 LIBS
648 ECHO_T
649 ECHO_N
650 ECHO_C
651 DEFS
652 mandir
653 localedir
654 libdir
655 psdir
656 pdfdir
657 dvidir
658 htmldir
659 infodir
660 docdir
661 oldincludedir
662 includedir
663 localstatedir
664 sharedstatedir
665 sysconfdir
666 datadir
667 datarootdir
668 libexecdir
669 sbindir
670 bindir
671 program_transform_name
672 prefix
673 exec_prefix
674 PACKAGE_BUGREPORT
675 PACKAGE_STRING
676 PACKAGE_VERSION
677 PACKAGE_TARNAME
678 PACKAGE_NAME
679 PATH_SEPARATOR
680 SHELL'
681 ac_subst_files=''
682 ac_user_opts='
683 enable_option_checking
685 ac_precious_vars='build_alias
686 host_alias
687 target_alias'
690 # Initialize some variables set by options.
691 ac_init_help=
692 ac_init_version=false
693 ac_unrecognized_opts=
694 ac_unrecognized_sep=
695 # The variables have the same names as the options, with
696 # dashes changed to underlines.
697 cache_file=/dev/null
698 exec_prefix=NONE
699 no_create=
700 no_recursion=
701 prefix=NONE
702 program_prefix=NONE
703 program_suffix=NONE
704 program_transform_name=s,x,x,
705 silent=
706 site=
707 srcdir=
708 verbose=
709 x_includes=NONE
710 x_libraries=NONE
712 # Installation directory options.
713 # These are left unexpanded so users can "make install exec_prefix=/foo"
714 # and all the variables that are supposed to be based on exec_prefix
715 # by default will actually change.
716 # Use braces instead of parens because sh, perl, etc. also accept them.
717 # (The list follows the same order as the GNU Coding Standards.)
718 bindir='${exec_prefix}/bin'
719 sbindir='${exec_prefix}/sbin'
720 libexecdir='${exec_prefix}/libexec'
721 datarootdir='${prefix}/share'
722 datadir='${datarootdir}'
723 sysconfdir='${prefix}/etc'
724 sharedstatedir='${prefix}/com'
725 localstatedir='${prefix}/var'
726 includedir='${prefix}/include'
727 oldincludedir='/usr/include'
728 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
729 infodir='${datarootdir}/info'
730 htmldir='${docdir}'
731 dvidir='${docdir}'
732 pdfdir='${docdir}'
733 psdir='${docdir}'
734 libdir='${exec_prefix}/lib'
735 localedir='${datarootdir}/locale'
736 mandir='${datarootdir}/man'
738 ac_prev=
739 ac_dashdash=
740 for ac_option
742 # If the previous option needs an argument, assign it.
743 if test -n "$ac_prev"; then
744 eval $ac_prev=\$ac_option
745 ac_prev=
746 continue
749 case $ac_option in
750 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 *) ac_optarg=yes ;;
752 esac
754 # Accept the important Cygnus configure options, so we can diagnose typos.
756 case $ac_dashdash$ac_option in
758 ac_dashdash=yes ;;
760 -bindir | --bindir | --bindi | --bind | --bin | --bi)
761 ac_prev=bindir ;;
762 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
763 bindir=$ac_optarg ;;
765 -build | --build | --buil | --bui | --bu)
766 ac_prev=build_alias ;;
767 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
768 build_alias=$ac_optarg ;;
770 -cache-file | --cache-file | --cache-fil | --cache-fi \
771 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
772 ac_prev=cache_file ;;
773 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
774 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
775 cache_file=$ac_optarg ;;
777 --config-cache | -C)
778 cache_file=config.cache ;;
780 -datadir | --datadir | --datadi | --datad)
781 ac_prev=datadir ;;
782 -datadir=* | --datadir=* | --datadi=* | --datad=*)
783 datadir=$ac_optarg ;;
785 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
786 | --dataroo | --dataro | --datar)
787 ac_prev=datarootdir ;;
788 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
789 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
790 datarootdir=$ac_optarg ;;
792 -disable-* | --disable-*)
793 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
794 # Reject names that are not valid shell variable names.
795 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
796 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
797 { (exit 1); exit 1; }; }
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
802 "enable_$ac_useropt"
803 "*) ;;
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
806 esac
807 eval enable_$ac_useropt=no ;;
809 -docdir | --docdir | --docdi | --doc | --do)
810 ac_prev=docdir ;;
811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812 docdir=$ac_optarg ;;
814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
815 ac_prev=dvidir ;;
816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817 dvidir=$ac_optarg ;;
819 -enable-* | --enable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
824 { (exit 1); exit 1; }; }
825 ac_useropt_orig=$ac_useropt
826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
827 case $ac_user_opts in
829 "enable_$ac_useropt"
830 "*) ;;
831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
832 ac_unrecognized_sep=', ';;
833 esac
834 eval enable_$ac_useropt=\$ac_optarg ;;
836 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
837 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
838 | --exec | --exe | --ex)
839 ac_prev=exec_prefix ;;
840 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
841 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
842 | --exec=* | --exe=* | --ex=*)
843 exec_prefix=$ac_optarg ;;
845 -gas | --gas | --ga | --g)
846 # Obsolete; use --with-gas.
847 with_gas=yes ;;
849 -help | --help | --hel | --he | -h)
850 ac_init_help=long ;;
851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852 ac_init_help=recursive ;;
853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
854 ac_init_help=short ;;
856 -host | --host | --hos | --ho)
857 ac_prev=host_alias ;;
858 -host=* | --host=* | --hos=* | --ho=*)
859 host_alias=$ac_optarg ;;
861 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862 ac_prev=htmldir ;;
863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864 | --ht=*)
865 htmldir=$ac_optarg ;;
867 -includedir | --includedir | --includedi | --included | --include \
868 | --includ | --inclu | --incl | --inc)
869 ac_prev=includedir ;;
870 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
871 | --includ=* | --inclu=* | --incl=* | --inc=*)
872 includedir=$ac_optarg ;;
874 -infodir | --infodir | --infodi | --infod | --info | --inf)
875 ac_prev=infodir ;;
876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
877 infodir=$ac_optarg ;;
879 -libdir | --libdir | --libdi | --libd)
880 ac_prev=libdir ;;
881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
882 libdir=$ac_optarg ;;
884 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
885 | --libexe | --libex | --libe)
886 ac_prev=libexecdir ;;
887 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
888 | --libexe=* | --libex=* | --libe=*)
889 libexecdir=$ac_optarg ;;
891 -localedir | --localedir | --localedi | --localed | --locale)
892 ac_prev=localedir ;;
893 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
894 localedir=$ac_optarg ;;
896 -localstatedir | --localstatedir | --localstatedi | --localstated \
897 | --localstate | --localstat | --localsta | --localst | --locals)
898 ac_prev=localstatedir ;;
899 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
900 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
901 localstatedir=$ac_optarg ;;
903 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904 ac_prev=mandir ;;
905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
906 mandir=$ac_optarg ;;
908 -nfp | --nfp | --nf)
909 # Obsolete; use --without-fp.
910 with_fp=no ;;
912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
913 | --no-cr | --no-c | -n)
914 no_create=yes ;;
916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
918 no_recursion=yes ;;
920 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
921 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
922 | --oldin | --oldi | --old | --ol | --o)
923 ac_prev=oldincludedir ;;
924 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
925 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
926 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
927 oldincludedir=$ac_optarg ;;
929 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930 ac_prev=prefix ;;
931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
932 prefix=$ac_optarg ;;
934 -program-prefix | --program-prefix | --program-prefi | --program-pref \
935 | --program-pre | --program-pr | --program-p)
936 ac_prev=program_prefix ;;
937 -program-prefix=* | --program-prefix=* | --program-prefi=* \
938 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
939 program_prefix=$ac_optarg ;;
941 -program-suffix | --program-suffix | --program-suffi | --program-suff \
942 | --program-suf | --program-su | --program-s)
943 ac_prev=program_suffix ;;
944 -program-suffix=* | --program-suffix=* | --program-suffi=* \
945 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
946 program_suffix=$ac_optarg ;;
948 -program-transform-name | --program-transform-name \
949 | --program-transform-nam | --program-transform-na \
950 | --program-transform-n | --program-transform- \
951 | --program-transform | --program-transfor \
952 | --program-transfo | --program-transf \
953 | --program-trans | --program-tran \
954 | --progr-tra | --program-tr | --program-t)
955 ac_prev=program_transform_name ;;
956 -program-transform-name=* | --program-transform-name=* \
957 | --program-transform-nam=* | --program-transform-na=* \
958 | --program-transform-n=* | --program-transform-=* \
959 | --program-transform=* | --program-transfor=* \
960 | --program-transfo=* | --program-transf=* \
961 | --program-trans=* | --program-tran=* \
962 | --progr-tra=* | --program-tr=* | --program-t=*)
963 program_transform_name=$ac_optarg ;;
965 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966 ac_prev=pdfdir ;;
967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
968 pdfdir=$ac_optarg ;;
970 -psdir | --psdir | --psdi | --psd | --ps)
971 ac_prev=psdir ;;
972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
973 psdir=$ac_optarg ;;
975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976 | -silent | --silent | --silen | --sile | --sil)
977 silent=yes ;;
979 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 ac_prev=sbindir ;;
981 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 | --sbi=* | --sb=*)
983 sbindir=$ac_optarg ;;
985 -sharedstatedir | --sharedstatedir | --sharedstatedi \
986 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
987 | --sharedst | --shareds | --shared | --share | --shar \
988 | --sha | --sh)
989 ac_prev=sharedstatedir ;;
990 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
991 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
992 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 | --sha=* | --sh=*)
994 sharedstatedir=$ac_optarg ;;
996 -site | --site | --sit)
997 ac_prev=site ;;
998 -site=* | --site=* | --sit=*)
999 site=$ac_optarg ;;
1001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 ac_prev=srcdir ;;
1003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1004 srcdir=$ac_optarg ;;
1006 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1007 | --syscon | --sysco | --sysc | --sys | --sy)
1008 ac_prev=sysconfdir ;;
1009 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1010 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1011 sysconfdir=$ac_optarg ;;
1013 -target | --target | --targe | --targ | --tar | --ta | --t)
1014 ac_prev=target_alias ;;
1015 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1016 target_alias=$ac_optarg ;;
1018 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1019 verbose=yes ;;
1021 -version | --version | --versio | --versi | --vers | -V)
1022 ac_init_version=: ;;
1024 -with-* | --with-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "with_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval with_$ac_useropt=\$ac_optarg ;;
1041 -without-* | --without-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1046 { (exit 1); exit 1; }; }
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "with_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval with_$ac_useropt=no ;;
1058 --x)
1059 # Obsolete; use --with-x.
1060 with_x=yes ;;
1062 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063 | --x-incl | --x-inc | --x-in | --x-i)
1064 ac_prev=x_includes ;;
1065 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067 x_includes=$ac_optarg ;;
1069 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071 ac_prev=x_libraries ;;
1072 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074 x_libraries=$ac_optarg ;;
1076 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1077 Try \`$0 --help' for more information." >&2
1078 { (exit 1); exit 1; }; }
1081 *=*)
1082 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1085 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1086 { (exit 1); exit 1; }; }
1087 eval $ac_envvar=\$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1098 esac
1099 done
1101 if test -n "$ac_prev"; then
1102 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1104 { (exit 1); exit 1; }; }
1107 if test -n "$ac_unrecognized_opts"; then
1108 case $enable_option_checking in
1109 no) ;;
1110 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1111 { (exit 1); exit 1; }; } ;;
1112 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1113 esac
1116 # Check all directory arguments for consistency.
1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val=\$$ac_var
1123 # Remove trailing slashes.
1124 case $ac_val in
1125 */ )
1126 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1127 eval $ac_var=\$ac_val;;
1128 esac
1129 # Be sure to have absolute directory names.
1130 case $ac_val in
1131 [\\/$]* | ?:[\\/]* ) continue;;
1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133 esac
1134 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1135 { (exit 1); exit 1; }; }
1136 done
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1141 build=$build_alias
1142 host=$host_alias
1143 target=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x; then
1147 if test "x$build_alias" = x; then
1148 cross_compiling=maybe
1149 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1150 If a cross compiler is detected then cross compile mode will be used." >&2
1151 elif test "x$build_alias" != "x$host_alias"; then
1152 cross_compiling=yes
1156 ac_tool_prefix=
1157 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1159 test "$silent" = yes && exec 6>/dev/null
1162 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di=`ls -di .` &&
1164 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1165 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1166 { (exit 1); exit 1; }; }
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1169 { (exit 1); exit 1; }; }
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir=`$as_dirname -- "$as_myself" ||
1177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$as_myself" : 'X\(//\)[^/]' \| \
1179 X"$as_myself" : 'X\(//\)$' \| \
1180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1181 $as_echo X"$as_myself" |
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 s//\1/
1186 /^X\(\/\/\)[^/].*/{
1187 s//\1/
1190 /^X\(\/\/\)$/{
1191 s//\1/
1194 /^X\(\/\).*/{
1195 s//\1/
1198 s/.*/./; q'`
1199 srcdir=$ac_confdir
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 srcdir=..
1203 else
1204 ac_srcdir_defaulted=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1208 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1209 { (exit 1); exit 1; }; }
1211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212 ac_abs_confdir=`(
1213 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1214 { (exit 1); exit 1; }; }
1215 pwd)`
1216 # When building in place, set srcdir=.
1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
1218 srcdir=.
1220 # Remove unnecessary trailing slashes from srcdir.
1221 # Double slashes in file names in object file debugging info
1222 # mess up M-x gdb in Emacs.
1223 case $srcdir in
1224 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225 esac
1226 for ac_var in $ac_precious_vars; do
1227 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1228 eval ac_env_${ac_var}_value=\$${ac_var}
1229 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1231 done
1234 # Report the --help message.
1236 if test "$ac_init_help" = "long"; then
1237 # Omit some internal or obsolete options to make the list less imposing.
1238 # This message is too long to be a string in the A/UX 3.1 sh.
1239 cat <<_ACEOF
1240 \`configure' configures GNU Automake 1.10a to adapt to many kinds of systems.
1242 Usage: $0 [OPTION]... [VAR=VALUE]...
1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245 VAR=VALUE. See below for descriptions of some of the useful variables.
1247 Defaults for the options are specified in brackets.
1249 Configuration:
1250 -h, --help display this help and exit
1251 --help=short display options specific to this package
1252 --help=recursive display the short help of all the included packages
1253 -V, --version display version information and exit
1254 -q, --quiet, --silent do not print \`checking...' messages
1255 --cache-file=FILE cache test results in FILE [disabled]
1256 -C, --config-cache alias for \`--cache-file=config.cache'
1257 -n, --no-create do not create output files
1258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260 Installation directories:
1261 --prefix=PREFIX install architecture-independent files in PREFIX
1262 [$ac_default_prefix]
1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1264 [PREFIX]
1266 By default, \`make install' will install all the files in
1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269 for instance \`--prefix=\$HOME'.
1271 For better control, use the options below.
1273 Fine tuning of the installation directories:
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1293 _ACEOF
1295 cat <<\_ACEOF
1297 Program names:
1298 --program-prefix=PREFIX prepend PREFIX to installed program names
1299 --program-suffix=SUFFIX append SUFFIX to installed program names
1300 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1302 System types:
1303 --build=BUILD configure for building on BUILD [guessed]
1304 _ACEOF
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive ) echo "Configuration of GNU Automake 1.10a:";;
1310 esac
1311 cat <<\_ACEOF
1313 Report bugs to <bug-automake@gnu.org>.
1314 _ACEOF
1315 ac_status=$?
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321 test -d "$ac_dir" ||
1322 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1323 continue
1324 ac_builddir=.
1326 case "$ac_dir" in
1327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 esac ;;
1336 esac
1337 ac_abs_top_builddir=$ac_pwd
1338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir=$ac_top_build_prefix
1342 case $srcdir in
1343 .) # We are building in place.
1344 ac_srcdir=.
1345 ac_top_srcdir=$ac_top_builddir_sub
1346 ac_abs_top_srcdir=$ac_pwd ;;
1347 [\\/]* | ?:[\\/]* ) # Absolute name.
1348 ac_srcdir=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir=$srcdir
1350 ac_abs_top_srcdir=$srcdir ;;
1351 *) # Relative name.
1352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355 esac
1356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" || { ac_status=$?; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1366 else
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 fi || ac_status=$?
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1370 done
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1375 cat <<\_ACEOF
1376 GNU Automake configure 1.10a
1377 generated by GNU Autoconf 2.63
1379 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1380 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1383 _ACEOF
1384 exit
1386 cat >config.log <<_ACEOF
1387 This file contains any messages produced by compilers while
1388 running configure, to aid debugging if configure makes a mistake.
1390 It was created by GNU Automake $as_me 1.10a, which was
1391 generated by GNU Autoconf 2.63. Invocation command line was
1393 $ $0 $@
1395 _ACEOF
1396 exec 5>>config.log
1398 cat <<_ASUNAME
1399 ## --------- ##
1400 ## Platform. ##
1401 ## --------- ##
1403 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1404 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1405 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1406 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1407 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1409 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1410 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1412 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1413 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1414 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1415 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1416 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1417 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1418 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1420 _ASUNAME
1422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 for as_dir in $PATH
1425 IFS=$as_save_IFS
1426 test -z "$as_dir" && as_dir=.
1427 $as_echo "PATH: $as_dir"
1428 done
1429 IFS=$as_save_IFS
1431 } >&5
1433 cat >&5 <<_ACEOF
1436 ## ----------- ##
1437 ## Core tests. ##
1438 ## ----------- ##
1440 _ACEOF
1443 # Keep a trace of the command line.
1444 # Strip out --no-create and --no-recursion so they do not pile up.
1445 # Strip out --silent because we don't want to record it for future runs.
1446 # Also quote any args containing shell meta-characters.
1447 # Make two passes to allow for proper duplicate-argument suppression.
1448 ac_configure_args=
1449 ac_configure_args0=
1450 ac_configure_args1=
1451 ac_must_keep_next=false
1452 for ac_pass in 1 2
1454 for ac_arg
1456 case $ac_arg in
1457 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1459 | -silent | --silent | --silen | --sile | --sil)
1460 continue ;;
1461 *\'*)
1462 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1463 esac
1464 case $ac_pass in
1465 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1467 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1468 if test $ac_must_keep_next = true; then
1469 ac_must_keep_next=false # Got value, back to normal.
1470 else
1471 case $ac_arg in
1472 *=* | --config-cache | -C | -disable-* | --disable-* \
1473 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1474 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1475 | -with-* | --with-* | -without-* | --without-* | --x)
1476 case "$ac_configure_args0 " in
1477 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1478 esac
1480 -* ) ac_must_keep_next=true ;;
1481 esac
1483 ac_configure_args="$ac_configure_args '$ac_arg'"
1485 esac
1486 done
1487 done
1488 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1489 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1491 # When interrupted or exit'd, cleanup temporary files, and complete
1492 # config.log. We remove comments because anyway the quotes in there
1493 # would cause problems or look ugly.
1494 # WARNING: Use '\'' to represent an apostrophe within the trap.
1495 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1496 trap 'exit_status=$?
1497 # Save into config.log some information that might help in debugging.
1499 echo
1501 cat <<\_ASBOX
1502 ## ---------------- ##
1503 ## Cache variables. ##
1504 ## ---------------- ##
1505 _ASBOX
1506 echo
1507 # The following way of writing the cache mishandles newlines in values,
1509 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1510 eval ac_val=\$$ac_var
1511 case $ac_val in #(
1512 *${as_nl}*)
1513 case $ac_var in #(
1514 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1516 esac
1517 case $ac_var in #(
1518 _ | IFS | as_nl) ;; #(
1519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1520 *) $as_unset $ac_var ;;
1521 esac ;;
1522 esac
1523 done
1524 (set) 2>&1 |
1525 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1526 *${as_nl}ac_space=\ *)
1527 sed -n \
1528 "s/'\''/'\''\\\\'\'''\''/g;
1529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1530 ;; #(
1532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1534 esac |
1535 sort
1537 echo
1539 cat <<\_ASBOX
1540 ## ----------------- ##
1541 ## Output variables. ##
1542 ## ----------------- ##
1543 _ASBOX
1544 echo
1545 for ac_var in $ac_subst_vars
1547 eval ac_val=\$$ac_var
1548 case $ac_val in
1549 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550 esac
1551 $as_echo "$ac_var='\''$ac_val'\''"
1552 done | sort
1553 echo
1555 if test -n "$ac_subst_files"; then
1556 cat <<\_ASBOX
1557 ## ------------------- ##
1558 ## File substitutions. ##
1559 ## ------------------- ##
1560 _ASBOX
1561 echo
1562 for ac_var in $ac_subst_files
1564 eval ac_val=\$$ac_var
1565 case $ac_val in
1566 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567 esac
1568 $as_echo "$ac_var='\''$ac_val'\''"
1569 done | sort
1570 echo
1573 if test -s confdefs.h; then
1574 cat <<\_ASBOX
1575 ## ----------- ##
1576 ## confdefs.h. ##
1577 ## ----------- ##
1578 _ASBOX
1579 echo
1580 cat confdefs.h
1581 echo
1583 test "$ac_signal" != 0 &&
1584 $as_echo "$as_me: caught signal $ac_signal"
1585 $as_echo "$as_me: exit $exit_status"
1586 } >&5
1587 rm -f core *.core core.conftest.* &&
1588 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1589 exit $exit_status
1591 for ac_signal in 1 2 13 15; do
1592 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1593 done
1594 ac_signal=0
1596 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1597 rm -f -r conftest* confdefs.h
1599 # Predefined preprocessor variables.
1601 cat >>confdefs.h <<_ACEOF
1602 #define PACKAGE_NAME "$PACKAGE_NAME"
1603 _ACEOF
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1608 _ACEOF
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1613 _ACEOF
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_STRING "$PACKAGE_STRING"
1618 _ACEOF
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1623 _ACEOF
1626 # Let the site file select an alternate cache file if it wants to.
1627 # Prefer an explicitly selected file to automatically selected ones.
1628 ac_site_file1=NONE
1629 ac_site_file2=NONE
1630 if test -n "$CONFIG_SITE"; then
1631 ac_site_file1=$CONFIG_SITE
1632 elif test "x$prefix" != xNONE; then
1633 ac_site_file1=$prefix/share/config.site
1634 ac_site_file2=$prefix/etc/config.site
1635 else
1636 ac_site_file1=$ac_default_prefix/share/config.site
1637 ac_site_file2=$ac_default_prefix/etc/config.site
1639 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1641 test "x$ac_site_file" = xNONE && continue
1642 if test -r "$ac_site_file"; then
1643 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1644 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1645 sed 's/^/| /' "$ac_site_file" >&5
1646 . "$ac_site_file"
1648 done
1650 if test -r "$cache_file"; then
1651 # Some versions of bash will fail to source /dev/null (special
1652 # files actually), so we avoid doing that.
1653 if test -f "$cache_file"; then
1654 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1655 $as_echo "$as_me: loading cache $cache_file" >&6;}
1656 case $cache_file in
1657 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1658 *) . "./$cache_file";;
1659 esac
1661 else
1662 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1663 $as_echo "$as_me: creating cache $cache_file" >&6;}
1664 >$cache_file
1667 # Check that the precious variables saved in the cache have kept the same
1668 # value.
1669 ac_cache_corrupted=false
1670 for ac_var in $ac_precious_vars; do
1671 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1672 eval ac_new_set=\$ac_env_${ac_var}_set
1673 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1674 eval ac_new_val=\$ac_env_${ac_var}_value
1675 case $ac_old_set,$ac_new_set in
1676 set,)
1677 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1678 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1679 ac_cache_corrupted=: ;;
1680 ,set)
1681 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1682 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1683 ac_cache_corrupted=: ;;
1684 ,);;
1686 if test "x$ac_old_val" != "x$ac_new_val"; then
1687 # differences in whitespace do not lead to failure.
1688 ac_old_val_w=`echo x $ac_old_val`
1689 ac_new_val_w=`echo x $ac_new_val`
1690 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1691 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1692 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1693 ac_cache_corrupted=:
1694 else
1695 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1696 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1697 eval $ac_var=\$ac_old_val
1699 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1700 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1701 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1702 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1703 fi;;
1704 esac
1705 # Pass precious variables to config.status.
1706 if test "$ac_new_set" = set; then
1707 case $ac_new_val in
1708 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1709 *) ac_arg=$ac_var=$ac_new_val ;;
1710 esac
1711 case " $ac_configure_args " in
1712 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1713 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1714 esac
1716 done
1717 if $ac_cache_corrupted; then
1718 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1720 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1721 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1722 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1723 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1724 { (exit 1); exit 1; }; }
1751 ac_ext=c
1752 ac_cpp='$CPP $CPPFLAGS'
1753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1760 ac_aux_dir=
1761 for ac_dir in lib "$srcdir"/lib; do
1762 if test -f "$ac_dir/install-sh"; then
1763 ac_aux_dir=$ac_dir
1764 ac_install_sh="$ac_aux_dir/install-sh -c"
1765 break
1766 elif test -f "$ac_dir/install.sh"; then
1767 ac_aux_dir=$ac_dir
1768 ac_install_sh="$ac_aux_dir/install.sh -c"
1769 break
1770 elif test -f "$ac_dir/shtool"; then
1771 ac_aux_dir=$ac_dir
1772 ac_install_sh="$ac_aux_dir/shtool install -c"
1773 break
1775 done
1776 if test -z "$ac_aux_dir"; then
1777 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1778 $as_echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1779 { (exit 1); exit 1; }; }
1782 # These three variables are undocumented and unsupported,
1783 # and are intended to be withdrawn in a future Autoconf release.
1784 # They can cause serious problems if a builder's source tree is in a directory
1785 # whose full name contains unusual characters.
1786 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1787 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1788 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1792 # Make sure we can run config.sub.
1793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1794 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1795 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1796 { (exit 1); exit 1; }; }
1798 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1799 $as_echo_n "checking build system type... " >&6; }
1800 if test "${ac_cv_build+set}" = set; then
1801 $as_echo_n "(cached) " >&6
1802 else
1803 ac_build_alias=$build_alias
1804 test "x$ac_build_alias" = x &&
1805 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1806 test "x$ac_build_alias" = x &&
1807 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1808 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1809 { (exit 1); exit 1; }; }
1810 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1811 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1812 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1813 { (exit 1); exit 1; }; }
1816 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1817 $as_echo "$ac_cv_build" >&6; }
1818 case $ac_cv_build in
1819 *-*-*) ;;
1820 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1821 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1822 { (exit 1); exit 1; }; };;
1823 esac
1824 build=$ac_cv_build
1825 ac_save_IFS=$IFS; IFS='-'
1826 set x $ac_cv_build
1827 shift
1828 build_cpu=$1
1829 build_vendor=$2
1830 shift; shift
1831 # Remember, the first character of IFS is used to create $*,
1832 # except with old shells:
1833 build_os=$*
1834 IFS=$ac_save_IFS
1835 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1839 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1840 # way we can run Autoconf tests from configure (or from the test
1841 # suite) without being bothered by `missing'.
1842 am_AUTOCONF="${AUTOCONF-autoconf}"
1845 am__api_version='1.10a'
1847 # Find a good install program. We prefer a C program (faster),
1848 # so one script is as good as another. But avoid the broken or
1849 # incompatible versions:
1850 # SysV /etc/install, /usr/sbin/install
1851 # SunOS /usr/etc/install
1852 # IRIX /sbin/install
1853 # AIX /bin/install
1854 # AmigaOS /C/install, which installs bootblocks on floppy discs
1855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1858 # OS/2's system install, which has a completely different semantic
1859 # ./install, which can be erroneously created by make from ./install.sh.
1860 # Reject install programs that cannot install multiple files.
1861 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1862 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1863 if test -z "$INSTALL"; then
1864 if test "${ac_cv_path_install+set}" = set; then
1865 $as_echo_n "(cached) " >&6
1866 else
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 for as_dir in $PATH
1870 IFS=$as_save_IFS
1871 test -z "$as_dir" && as_dir=.
1872 # Account for people who put trailing slashes in PATH elements.
1873 case $as_dir/ in
1874 ./ | .// | /cC/* | \
1875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1876 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1877 /usr/ucb/* ) ;;
1879 # OSF1 and SCO ODT 3.0 have their own names for install.
1880 # Don't use installbsd from OSF since it installs stuff as root
1881 # by default.
1882 for ac_prog in ginstall scoinst install; do
1883 for ac_exec_ext in '' $ac_executable_extensions; do
1884 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1885 if test $ac_prog = install &&
1886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1887 # AIX install. It has an incompatible calling convention.
1889 elif test $ac_prog = install &&
1890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1891 # program-specific install script used by HP pwplus--don't use.
1893 else
1894 rm -rf conftest.one conftest.two conftest.dir
1895 echo one > conftest.one
1896 echo two > conftest.two
1897 mkdir conftest.dir
1898 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1899 test -s conftest.one && test -s conftest.two &&
1900 test -s conftest.dir/conftest.one &&
1901 test -s conftest.dir/conftest.two
1902 then
1903 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1904 break 3
1908 done
1909 done
1911 esac
1913 done
1914 IFS=$as_save_IFS
1916 rm -rf conftest.one conftest.two conftest.dir
1919 if test "${ac_cv_path_install+set}" = set; then
1920 INSTALL=$ac_cv_path_install
1921 else
1922 # As a last resort, use the slow shell script. Don't cache a
1923 # value for INSTALL within a source directory, because that will
1924 # break other packages using the cache if that directory is
1925 # removed, or if the value is a relative name.
1926 INSTALL=$ac_install_sh
1929 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1930 $as_echo "$INSTALL" >&6; }
1932 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1933 # It thinks the first close brace ends the variable substitution.
1934 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1936 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1938 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1940 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1941 $as_echo_n "checking whether build environment is sane... " >&6; }
1942 # Just in case
1943 sleep 1
1944 echo timestamp > conftest.file
1945 # Do `set' in a subshell so we don't clobber the current shell's
1946 # arguments. Must try -L first in case configure is actually a
1947 # symlink; some systems play weird games with the mod time of symlinks
1948 # (eg FreeBSD returns the mod time of the symlink's containing
1949 # directory).
1950 if (
1951 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1952 if test "$*" = "X"; then
1953 # -L didn't work.
1954 set X `ls -t $srcdir/configure conftest.file`
1956 rm -f conftest.file
1957 if test "$*" != "X $srcdir/configure conftest.file" \
1958 && test "$*" != "X conftest.file $srcdir/configure"; then
1960 # If neither matched, then we have a broken ls. This can happen
1961 # if, for instance, CONFIG_SHELL is bash and it inherits a
1962 # broken ls alias from the environment. This has actually
1963 # happened. Such a system could not be considered "sane".
1964 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1965 alias in your environment" >&5
1966 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1967 alias in your environment" >&2;}
1968 { (exit 1); exit 1; }; }
1971 test "$2" = conftest.file
1973 then
1974 # Ok.
1976 else
1977 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1978 Check your system clock" >&5
1979 $as_echo "$as_me: error: newly created file is older than distributed files!
1980 Check your system clock" >&2;}
1981 { (exit 1); exit 1; }; }
1983 { $as_echo "$as_me:$LINENO: result: yes" >&5
1984 $as_echo "yes" >&6; }
1985 test "$program_prefix" != NONE &&
1986 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1987 # Use a double $ so make ignores it.
1988 test "$program_suffix" != NONE &&
1989 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1990 # Double any \ or $.
1991 # By default was `s,x,x', remove it if useless.
1992 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1993 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1995 # expand $ac_aux_dir to an absolute path
1996 am_aux_dir=`cd $ac_aux_dir && pwd`
1998 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1999 # Use eval to expand $SHELL
2000 if eval "$MISSING --run true"; then
2001 am_missing_run="$MISSING --run "
2002 else
2003 am_missing_run=
2004 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2005 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2008 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2009 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2010 if test -z "$MKDIR_P"; then
2011 if test "${ac_cv_path_mkdir+set}" = set; then
2012 $as_echo_n "(cached) " >&6
2013 else
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2017 IFS=$as_save_IFS
2018 test -z "$as_dir" && as_dir=.
2019 for ac_prog in mkdir gmkdir; do
2020 for ac_exec_ext in '' $ac_executable_extensions; do
2021 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2022 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2023 'mkdir (GNU coreutils) '* | \
2024 'mkdir (coreutils) '* | \
2025 'mkdir (fileutils) '4.1*)
2026 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2027 break 3;;
2028 esac
2029 done
2030 done
2031 done
2032 IFS=$as_save_IFS
2036 if test "${ac_cv_path_mkdir+set}" = set; then
2037 MKDIR_P="$ac_cv_path_mkdir -p"
2038 else
2039 # As a last resort, use the slow shell script. Don't cache a
2040 # value for MKDIR_P within a source directory, because that will
2041 # break other packages using the cache if that directory is
2042 # removed, or if the value is a relative name.
2043 test -d ./--version && rmdir ./--version
2044 MKDIR_P="$ac_install_sh -d"
2047 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2048 $as_echo "$MKDIR_P" >&6; }
2050 mkdir_p="$MKDIR_P"
2051 case $mkdir_p in
2052 [\\/$]* | ?:[\\/]*) ;;
2053 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2054 esac
2056 for ac_prog in gawk mawk nawk awk
2058 # Extract the first word of "$ac_prog", so it can be a program name with args.
2059 set dummy $ac_prog; ac_word=$2
2060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2061 $as_echo_n "checking for $ac_word... " >&6; }
2062 if test "${ac_cv_prog_AWK+set}" = set; then
2063 $as_echo_n "(cached) " >&6
2064 else
2065 if test -n "$AWK"; then
2066 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2067 else
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 for as_dir in $PATH
2071 IFS=$as_save_IFS
2072 test -z "$as_dir" && as_dir=.
2073 for ac_exec_ext in '' $ac_executable_extensions; do
2074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2075 ac_cv_prog_AWK="$ac_prog"
2076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 break 2
2079 done
2080 done
2081 IFS=$as_save_IFS
2085 AWK=$ac_cv_prog_AWK
2086 if test -n "$AWK"; then
2087 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2088 $as_echo "$AWK" >&6; }
2089 else
2090 { $as_echo "$as_me:$LINENO: result: no" >&5
2091 $as_echo "no" >&6; }
2095 test -n "$AWK" && break
2096 done
2098 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2099 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2100 set x ${MAKE-make}
2101 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2102 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2103 $as_echo_n "(cached) " >&6
2104 else
2105 cat >conftest.make <<\_ACEOF
2106 SHELL = /bin/sh
2107 all:
2108 @echo '@@@%%%=$(MAKE)=@@@%%%'
2109 _ACEOF
2110 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2111 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2112 *@@@%%%=?*=@@@%%%*)
2113 eval ac_cv_prog_make_${ac_make}_set=yes;;
2115 eval ac_cv_prog_make_${ac_make}_set=no;;
2116 esac
2117 rm -f conftest.make
2119 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2120 { $as_echo "$as_me:$LINENO: result: yes" >&5
2121 $as_echo "yes" >&6; }
2122 SET_MAKE=
2123 else
2124 { $as_echo "$as_me:$LINENO: result: no" >&5
2125 $as_echo "no" >&6; }
2126 SET_MAKE="MAKE=${MAKE-make}"
2129 rm -rf .tst 2>/dev/null
2130 mkdir .tst 2>/dev/null
2131 if test -d .tst; then
2132 am__leading_dot=.
2133 else
2134 am__leading_dot=_
2136 rmdir .tst 2>/dev/null
2138 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2139 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2140 # is not polluted with repeated "-I."
2141 am__isrc=' -I$(srcdir)'
2142 # test to see if srcdir already configured
2143 if test -f $srcdir/config.status; then
2144 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2145 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2146 { (exit 1); exit 1; }; }
2150 # test whether we have cygpath
2151 if test -z "$CYGPATH_W"; then
2152 if (cygpath --version) >/dev/null 2>/dev/null; then
2153 CYGPATH_W='cygpath -w'
2154 else
2155 CYGPATH_W=echo
2160 # Define the identity of the package.
2161 PACKAGE='automake'
2162 VERSION='1.10a'
2165 cat >>confdefs.h <<_ACEOF
2166 #define PACKAGE "$PACKAGE"
2167 _ACEOF
2170 cat >>confdefs.h <<_ACEOF
2171 #define VERSION "$VERSION"
2172 _ACEOF
2174 # Some tools Automake needs.
2176 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2179 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2182 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2185 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2188 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2190 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2192 # Installed binaries are usually stripped using `strip' when the user
2193 # run `make install-strip'. However `strip' might not be the right
2194 # tool to use in cross-compilation environments, therefore Automake
2195 # will honor the `STRIP' environment variable to overrule this program.
2196 if test "$cross_compiling" != no; then
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2199 set dummy ${ac_tool_prefix}strip; ac_word=$2
2200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if test "${ac_cv_prog_STRIP+set}" = set; then
2203 $as_echo_n "(cached) " >&6
2204 else
2205 if test -n "$STRIP"; then
2206 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2207 else
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 for as_dir in $PATH
2211 IFS=$as_save_IFS
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2216 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 break 2
2219 done
2220 done
2221 IFS=$as_save_IFS
2225 STRIP=$ac_cv_prog_STRIP
2226 if test -n "$STRIP"; then
2227 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2228 $as_echo "$STRIP" >&6; }
2229 else
2230 { $as_echo "$as_me:$LINENO: result: no" >&5
2231 $as_echo "no" >&6; }
2236 if test -z "$ac_cv_prog_STRIP"; then
2237 ac_ct_STRIP=$STRIP
2238 # Extract the first word of "strip", so it can be a program name with args.
2239 set dummy strip; ac_word=$2
2240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 $as_echo_n "checking for $ac_word... " >&6; }
2242 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2243 $as_echo_n "(cached) " >&6
2244 else
2245 if test -n "$ac_ct_STRIP"; then
2246 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2247 else
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 for as_dir in $PATH
2251 IFS=$as_save_IFS
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_ac_ct_STRIP="strip"
2256 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 break 2
2259 done
2260 done
2261 IFS=$as_save_IFS
2265 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2266 if test -n "$ac_ct_STRIP"; then
2267 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2268 $as_echo "$ac_ct_STRIP" >&6; }
2269 else
2270 { $as_echo "$as_me:$LINENO: result: no" >&5
2271 $as_echo "no" >&6; }
2274 if test "x$ac_ct_STRIP" = x; then
2275 STRIP=":"
2276 else
2277 case $cross_compiling:$ac_tool_warned in
2278 yes:)
2279 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2281 ac_tool_warned=yes ;;
2282 esac
2283 STRIP=$ac_ct_STRIP
2285 else
2286 STRIP="$ac_cv_prog_STRIP"
2290 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2292 # We need awk for the "check" target. The system "awk" is bad on
2293 # some platforms.
2294 # Always define AMTAR for backward compatibility.
2296 AMTAR=${AMTAR-"${am_missing_run}tar"}
2298 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2305 # The API version is the base version. We must guarantee
2306 # compatibility for all releases with the same API version.
2307 # Our current rule is that:
2308 # * All releases, including the prereleases, in an X.Y series
2309 # are compatible. So 1.5.1c is compatible with 1.5.
2310 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2311 # aren't the same.
2312 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2315 # A versioned directory, defined here for convenience.
2316 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2319 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2320 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2321 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2322 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2324 # Extract the first word of "perl", so it can be a program name with args.
2325 set dummy perl; ac_word=$2
2326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if test "${ac_cv_path_PERL+set}" = set; then
2329 $as_echo_n "(cached) " >&6
2330 else
2331 case $PERL in
2332 [\\/]* | ?:[\\/]*)
2333 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 for as_dir in $PATH
2339 IFS=$as_save_IFS
2340 test -z "$as_dir" && as_dir=.
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2343 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2344 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 break 2
2347 done
2348 done
2349 IFS=$as_save_IFS
2352 esac
2354 PERL=$ac_cv_path_PERL
2355 if test -n "$PERL"; then
2356 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2357 $as_echo "$PERL" >&6; }
2358 else
2359 { $as_echo "$as_me:$LINENO: result: no" >&5
2360 $as_echo "no" >&6; }
2364 if test -z "$PERL"; then
2365 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
2366 $as_echo "$as_me: error: perl not found" >&2;}
2367 { (exit 1); exit 1; }; }
2369 $PERL -e 'require 5.006;' || {
2370 { { $as_echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2371 is recommended. If you have several perl versions
2372 installed, select the one Automake should use using
2373 ./configure PERL=/path/to/perl" >&5
2374 $as_echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2375 is recommended. If you have several perl versions
2376 installed, select the one Automake should use using
2377 ./configure PERL=/path/to/perl" >&2;}
2378 { (exit 1); exit 1; }; }
2381 # The test suite will skip some tests if tex is absent.
2382 # Extract the first word of "tex", so it can be a program name with args.
2383 set dummy tex; ac_word=$2
2384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if test "${ac_cv_prog_TEX+set}" = set; then
2387 $as_echo_n "(cached) " >&6
2388 else
2389 if test -n "$TEX"; then
2390 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2395 IFS=$as_save_IFS
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_TEX="tex"
2400 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 break 2
2403 done
2404 done
2405 IFS=$as_save_IFS
2409 TEX=$ac_cv_prog_TEX
2410 if test -n "$TEX"; then
2411 { $as_echo "$as_me:$LINENO: result: $TEX" >&5
2412 $as_echo "$TEX" >&6; }
2413 else
2414 { $as_echo "$as_me:$LINENO: result: no" >&5
2415 $as_echo "no" >&6; }
2420 # Generate man pages.
2422 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2425 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2426 # deletion of any files created (such as those added to
2427 # autom4te.cache). We used to perform only the last of the three
2428 # following tests, but some users were unable to figure out that their
2429 # installation was broken since --version appeared to work.
2431 { $as_echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2432 $as_echo_n "checking whether autoconf is installed... " >&6; }
2433 if test "${am_cv_autoconf_installed+set}" = set; then
2434 $as_echo_n "(cached) " >&6
2435 else
2436 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2437 (eval $am_AUTOCONF --version) >&5 2>&5
2438 ac_status=$?
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); };
2441 then
2442 am_cv_autoconf_installed=yes
2443 else
2444 am_cv_autoconf_installed=no
2447 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2448 $as_echo "$am_cv_autoconf_installed" >&6; }
2449 if test "$am_cv_autoconf_installed" = no; then
2450 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2451 Please make sure it is installed and in your PATH." >&5
2452 $as_echo "$as_me: error: Autoconf 2.60 or better is required.
2453 Please make sure it is installed and in your PATH." >&2;}
2454 { (exit 1); exit 1; }; }
2457 { $as_echo "$as_me:$LINENO: checking whether autoconf works" >&5
2458 $as_echo_n "checking whether autoconf works... " >&6; }
2459 if test "${am_cv_autoconf_works+set}" = set; then
2460 $as_echo_n "(cached) " >&6
2461 else
2462 mkdir conftest
2463 echo 'AC''_INIT' > conftest/conftest.ac
2464 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2465 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2466 ac_status=$?
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); };
2469 then
2470 am_cv_autoconf_works=yes
2471 else
2472 am_cv_autoconf_works=no
2474 rm -rf conftest
2476 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2477 $as_echo "$am_cv_autoconf_works" >&6; }
2478 if test "$am_cv_autoconf_works" = no; then
2479 { { $as_echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2480 Please check config.log for error messages before this one." >&5
2481 $as_echo "$as_me: error: The installed version of autoconf does not work.
2482 Please check config.log for error messages before this one." >&2;}
2483 { (exit 1); exit 1; }; }
2486 { $as_echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2487 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2488 if test "${am_cv_autoconf_version+set}" = set; then
2489 $as_echo_n "(cached) " >&6
2490 else
2491 mkdir conftest
2492 echo 'AC''_PREREQ([2.62])' > conftest/conftest.ac
2493 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2494 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2495 ac_status=$?
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); };
2498 then
2499 am_cv_autoconf_version=yes
2500 else
2501 am_cv_autoconf_version=no
2503 rm -rf conftest
2505 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2506 $as_echo "$am_cv_autoconf_version" >&6; }
2507 if test "$am_cv_autoconf_version" = no; then
2508 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.61a-341 or better is required." >&5
2509 $as_echo "$as_me: error: Autoconf 2.61a-341 or better is required." >&2;}
2510 { (exit 1); exit 1; }; }
2513 # Test for ln. We need use it to install the versioned binaries.
2514 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
2515 $as_echo_n "checking whether ln works... " >&6; }
2516 if test "${am_cv_prog_ln+set}" = set; then
2517 $as_echo_n "(cached) " >&6
2518 else
2520 rm -f conftest conftest.file
2521 : >conftest.file
2522 if ln conftest.file conftest 2>/dev/null; then
2523 am_cv_prog_ln=ln
2524 else
2525 am_cv_prog_ln='cp -p'
2527 rm -f conftest conftest.file
2530 LN=$am_cv_prog_ln
2532 result=no
2533 test "x$am_cv_prog_ln" = xln && result=yes
2534 { $as_echo "$as_me:$LINENO: result: $result" >&5
2535 $as_echo "$result" >&6; }
2537 # The amount we should wait after modifying files depends on the platform.
2538 # On Windows '95, '98 and ME, files modifications have 2-seconds
2539 # granularity and can be up to 3 seconds in the future w.r.t. the
2540 # system clock. When it is important to ensure one file is older
2541 # than another we wait at least 5 seconds between creations.
2542 case $build in
2543 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2544 *) MODIFICATION_DELAY=2;;
2545 esac
2548 # Test for things needed by the test suite.
2549 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2550 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2551 if test "${ac_cv_path_GREP+set}" = set; then
2552 $as_echo_n "(cached) " >&6
2553 else
2554 if test -z "$GREP"; then
2555 ac_path_GREP_found=false
2556 # Loop through the user's path and test for each of PROGNAME-LIST
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2560 IFS=$as_save_IFS
2561 test -z "$as_dir" && as_dir=.
2562 for ac_prog in grep ggrep; do
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2565 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2566 # Check for GNU ac_path_GREP and select it if it is found.
2567 # Check for GNU $ac_path_GREP
2568 case `"$ac_path_GREP" --version 2>&1` in
2569 *GNU*)
2570 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2572 ac_count=0
2573 $as_echo_n 0123456789 >"conftest.in"
2574 while :
2576 cat "conftest.in" "conftest.in" >"conftest.tmp"
2577 mv "conftest.tmp" "conftest.in"
2578 cp "conftest.in" "conftest.nl"
2579 $as_echo 'GREP' >> "conftest.nl"
2580 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2581 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2582 ac_count=`expr $ac_count + 1`
2583 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2584 # Best one so far, save it but keep looking for a better one
2585 ac_cv_path_GREP="$ac_path_GREP"
2586 ac_path_GREP_max=$ac_count
2588 # 10*(2^10) chars as input seems more than enough
2589 test $ac_count -gt 10 && break
2590 done
2591 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2592 esac
2594 $ac_path_GREP_found && break 3
2595 done
2596 done
2597 done
2598 IFS=$as_save_IFS
2599 if test -z "$ac_cv_path_GREP"; then
2600 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2601 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2602 { (exit 1); exit 1; }; }
2604 else
2605 ac_cv_path_GREP=$GREP
2609 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2610 $as_echo "$ac_cv_path_GREP" >&6; }
2611 GREP="$ac_cv_path_GREP"
2614 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2615 $as_echo_n "checking for egrep... " >&6; }
2616 if test "${ac_cv_path_EGREP+set}" = set; then
2617 $as_echo_n "(cached) " >&6
2618 else
2619 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2620 then ac_cv_path_EGREP="$GREP -E"
2621 else
2622 if test -z "$EGREP"; then
2623 ac_path_EGREP_found=false
2624 # Loop through the user's path and test for each of PROGNAME-LIST
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_prog in egrep; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2633 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2634 # Check for GNU ac_path_EGREP and select it if it is found.
2635 # Check for GNU $ac_path_EGREP
2636 case `"$ac_path_EGREP" --version 2>&1` in
2637 *GNU*)
2638 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2640 ac_count=0
2641 $as_echo_n 0123456789 >"conftest.in"
2642 while :
2644 cat "conftest.in" "conftest.in" >"conftest.tmp"
2645 mv "conftest.tmp" "conftest.in"
2646 cp "conftest.in" "conftest.nl"
2647 $as_echo 'EGREP' >> "conftest.nl"
2648 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2649 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2650 ac_count=`expr $ac_count + 1`
2651 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2652 # Best one so far, save it but keep looking for a better one
2653 ac_cv_path_EGREP="$ac_path_EGREP"
2654 ac_path_EGREP_max=$ac_count
2656 # 10*(2^10) chars as input seems more than enough
2657 test $ac_count -gt 10 && break
2658 done
2659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2660 esac
2662 $ac_path_EGREP_found && break 3
2663 done
2664 done
2665 done
2666 IFS=$as_save_IFS
2667 if test -z "$ac_cv_path_EGREP"; then
2668 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2669 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2670 { (exit 1); exit 1; }; }
2672 else
2673 ac_cv_path_EGREP=$EGREP
2678 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2679 $as_echo "$ac_cv_path_EGREP" >&6; }
2680 EGREP="$ac_cv_path_EGREP"
2683 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
2684 $as_echo_n "checking for fgrep... " >&6; }
2685 if test "${ac_cv_path_FGREP+set}" = set; then
2686 $as_echo_n "(cached) " >&6
2687 else
2688 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2689 then ac_cv_path_FGREP="$GREP -F"
2690 else
2691 if test -z "$FGREP"; then
2692 ac_path_FGREP_found=false
2693 # Loop through the user's path and test for each of PROGNAME-LIST
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2697 IFS=$as_save_IFS
2698 test -z "$as_dir" && as_dir=.
2699 for ac_prog in fgrep; do
2700 for ac_exec_ext in '' $ac_executable_extensions; do
2701 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2702 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2703 # Check for GNU ac_path_FGREP and select it if it is found.
2704 # Check for GNU $ac_path_FGREP
2705 case `"$ac_path_FGREP" --version 2>&1` in
2706 *GNU*)
2707 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2709 ac_count=0
2710 $as_echo_n 0123456789 >"conftest.in"
2711 while :
2713 cat "conftest.in" "conftest.in" >"conftest.tmp"
2714 mv "conftest.tmp" "conftest.in"
2715 cp "conftest.in" "conftest.nl"
2716 $as_echo 'FGREP' >> "conftest.nl"
2717 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2718 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2719 ac_count=`expr $ac_count + 1`
2720 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2721 # Best one so far, save it but keep looking for a better one
2722 ac_cv_path_FGREP="$ac_path_FGREP"
2723 ac_path_FGREP_max=$ac_count
2725 # 10*(2^10) chars as input seems more than enough
2726 test $ac_count -gt 10 && break
2727 done
2728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2729 esac
2731 $ac_path_FGREP_found && break 3
2732 done
2733 done
2734 done
2735 IFS=$as_save_IFS
2736 if test -z "$ac_cv_path_FGREP"; then
2737 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2738 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2739 { (exit 1); exit 1; }; }
2741 else
2742 ac_cv_path_FGREP=$FGREP
2747 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2748 $as_echo "$ac_cv_path_FGREP" >&6; }
2749 FGREP="$ac_cv_path_FGREP"
2753 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"
2755 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2757 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2760 cat >confcache <<\_ACEOF
2761 # This file is a shell script that caches the results of configure
2762 # tests run on this system so they can be shared between configure
2763 # scripts and configure runs, see configure's option --config-cache.
2764 # It is not useful on other systems. If it contains results you don't
2765 # want to keep, you may remove or edit it.
2767 # config.status only pays attention to the cache file if you give it
2768 # the --recheck option to rerun configure.
2770 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2771 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2772 # following values.
2774 _ACEOF
2776 # The following way of writing the cache mishandles newlines in values,
2777 # but we know of no workaround that is simple, portable, and efficient.
2778 # So, we kill variables containing newlines.
2779 # Ultrix sh set writes to stderr and can't be redirected directly,
2780 # and sets the high bit in the cache file unless we assign to the vars.
2782 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2783 eval ac_val=\$$ac_var
2784 case $ac_val in #(
2785 *${as_nl}*)
2786 case $ac_var in #(
2787 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2788 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2789 esac
2790 case $ac_var in #(
2791 _ | IFS | as_nl) ;; #(
2792 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2793 *) $as_unset $ac_var ;;
2794 esac ;;
2795 esac
2796 done
2798 (set) 2>&1 |
2799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2800 *${as_nl}ac_space=\ *)
2801 # `set' does not quote correctly, so add quotes (double-quote
2802 # substitution turns \\\\ into \\, and sed turns \\ into \).
2803 sed -n \
2804 "s/'/'\\\\''/g;
2805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2806 ;; #(
2808 # `set' quotes correctly as required by POSIX, so do not add quotes.
2809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2811 esac |
2812 sort
2814 sed '
2815 /^ac_cv_env_/b end
2816 t clear
2817 :clear
2818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2819 t end
2820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2821 :end' >>confcache
2822 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2823 if test -w "$cache_file"; then
2824 test "x$cache_file" != "x/dev/null" &&
2825 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2826 $as_echo "$as_me: updating cache $cache_file" >&6;}
2827 cat confcache >$cache_file
2828 else
2829 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2830 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2833 rm -f confcache
2835 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2836 # Let make expand exec_prefix.
2837 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2839 # Transform confdefs.h into DEFS.
2840 # Protect against shell expansion while executing Makefile rules.
2841 # Protect against Makefile macro expansion.
2843 # If the first sed substitution is executed (which looks for macros that
2844 # take arguments), then branch to the quote section. Otherwise,
2845 # look for a macro that doesn't take arguments.
2846 ac_script='
2847 :mline
2848 /\\$/{
2850 s,\\\n,,
2851 b mline
2853 t clear
2854 :clear
2855 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2856 t quote
2857 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2858 t quote
2859 b any
2860 :quote
2861 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2862 s/\[/\\&/g
2863 s/\]/\\&/g
2864 s/\$/$$/g
2866 :any
2869 s/^\n//
2870 s/\n/ /g
2874 DEFS=`sed -n "$ac_script" confdefs.h`
2877 ac_libobjs=
2878 ac_ltlibobjs=
2879 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2880 # 1. Remove the extension, and $U if already installed.
2881 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2882 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2883 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2884 # will be set to the directory where LIBOBJS objects are built.
2885 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2886 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2887 done
2888 LIBOBJS=$ac_libobjs
2890 LTLIBOBJS=$ac_ltlibobjs
2894 : ${CONFIG_STATUS=./config.status}
2895 ac_write_fail=0
2896 ac_clean_files_save=$ac_clean_files
2897 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2898 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2899 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2900 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2901 #! $SHELL
2902 # Generated by $as_me.
2903 # Run this file to recreate the current configuration.
2904 # Compiler output produced by configure, useful for debugging
2905 # configure, is in config.log if it exists.
2907 debug=false
2908 ac_cs_recheck=false
2909 ac_cs_silent=false
2910 SHELL=\${CONFIG_SHELL-$SHELL}
2911 _ACEOF
2913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2914 ## --------------------- ##
2915 ## M4sh Initialization. ##
2916 ## --------------------- ##
2918 # Be more Bourne compatible
2919 DUALCASE=1; export DUALCASE # for MKS sh
2920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2921 emulate sh
2922 NULLCMD=:
2923 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2924 # is contrary to our usage. Disable this feature.
2925 alias -g '${1+"$@"}'='"$@"'
2926 setopt NO_GLOB_SUBST
2927 else
2928 case `(set -o) 2>/dev/null` in
2929 *posix*) set -o posix ;;
2930 esac
2937 # PATH needs CR
2938 # Avoid depending upon Character Ranges.
2939 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2940 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2941 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2942 as_cr_digits='0123456789'
2943 as_cr_alnum=$as_cr_Letters$as_cr_digits
2945 as_nl='
2947 export as_nl
2948 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2949 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2950 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2951 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2952 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2953 as_echo='printf %s\n'
2954 as_echo_n='printf %s'
2955 else
2956 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2957 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2958 as_echo_n='/usr/ucb/echo -n'
2959 else
2960 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2961 as_echo_n_body='eval
2962 arg=$1;
2963 case $arg in
2964 *"$as_nl"*)
2965 expr "X$arg" : "X\\(.*\\)$as_nl";
2966 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2967 esac;
2968 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2970 export as_echo_n_body
2971 as_echo_n='sh -c $as_echo_n_body as_echo'
2973 export as_echo_body
2974 as_echo='sh -c $as_echo_body as_echo'
2977 # The user is always right.
2978 if test "${PATH_SEPARATOR+set}" != set; then
2979 PATH_SEPARATOR=:
2980 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2981 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2982 PATH_SEPARATOR=';'
2986 # Support unset when possible.
2987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2988 as_unset=unset
2989 else
2990 as_unset=false
2994 # IFS
2995 # We need space, tab and new line, in precisely that order. Quoting is
2996 # there to prevent editors from complaining about space-tab.
2997 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2998 # splitting by setting IFS to empty value.)
2999 IFS=" "" $as_nl"
3001 # Find who we are. Look in the path if we contain no directory separator.
3002 case $0 in
3003 *[\\/]* ) as_myself=$0 ;;
3004 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3010 done
3011 IFS=$as_save_IFS
3014 esac
3015 # We did not find ourselves, most probably we were run as `sh COMMAND'
3016 # in which case we are not to be found in the path.
3017 if test "x$as_myself" = x; then
3018 as_myself=$0
3020 if test ! -f "$as_myself"; then
3021 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3022 { (exit 1); exit 1; }
3025 # Work around bugs in pre-3.0 UWIN ksh.
3026 for as_var in ENV MAIL MAILPATH
3027 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3028 done
3029 PS1='$ '
3030 PS2='> '
3031 PS4='+ '
3033 # NLS nuisances.
3034 LC_ALL=C
3035 export LC_ALL
3036 LANGUAGE=C
3037 export LANGUAGE
3039 # Required to use basename.
3040 if expr a : '\(a\)' >/dev/null 2>&1 &&
3041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3042 as_expr=expr
3043 else
3044 as_expr=false
3047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3048 as_basename=basename
3049 else
3050 as_basename=false
3054 # Name of the executable.
3055 as_me=`$as_basename -- "$0" ||
3056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3057 X"$0" : 'X\(//\)$' \| \
3058 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3059 $as_echo X/"$0" |
3060 sed '/^.*\/\([^/][^/]*\)\/*$/{
3061 s//\1/
3064 /^X\/\(\/\/\)$/{
3065 s//\1/
3068 /^X\/\(\/\).*/{
3069 s//\1/
3072 s/.*/./; q'`
3074 # CDPATH.
3075 $as_unset CDPATH
3079 as_lineno_1=$LINENO
3080 as_lineno_2=$LINENO
3081 test "x$as_lineno_1" != "x$as_lineno_2" &&
3082 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3084 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3085 # uniformly replaced by the line number. The first 'sed' inserts a
3086 # line-number line after each line using $LINENO; the second 'sed'
3087 # does the real work. The second script uses 'N' to pair each
3088 # line-number line with the line containing $LINENO, and appends
3089 # trailing '-' during substitution so that $LINENO is not a special
3090 # case at line end.
3091 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3092 # scripts with optimization help from Paolo Bonzini. Blame Lee
3093 # E. McMahon (1931-1989) for sed's syntax. :-)
3094 sed -n '
3096 /[$]LINENO/=
3097 ' <$as_myself |
3098 sed '
3099 s/[$]LINENO.*/&-/
3100 t lineno
3102 :lineno
3104 :loop
3105 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3106 t loop
3107 s/-\n.*//
3108 ' >$as_me.lineno &&
3109 chmod +x "$as_me.lineno" ||
3110 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3111 { (exit 1); exit 1; }; }
3113 # Don't try to exec as it changes $[0], causing all sort of problems
3114 # (the dirname of $[0] is not the place where we might find the
3115 # original and so on. Autoconf is especially sensitive to this).
3116 . "./$as_me.lineno"
3117 # Exit status is that of the last command.
3118 exit
3122 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3123 as_dirname=dirname
3124 else
3125 as_dirname=false
3128 ECHO_C= ECHO_N= ECHO_T=
3129 case `echo -n x` in
3130 -n*)
3131 case `echo 'x\c'` in
3132 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3133 *) ECHO_C='\c';;
3134 esac;;
3136 ECHO_N='-n';;
3137 esac
3138 if expr a : '\(a\)' >/dev/null 2>&1 &&
3139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3140 as_expr=expr
3141 else
3142 as_expr=false
3145 rm -f conf$$ conf$$.exe conf$$.file
3146 if test -d conf$$.dir; then
3147 rm -f conf$$.dir/conf$$.file
3148 else
3149 rm -f conf$$.dir
3150 mkdir conf$$.dir 2>/dev/null
3152 if (echo >conf$$.file) 2>/dev/null; then
3153 if ln -s conf$$.file conf$$ 2>/dev/null; then
3154 as_ln_s='ln -s'
3155 # ... but there are two gotchas:
3156 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3157 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3158 # In both cases, we have to default to `cp -p'.
3159 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3160 as_ln_s='cp -p'
3161 elif ln conf$$.file conf$$ 2>/dev/null; then
3162 as_ln_s=ln
3163 else
3164 as_ln_s='cp -p'
3166 else
3167 as_ln_s='cp -p'
3169 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3170 rmdir conf$$.dir 2>/dev/null
3172 if mkdir -p . 2>/dev/null; then
3173 as_mkdir_p=:
3174 else
3175 test -d ./-p && rmdir ./-p
3176 as_mkdir_p=false
3179 if test -x / >/dev/null 2>&1; then
3180 as_test_x='test -x'
3181 else
3182 if ls -dL / >/dev/null 2>&1; then
3183 as_ls_L_option=L
3184 else
3185 as_ls_L_option=
3187 as_test_x='
3188 eval sh -c '\''
3189 if test -d "$1"; then
3190 test -d "$1/.";
3191 else
3192 case $1 in
3193 -*)set "./$1";;
3194 esac;
3195 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3196 ???[sx]*):;;*)false;;esac;fi
3197 '\'' sh
3200 as_executable_p=$as_test_x
3202 # Sed expression to map a string onto a valid CPP name.
3203 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3205 # Sed expression to map a string onto a valid variable name.
3206 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3209 exec 6>&1
3211 # Save the log message, to keep $[0] and so on meaningful, and to
3212 # report actual input values of CONFIG_FILES etc. instead of their
3213 # values after options handling.
3214 ac_log="
3215 This file was extended by GNU Automake $as_me 1.10a, which was
3216 generated by GNU Autoconf 2.63. Invocation command line was
3218 CONFIG_FILES = $CONFIG_FILES
3219 CONFIG_HEADERS = $CONFIG_HEADERS
3220 CONFIG_LINKS = $CONFIG_LINKS
3221 CONFIG_COMMANDS = $CONFIG_COMMANDS
3222 $ $0 $@
3224 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3227 _ACEOF
3229 case $ac_config_files in *"
3230 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3231 esac
3235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3236 # Files that config.status was made for.
3237 config_files="$ac_config_files"
3239 _ACEOF
3241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3242 ac_cs_usage="\
3243 \`$as_me' instantiates files from templates according to the
3244 current configuration.
3246 Usage: $0 [OPTION]... [FILE]...
3248 -h, --help print this help, then exit
3249 -V, --version print version number and configuration settings, then exit
3250 -q, --quiet, --silent
3251 do not print progress messages
3252 -d, --debug don't remove temporary files
3253 --recheck update $as_me by reconfiguring in the same conditions
3254 --file=FILE[:TEMPLATE]
3255 instantiate the configuration file FILE
3257 Configuration files:
3258 $config_files
3260 Report bugs to <bug-autoconf@gnu.org>."
3262 _ACEOF
3263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3264 ac_cs_version="\\
3265 GNU Automake config.status 1.10a
3266 configured by $0, generated by GNU Autoconf 2.63,
3267 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3269 Copyright (C) 2008 Free Software Foundation, Inc.
3270 This config.status script is free software; the Free Software Foundation
3271 gives unlimited permission to copy, distribute and modify it."
3273 ac_pwd='$ac_pwd'
3274 srcdir='$srcdir'
3275 INSTALL='$INSTALL'
3276 MKDIR_P='$MKDIR_P'
3277 AWK='$AWK'
3278 test -n "\$AWK" || AWK=awk
3279 _ACEOF
3281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3282 # The default lists apply if the user does not specify any file.
3283 ac_need_defaults=:
3284 while test $# != 0
3286 case $1 in
3287 --*=*)
3288 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3289 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3290 ac_shift=:
3293 ac_option=$1
3294 ac_optarg=$2
3295 ac_shift=shift
3297 esac
3299 case $ac_option in
3300 # Handling of the options.
3301 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3302 ac_cs_recheck=: ;;
3303 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3304 $as_echo "$ac_cs_version"; exit ;;
3305 --debug | --debu | --deb | --de | --d | -d )
3306 debug=: ;;
3307 --file | --fil | --fi | --f )
3308 $ac_shift
3309 case $ac_optarg in
3310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3311 esac
3312 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3313 ac_need_defaults=false;;
3314 --he | --h | --help | --hel | -h )
3315 $as_echo "$ac_cs_usage"; exit ;;
3316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3317 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3318 ac_cs_silent=: ;;
3320 # This is an error.
3321 -*) { $as_echo "$as_me: error: unrecognized option: $1
3322 Try \`$0 --help' for more information." >&2
3323 { (exit 1); exit 1; }; } ;;
3325 *) ac_config_targets="$ac_config_targets $1"
3326 ac_need_defaults=false ;;
3328 esac
3329 shift
3330 done
3332 ac_configure_extra_args=
3334 if $ac_cs_silent; then
3335 exec 6>/dev/null
3336 ac_configure_extra_args="$ac_configure_extra_args --silent"
3339 _ACEOF
3340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3341 if \$ac_cs_recheck; then
3342 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3343 shift
3344 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3345 CONFIG_SHELL='$SHELL'
3346 export CONFIG_SHELL
3347 exec "\$@"
3350 _ACEOF
3351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3352 exec 5>>config.log
3354 echo
3355 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3356 ## Running $as_me. ##
3357 _ASBOX
3358 $as_echo "$ac_log"
3359 } >&5
3361 _ACEOF
3362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3364 # INIT-COMMANDS
3366 APIVERSION=$APIVERSION
3368 _ACEOF
3370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3372 # Handling of arguments.
3373 for ac_config_target in $ac_config_targets
3375 case $ac_config_target in
3376 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3377 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3378 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3379 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3380 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3381 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3382 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3383 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3384 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3385 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3386 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3388 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3389 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3390 { (exit 1); exit 1; }; };;
3391 esac
3392 done
3395 # If the user did not use the arguments to specify the items to instantiate,
3396 # then the envvar interface is used. Set only those that are not.
3397 # We use the long form for the default assignment because of an extremely
3398 # bizarre bug on SunOS 4.1.3.
3399 if $ac_need_defaults; then
3400 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3403 # Have a temporary directory for convenience. Make it in the build tree
3404 # simply because there is no reason against having it here, and in addition,
3405 # creating and moving files from /tmp can sometimes cause problems.
3406 # Hook for its removal unless debugging.
3407 # Note that there is a small window in which the directory will not be cleaned:
3408 # after its creation but before its name has been assigned to `$tmp'.
3409 $debug ||
3411 tmp=
3412 trap 'exit_status=$?
3413 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3415 trap '{ (exit 1); exit 1; }' 1 2 13 15
3417 # Create a (secure) tmp directory for tmp files.
3420 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3421 test -n "$tmp" && test -d "$tmp"
3422 } ||
3424 tmp=./conf$$-$RANDOM
3425 (umask 077 && mkdir "$tmp")
3426 } ||
3428 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3429 { (exit 1); exit 1; }
3432 # Set up the scripts for CONFIG_FILES section.
3433 # No need to generate them if there are no CONFIG_FILES.
3434 # This happens for instance with `./config.status config.h'.
3435 if test -n "$CONFIG_FILES"; then
3438 ac_cr=' '
3439 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3440 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3441 ac_cs_awk_cr='\\r'
3442 else
3443 ac_cs_awk_cr=$ac_cr
3446 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3447 _ACEOF
3451 echo "cat >conf$$subs.awk <<_ACEOF" &&
3452 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3453 echo "_ACEOF"
3454 } >conf$$subs.sh ||
3455 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3456 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3457 { (exit 1); exit 1; }; }
3458 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3459 ac_delim='%!_!# '
3460 for ac_last_try in false false false false false :; do
3461 . ./conf$$subs.sh ||
3462 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3463 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3464 { (exit 1); exit 1; }; }
3466 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3467 if test $ac_delim_n = $ac_delim_num; then
3468 break
3469 elif $ac_last_try; then
3470 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3471 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3472 { (exit 1); exit 1; }; }
3473 else
3474 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3476 done
3477 rm -f conf$$subs.sh
3479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3480 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3481 _ACEOF
3482 sed -n '
3484 s/^/S["/; s/!.*/"]=/
3487 s/^[^!]*!//
3488 :repl
3489 t repl
3490 s/'"$ac_delim"'$//
3491 t delim
3494 s/\(.\{148\}\).*/\1/
3495 t more1
3496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3499 b repl
3500 :more1
3501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3504 s/.\{148\}//
3505 t nl
3506 :delim
3508 s/\(.\{148\}\).*/\1/
3509 t more2
3510 s/["\\]/\\&/g; s/^/"/; s/$/"/
3513 :more2
3514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3517 s/.\{148\}//
3518 t delim
3519 ' <conf$$subs.awk | sed '
3520 /^[^""]/{
3522 s/\n//
3524 ' >>$CONFIG_STATUS || ac_write_fail=1
3525 rm -f conf$$subs.awk
3526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3527 _ACAWK
3528 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3529 for (key in S) S_is_set[key] = 1
3530 FS = "\a"
3534 line = $ 0
3535 nfields = split(line, field, "@")
3536 substed = 0
3537 len = length(field[1])
3538 for (i = 2; i < nfields; i++) {
3539 key = field[i]
3540 keylen = length(key)
3541 if (S_is_set[key]) {
3542 value = S[key]
3543 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3544 len += length(value) + length(field[++i])
3545 substed = 1
3546 } else
3547 len += 1 + keylen
3550 print line
3553 _ACAWK
3554 _ACEOF
3555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3557 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3558 else
3560 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3561 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3562 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3563 { (exit 1); exit 1; }; }
3564 _ACEOF
3566 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3567 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3568 # trailing colons and then remove the whole line if VPATH becomes empty
3569 # (actually we leave an empty line to preserve line numbers).
3570 if test "x$srcdir" = x.; then
3571 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3572 s/:*\$(srcdir):*/:/
3573 s/:*\${srcdir}:*/:/
3574 s/:*@srcdir@:*/:/
3575 s/^\([^=]*=[ ]*\):*/\1/
3576 s/:*$//
3577 s/^[^=]*=[ ]*$//
3581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3582 fi # test -n "$CONFIG_FILES"
3585 eval set X " :F $CONFIG_FILES "
3586 shift
3587 for ac_tag
3589 case $ac_tag in
3590 :[FHLC]) ac_mode=$ac_tag; continue;;
3591 esac
3592 case $ac_mode$ac_tag in
3593 :[FHL]*:*);;
3594 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3595 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3596 { (exit 1); exit 1; }; };;
3597 :[FH]-) ac_tag=-:-;;
3598 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3599 esac
3600 ac_save_IFS=$IFS
3601 IFS=:
3602 set x $ac_tag
3603 IFS=$ac_save_IFS
3604 shift
3605 ac_file=$1
3606 shift
3608 case $ac_mode in
3609 :L) ac_source=$1;;
3610 :[FH])
3611 ac_file_inputs=
3612 for ac_f
3614 case $ac_f in
3615 -) ac_f="$tmp/stdin";;
3616 *) # Look for the file first in the build tree, then in the source tree
3617 # (if the path is not absolute). The absolute path cannot be DOS-style,
3618 # because $ac_f cannot contain `:'.
3619 test -f "$ac_f" ||
3620 case $ac_f in
3621 [\\/$]*) false;;
3622 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3623 esac ||
3624 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3625 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3626 { (exit 1); exit 1; }; };;
3627 esac
3628 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3629 ac_file_inputs="$ac_file_inputs '$ac_f'"
3630 done
3632 # Let's still pretend it is `configure' which instantiates (i.e., don't
3633 # use $as_me), people would be surprised to read:
3634 # /* config.h. Generated by config.status. */
3635 configure_input='Generated from '`
3636 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3637 `' by configure.'
3638 if test x"$ac_file" != x-; then
3639 configure_input="$ac_file. $configure_input"
3640 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3641 $as_echo "$as_me: creating $ac_file" >&6;}
3643 # Neutralize special characters interpreted by sed in replacement strings.
3644 case $configure_input in #(
3645 *\&* | *\|* | *\\* )
3646 ac_sed_conf_input=`$as_echo "$configure_input" |
3647 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3648 *) ac_sed_conf_input=$configure_input;;
3649 esac
3651 case $ac_tag in
3652 *:-:* | *:-) cat >"$tmp/stdin" \
3653 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3654 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3655 { (exit 1); exit 1; }; } ;;
3656 esac
3658 esac
3660 ac_dir=`$as_dirname -- "$ac_file" ||
3661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3662 X"$ac_file" : 'X\(//\)[^/]' \| \
3663 X"$ac_file" : 'X\(//\)$' \| \
3664 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3665 $as_echo X"$ac_file" |
3666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3667 s//\1/
3670 /^X\(\/\/\)[^/].*/{
3671 s//\1/
3674 /^X\(\/\/\)$/{
3675 s//\1/
3678 /^X\(\/\).*/{
3679 s//\1/
3682 s/.*/./; q'`
3683 { as_dir="$ac_dir"
3684 case $as_dir in #(
3685 -*) as_dir=./$as_dir;;
3686 esac
3687 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3688 as_dirs=
3689 while :; do
3690 case $as_dir in #(
3691 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3692 *) as_qdir=$as_dir;;
3693 esac
3694 as_dirs="'$as_qdir' $as_dirs"
3695 as_dir=`$as_dirname -- "$as_dir" ||
3696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3697 X"$as_dir" : 'X\(//\)[^/]' \| \
3698 X"$as_dir" : 'X\(//\)$' \| \
3699 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3700 $as_echo X"$as_dir" |
3701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3702 s//\1/
3705 /^X\(\/\/\)[^/].*/{
3706 s//\1/
3709 /^X\(\/\/\)$/{
3710 s//\1/
3713 /^X\(\/\).*/{
3714 s//\1/
3717 s/.*/./; q'`
3718 test -d "$as_dir" && break
3719 done
3720 test -z "$as_dirs" || eval "mkdir $as_dirs"
3721 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3722 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3723 { (exit 1); exit 1; }; }; }
3724 ac_builddir=.
3726 case "$ac_dir" in
3727 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3729 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3730 # A ".." for each directory in $ac_dir_suffix.
3731 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3732 case $ac_top_builddir_sub in
3733 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3734 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3735 esac ;;
3736 esac
3737 ac_abs_top_builddir=$ac_pwd
3738 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3739 # for backward compatibility:
3740 ac_top_builddir=$ac_top_build_prefix
3742 case $srcdir in
3743 .) # We are building in place.
3744 ac_srcdir=.
3745 ac_top_srcdir=$ac_top_builddir_sub
3746 ac_abs_top_srcdir=$ac_pwd ;;
3747 [\\/]* | ?:[\\/]* ) # Absolute name.
3748 ac_srcdir=$srcdir$ac_dir_suffix;
3749 ac_top_srcdir=$srcdir
3750 ac_abs_top_srcdir=$srcdir ;;
3751 *) # Relative name.
3752 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3753 ac_top_srcdir=$ac_top_build_prefix$srcdir
3754 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3755 esac
3756 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3759 case $ac_mode in
3762 # CONFIG_FILE
3765 case $INSTALL in
3766 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3767 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3768 esac
3769 ac_MKDIR_P=$MKDIR_P
3770 case $MKDIR_P in
3771 [\\/$]* | ?:[\\/]* ) ;;
3772 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3773 esac
3774 _ACEOF
3776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3777 # If the template does not know about datarootdir, expand it.
3778 # FIXME: This hack should be removed a few years after 2.60.
3779 ac_datarootdir_hack=; ac_datarootdir_seen=
3781 ac_sed_dataroot='
3782 /datarootdir/ {
3786 /@datadir@/p
3787 /@docdir@/p
3788 /@infodir@/p
3789 /@localedir@/p
3790 /@mandir@/p
3792 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3793 *datarootdir*) ac_datarootdir_seen=yes;;
3794 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3795 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3796 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3797 _ACEOF
3798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3799 ac_datarootdir_hack='
3800 s&@datadir@&$datadir&g
3801 s&@docdir@&$docdir&g
3802 s&@infodir@&$infodir&g
3803 s&@localedir@&$localedir&g
3804 s&@mandir@&$mandir&g
3805 s&\\\${datarootdir}&$datarootdir&g' ;;
3806 esac
3807 _ACEOF
3809 # Neutralize VPATH when `$srcdir' = `.'.
3810 # Shell code in configure.ac might set extrasub.
3811 # FIXME: do we really want to maintain this feature?
3812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3813 ac_sed_extra="$ac_vpsub
3814 $extrasub
3815 _ACEOF
3816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3819 s|@configure_input@|$ac_sed_conf_input|;t t
3820 s&@top_builddir@&$ac_top_builddir_sub&;t t
3821 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3822 s&@srcdir@&$ac_srcdir&;t t
3823 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3824 s&@top_srcdir@&$ac_top_srcdir&;t t
3825 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3826 s&@builddir@&$ac_builddir&;t t
3827 s&@abs_builddir@&$ac_abs_builddir&;t t
3828 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3829 s&@INSTALL@&$ac_INSTALL&;t t
3830 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3831 $ac_datarootdir_hack
3833 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3834 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3835 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3836 { (exit 1); exit 1; }; }
3838 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3839 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3840 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3841 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3842 which seems to be undefined. Please make sure it is defined." >&5
3843 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3844 which seems to be undefined. Please make sure it is defined." >&2;}
3846 rm -f "$tmp/stdin"
3847 case $ac_file in
3848 -) cat "$tmp/out" && rm -f "$tmp/out";;
3849 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3850 esac \
3851 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3852 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3853 { (exit 1); exit 1; }; }
3858 esac
3861 case $ac_file$ac_mode in
3862 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3863 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3865 esac
3866 done # for ac_tag
3869 { (exit 0); exit 0; }
3870 _ACEOF
3871 chmod +x $CONFIG_STATUS
3872 ac_clean_files=$ac_clean_files_save
3874 test $ac_write_fail = 0 ||
3875 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3876 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3877 { (exit 1); exit 1; }; }
3880 # configure is writing to config.log, and then calls config.status.
3881 # config.status does its own redirection, appending to config.log.
3882 # Unfortunately, on DOS this fails, as config.log is still kept open
3883 # by configure, so config.status won't be able to write to it; its
3884 # output is simply discarded. So we exec the FD to /dev/null,
3885 # effectively closing config.log, so it can be properly (re)opened and
3886 # appended to by config.status. When coming back to configure, we
3887 # need to make the FD available again.
3888 if test "$no_create" != yes; then
3889 ac_cs_success=:
3890 ac_config_status_args=
3891 test "$silent" = yes &&
3892 ac_config_status_args="$ac_config_status_args --quiet"
3893 exec 5>/dev/null
3894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3895 exec 5>>config.log
3896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3897 # would make configure fail if this is the last instruction.
3898 $ac_cs_success || { (exit 1); exit 1; }
3900 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3901 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3902 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}