Vala: Add and test rebuild rules for generated header and vapi files.
[automake.git] / configure
blob6fb2ae72a9df034d9f50ef6a9befe29099115eea
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for GNU Automake 1.10c.
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.10c'
600 PACKAGE_STRING='GNU Automake 1.10c'
601 PACKAGE_BUGREPORT='bug-automake@gnu.org'
603 ac_unique_file="automake.in"
604 ac_subst_vars='LTLIBOBJS
605 LIBOBJS
606 sh_errexit_works
607 FGREP
608 EGREP
609 GREP
610 MODIFICATION_DELAY
612 HELP2MAN
614 PERL_THREADS
615 PERL
616 pkgvdatadir
617 APIVERSION
618 am__untar
619 am__tar
620 AMTAR
621 am__leading_dot
622 SET_MAKE
624 mkdir_p
625 MKDIR_P
626 INSTALL_STRIP_PROGRAM
627 STRIP
628 install_sh
629 MAKEINFO
630 AUTOHEADER
631 AUTOMAKE
632 AUTOCONF
633 ACLOCAL
634 VERSION
635 PACKAGE
636 CYGPATH_W
637 am__isrc
638 INSTALL_DATA
639 INSTALL_SCRIPT
640 INSTALL_PROGRAM
641 am_AUTOHEADER
642 am_AUTOCONF
643 build_os
644 build_vendor
645 build_cpu
646 build
647 target_alias
648 host_alias
649 build_alias
650 LIBS
651 ECHO_T
652 ECHO_N
653 ECHO_C
654 DEFS
655 mandir
656 localedir
657 libdir
658 psdir
659 pdfdir
660 dvidir
661 htmldir
662 infodir
663 docdir
664 oldincludedir
665 includedir
666 localstatedir
667 sharedstatedir
668 sysconfdir
669 datadir
670 datarootdir
671 libexecdir
672 sbindir
673 bindir
674 program_transform_name
675 prefix
676 exec_prefix
677 PACKAGE_BUGREPORT
678 PACKAGE_STRING
679 PACKAGE_VERSION
680 PACKAGE_TARNAME
681 PACKAGE_NAME
682 PATH_SEPARATOR
683 SHELL'
684 ac_subst_files=''
685 ac_user_opts='
686 enable_option_checking
688 ac_precious_vars='build_alias
689 host_alias
690 target_alias'
693 # Initialize some variables set by options.
694 ac_init_help=
695 ac_init_version=false
696 ac_unrecognized_opts=
697 ac_unrecognized_sep=
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
700 cache_file=/dev/null
701 exec_prefix=NONE
702 no_create=
703 no_recursion=
704 prefix=NONE
705 program_prefix=NONE
706 program_suffix=NONE
707 program_transform_name=s,x,x,
708 silent=
709 site=
710 srcdir=
711 verbose=
712 x_includes=NONE
713 x_libraries=NONE
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir='${exec_prefix}/bin'
722 sbindir='${exec_prefix}/sbin'
723 libexecdir='${exec_prefix}/libexec'
724 datarootdir='${prefix}/share'
725 datadir='${datarootdir}'
726 sysconfdir='${prefix}/etc'
727 sharedstatedir='${prefix}/com'
728 localstatedir='${prefix}/var'
729 includedir='${prefix}/include'
730 oldincludedir='/usr/include'
731 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
732 infodir='${datarootdir}/info'
733 htmldir='${docdir}'
734 dvidir='${docdir}'
735 pdfdir='${docdir}'
736 psdir='${docdir}'
737 libdir='${exec_prefix}/lib'
738 localedir='${datarootdir}/locale'
739 mandir='${datarootdir}/man'
741 ac_prev=
742 ac_dashdash=
743 for ac_option
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\$ac_option
748 ac_prev=
749 continue
752 case $ac_option in
753 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
754 *) ac_optarg=yes ;;
755 esac
757 # Accept the important Cygnus configure options, so we can diagnose typos.
759 case $ac_dashdash$ac_option in
761 ac_dashdash=yes ;;
763 -bindir | --bindir | --bindi | --bind | --bin | --bi)
764 ac_prev=bindir ;;
765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766 bindir=$ac_optarg ;;
768 -build | --build | --buil | --bui | --bu)
769 ac_prev=build_alias ;;
770 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
771 build_alias=$ac_optarg ;;
773 -cache-file | --cache-file | --cache-fil | --cache-fi \
774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
775 ac_prev=cache_file ;;
776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
778 cache_file=$ac_optarg ;;
780 --config-cache | -C)
781 cache_file=config.cache ;;
783 -datadir | --datadir | --datadi | --datad)
784 ac_prev=datadir ;;
785 -datadir=* | --datadir=* | --datadi=* | --datad=*)
786 datadir=$ac_optarg ;;
788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
789 | --dataroo | --dataro | --datar)
790 ac_prev=datarootdir ;;
791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
793 datarootdir=$ac_optarg ;;
795 -disable-* | --disable-*)
796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
799 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
800 { (exit 1); exit 1; }; }
801 ac_useropt_orig=$ac_useropt
802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
805 "enable_$ac_useropt"
806 "*) ;;
807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808 ac_unrecognized_sep=', ';;
809 esac
810 eval enable_$ac_useropt=no ;;
812 -docdir | --docdir | --docdi | --doc | --do)
813 ac_prev=docdir ;;
814 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
815 docdir=$ac_optarg ;;
817 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
818 ac_prev=dvidir ;;
819 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
820 dvidir=$ac_optarg ;;
822 -enable-* | --enable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
827 { (exit 1); exit 1; }; }
828 ac_useropt_orig=$ac_useropt
829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830 case $ac_user_opts in
832 "enable_$ac_useropt"
833 "*) ;;
834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
835 ac_unrecognized_sep=', ';;
836 esac
837 eval enable_$ac_useropt=\$ac_optarg ;;
839 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
841 | --exec | --exe | --ex)
842 ac_prev=exec_prefix ;;
843 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
844 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
845 | --exec=* | --exe=* | --ex=*)
846 exec_prefix=$ac_optarg ;;
848 -gas | --gas | --ga | --g)
849 # Obsolete; use --with-gas.
850 with_gas=yes ;;
852 -help | --help | --hel | --he | -h)
853 ac_init_help=long ;;
854 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
855 ac_init_help=recursive ;;
856 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
857 ac_init_help=short ;;
859 -host | --host | --hos | --ho)
860 ac_prev=host_alias ;;
861 -host=* | --host=* | --hos=* | --ho=*)
862 host_alias=$ac_optarg ;;
864 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 ac_prev=htmldir ;;
866 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 | --ht=*)
868 htmldir=$ac_optarg ;;
870 -includedir | --includedir | --includedi | --included | --include \
871 | --includ | --inclu | --incl | --inc)
872 ac_prev=includedir ;;
873 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
874 | --includ=* | --inclu=* | --incl=* | --inc=*)
875 includedir=$ac_optarg ;;
877 -infodir | --infodir | --infodi | --infod | --info | --inf)
878 ac_prev=infodir ;;
879 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
880 infodir=$ac_optarg ;;
882 -libdir | --libdir | --libdi | --libd)
883 ac_prev=libdir ;;
884 -libdir=* | --libdir=* | --libdi=* | --libd=*)
885 libdir=$ac_optarg ;;
887 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
888 | --libexe | --libex | --libe)
889 ac_prev=libexecdir ;;
890 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
891 | --libexe=* | --libex=* | --libe=*)
892 libexecdir=$ac_optarg ;;
894 -localedir | --localedir | --localedi | --localed | --locale)
895 ac_prev=localedir ;;
896 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
897 localedir=$ac_optarg ;;
899 -localstatedir | --localstatedir | --localstatedi | --localstated \
900 | --localstate | --localstat | --localsta | --localst | --locals)
901 ac_prev=localstatedir ;;
902 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
903 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
904 localstatedir=$ac_optarg ;;
906 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 ac_prev=mandir ;;
908 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
909 mandir=$ac_optarg ;;
911 -nfp | --nfp | --nf)
912 # Obsolete; use --without-fp.
913 with_fp=no ;;
915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
916 | --no-cr | --no-c | -n)
917 no_create=yes ;;
919 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
920 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
921 no_recursion=yes ;;
923 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
924 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
925 | --oldin | --oldi | --old | --ol | --o)
926 ac_prev=oldincludedir ;;
927 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
928 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
929 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
930 oldincludedir=$ac_optarg ;;
932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 ac_prev=prefix ;;
934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
935 prefix=$ac_optarg ;;
937 -program-prefix | --program-prefix | --program-prefi | --program-pref \
938 | --program-pre | --program-pr | --program-p)
939 ac_prev=program_prefix ;;
940 -program-prefix=* | --program-prefix=* | --program-prefi=* \
941 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
942 program_prefix=$ac_optarg ;;
944 -program-suffix | --program-suffix | --program-suffi | --program-suff \
945 | --program-suf | --program-su | --program-s)
946 ac_prev=program_suffix ;;
947 -program-suffix=* | --program-suffix=* | --program-suffi=* \
948 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
949 program_suffix=$ac_optarg ;;
951 -program-transform-name | --program-transform-name \
952 | --program-transform-nam | --program-transform-na \
953 | --program-transform-n | --program-transform- \
954 | --program-transform | --program-transfor \
955 | --program-transfo | --program-transf \
956 | --program-trans | --program-tran \
957 | --progr-tra | --program-tr | --program-t)
958 ac_prev=program_transform_name ;;
959 -program-transform-name=* | --program-transform-name=* \
960 | --program-transform-nam=* | --program-transform-na=* \
961 | --program-transform-n=* | --program-transform-=* \
962 | --program-transform=* | --program-transfor=* \
963 | --program-transfo=* | --program-transf=* \
964 | --program-trans=* | --program-tran=* \
965 | --progr-tra=* | --program-tr=* | --program-t=*)
966 program_transform_name=$ac_optarg ;;
968 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 ac_prev=pdfdir ;;
970 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
971 pdfdir=$ac_optarg ;;
973 -psdir | --psdir | --psdi | --psd | --ps)
974 ac_prev=psdir ;;
975 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
976 psdir=$ac_optarg ;;
978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
979 | -silent | --silent | --silen | --sile | --sil)
980 silent=yes ;;
982 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983 ac_prev=sbindir ;;
984 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985 | --sbi=* | --sb=*)
986 sbindir=$ac_optarg ;;
988 -sharedstatedir | --sharedstatedir | --sharedstatedi \
989 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
990 | --sharedst | --shareds | --shared | --share | --shar \
991 | --sha | --sh)
992 ac_prev=sharedstatedir ;;
993 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
994 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
995 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996 | --sha=* | --sh=*)
997 sharedstatedir=$ac_optarg ;;
999 -site | --site | --sit)
1000 ac_prev=site ;;
1001 -site=* | --site=* | --sit=*)
1002 site=$ac_optarg ;;
1004 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005 ac_prev=srcdir ;;
1006 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1007 srcdir=$ac_optarg ;;
1009 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1010 | --syscon | --sysco | --sysc | --sys | --sy)
1011 ac_prev=sysconfdir ;;
1012 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1013 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1014 sysconfdir=$ac_optarg ;;
1016 -target | --target | --targe | --targ | --tar | --ta | --t)
1017 ac_prev=target_alias ;;
1018 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1019 target_alias=$ac_optarg ;;
1021 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1022 verbose=yes ;;
1024 -version | --version | --versio | --versi | --vers | -V)
1025 ac_init_version=: ;;
1027 -with-* | --with-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "with_$ac_useropt"
1038 "*) ;;
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1041 esac
1042 eval with_$ac_useropt=\$ac_optarg ;;
1044 -without-* | --without-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1049 { (exit 1); exit 1; }; }
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "with_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval with_$ac_useropt=no ;;
1061 --x)
1062 # Obsolete; use --with-x.
1063 with_x=yes ;;
1065 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066 | --x-incl | --x-inc | --x-in | --x-i)
1067 ac_prev=x_includes ;;
1068 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070 x_includes=$ac_optarg ;;
1072 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074 ac_prev=x_libraries ;;
1075 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077 x_libraries=$ac_optarg ;;
1079 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1080 Try \`$0 --help' for more information." >&2
1081 { (exit 1); exit 1; }; }
1084 *=*)
1085 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1088 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1089 { (exit 1); exit 1; }; }
1090 eval $ac_envvar=\$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1101 esac
1102 done
1104 if test -n "$ac_prev"; then
1105 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1107 { (exit 1); exit 1; }; }
1110 if test -n "$ac_unrecognized_opts"; then
1111 case $enable_option_checking in
1112 no) ;;
1113 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1114 { (exit 1); exit 1; }; } ;;
1115 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1116 esac
1119 # Check all directory arguments for consistency.
1120 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123 libdir localedir mandir
1125 eval ac_val=\$$ac_var
1126 # Remove trailing slashes.
1127 case $ac_val in
1128 */ )
1129 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1130 eval $ac_var=\$ac_val;;
1131 esac
1132 # Be sure to have absolute directory names.
1133 case $ac_val in
1134 [\\/$]* | ?:[\\/]* ) continue;;
1135 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1136 esac
1137 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1138 { (exit 1); exit 1; }; }
1139 done
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1144 build=$build_alias
1145 host=$host_alias
1146 target=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x; then
1150 if test "x$build_alias" = x; then
1151 cross_compiling=maybe
1152 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1153 If a cross compiler is detected then cross compile mode will be used." >&2
1154 elif test "x$build_alias" != "x$host_alias"; then
1155 cross_compiling=yes
1159 ac_tool_prefix=
1160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1162 test "$silent" = yes && exec 6>/dev/null
1165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166 ac_ls_di=`ls -di .` &&
1167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1169 { (exit 1); exit 1; }; }
1170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1172 { (exit 1); exit 1; }; }
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 s//\1/
1189 /^X\(\/\/\)[^/].*/{
1190 s//\1/
1193 /^X\(\/\/\)$/{
1194 s//\1/
1197 /^X\(\/\).*/{
1198 s//\1/
1201 s/.*/./; q'`
1202 srcdir=$ac_confdir
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 srcdir=..
1206 else
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1212 { (exit 1); exit 1; }; }
1214 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215 ac_abs_confdir=`(
1216 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1217 { (exit 1); exit 1; }; }
1218 pwd)`
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 srcdir=.
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1226 case $srcdir in
1227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 esac
1229 for ac_var in $ac_precious_vars; do
1230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_${ac_var}_value=\$${ac_var}
1232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234 done
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1242 cat <<_ACEOF
1243 \`configure' configures GNU Automake 1.10c to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1252 Configuration:
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 [PREFIX]
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1296 _ACEOF
1298 cat <<\_ACEOF
1300 Program names:
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1305 System types:
1306 --build=BUILD configure for building on BUILD [guessed]
1307 _ACEOF
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short | recursive ) echo "Configuration of GNU Automake 1.10c:";;
1313 esac
1314 cat <<\_ACEOF
1316 Report bugs to <bug-automake@gnu.org>.
1317 _ACEOF
1318 ac_status=$?
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 continue
1327 ac_builddir=.
1329 case "$ac_dir" in
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339 esac
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1345 case $srcdir in
1346 .) # We are building in place.
1347 ac_srcdir=.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 esac
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1369 else
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1373 done
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1378 cat <<\_ACEOF
1379 GNU Automake configure 1.10c
1380 generated by GNU Autoconf 2.63
1382 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1383 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1384 This configure script is free software; the Free Software Foundation
1385 gives unlimited permission to copy, distribute and modify it.
1386 _ACEOF
1387 exit
1389 cat >config.log <<_ACEOF
1390 This file contains any messages produced by compilers while
1391 running configure, to aid debugging if configure makes a mistake.
1393 It was created by GNU Automake $as_me 1.10c, which was
1394 generated by GNU Autoconf 2.63. Invocation command line was
1396 $ $0 $@
1398 _ACEOF
1399 exec 5>>config.log
1401 cat <<_ASUNAME
1402 ## --------- ##
1403 ## Platform. ##
1404 ## --------- ##
1406 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1407 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1408 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1409 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1410 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1412 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1413 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1415 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1416 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1417 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1418 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1419 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1420 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1421 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1423 _ASUNAME
1425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426 for as_dir in $PATH
1428 IFS=$as_save_IFS
1429 test -z "$as_dir" && as_dir=.
1430 $as_echo "PATH: $as_dir"
1431 done
1432 IFS=$as_save_IFS
1434 } >&5
1436 cat >&5 <<_ACEOF
1439 ## ----------- ##
1440 ## Core tests. ##
1441 ## ----------- ##
1443 _ACEOF
1446 # Keep a trace of the command line.
1447 # Strip out --no-create and --no-recursion so they do not pile up.
1448 # Strip out --silent because we don't want to record it for future runs.
1449 # Also quote any args containing shell meta-characters.
1450 # Make two passes to allow for proper duplicate-argument suppression.
1451 ac_configure_args=
1452 ac_configure_args0=
1453 ac_configure_args1=
1454 ac_must_keep_next=false
1455 for ac_pass in 1 2
1457 for ac_arg
1459 case $ac_arg in
1460 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1462 | -silent | --silent | --silen | --sile | --sil)
1463 continue ;;
1464 *\'*)
1465 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1466 esac
1467 case $ac_pass in
1468 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1470 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1471 if test $ac_must_keep_next = true; then
1472 ac_must_keep_next=false # Got value, back to normal.
1473 else
1474 case $ac_arg in
1475 *=* | --config-cache | -C | -disable-* | --disable-* \
1476 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1477 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1478 | -with-* | --with-* | -without-* | --without-* | --x)
1479 case "$ac_configure_args0 " in
1480 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1481 esac
1483 -* ) ac_must_keep_next=true ;;
1484 esac
1486 ac_configure_args="$ac_configure_args '$ac_arg'"
1488 esac
1489 done
1490 done
1491 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1492 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1494 # When interrupted or exit'd, cleanup temporary files, and complete
1495 # config.log. We remove comments because anyway the quotes in there
1496 # would cause problems or look ugly.
1497 # WARNING: Use '\'' to represent an apostrophe within the trap.
1498 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1499 trap 'exit_status=$?
1500 # Save into config.log some information that might help in debugging.
1502 echo
1504 cat <<\_ASBOX
1505 ## ---------------- ##
1506 ## Cache variables. ##
1507 ## ---------------- ##
1508 _ASBOX
1509 echo
1510 # The following way of writing the cache mishandles newlines in values,
1512 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1513 eval ac_val=\$$ac_var
1514 case $ac_val in #(
1515 *${as_nl}*)
1516 case $ac_var in #(
1517 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1519 esac
1520 case $ac_var in #(
1521 _ | IFS | as_nl) ;; #(
1522 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1523 *) $as_unset $ac_var ;;
1524 esac ;;
1525 esac
1526 done
1527 (set) 2>&1 |
1528 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1529 *${as_nl}ac_space=\ *)
1530 sed -n \
1531 "s/'\''/'\''\\\\'\'''\''/g;
1532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1533 ;; #(
1535 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1537 esac |
1538 sort
1540 echo
1542 cat <<\_ASBOX
1543 ## ----------------- ##
1544 ## Output variables. ##
1545 ## ----------------- ##
1546 _ASBOX
1547 echo
1548 for ac_var in $ac_subst_vars
1550 eval ac_val=\$$ac_var
1551 case $ac_val in
1552 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1553 esac
1554 $as_echo "$ac_var='\''$ac_val'\''"
1555 done | sort
1556 echo
1558 if test -n "$ac_subst_files"; then
1559 cat <<\_ASBOX
1560 ## ------------------- ##
1561 ## File substitutions. ##
1562 ## ------------------- ##
1563 _ASBOX
1564 echo
1565 for ac_var in $ac_subst_files
1567 eval ac_val=\$$ac_var
1568 case $ac_val in
1569 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1570 esac
1571 $as_echo "$ac_var='\''$ac_val'\''"
1572 done | sort
1573 echo
1576 if test -s confdefs.h; then
1577 cat <<\_ASBOX
1578 ## ----------- ##
1579 ## confdefs.h. ##
1580 ## ----------- ##
1581 _ASBOX
1582 echo
1583 cat confdefs.h
1584 echo
1586 test "$ac_signal" != 0 &&
1587 $as_echo "$as_me: caught signal $ac_signal"
1588 $as_echo "$as_me: exit $exit_status"
1589 } >&5
1590 rm -f core *.core core.conftest.* &&
1591 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1592 exit $exit_status
1594 for ac_signal in 1 2 13 15; do
1595 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1596 done
1597 ac_signal=0
1599 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1600 rm -f -r conftest* confdefs.h
1602 # Predefined preprocessor variables.
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_NAME "$PACKAGE_NAME"
1606 _ACEOF
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1611 _ACEOF
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1616 _ACEOF
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_STRING "$PACKAGE_STRING"
1621 _ACEOF
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1626 _ACEOF
1629 # Let the site file select an alternate cache file if it wants to.
1630 # Prefer an explicitly selected file to automatically selected ones.
1631 ac_site_file1=NONE
1632 ac_site_file2=NONE
1633 if test -n "$CONFIG_SITE"; then
1634 ac_site_file1=$CONFIG_SITE
1635 elif test "x$prefix" != xNONE; then
1636 ac_site_file1=$prefix/share/config.site
1637 ac_site_file2=$prefix/etc/config.site
1638 else
1639 ac_site_file1=$ac_default_prefix/share/config.site
1640 ac_site_file2=$ac_default_prefix/etc/config.site
1642 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1644 test "x$ac_site_file" = xNONE && continue
1645 if test -r "$ac_site_file"; then
1646 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1647 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1648 sed 's/^/| /' "$ac_site_file" >&5
1649 . "$ac_site_file"
1651 done
1653 if test -r "$cache_file"; then
1654 # Some versions of bash will fail to source /dev/null (special
1655 # files actually), so we avoid doing that.
1656 if test -f "$cache_file"; then
1657 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1658 $as_echo "$as_me: loading cache $cache_file" >&6;}
1659 case $cache_file in
1660 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1661 *) . "./$cache_file";;
1662 esac
1664 else
1665 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1666 $as_echo "$as_me: creating cache $cache_file" >&6;}
1667 >$cache_file
1670 # Check that the precious variables saved in the cache have kept the same
1671 # value.
1672 ac_cache_corrupted=false
1673 for ac_var in $ac_precious_vars; do
1674 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675 eval ac_new_set=\$ac_env_${ac_var}_set
1676 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1677 eval ac_new_val=\$ac_env_${ac_var}_value
1678 case $ac_old_set,$ac_new_set in
1679 set,)
1680 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1681 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1683 ,set)
1684 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1685 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1687 ,);;
1689 if test "x$ac_old_val" != "x$ac_new_val"; then
1690 # differences in whitespace do not lead to failure.
1691 ac_old_val_w=`echo x $ac_old_val`
1692 ac_new_val_w=`echo x $ac_new_val`
1693 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1694 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1695 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1696 ac_cache_corrupted=:
1697 else
1698 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1699 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1700 eval $ac_var=\$ac_old_val
1702 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1703 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1704 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1705 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1706 fi;;
1707 esac
1708 # Pass precious variables to config.status.
1709 if test "$ac_new_set" = set; then
1710 case $ac_new_val in
1711 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1712 *) ac_arg=$ac_var=$ac_new_val ;;
1713 esac
1714 case " $ac_configure_args " in
1715 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1716 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1717 esac
1719 done
1720 if $ac_cache_corrupted; then
1721 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1723 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1724 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1725 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1726 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1727 { (exit 1); exit 1; }; }
1754 ac_ext=c
1755 ac_cpp='$CPP $CPPFLAGS'
1756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763 ac_aux_dir=
1764 for ac_dir in lib "$srcdir"/lib; do
1765 if test -f "$ac_dir/install-sh"; then
1766 ac_aux_dir=$ac_dir
1767 ac_install_sh="$ac_aux_dir/install-sh -c"
1768 break
1769 elif test -f "$ac_dir/install.sh"; then
1770 ac_aux_dir=$ac_dir
1771 ac_install_sh="$ac_aux_dir/install.sh -c"
1772 break
1773 elif test -f "$ac_dir/shtool"; then
1774 ac_aux_dir=$ac_dir
1775 ac_install_sh="$ac_aux_dir/shtool install -c"
1776 break
1778 done
1779 if test -z "$ac_aux_dir"; then
1780 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1781 $as_echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1782 { (exit 1); exit 1; }; }
1785 # These three variables are undocumented and unsupported,
1786 # and are intended to be withdrawn in a future Autoconf release.
1787 # They can cause serious problems if a builder's source tree is in a directory
1788 # whose full name contains unusual characters.
1789 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1790 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1791 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1795 # Make sure we can run config.sub.
1796 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1797 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1798 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1799 { (exit 1); exit 1; }; }
1801 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1802 $as_echo_n "checking build system type... " >&6; }
1803 if test "${ac_cv_build+set}" = set; then
1804 $as_echo_n "(cached) " >&6
1805 else
1806 ac_build_alias=$build_alias
1807 test "x$ac_build_alias" = x &&
1808 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1809 test "x$ac_build_alias" = x &&
1810 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1811 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1812 { (exit 1); exit 1; }; }
1813 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1814 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1815 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1816 { (exit 1); exit 1; }; }
1819 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1820 $as_echo "$ac_cv_build" >&6; }
1821 case $ac_cv_build in
1822 *-*-*) ;;
1823 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1824 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1825 { (exit 1); exit 1; }; };;
1826 esac
1827 build=$ac_cv_build
1828 ac_save_IFS=$IFS; IFS='-'
1829 set x $ac_cv_build
1830 shift
1831 build_cpu=$1
1832 build_vendor=$2
1833 shift; shift
1834 # Remember, the first character of IFS is used to create $*,
1835 # except with old shells:
1836 build_os=$*
1837 IFS=$ac_save_IFS
1838 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1842 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1843 # way we can run Autoconf tests from configure (or from the test
1844 # suite) without being bothered by `missing'. Likewise for autoheader.
1845 am_AUTOCONF="${AUTOCONF-autoconf}"
1847 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1850 am__api_version='1.10c'
1852 # Find a good install program. We prefer a C program (faster),
1853 # so one script is as good as another. But avoid the broken or
1854 # incompatible versions:
1855 # SysV /etc/install, /usr/sbin/install
1856 # SunOS /usr/etc/install
1857 # IRIX /sbin/install
1858 # AIX /bin/install
1859 # AmigaOS /C/install, which installs bootblocks on floppy discs
1860 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1861 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1862 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1863 # OS/2's system install, which has a completely different semantic
1864 # ./install, which can be erroneously created by make from ./install.sh.
1865 # Reject install programs that cannot install multiple files.
1866 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1867 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1868 if test -z "$INSTALL"; then
1869 if test "${ac_cv_path_install+set}" = set; then
1870 $as_echo_n "(cached) " >&6
1871 else
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1875 IFS=$as_save_IFS
1876 test -z "$as_dir" && as_dir=.
1877 # Account for people who put trailing slashes in PATH elements.
1878 case $as_dir/ in
1879 ./ | .// | /cC/* | \
1880 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1881 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1882 /usr/ucb/* ) ;;
1884 # OSF1 and SCO ODT 3.0 have their own names for install.
1885 # Don't use installbsd from OSF since it installs stuff as root
1886 # by default.
1887 for ac_prog in ginstall scoinst install; do
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1890 if test $ac_prog = install &&
1891 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892 # AIX install. It has an incompatible calling convention.
1894 elif test $ac_prog = install &&
1895 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # program-specific install script used by HP pwplus--don't use.
1898 else
1899 rm -rf conftest.one conftest.two conftest.dir
1900 echo one > conftest.one
1901 echo two > conftest.two
1902 mkdir conftest.dir
1903 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1904 test -s conftest.one && test -s conftest.two &&
1905 test -s conftest.dir/conftest.one &&
1906 test -s conftest.dir/conftest.two
1907 then
1908 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1909 break 3
1913 done
1914 done
1916 esac
1918 done
1919 IFS=$as_save_IFS
1921 rm -rf conftest.one conftest.two conftest.dir
1924 if test "${ac_cv_path_install+set}" = set; then
1925 INSTALL=$ac_cv_path_install
1926 else
1927 # As a last resort, use the slow shell script. Don't cache a
1928 # value for INSTALL within a source directory, because that will
1929 # break other packages using the cache if that directory is
1930 # removed, or if the value is a relative name.
1931 INSTALL=$ac_install_sh
1934 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1935 $as_echo "$INSTALL" >&6; }
1937 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1938 # It thinks the first close brace ends the variable substitution.
1939 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1941 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1943 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1945 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1946 $as_echo_n "checking whether build environment is sane... " >&6; }
1947 # Just in case
1948 sleep 1
1949 echo timestamp > conftest.file
1950 # Reject unsafe characters in $srcdir or the absolute working directory
1951 # name. Accept space and tab only in the latter.
1952 am_lf='
1954 case `pwd` in
1955 *[\\\"\#\$\&\'\`$am_lf]*)
1956 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1957 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1958 { (exit 1); exit 1; }; };;
1959 esac
1960 case $srcdir in
1961 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1962 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1963 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1964 { (exit 1); exit 1; }; };;
1965 esac
1967 # Do `set' in a subshell so we don't clobber the current shell's
1968 # arguments. Must try -L first in case configure is actually a
1969 # symlink; some systems play weird games with the mod time of symlinks
1970 # (eg FreeBSD returns the mod time of the symlink's containing
1971 # directory).
1972 if (
1973 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1974 if test "$*" = "X"; then
1975 # -L didn't work.
1976 set X `ls -t "$srcdir/configure" conftest.file`
1978 rm -f conftest.file
1979 if test "$*" != "X $srcdir/configure conftest.file" \
1980 && test "$*" != "X conftest.file $srcdir/configure"; then
1982 # If neither matched, then we have a broken ls. This can happen
1983 # if, for instance, CONFIG_SHELL is bash and it inherits a
1984 # broken ls alias from the environment. This has actually
1985 # happened. Such a system could not be considered "sane".
1986 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1987 alias in your environment" >&5
1988 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1989 alias in your environment" >&2;}
1990 { (exit 1); exit 1; }; }
1993 test "$2" = conftest.file
1995 then
1996 # Ok.
1998 else
1999 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2000 Check your system clock" >&5
2001 $as_echo "$as_me: error: newly created file is older than distributed files!
2002 Check your system clock" >&2;}
2003 { (exit 1); exit 1; }; }
2005 { $as_echo "$as_me:$LINENO: result: yes" >&5
2006 $as_echo "yes" >&6; }
2007 test "$program_prefix" != NONE &&
2008 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2009 # Use a double $ so make ignores it.
2010 test "$program_suffix" != NONE &&
2011 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2012 # Double any \ or $.
2013 # By default was `s,x,x', remove it if useless.
2014 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2015 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2017 # expand $ac_aux_dir to an absolute path
2018 am_aux_dir=`cd $ac_aux_dir && pwd`
2020 if test x"${MISSING+set}" != xset; then
2021 case $am_aux_dir in
2022 *\ * | *\ *)
2023 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2025 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2026 esac
2028 # Use eval to expand $SHELL
2029 if eval "$MISSING --run true"; then
2030 am_missing_run="$MISSING --run "
2031 else
2032 am_missing_run=
2033 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2034 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2037 if test x"${install_sh}" != xset; then
2038 case $am_aux_dir in
2039 *\ * | *\ *)
2040 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2042 install_sh="\${SHELL} $am_aux_dir/install-sh"
2043 esac
2046 # Installed binaries are usually stripped using `strip' when the user
2047 # run `make install-strip'. However `strip' might not be the right
2048 # tool to use in cross-compilation environments, therefore Automake
2049 # will honor the `STRIP' environment variable to overrule this program.
2050 if test "$cross_compiling" != no; then
2051 if test -n "$ac_tool_prefix"; then
2052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2053 set dummy ${ac_tool_prefix}strip; ac_word=$2
2054 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 $as_echo_n "checking for $ac_word... " >&6; }
2056 if test "${ac_cv_prog_STRIP+set}" = set; then
2057 $as_echo_n "(cached) " >&6
2058 else
2059 if test -n "$STRIP"; then
2060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2061 else
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2070 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2
2073 done
2074 done
2075 IFS=$as_save_IFS
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2082 $as_echo "$STRIP" >&6; }
2083 else
2084 { $as_echo "$as_me:$LINENO: result: no" >&5
2085 $as_echo "no" >&6; }
2090 if test -z "$ac_cv_prog_STRIP"; then
2091 ac_ct_STRIP=$STRIP
2092 # Extract the first word of "strip", so it can be a program name with args.
2093 set dummy strip; ac_word=$2
2094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 $as_echo_n "checking for $ac_word... " >&6; }
2096 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2097 $as_echo_n "(cached) " >&6
2098 else
2099 if test -n "$ac_ct_STRIP"; then
2100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2109 ac_cv_prog_ac_ct_STRIP="strip"
2110 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 break 2
2113 done
2114 done
2115 IFS=$as_save_IFS
2119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2120 if test -n "$ac_ct_STRIP"; then
2121 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2122 $as_echo "$ac_ct_STRIP" >&6; }
2123 else
2124 { $as_echo "$as_me:$LINENO: result: no" >&5
2125 $as_echo "no" >&6; }
2128 if test "x$ac_ct_STRIP" = x; then
2129 STRIP=":"
2130 else
2131 case $cross_compiling:$ac_tool_warned in
2132 yes:)
2133 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2135 ac_tool_warned=yes ;;
2136 esac
2137 STRIP=$ac_ct_STRIP
2139 else
2140 STRIP="$ac_cv_prog_STRIP"
2144 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2146 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2147 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2148 if test -z "$MKDIR_P"; then
2149 if test "${ac_cv_path_mkdir+set}" = set; then
2150 $as_echo_n "(cached) " >&6
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_prog in mkdir gmkdir; do
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2160 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2161 'mkdir (GNU coreutils) '* | \
2162 'mkdir (coreutils) '* | \
2163 'mkdir (fileutils) '4.1*)
2164 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2165 break 3;;
2166 esac
2167 done
2168 done
2169 done
2170 IFS=$as_save_IFS
2174 if test "${ac_cv_path_mkdir+set}" = set; then
2175 MKDIR_P="$ac_cv_path_mkdir -p"
2176 else
2177 # As a last resort, use the slow shell script. Don't cache a
2178 # value for MKDIR_P within a source directory, because that will
2179 # break other packages using the cache if that directory is
2180 # removed, or if the value is a relative name.
2181 test -d ./--version && rmdir ./--version
2182 MKDIR_P="$ac_install_sh -d"
2185 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2186 $as_echo "$MKDIR_P" >&6; }
2188 mkdir_p="$MKDIR_P"
2189 case $mkdir_p in
2190 [\\/$]* | ?:[\\/]*) ;;
2191 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2192 esac
2194 for ac_prog in gawk mawk nawk awk
2196 # Extract the first word of "$ac_prog", so it can be a program name with args.
2197 set dummy $ac_prog; ac_word=$2
2198 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2199 $as_echo_n "checking for $ac_word... " >&6; }
2200 if test "${ac_cv_prog_AWK+set}" = set; then
2201 $as_echo_n "(cached) " >&6
2202 else
2203 if test -n "$AWK"; then
2204 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2205 else
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2209 IFS=$as_save_IFS
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213 ac_cv_prog_AWK="$ac_prog"
2214 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 break 2
2217 done
2218 done
2219 IFS=$as_save_IFS
2223 AWK=$ac_cv_prog_AWK
2224 if test -n "$AWK"; then
2225 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2226 $as_echo "$AWK" >&6; }
2227 else
2228 { $as_echo "$as_me:$LINENO: result: no" >&5
2229 $as_echo "no" >&6; }
2233 test -n "$AWK" && break
2234 done
2236 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2237 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2238 set x ${MAKE-make}
2239 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2240 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2241 $as_echo_n "(cached) " >&6
2242 else
2243 cat >conftest.make <<\_ACEOF
2244 SHELL = /bin/sh
2245 all:
2246 @echo '@@@%%%=$(MAKE)=@@@%%%'
2247 _ACEOF
2248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2249 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2250 *@@@%%%=?*=@@@%%%*)
2251 eval ac_cv_prog_make_${ac_make}_set=yes;;
2253 eval ac_cv_prog_make_${ac_make}_set=no;;
2254 esac
2255 rm -f conftest.make
2257 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2258 { $as_echo "$as_me:$LINENO: result: yes" >&5
2259 $as_echo "yes" >&6; }
2260 SET_MAKE=
2261 else
2262 { $as_echo "$as_me:$LINENO: result: no" >&5
2263 $as_echo "no" >&6; }
2264 SET_MAKE="MAKE=${MAKE-make}"
2267 rm -rf .tst 2>/dev/null
2268 mkdir .tst 2>/dev/null
2269 if test -d .tst; then
2270 am__leading_dot=.
2271 else
2272 am__leading_dot=_
2274 rmdir .tst 2>/dev/null
2276 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2277 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2278 # is not polluted with repeated "-I."
2279 am__isrc=' -I$(srcdir)'
2280 # test to see if srcdir already configured
2281 if test -f $srcdir/config.status; then
2282 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2283 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2284 { (exit 1); exit 1; }; }
2288 # test whether we have cygpath
2289 if test -z "$CYGPATH_W"; then
2290 if (cygpath --version) >/dev/null 2>/dev/null; then
2291 CYGPATH_W='cygpath -w'
2292 else
2293 CYGPATH_W=echo
2298 # Define the identity of the package.
2299 PACKAGE='automake'
2300 VERSION='1.10c'
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE "$PACKAGE"
2305 _ACEOF
2308 cat >>confdefs.h <<_ACEOF
2309 #define VERSION "$VERSION"
2310 _ACEOF
2312 # Some tools Automake needs.
2314 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2317 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2320 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2323 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2326 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2328 # We need awk for the "check" target. The system "awk" is bad on
2329 # some platforms.
2330 # Always define AMTAR for backward compatibility.
2332 AMTAR=${AMTAR-"${am_missing_run}tar"}
2334 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2341 # The API version is the base version. We must guarantee
2342 # compatibility for all releases with the same API version.
2343 # Our current rule is that:
2344 # * All releases, including the prereleases, in an X.Y series
2345 # are compatible. So 1.5.1c is compatible with 1.5.
2346 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2347 # aren't the same.
2348 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2351 # A versioned directory, defined here for convenience.
2352 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2355 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2356 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2357 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2358 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2360 # Extract the first word of "perl", so it can be a program name with args.
2361 set dummy perl; ac_word=$2
2362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 $as_echo_n "checking for $ac_word... " >&6; }
2364 if test "${ac_cv_path_PERL+set}" = set; then
2365 $as_echo_n "(cached) " >&6
2366 else
2367 case $PERL in
2368 [\\/]* | ?:[\\/]*)
2369 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 for as_dir in $PATH
2375 IFS=$as_save_IFS
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 break 2
2383 done
2384 done
2385 IFS=$as_save_IFS
2388 esac
2390 PERL=$ac_cv_path_PERL
2391 if test -n "$PERL"; then
2392 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2393 $as_echo "$PERL" >&6; }
2394 else
2395 { $as_echo "$as_me:$LINENO: result: no" >&5
2396 $as_echo "no" >&6; }
2400 if test -z "$PERL"; then
2401 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
2402 $as_echo "$as_me: error: perl not found" >&2;}
2403 { (exit 1); exit 1; }; }
2405 $PERL -e 'require 5.006;' || {
2406 { { $as_echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2407 is recommended. If you have several perl versions
2408 installed, select the one Automake should use using
2409 ./configure PERL=/path/to/perl" >&5
2410 $as_echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2411 is recommended. If you have several perl versions
2412 installed, select the one Automake should use using
2413 ./configure PERL=/path/to/perl" >&2;}
2414 { (exit 1); exit 1; }; }
2417 # We require ithreads support, and version 5.7.2 for CLONE.
2418 { $as_echo "$as_me:$LINENO: checking whether $PERL supports ithreads" >&5
2419 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2420 if test "${am_cv_prog_PERL_ithreads+set}" = set; then
2421 $as_echo_n "(cached) " >&6
2422 else
2423 if $PERL -e '
2424 require 5.007_002;
2425 use Config;
2426 if ($Config{useithreads})
2428 require threads;
2429 import threads;
2430 require Thread::Queue;
2431 import Thread::Queue;
2432 exit 0;
2434 exit 1;' >&5 2>&1
2435 then
2436 am_cv_prog_PERL_ithreads=yes
2437 else
2438 am_cv_prog_PERL_ithreads=no
2441 { $as_echo "$as_me:$LINENO: result: $am_cv_prog_PERL_ithreads" >&5
2442 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2443 if test $am_cv_prog_PERL_ithreads = yes; then
2444 PERL_THREADS=1;
2445 else
2446 PERL_THREADS=0;
2450 # The test suite will skip some tests if tex is absent.
2451 # Extract the first word of "tex", so it can be a program name with args.
2452 set dummy tex; ac_word=$2
2453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if test "${ac_cv_prog_TEX+set}" = set; then
2456 $as_echo_n "(cached) " >&6
2457 else
2458 if test -n "$TEX"; then
2459 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2460 else
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 for as_dir in $PATH
2464 IFS=$as_save_IFS
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_TEX="tex"
2469 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 break 2
2472 done
2473 done
2474 IFS=$as_save_IFS
2478 TEX=$ac_cv_prog_TEX
2479 if test -n "$TEX"; then
2480 { $as_echo "$as_me:$LINENO: result: $TEX" >&5
2481 $as_echo "$TEX" >&6; }
2482 else
2483 { $as_echo "$as_me:$LINENO: result: no" >&5
2484 $as_echo "no" >&6; }
2489 # Generate man pages.
2491 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2494 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2495 # deletion of any files created (such as those added to
2496 # autom4te.cache). We used to perform only the last of the three
2497 # following tests, but some users were unable to figure out that their
2498 # installation was broken since --version appeared to work.
2500 { $as_echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2501 $as_echo_n "checking whether autoconf is installed... " >&6; }
2502 if test "${am_cv_autoconf_installed+set}" = set; then
2503 $as_echo_n "(cached) " >&6
2504 else
2505 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2506 (eval $am_AUTOCONF --version) >&5 2>&5
2507 ac_status=$?
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); };
2510 then
2511 am_cv_autoconf_installed=yes
2512 else
2513 am_cv_autoconf_installed=no
2516 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2517 $as_echo "$am_cv_autoconf_installed" >&6; }
2518 if test "$am_cv_autoconf_installed" = no; then
2519 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2520 Please make sure it is installed and in your PATH." >&5
2521 $as_echo "$as_me: error: Autoconf 2.60 or better is required.
2522 Please make sure it is installed and in your PATH." >&2;}
2523 { (exit 1); exit 1; }; }
2526 { $as_echo "$as_me:$LINENO: checking whether autoconf works" >&5
2527 $as_echo_n "checking whether autoconf works... " >&6; }
2528 if test "${am_cv_autoconf_works+set}" = set; then
2529 $as_echo_n "(cached) " >&6
2530 else
2531 mkdir conftest
2532 echo 'AC''_INIT' > conftest/conftest.ac
2533 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2534 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2535 ac_status=$?
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); };
2538 then
2539 am_cv_autoconf_works=yes
2540 else
2541 am_cv_autoconf_works=no
2543 rm -rf conftest
2545 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2546 $as_echo "$am_cv_autoconf_works" >&6; }
2547 if test "$am_cv_autoconf_works" = no; then
2548 { { $as_echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2549 Please check config.log for error messages before this one." >&5
2550 $as_echo "$as_me: error: The installed version of autoconf does not work.
2551 Please check config.log for error messages before this one." >&2;}
2552 { (exit 1); exit 1; }; }
2555 { $as_echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2556 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2557 if test "${am_cv_autoconf_version+set}" = set; then
2558 $as_echo_n "(cached) " >&6
2559 else
2560 mkdir conftest
2561 echo 'AC''_PREREQ([2.62])' > conftest/conftest.ac
2562 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2563 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2564 ac_status=$?
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); };
2567 then
2568 am_cv_autoconf_version=yes
2569 else
2570 am_cv_autoconf_version=no
2572 rm -rf conftest
2574 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2575 $as_echo "$am_cv_autoconf_version" >&6; }
2576 if test "$am_cv_autoconf_version" = no; then
2577 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.61a-341 or better is required." >&5
2578 $as_echo "$as_me: error: Autoconf 2.61a-341 or better is required." >&2;}
2579 { (exit 1); exit 1; }; }
2582 # Test for ln. We need use it to install the versioned binaries.
2583 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
2584 $as_echo_n "checking whether ln works... " >&6; }
2585 if test "${am_cv_prog_ln+set}" = set; then
2586 $as_echo_n "(cached) " >&6
2587 else
2589 rm -f conftest conftest.file
2590 : >conftest.file
2591 if ln conftest.file conftest 2>/dev/null; then
2592 am_cv_prog_ln=ln
2593 else
2594 am_cv_prog_ln='cp -p'
2596 rm -f conftest conftest.file
2599 LN=$am_cv_prog_ln
2601 result=no
2602 test "x$am_cv_prog_ln" = xln && result=yes
2603 { $as_echo "$as_me:$LINENO: result: $result" >&5
2604 $as_echo "$result" >&6; }
2606 # The amount we should wait after modifying files depends on the platform.
2607 # On Windows '95, '98 and ME, files modifications have 2-seconds
2608 # granularity and can be up to 3 seconds in the future w.r.t. the
2609 # system clock. When it is important to ensure one file is older
2610 # than another we wait at least 5 seconds between creations.
2611 case $build in
2612 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2613 *) MODIFICATION_DELAY=2;;
2614 esac
2617 # Test for things needed by the test suite.
2618 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2619 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2620 if test "${ac_cv_path_GREP+set}" = set; then
2621 $as_echo_n "(cached) " >&6
2622 else
2623 if test -z "$GREP"; then
2624 ac_path_GREP_found=false
2625 # Loop through the user's path and test for each of PROGNAME-LIST
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2629 IFS=$as_save_IFS
2630 test -z "$as_dir" && as_dir=.
2631 for ac_prog in grep ggrep; do
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2634 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2635 # Check for GNU ac_path_GREP and select it if it is found.
2636 # Check for GNU $ac_path_GREP
2637 case `"$ac_path_GREP" --version 2>&1` in
2638 *GNU*)
2639 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2641 ac_count=0
2642 $as_echo_n 0123456789 >"conftest.in"
2643 while :
2645 cat "conftest.in" "conftest.in" >"conftest.tmp"
2646 mv "conftest.tmp" "conftest.in"
2647 cp "conftest.in" "conftest.nl"
2648 $as_echo 'GREP' >> "conftest.nl"
2649 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2650 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2651 ac_count=`expr $ac_count + 1`
2652 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2653 # Best one so far, save it but keep looking for a better one
2654 ac_cv_path_GREP="$ac_path_GREP"
2655 ac_path_GREP_max=$ac_count
2657 # 10*(2^10) chars as input seems more than enough
2658 test $ac_count -gt 10 && break
2659 done
2660 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2661 esac
2663 $ac_path_GREP_found && break 3
2664 done
2665 done
2666 done
2667 IFS=$as_save_IFS
2668 if test -z "$ac_cv_path_GREP"; then
2669 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2670 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2671 { (exit 1); exit 1; }; }
2673 else
2674 ac_cv_path_GREP=$GREP
2678 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2679 $as_echo "$ac_cv_path_GREP" >&6; }
2680 GREP="$ac_cv_path_GREP"
2683 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2684 $as_echo_n "checking for egrep... " >&6; }
2685 if test "${ac_cv_path_EGREP+set}" = set; then
2686 $as_echo_n "(cached) " >&6
2687 else
2688 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2689 then ac_cv_path_EGREP="$GREP -E"
2690 else
2691 if test -z "$EGREP"; then
2692 ac_path_EGREP_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 egrep; do
2700 for ac_exec_ext in '' $ac_executable_extensions; do
2701 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2702 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2703 # Check for GNU ac_path_EGREP and select it if it is found.
2704 # Check for GNU $ac_path_EGREP
2705 case `"$ac_path_EGREP" --version 2>&1` in
2706 *GNU*)
2707 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
2717 "$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
2721 # Best one so far, save it but keep looking for a better one
2722 ac_cv_path_EGREP="$ac_path_EGREP"
2723 ac_path_EGREP_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_EGREP_found && break 3
2732 done
2733 done
2734 done
2735 IFS=$as_save_IFS
2736 if test -z "$ac_cv_path_EGREP"; then
2737 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2738 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2739 { (exit 1); exit 1; }; }
2741 else
2742 ac_cv_path_EGREP=$EGREP
2747 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2748 $as_echo "$ac_cv_path_EGREP" >&6; }
2749 EGREP="$ac_cv_path_EGREP"
2752 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
2753 $as_echo_n "checking for fgrep... " >&6; }
2754 if test "${ac_cv_path_FGREP+set}" = set; then
2755 $as_echo_n "(cached) " >&6
2756 else
2757 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2758 then ac_cv_path_FGREP="$GREP -F"
2759 else
2760 if test -z "$FGREP"; then
2761 ac_path_FGREP_found=false
2762 # Loop through the user's path and test for each of PROGNAME-LIST
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2766 IFS=$as_save_IFS
2767 test -z "$as_dir" && as_dir=.
2768 for ac_prog in fgrep; do
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2771 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2772 # Check for GNU ac_path_FGREP and select it if it is found.
2773 # Check for GNU $ac_path_FGREP
2774 case `"$ac_path_FGREP" --version 2>&1` in
2775 *GNU*)
2776 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2778 ac_count=0
2779 $as_echo_n 0123456789 >"conftest.in"
2780 while :
2782 cat "conftest.in" "conftest.in" >"conftest.tmp"
2783 mv "conftest.tmp" "conftest.in"
2784 cp "conftest.in" "conftest.nl"
2785 $as_echo 'FGREP' >> "conftest.nl"
2786 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2787 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2788 ac_count=`expr $ac_count + 1`
2789 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2790 # Best one so far, save it but keep looking for a better one
2791 ac_cv_path_FGREP="$ac_path_FGREP"
2792 ac_path_FGREP_max=$ac_count
2794 # 10*(2^10) chars as input seems more than enough
2795 test $ac_count -gt 10 && break
2796 done
2797 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2798 esac
2800 $ac_path_FGREP_found && break 3
2801 done
2802 done
2803 done
2804 IFS=$as_save_IFS
2805 if test -z "$ac_cv_path_FGREP"; then
2806 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2807 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2808 { (exit 1); exit 1; }; }
2810 else
2811 ac_cv_path_FGREP=$FGREP
2816 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2817 $as_echo "$ac_cv_path_FGREP" >&6; }
2818 FGREP="$ac_cv_path_FGREP"
2822 { $as_echo "$as_me:$LINENO: checking whether /bin/sh has working 'set -e' with exit trap" >&5
2823 $as_echo_n "checking whether /bin/sh has working 'set -e' with exit trap... " >&6; }
2824 if test "${am_cv_sh_errexit_works+set}" = set; then
2825 $as_echo_n "(cached) " >&6
2826 else
2827 if /bin/sh -ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $? = 77
2828 then
2829 am_cv_sh_errexit_works=yes
2830 else
2831 am_cv_sh_errexit_works=no
2835 { $as_echo "$as_me:$LINENO: result: $am_cv_sh_errexit_works" >&5
2836 $as_echo "$am_cv_sh_errexit_works" >&6; }
2837 if test $am_cv_sh_errexit_works = no; then
2838 { $as_echo "$as_me:$LINENO: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2839 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2840 { $as_echo "$as_me:$LINENO: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2841 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2842 { $as_echo "$as_me:$LINENO: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2843 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2845 sh_errexit_works=$am_cv_sh_errexit_works
2848 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"
2850 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2852 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2855 cat >confcache <<\_ACEOF
2856 # This file is a shell script that caches the results of configure
2857 # tests run on this system so they can be shared between configure
2858 # scripts and configure runs, see configure's option --config-cache.
2859 # It is not useful on other systems. If it contains results you don't
2860 # want to keep, you may remove or edit it.
2862 # config.status only pays attention to the cache file if you give it
2863 # the --recheck option to rerun configure.
2865 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2866 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2867 # following values.
2869 _ACEOF
2871 # The following way of writing the cache mishandles newlines in values,
2872 # but we know of no workaround that is simple, portable, and efficient.
2873 # So, we kill variables containing newlines.
2874 # Ultrix sh set writes to stderr and can't be redirected directly,
2875 # and sets the high bit in the cache file unless we assign to the vars.
2877 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2878 eval ac_val=\$$ac_var
2879 case $ac_val in #(
2880 *${as_nl}*)
2881 case $ac_var in #(
2882 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2884 esac
2885 case $ac_var in #(
2886 _ | IFS | as_nl) ;; #(
2887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2888 *) $as_unset $ac_var ;;
2889 esac ;;
2890 esac
2891 done
2893 (set) 2>&1 |
2894 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2895 *${as_nl}ac_space=\ *)
2896 # `set' does not quote correctly, so add quotes (double-quote
2897 # substitution turns \\\\ into \\, and sed turns \\ into \).
2898 sed -n \
2899 "s/'/'\\\\''/g;
2900 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2901 ;; #(
2903 # `set' quotes correctly as required by POSIX, so do not add quotes.
2904 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2906 esac |
2907 sort
2909 sed '
2910 /^ac_cv_env_/b end
2911 t clear
2912 :clear
2913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2914 t end
2915 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2916 :end' >>confcache
2917 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2918 if test -w "$cache_file"; then
2919 test "x$cache_file" != "x/dev/null" &&
2920 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2921 $as_echo "$as_me: updating cache $cache_file" >&6;}
2922 cat confcache >$cache_file
2923 else
2924 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2925 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2928 rm -f confcache
2930 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2931 # Let make expand exec_prefix.
2932 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2934 # Transform confdefs.h into DEFS.
2935 # Protect against shell expansion while executing Makefile rules.
2936 # Protect against Makefile macro expansion.
2938 # If the first sed substitution is executed (which looks for macros that
2939 # take arguments), then branch to the quote section. Otherwise,
2940 # look for a macro that doesn't take arguments.
2941 ac_script='
2942 :mline
2943 /\\$/{
2945 s,\\\n,,
2946 b mline
2948 t clear
2949 :clear
2950 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2951 t quote
2952 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2953 t quote
2954 b any
2955 :quote
2956 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2957 s/\[/\\&/g
2958 s/\]/\\&/g
2959 s/\$/$$/g
2961 :any
2964 s/^\n//
2965 s/\n/ /g
2969 DEFS=`sed -n "$ac_script" confdefs.h`
2972 ac_libobjs=
2973 ac_ltlibobjs=
2974 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2975 # 1. Remove the extension, and $U if already installed.
2976 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2977 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2979 # will be set to the directory where LIBOBJS objects are built.
2980 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2981 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2982 done
2983 LIBOBJS=$ac_libobjs
2985 LTLIBOBJS=$ac_ltlibobjs
2990 : ${CONFIG_STATUS=./config.status}
2991 ac_write_fail=0
2992 ac_clean_files_save=$ac_clean_files
2993 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2994 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2995 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2996 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2997 #! $SHELL
2998 # Generated by $as_me.
2999 # Run this file to recreate the current configuration.
3000 # Compiler output produced by configure, useful for debugging
3001 # configure, is in config.log if it exists.
3003 debug=false
3004 ac_cs_recheck=false
3005 ac_cs_silent=false
3006 SHELL=\${CONFIG_SHELL-$SHELL}
3007 _ACEOF
3009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3010 ## --------------------- ##
3011 ## M4sh Initialization. ##
3012 ## --------------------- ##
3014 # Be more Bourne compatible
3015 DUALCASE=1; export DUALCASE # for MKS sh
3016 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3017 emulate sh
3018 NULLCMD=:
3019 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3020 # is contrary to our usage. Disable this feature.
3021 alias -g '${1+"$@"}'='"$@"'
3022 setopt NO_GLOB_SUBST
3023 else
3024 case `(set -o) 2>/dev/null` in
3025 *posix*) set -o posix ;;
3026 esac
3033 # PATH needs CR
3034 # Avoid depending upon Character Ranges.
3035 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3036 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3037 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3038 as_cr_digits='0123456789'
3039 as_cr_alnum=$as_cr_Letters$as_cr_digits
3041 as_nl='
3043 export as_nl
3044 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3045 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3046 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3047 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3048 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3049 as_echo='printf %s\n'
3050 as_echo_n='printf %s'
3051 else
3052 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3053 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3054 as_echo_n='/usr/ucb/echo -n'
3055 else
3056 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3057 as_echo_n_body='eval
3058 arg=$1;
3059 case $arg in
3060 *"$as_nl"*)
3061 expr "X$arg" : "X\\(.*\\)$as_nl";
3062 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3063 esac;
3064 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3066 export as_echo_n_body
3067 as_echo_n='sh -c $as_echo_n_body as_echo'
3069 export as_echo_body
3070 as_echo='sh -c $as_echo_body as_echo'
3073 # The user is always right.
3074 if test "${PATH_SEPARATOR+set}" != set; then
3075 PATH_SEPARATOR=:
3076 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3077 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3078 PATH_SEPARATOR=';'
3082 # Support unset when possible.
3083 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3084 as_unset=unset
3085 else
3086 as_unset=false
3090 # IFS
3091 # We need space, tab and new line, in precisely that order. Quoting is
3092 # there to prevent editors from complaining about space-tab.
3093 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3094 # splitting by setting IFS to empty value.)
3095 IFS=" "" $as_nl"
3097 # Find who we are. Look in the path if we contain no directory separator.
3098 case $0 in
3099 *[\\/]* ) as_myself=$0 ;;
3100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 for as_dir in $PATH
3103 IFS=$as_save_IFS
3104 test -z "$as_dir" && as_dir=.
3105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3106 done
3107 IFS=$as_save_IFS
3110 esac
3111 # We did not find ourselves, most probably we were run as `sh COMMAND'
3112 # in which case we are not to be found in the path.
3113 if test "x$as_myself" = x; then
3114 as_myself=$0
3116 if test ! -f "$as_myself"; then
3117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3118 { (exit 1); exit 1; }
3121 # Work around bugs in pre-3.0 UWIN ksh.
3122 for as_var in ENV MAIL MAILPATH
3123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3124 done
3125 PS1='$ '
3126 PS2='> '
3127 PS4='+ '
3129 # NLS nuisances.
3130 LC_ALL=C
3131 export LC_ALL
3132 LANGUAGE=C
3133 export LANGUAGE
3135 # Required to use basename.
3136 if expr a : '\(a\)' >/dev/null 2>&1 &&
3137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3138 as_expr=expr
3139 else
3140 as_expr=false
3143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3144 as_basename=basename
3145 else
3146 as_basename=false
3150 # Name of the executable.
3151 as_me=`$as_basename -- "$0" ||
3152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3153 X"$0" : 'X\(//\)$' \| \
3154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3155 $as_echo X/"$0" |
3156 sed '/^.*\/\([^/][^/]*\)\/*$/{
3157 s//\1/
3160 /^X\/\(\/\/\)$/{
3161 s//\1/
3164 /^X\/\(\/\).*/{
3165 s//\1/
3168 s/.*/./; q'`
3170 # CDPATH.
3171 $as_unset CDPATH
3175 as_lineno_1=$LINENO
3176 as_lineno_2=$LINENO
3177 test "x$as_lineno_1" != "x$as_lineno_2" &&
3178 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3181 # uniformly replaced by the line number. The first 'sed' inserts a
3182 # line-number line after each line using $LINENO; the second 'sed'
3183 # does the real work. The second script uses 'N' to pair each
3184 # line-number line with the line containing $LINENO, and appends
3185 # trailing '-' during substitution so that $LINENO is not a special
3186 # case at line end.
3187 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3188 # scripts with optimization help from Paolo Bonzini. Blame Lee
3189 # E. McMahon (1931-1989) for sed's syntax. :-)
3190 sed -n '
3192 /[$]LINENO/=
3193 ' <$as_myself |
3194 sed '
3195 s/[$]LINENO.*/&-/
3196 t lineno
3198 :lineno
3200 :loop
3201 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3202 t loop
3203 s/-\n.*//
3204 ' >$as_me.lineno &&
3205 chmod +x "$as_me.lineno" ||
3206 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3207 { (exit 1); exit 1; }; }
3209 # Don't try to exec as it changes $[0], causing all sort of problems
3210 # (the dirname of $[0] is not the place where we might find the
3211 # original and so on. Autoconf is especially sensitive to this).
3212 . "./$as_me.lineno"
3213 # Exit status is that of the last command.
3214 exit
3218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3219 as_dirname=dirname
3220 else
3221 as_dirname=false
3224 ECHO_C= ECHO_N= ECHO_T=
3225 case `echo -n x` in
3226 -n*)
3227 case `echo 'x\c'` in
3228 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3229 *) ECHO_C='\c';;
3230 esac;;
3232 ECHO_N='-n';;
3233 esac
3234 if expr a : '\(a\)' >/dev/null 2>&1 &&
3235 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3236 as_expr=expr
3237 else
3238 as_expr=false
3241 rm -f conf$$ conf$$.exe conf$$.file
3242 if test -d conf$$.dir; then
3243 rm -f conf$$.dir/conf$$.file
3244 else
3245 rm -f conf$$.dir
3246 mkdir conf$$.dir 2>/dev/null
3248 if (echo >conf$$.file) 2>/dev/null; then
3249 if ln -s conf$$.file conf$$ 2>/dev/null; then
3250 as_ln_s='ln -s'
3251 # ... but there are two gotchas:
3252 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3253 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3254 # In both cases, we have to default to `cp -p'.
3255 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3256 as_ln_s='cp -p'
3257 elif ln conf$$.file conf$$ 2>/dev/null; then
3258 as_ln_s=ln
3259 else
3260 as_ln_s='cp -p'
3262 else
3263 as_ln_s='cp -p'
3265 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3266 rmdir conf$$.dir 2>/dev/null
3268 if mkdir -p . 2>/dev/null; then
3269 as_mkdir_p=:
3270 else
3271 test -d ./-p && rmdir ./-p
3272 as_mkdir_p=false
3275 if test -x / >/dev/null 2>&1; then
3276 as_test_x='test -x'
3277 else
3278 if ls -dL / >/dev/null 2>&1; then
3279 as_ls_L_option=L
3280 else
3281 as_ls_L_option=
3283 as_test_x='
3284 eval sh -c '\''
3285 if test -d "$1"; then
3286 test -d "$1/.";
3287 else
3288 case $1 in
3289 -*)set "./$1";;
3290 esac;
3291 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3292 ???[sx]*):;;*)false;;esac;fi
3293 '\'' sh
3296 as_executable_p=$as_test_x
3298 # Sed expression to map a string onto a valid CPP name.
3299 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3301 # Sed expression to map a string onto a valid variable name.
3302 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3305 exec 6>&1
3307 # Save the log message, to keep $[0] and so on meaningful, and to
3308 # report actual input values of CONFIG_FILES etc. instead of their
3309 # values after options handling.
3310 ac_log="
3311 This file was extended by GNU Automake $as_me 1.10c, which was
3312 generated by GNU Autoconf 2.63. Invocation command line was
3314 CONFIG_FILES = $CONFIG_FILES
3315 CONFIG_HEADERS = $CONFIG_HEADERS
3316 CONFIG_LINKS = $CONFIG_LINKS
3317 CONFIG_COMMANDS = $CONFIG_COMMANDS
3318 $ $0 $@
3320 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3323 _ACEOF
3325 case $ac_config_files in *"
3326 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3327 esac
3331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3332 # Files that config.status was made for.
3333 config_files="$ac_config_files"
3335 _ACEOF
3337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3338 ac_cs_usage="\
3339 \`$as_me' instantiates files from templates according to the
3340 current configuration.
3342 Usage: $0 [OPTION]... [FILE]...
3344 -h, --help print this help, then exit
3345 -V, --version print version number and configuration settings, then exit
3346 -q, --quiet, --silent
3347 do not print progress messages
3348 -d, --debug don't remove temporary files
3349 --recheck update $as_me by reconfiguring in the same conditions
3350 --file=FILE[:TEMPLATE]
3351 instantiate the configuration file FILE
3353 Configuration files:
3354 $config_files
3356 Report bugs to <bug-autoconf@gnu.org>."
3358 _ACEOF
3359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3360 ac_cs_version="\\
3361 GNU Automake config.status 1.10c
3362 configured by $0, generated by GNU Autoconf 2.63,
3363 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3365 Copyright (C) 2008 Free Software Foundation, Inc.
3366 This config.status script is free software; the Free Software Foundation
3367 gives unlimited permission to copy, distribute and modify it."
3369 ac_pwd='$ac_pwd'
3370 srcdir='$srcdir'
3371 INSTALL='$INSTALL'
3372 MKDIR_P='$MKDIR_P'
3373 AWK='$AWK'
3374 test -n "\$AWK" || AWK=awk
3375 _ACEOF
3377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3378 # The default lists apply if the user does not specify any file.
3379 ac_need_defaults=:
3380 while test $# != 0
3382 case $1 in
3383 --*=*)
3384 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3385 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3386 ac_shift=:
3389 ac_option=$1
3390 ac_optarg=$2
3391 ac_shift=shift
3393 esac
3395 case $ac_option in
3396 # Handling of the options.
3397 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3398 ac_cs_recheck=: ;;
3399 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3400 $as_echo "$ac_cs_version"; exit ;;
3401 --debug | --debu | --deb | --de | --d | -d )
3402 debug=: ;;
3403 --file | --fil | --fi | --f )
3404 $ac_shift
3405 case $ac_optarg in
3406 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3407 esac
3408 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3409 ac_need_defaults=false;;
3410 --he | --h | --help | --hel | -h )
3411 $as_echo "$ac_cs_usage"; exit ;;
3412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3413 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3414 ac_cs_silent=: ;;
3416 # This is an error.
3417 -*) { $as_echo "$as_me: error: unrecognized option: $1
3418 Try \`$0 --help' for more information." >&2
3419 { (exit 1); exit 1; }; } ;;
3421 *) ac_config_targets="$ac_config_targets $1"
3422 ac_need_defaults=false ;;
3424 esac
3425 shift
3426 done
3428 ac_configure_extra_args=
3430 if $ac_cs_silent; then
3431 exec 6>/dev/null
3432 ac_configure_extra_args="$ac_configure_extra_args --silent"
3435 _ACEOF
3436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3437 if \$ac_cs_recheck; then
3438 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3439 shift
3440 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3441 CONFIG_SHELL='$SHELL'
3442 export CONFIG_SHELL
3443 exec "\$@"
3446 _ACEOF
3447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3448 exec 5>>config.log
3450 echo
3451 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3452 ## Running $as_me. ##
3453 _ASBOX
3454 $as_echo "$ac_log"
3455 } >&5
3457 _ACEOF
3458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3460 # INIT-COMMANDS
3462 APIVERSION=$APIVERSION
3464 _ACEOF
3466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3468 # Handling of arguments.
3469 for ac_config_target in $ac_config_targets
3471 case $ac_config_target in
3472 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3473 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3474 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3475 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3476 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3477 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3478 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3479 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3480 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3481 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3482 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3484 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3485 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3486 { (exit 1); exit 1; }; };;
3487 esac
3488 done
3491 # If the user did not use the arguments to specify the items to instantiate,
3492 # then the envvar interface is used. Set only those that are not.
3493 # We use the long form for the default assignment because of an extremely
3494 # bizarre bug on SunOS 4.1.3.
3495 if $ac_need_defaults; then
3496 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3499 # Have a temporary directory for convenience. Make it in the build tree
3500 # simply because there is no reason against having it here, and in addition,
3501 # creating and moving files from /tmp can sometimes cause problems.
3502 # Hook for its removal unless debugging.
3503 # Note that there is a small window in which the directory will not be cleaned:
3504 # after its creation but before its name has been assigned to `$tmp'.
3505 $debug ||
3507 tmp=
3508 trap 'exit_status=$?
3509 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3511 trap '{ (exit 1); exit 1; }' 1 2 13 15
3513 # Create a (secure) tmp directory for tmp files.
3516 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3517 test -n "$tmp" && test -d "$tmp"
3518 } ||
3520 tmp=./conf$$-$RANDOM
3521 (umask 077 && mkdir "$tmp")
3522 } ||
3524 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3525 { (exit 1); exit 1; }
3528 # Set up the scripts for CONFIG_FILES section.
3529 # No need to generate them if there are no CONFIG_FILES.
3530 # This happens for instance with `./config.status config.h'.
3531 if test -n "$CONFIG_FILES"; then
3534 ac_cr=' '
3535 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3536 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3537 ac_cs_awk_cr='\\r'
3538 else
3539 ac_cs_awk_cr=$ac_cr
3542 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3543 _ACEOF
3547 echo "cat >conf$$subs.awk <<_ACEOF" &&
3548 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3549 echo "_ACEOF"
3550 } >conf$$subs.sh ||
3551 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3552 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3553 { (exit 1); exit 1; }; }
3554 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3555 ac_delim='%!_!# '
3556 for ac_last_try in false false false false false :; do
3557 . ./conf$$subs.sh ||
3558 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3559 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3560 { (exit 1); exit 1; }; }
3562 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3563 if test $ac_delim_n = $ac_delim_num; then
3564 break
3565 elif $ac_last_try; then
3566 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3567 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3568 { (exit 1); exit 1; }; }
3569 else
3570 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3572 done
3573 rm -f conf$$subs.sh
3575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3576 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3577 _ACEOF
3578 sed -n '
3580 s/^/S["/; s/!.*/"]=/
3583 s/^[^!]*!//
3584 :repl
3585 t repl
3586 s/'"$ac_delim"'$//
3587 t delim
3590 s/\(.\{148\}\).*/\1/
3591 t more1
3592 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3595 b repl
3596 :more1
3597 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3600 s/.\{148\}//
3601 t nl
3602 :delim
3604 s/\(.\{148\}\).*/\1/
3605 t more2
3606 s/["\\]/\\&/g; s/^/"/; s/$/"/
3609 :more2
3610 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3613 s/.\{148\}//
3614 t delim
3615 ' <conf$$subs.awk | sed '
3616 /^[^""]/{
3618 s/\n//
3620 ' >>$CONFIG_STATUS || ac_write_fail=1
3621 rm -f conf$$subs.awk
3622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3623 _ACAWK
3624 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3625 for (key in S) S_is_set[key] = 1
3626 FS = "\a"
3630 line = $ 0
3631 nfields = split(line, field, "@")
3632 substed = 0
3633 len = length(field[1])
3634 for (i = 2; i < nfields; i++) {
3635 key = field[i]
3636 keylen = length(key)
3637 if (S_is_set[key]) {
3638 value = S[key]
3639 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3640 len += length(value) + length(field[++i])
3641 substed = 1
3642 } else
3643 len += 1 + keylen
3646 print line
3649 _ACAWK
3650 _ACEOF
3651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3652 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3653 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3654 else
3656 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3657 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3658 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3659 { (exit 1); exit 1; }; }
3660 _ACEOF
3662 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3663 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3664 # trailing colons and then remove the whole line if VPATH becomes empty
3665 # (actually we leave an empty line to preserve line numbers).
3666 if test "x$srcdir" = x.; then
3667 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3668 s/:*\$(srcdir):*/:/
3669 s/:*\${srcdir}:*/:/
3670 s/:*@srcdir@:*/:/
3671 s/^\([^=]*=[ ]*\):*/\1/
3672 s/:*$//
3673 s/^[^=]*=[ ]*$//
3677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3678 fi # test -n "$CONFIG_FILES"
3681 eval set X " :F $CONFIG_FILES "
3682 shift
3683 for ac_tag
3685 case $ac_tag in
3686 :[FHLC]) ac_mode=$ac_tag; continue;;
3687 esac
3688 case $ac_mode$ac_tag in
3689 :[FHL]*:*);;
3690 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3691 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3692 { (exit 1); exit 1; }; };;
3693 :[FH]-) ac_tag=-:-;;
3694 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3695 esac
3696 ac_save_IFS=$IFS
3697 IFS=:
3698 set x $ac_tag
3699 IFS=$ac_save_IFS
3700 shift
3701 ac_file=$1
3702 shift
3704 case $ac_mode in
3705 :L) ac_source=$1;;
3706 :[FH])
3707 ac_file_inputs=
3708 for ac_f
3710 case $ac_f in
3711 -) ac_f="$tmp/stdin";;
3712 *) # Look for the file first in the build tree, then in the source tree
3713 # (if the path is not absolute). The absolute path cannot be DOS-style,
3714 # because $ac_f cannot contain `:'.
3715 test -f "$ac_f" ||
3716 case $ac_f in
3717 [\\/$]*) false;;
3718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3719 esac ||
3720 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3721 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3722 { (exit 1); exit 1; }; };;
3723 esac
3724 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3725 ac_file_inputs="$ac_file_inputs '$ac_f'"
3726 done
3728 # Let's still pretend it is `configure' which instantiates (i.e., don't
3729 # use $as_me), people would be surprised to read:
3730 # /* config.h. Generated by config.status. */
3731 configure_input='Generated from '`
3732 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3733 `' by configure.'
3734 if test x"$ac_file" != x-; then
3735 configure_input="$ac_file. $configure_input"
3736 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3737 $as_echo "$as_me: creating $ac_file" >&6;}
3739 # Neutralize special characters interpreted by sed in replacement strings.
3740 case $configure_input in #(
3741 *\&* | *\|* | *\\* )
3742 ac_sed_conf_input=`$as_echo "$configure_input" |
3743 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3744 *) ac_sed_conf_input=$configure_input;;
3745 esac
3747 case $ac_tag in
3748 *:-:* | *:-) cat >"$tmp/stdin" \
3749 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3750 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3751 { (exit 1); exit 1; }; } ;;
3752 esac
3754 esac
3756 ac_dir=`$as_dirname -- "$ac_file" ||
3757 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3758 X"$ac_file" : 'X\(//\)[^/]' \| \
3759 X"$ac_file" : 'X\(//\)$' \| \
3760 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3761 $as_echo X"$ac_file" |
3762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3763 s//\1/
3766 /^X\(\/\/\)[^/].*/{
3767 s//\1/
3770 /^X\(\/\/\)$/{
3771 s//\1/
3774 /^X\(\/\).*/{
3775 s//\1/
3778 s/.*/./; q'`
3779 { as_dir="$ac_dir"
3780 case $as_dir in #(
3781 -*) as_dir=./$as_dir;;
3782 esac
3783 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3784 as_dirs=
3785 while :; do
3786 case $as_dir in #(
3787 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3788 *) as_qdir=$as_dir;;
3789 esac
3790 as_dirs="'$as_qdir' $as_dirs"
3791 as_dir=`$as_dirname -- "$as_dir" ||
3792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3793 X"$as_dir" : 'X\(//\)[^/]' \| \
3794 X"$as_dir" : 'X\(//\)$' \| \
3795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3796 $as_echo X"$as_dir" |
3797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3798 s//\1/
3801 /^X\(\/\/\)[^/].*/{
3802 s//\1/
3805 /^X\(\/\/\)$/{
3806 s//\1/
3809 /^X\(\/\).*/{
3810 s//\1/
3813 s/.*/./; q'`
3814 test -d "$as_dir" && break
3815 done
3816 test -z "$as_dirs" || eval "mkdir $as_dirs"
3817 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3818 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3819 { (exit 1); exit 1; }; }; }
3820 ac_builddir=.
3822 case "$ac_dir" in
3823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3825 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3826 # A ".." for each directory in $ac_dir_suffix.
3827 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3828 case $ac_top_builddir_sub in
3829 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3830 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3831 esac ;;
3832 esac
3833 ac_abs_top_builddir=$ac_pwd
3834 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3835 # for backward compatibility:
3836 ac_top_builddir=$ac_top_build_prefix
3838 case $srcdir in
3839 .) # We are building in place.
3840 ac_srcdir=.
3841 ac_top_srcdir=$ac_top_builddir_sub
3842 ac_abs_top_srcdir=$ac_pwd ;;
3843 [\\/]* | ?:[\\/]* ) # Absolute name.
3844 ac_srcdir=$srcdir$ac_dir_suffix;
3845 ac_top_srcdir=$srcdir
3846 ac_abs_top_srcdir=$srcdir ;;
3847 *) # Relative name.
3848 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3849 ac_top_srcdir=$ac_top_build_prefix$srcdir
3850 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3851 esac
3852 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3855 case $ac_mode in
3858 # CONFIG_FILE
3861 case $INSTALL in
3862 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3863 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3864 esac
3865 ac_MKDIR_P=$MKDIR_P
3866 case $MKDIR_P in
3867 [\\/$]* | ?:[\\/]* ) ;;
3868 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3869 esac
3870 _ACEOF
3872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3873 # If the template does not know about datarootdir, expand it.
3874 # FIXME: This hack should be removed a few years after 2.60.
3875 ac_datarootdir_hack=; ac_datarootdir_seen=
3877 ac_sed_dataroot='
3878 /datarootdir/ {
3882 /@datadir@/p
3883 /@docdir@/p
3884 /@infodir@/p
3885 /@localedir@/p
3886 /@mandir@/p
3888 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3889 *datarootdir*) ac_datarootdir_seen=yes;;
3890 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3891 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3892 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3893 _ACEOF
3894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3895 ac_datarootdir_hack='
3896 s&@datadir@&$datadir&g
3897 s&@docdir@&$docdir&g
3898 s&@infodir@&$infodir&g
3899 s&@localedir@&$localedir&g
3900 s&@mandir@&$mandir&g
3901 s&\\\${datarootdir}&$datarootdir&g' ;;
3902 esac
3903 _ACEOF
3905 # Neutralize VPATH when `$srcdir' = `.'.
3906 # Shell code in configure.ac might set extrasub.
3907 # FIXME: do we really want to maintain this feature?
3908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3909 ac_sed_extra="$ac_vpsub
3910 $extrasub
3911 _ACEOF
3912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3914 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3915 s|@configure_input@|$ac_sed_conf_input|;t t
3916 s&@top_builddir@&$ac_top_builddir_sub&;t t
3917 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3918 s&@srcdir@&$ac_srcdir&;t t
3919 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3920 s&@top_srcdir@&$ac_top_srcdir&;t t
3921 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3922 s&@builddir@&$ac_builddir&;t t
3923 s&@abs_builddir@&$ac_abs_builddir&;t t
3924 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3925 s&@INSTALL@&$ac_INSTALL&;t t
3926 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3927 $ac_datarootdir_hack
3929 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3930 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3931 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3932 { (exit 1); exit 1; }; }
3934 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3935 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3936 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3937 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3938 which seems to be undefined. Please make sure it is defined." >&5
3939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3940 which seems to be undefined. Please make sure it is defined." >&2;}
3942 rm -f "$tmp/stdin"
3943 case $ac_file in
3944 -) cat "$tmp/out" && rm -f "$tmp/out";;
3945 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3946 esac \
3947 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3948 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3949 { (exit 1); exit 1; }; }
3954 esac
3957 case $ac_file$ac_mode in
3958 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3959 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3961 esac
3962 done # for ac_tag
3965 { (exit 0); exit 0; }
3966 _ACEOF
3967 chmod +x $CONFIG_STATUS
3968 ac_clean_files=$ac_clean_files_save
3970 test $ac_write_fail = 0 ||
3971 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3972 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3973 { (exit 1); exit 1; }; }
3976 # configure is writing to config.log, and then calls config.status.
3977 # config.status does its own redirection, appending to config.log.
3978 # Unfortunately, on DOS this fails, as config.log is still kept open
3979 # by configure, so config.status won't be able to write to it; its
3980 # output is simply discarded. So we exec the FD to /dev/null,
3981 # effectively closing config.log, so it can be properly (re)opened and
3982 # appended to by config.status. When coming back to configure, we
3983 # need to make the FD available again.
3984 if test "$no_create" != yes; then
3985 ac_cs_success=:
3986 ac_config_status_args=
3987 test "$silent" = yes &&
3988 ac_config_status_args="$ac_config_status_args --quiet"
3989 exec 5>/dev/null
3990 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3991 exec 5>>config.log
3992 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3993 # would make configure fail if this is the last instruction.
3994 $ac_cs_success || { (exit 1); exit 1; }
3996 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3997 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3998 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}