Fix rebuilding of removed subdir/Makefile.in files.
[automake/plouj.git] / configure
bloba6ded566a383c7707b2857335b29bd311c30a9ac
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for GNU Automake 1.10a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
186 as_func_success () {
187 as_func_return 0
189 as_func_failure () {
190 as_func_return 1
192 as_func_ret_success () {
193 return 0
195 as_func_ret_failure () {
196 return 1
199 exitcode=0
200 if as_func_success; then
202 else
203 exitcode=1
204 echo as_func_success failed.
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 else
227 exitcode=1
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
298 (as_func_return () {
299 (exit $1)
301 as_func_success () {
302 as_func_return 0
304 as_func_failure () {
305 as_func_return 1
307 as_func_ret_success () {
308 return 0
310 as_func_ret_failure () {
311 return 1
314 exitcode=0
315 if as_func_success; then
317 else
318 exitcode=1
319 echo as_func_success failed.
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 else
342 exitcode=1
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 _ASEOF
355 }; then
356 break
361 done
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
388 (exit \$1)
390 as_func_success () {
391 as_func_return 0
393 as_func_failure () {
394 as_func_return 1
396 as_func_ret_success () {
397 return 0
399 as_func_ret_failure () {
400 return 1
403 exitcode=0
404 if as_func_success; then
406 else
407 exitcode=1
408 echo as_func_success failed.
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 else
431 exitcode=1
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
468 :lineno
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
532 else
533 as_ln_s='cp -p'
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540 else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
545 if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547 else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 # Initializations.
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='GNU Automake'
598 PACKAGE_TARNAME='automake'
599 PACKAGE_VERSION='1.10a'
600 PACKAGE_STRING='GNU Automake 1.10a'
601 PACKAGE_BUGREPORT='bug-automake@gnu.org'
603 ac_unique_file="automake.in"
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 build
642 build_cpu
643 build_vendor
644 build_os
645 am_AUTOCONF
646 INSTALL_PROGRAM
647 INSTALL_SCRIPT
648 INSTALL_DATA
649 am__isrc
650 CYGPATH_W
651 PACKAGE
652 VERSION
653 ACLOCAL
654 AUTOCONF
655 AUTOMAKE
656 AUTOHEADER
657 MAKEINFO
658 install_sh
659 STRIP
660 INSTALL_STRIP_PROGRAM
661 MKDIR_P
662 mkdir_p
664 SET_MAKE
665 am__leading_dot
666 AMTAR
667 am__tar
668 am__untar
669 APIVERSION
670 pkgvdatadir
671 PERL
674 MODIFICATION_DELAY
675 GREP
676 EGREP
677 FGREP
678 LIBOBJS
679 LTLIBOBJS'
680 ac_subst_files=''
681 ac_user_opts='
682 enable_option_checking
684 ac_precious_vars='build_alias
685 host_alias
686 target_alias'
689 # Initialize some variables set by options.
690 ac_init_help=
691 ac_init_version=false
692 ac_unrecognized_opts=
693 ac_unrecognized_sep=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
696 cache_file=/dev/null
697 exec_prefix=NONE
698 no_create=
699 no_recursion=
700 prefix=NONE
701 program_prefix=NONE
702 program_suffix=NONE
703 program_transform_name=s,x,x,
704 silent=
705 site=
706 srcdir=
707 verbose=
708 x_includes=NONE
709 x_libraries=NONE
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
728 infodir='${datarootdir}/info'
729 htmldir='${docdir}'
730 dvidir='${docdir}'
731 pdfdir='${docdir}'
732 psdir='${docdir}'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
737 ac_prev=
738 ac_dashdash=
739 for ac_option
741 # If the previous option needs an argument, assign it.
742 if test -n "$ac_prev"; then
743 eval $ac_prev=\$ac_option
744 ac_prev=
745 continue
748 case $ac_option in
749 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750 *) ac_optarg=yes ;;
751 esac
753 # Accept the important Cygnus configure options, so we can diagnose typos.
755 case $ac_dashdash$ac_option in
757 ac_dashdash=yes ;;
759 -bindir | --bindir | --bindi | --bind | --bin | --bi)
760 ac_prev=bindir ;;
761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
762 bindir=$ac_optarg ;;
764 -build | --build | --buil | --bui | --bu)
765 ac_prev=build_alias ;;
766 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
767 build_alias=$ac_optarg ;;
769 -cache-file | --cache-file | --cache-fil | --cache-fi \
770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
771 ac_prev=cache_file ;;
772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
774 cache_file=$ac_optarg ;;
776 --config-cache | -C)
777 cache_file=config.cache ;;
779 -datadir | --datadir | --datadi | --datad)
780 ac_prev=datadir ;;
781 -datadir=* | --datadir=* | --datadi=* | --datad=*)
782 datadir=$ac_optarg ;;
784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
785 | --dataroo | --dataro | --datar)
786 ac_prev=datarootdir ;;
787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
789 datarootdir=$ac_optarg ;;
791 -disable-* | --disable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
796 { (exit 1); exit 1; }; }
797 ac_useropt_orig=$ac_useropt
798 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799 case $ac_user_opts in
801 "enable_$ac_useropt"
802 "*) ;;
803 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
804 ac_unrecognized_sep=', ';;
805 esac
806 eval enable_$ac_useropt=no ;;
808 -docdir | --docdir | --docdi | --doc | --do)
809 ac_prev=docdir ;;
810 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811 docdir=$ac_optarg ;;
813 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814 ac_prev=dvidir ;;
815 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816 dvidir=$ac_optarg ;;
818 -enable-* | --enable-*)
819 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820 # Reject names that are not valid shell variable names.
821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
822 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
823 { (exit 1); exit 1; }; }
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
828 "enable_$ac_useropt"
829 "*) ;;
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
832 esac
833 eval enable_$ac_useropt=\$ac_optarg ;;
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
846 with_gas=yes ;;
848 -help | --help | --hel | --he | -h)
849 ac_init_help=long ;;
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861 ac_prev=htmldir ;;
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863 | --ht=*)
864 htmldir=$ac_optarg ;;
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
874 ac_prev=infodir ;;
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
878 -libdir | --libdir | --libdi | --libd)
879 ac_prev=libdir ;;
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
881 libdir=$ac_optarg ;;
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
890 -localedir | --localedir | --localedi | --localed | --locale)
891 ac_prev=localedir ;;
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903 ac_prev=mandir ;;
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905 mandir=$ac_optarg ;;
907 -nfp | --nfp | --nf)
908 # Obsolete; use --without-fp.
909 with_fp=no ;;
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
913 no_create=yes ;;
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917 no_recursion=yes ;;
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929 ac_prev=prefix ;;
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931 prefix=$ac_optarg ;;
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965 ac_prev=pdfdir ;;
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967 pdfdir=$ac_optarg ;;
969 -psdir | --psdir | --psdi | --psd | --ps)
970 ac_prev=psdir ;;
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972 psdir=$ac_optarg ;;
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
976 silent=yes ;;
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979 ac_prev=sbindir ;;
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 | --sbi=* | --sb=*)
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
987 | --sha | --sh)
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 | --sha=* | --sh=*)
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
996 ac_prev=site ;;
997 -site=* | --site=* | --sit=*)
998 site=$ac_optarg ;;
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001 ac_prev=srcdir ;;
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018 verbose=yes ;;
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1023 -with-* | --with-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "with_$ac_useropt"
1034 "*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval with_$ac_useropt=\$ac_optarg ;;
1040 -without-* | --without-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "with_$ac_useropt"
1051 "*) ;;
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1054 esac
1055 eval with_$ac_useropt=no ;;
1057 --x)
1058 # Obsolete; use --with-x.
1059 with_x=yes ;;
1061 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1062 | --x-incl | --x-inc | --x-in | --x-i)
1063 ac_prev=x_includes ;;
1064 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1065 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1066 x_includes=$ac_optarg ;;
1068 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1069 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1070 ac_prev=x_libraries ;;
1071 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1072 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1073 x_libraries=$ac_optarg ;;
1075 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1076 Try \`$0 --help' for more information." >&2
1077 { (exit 1); exit 1; }; }
1080 *=*)
1081 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1084 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1085 { (exit 1); exit 1; }; }
1086 eval $ac_envvar=\$ac_optarg
1087 export $ac_envvar ;;
1090 # FIXME: should be removed in autoconf 3.0.
1091 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1093 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1094 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1097 esac
1098 done
1100 if test -n "$ac_prev"; then
1101 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1102 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1103 { (exit 1); exit 1; }; }
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1108 no) ;;
1109 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1110 { (exit 1); exit 1; }; } ;;
1111 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1112 esac
1115 # Check all directory arguments for consistency.
1116 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1117 datadir sysconfdir sharedstatedir localstatedir includedir \
1118 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1119 libdir localedir mandir
1121 eval ac_val=\$$ac_var
1122 # Remove trailing slashes.
1123 case $ac_val in
1124 */ )
1125 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1126 eval $ac_var=\$ac_val;;
1127 esac
1128 # Be sure to have absolute directory names.
1129 case $ac_val in
1130 [\\/$]* | ?:[\\/]* ) continue;;
1131 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1132 esac
1133 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1134 { (exit 1); exit 1; }; }
1135 done
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1140 build=$build_alias
1141 host=$host_alias
1142 target=$target_alias
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146 if test "x$build_alias" = x; then
1147 cross_compiling=maybe
1148 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1149 If a cross compiler is detected then cross compile mode will be used." >&2
1150 elif test "x$build_alias" != "x$host_alias"; then
1151 cross_compiling=yes
1155 ac_tool_prefix=
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158 test "$silent" = yes && exec 6>/dev/null
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di=`ls -di .` &&
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1165 { (exit 1); exit 1; }; }
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1168 { (exit 1); exit 1; }; }
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 s//\1/
1185 /^X\(\/\/\)[^/].*/{
1186 s//\1/
1189 /^X\(\/\/\)$/{
1190 s//\1/
1193 /^X\(\/\).*/{
1194 s//\1/
1197 s/.*/./; q'`
1198 srcdir=$ac_confdir
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 srcdir=..
1202 else
1203 ac_srcdir_defaulted=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1208 { (exit 1); exit 1; }; }
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 ac_abs_confdir=`(
1212 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1213 { (exit 1); exit 1; }; }
1214 pwd)`
1215 # When building in place, set srcdir=.
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 srcdir=.
1219 # Remove unnecessary trailing slashes from srcdir.
1220 # Double slashes in file names in object file debugging info
1221 # mess up M-x gdb in Emacs.
1222 case $srcdir in
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224 esac
1225 for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230 done
1233 # Report the --help message.
1235 if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1238 cat <<_ACEOF
1239 \`configure' configures GNU Automake 1.10a to adapt to many kinds of systems.
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
1246 Defaults for the options are specified in brackets.
1248 Configuration:
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1259 Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 [PREFIX]
1265 By default, \`make install' will install all the files in
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268 for instance \`--prefix=\$HOME'.
1270 For better control, use the options below.
1272 Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1292 _ACEOF
1294 cat <<\_ACEOF
1296 Program names:
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1301 System types:
1302 --build=BUILD configure for building on BUILD [guessed]
1303 _ACEOF
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of GNU Automake 1.10a:";;
1309 esac
1310 cat <<\_ACEOF
1312 Report bugs to <bug-automake@gnu.org>.
1313 _ACEOF
1314 ac_status=$?
1317 if test "$ac_init_help" = "recursive"; then
1318 # If there are subdirs, report their specific --help.
1319 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1320 test -d "$ac_dir" ||
1321 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1322 continue
1323 ac_builddir=.
1325 case "$ac_dir" in
1326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1329 # A ".." for each directory in $ac_dir_suffix.
1330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1331 case $ac_top_builddir_sub in
1332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 esac ;;
1335 esac
1336 ac_abs_top_builddir=$ac_pwd
1337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338 # for backward compatibility:
1339 ac_top_builddir=$ac_top_build_prefix
1341 case $srcdir in
1342 .) # We are building in place.
1343 ac_srcdir=.
1344 ac_top_srcdir=$ac_top_builddir_sub
1345 ac_abs_top_srcdir=$ac_pwd ;;
1346 [\\/]* | ?:[\\/]* ) # Absolute name.
1347 ac_srcdir=$srcdir$ac_dir_suffix;
1348 ac_top_srcdir=$srcdir
1349 ac_abs_top_srcdir=$srcdir ;;
1350 *) # Relative name.
1351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 esac
1355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1357 cd "$ac_dir" || { ac_status=$?; continue; }
1358 # Check for guested configure.
1359 if test -f "$ac_srcdir/configure.gnu"; then
1360 echo &&
1361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 elif test -f "$ac_srcdir/configure"; then
1363 echo &&
1364 $SHELL "$ac_srcdir/configure" --help=recursive
1365 else
1366 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 fi || ac_status=$?
1368 cd "$ac_pwd" || { ac_status=$?; break; }
1369 done
1372 test -n "$ac_init_help" && exit $ac_status
1373 if $ac_init_version; then
1374 cat <<\_ACEOF
1375 GNU Automake configure 1.10a
1376 generated by GNU Autoconf 2.62
1378 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1379 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1382 _ACEOF
1383 exit
1385 cat >config.log <<_ACEOF
1386 This file contains any messages produced by compilers while
1387 running configure, to aid debugging if configure makes a mistake.
1389 It was created by GNU Automake $as_me 1.10a, which was
1390 generated by GNU Autoconf 2.62. Invocation command line was
1392 $ $0 $@
1394 _ACEOF
1395 exec 5>>config.log
1397 cat <<_ASUNAME
1398 ## --------- ##
1399 ## Platform. ##
1400 ## --------- ##
1402 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1403 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1404 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1405 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1406 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1408 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1409 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1411 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1412 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1413 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1414 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1415 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1416 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1417 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1419 _ASUNAME
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 for as_dir in $PATH
1424 IFS=$as_save_IFS
1425 test -z "$as_dir" && as_dir=.
1426 $as_echo "PATH: $as_dir"
1427 done
1428 IFS=$as_save_IFS
1430 } >&5
1432 cat >&5 <<_ACEOF
1435 ## ----------- ##
1436 ## Core tests. ##
1437 ## ----------- ##
1439 _ACEOF
1442 # Keep a trace of the command line.
1443 # Strip out --no-create and --no-recursion so they do not pile up.
1444 # Strip out --silent because we don't want to record it for future runs.
1445 # Also quote any args containing shell meta-characters.
1446 # Make two passes to allow for proper duplicate-argument suppression.
1447 ac_configure_args=
1448 ac_configure_args0=
1449 ac_configure_args1=
1450 ac_must_keep_next=false
1451 for ac_pass in 1 2
1453 for ac_arg
1455 case $ac_arg in
1456 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458 | -silent | --silent | --silen | --sile | --sil)
1459 continue ;;
1460 *\'*)
1461 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1462 esac
1463 case $ac_pass in
1464 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1466 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1467 if test $ac_must_keep_next = true; then
1468 ac_must_keep_next=false # Got value, back to normal.
1469 else
1470 case $ac_arg in
1471 *=* | --config-cache | -C | -disable-* | --disable-* \
1472 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474 | -with-* | --with-* | -without-* | --without-* | --x)
1475 case "$ac_configure_args0 " in
1476 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1477 esac
1479 -* ) ac_must_keep_next=true ;;
1480 esac
1482 ac_configure_args="$ac_configure_args '$ac_arg'"
1484 esac
1485 done
1486 done
1487 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1488 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1490 # When interrupted or exit'd, cleanup temporary files, and complete
1491 # config.log. We remove comments because anyway the quotes in there
1492 # would cause problems or look ugly.
1493 # WARNING: Use '\'' to represent an apostrophe within the trap.
1494 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1495 trap 'exit_status=$?
1496 # Save into config.log some information that might help in debugging.
1498 echo
1500 cat <<\_ASBOX
1501 ## ---------------- ##
1502 ## Cache variables. ##
1503 ## ---------------- ##
1504 _ASBOX
1505 echo
1506 # The following way of writing the cache mishandles newlines in values,
1508 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1509 eval ac_val=\$$ac_var
1510 case $ac_val in #(
1511 *${as_nl}*)
1512 case $ac_var in #(
1513 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1514 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1515 esac
1516 case $ac_var in #(
1517 _ | IFS | as_nl) ;; #(
1518 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1519 *) $as_unset $ac_var ;;
1520 esac ;;
1521 esac
1522 done
1523 (set) 2>&1 |
1524 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1525 *${as_nl}ac_space=\ *)
1526 sed -n \
1527 "s/'\''/'\''\\\\'\'''\''/g;
1528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1529 ;; #(
1531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1533 esac |
1534 sort
1536 echo
1538 cat <<\_ASBOX
1539 ## ----------------- ##
1540 ## Output variables. ##
1541 ## ----------------- ##
1542 _ASBOX
1543 echo
1544 for ac_var in $ac_subst_vars
1546 eval ac_val=\$$ac_var
1547 case $ac_val in
1548 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1549 esac
1550 $as_echo "$ac_var='\''$ac_val'\''"
1551 done | sort
1552 echo
1554 if test -n "$ac_subst_files"; then
1555 cat <<\_ASBOX
1556 ## ------------------- ##
1557 ## File substitutions. ##
1558 ## ------------------- ##
1559 _ASBOX
1560 echo
1561 for ac_var in $ac_subst_files
1563 eval ac_val=\$$ac_var
1564 case $ac_val in
1565 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 esac
1567 $as_echo "$ac_var='\''$ac_val'\''"
1568 done | sort
1569 echo
1572 if test -s confdefs.h; then
1573 cat <<\_ASBOX
1574 ## ----------- ##
1575 ## confdefs.h. ##
1576 ## ----------- ##
1577 _ASBOX
1578 echo
1579 cat confdefs.h
1580 echo
1582 test "$ac_signal" != 0 &&
1583 $as_echo "$as_me: caught signal $ac_signal"
1584 $as_echo "$as_me: exit $exit_status"
1585 } >&5
1586 rm -f core *.core core.conftest.* &&
1587 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1588 exit $exit_status
1590 for ac_signal in 1 2 13 15; do
1591 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1592 done
1593 ac_signal=0
1595 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1596 rm -f -r conftest* confdefs.h
1598 # Predefined preprocessor variables.
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_NAME "$PACKAGE_NAME"
1602 _ACEOF
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1607 _ACEOF
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1612 _ACEOF
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_STRING "$PACKAGE_STRING"
1617 _ACEOF
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1622 _ACEOF
1625 # Let the site file select an alternate cache file if it wants to.
1626 # Prefer an explicitly selected file to automatically selected ones.
1627 ac_site_file1=NONE
1628 ac_site_file2=NONE
1629 if test -n "$CONFIG_SITE"; then
1630 ac_site_file1=$CONFIG_SITE
1631 elif test "x$prefix" != xNONE; then
1632 ac_site_file1=$prefix/share/config.site
1633 ac_site_file2=$prefix/etc/config.site
1634 else
1635 ac_site_file1=$ac_default_prefix/share/config.site
1636 ac_site_file2=$ac_default_prefix/etc/config.site
1638 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1640 test "x$ac_site_file" = xNONE && continue
1641 if test -r "$ac_site_file"; then
1642 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1643 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1644 sed 's/^/| /' "$ac_site_file" >&5
1645 . "$ac_site_file"
1647 done
1649 if test -r "$cache_file"; then
1650 # Some versions of bash will fail to source /dev/null (special
1651 # files actually), so we avoid doing that.
1652 if test -f "$cache_file"; then
1653 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1654 $as_echo "$as_me: loading cache $cache_file" >&6;}
1655 case $cache_file in
1656 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1657 *) . "./$cache_file";;
1658 esac
1660 else
1661 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1662 $as_echo "$as_me: creating cache $cache_file" >&6;}
1663 >$cache_file
1666 # Check that the precious variables saved in the cache have kept the same
1667 # value.
1668 ac_cache_corrupted=false
1669 for ac_var in $ac_precious_vars; do
1670 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1671 eval ac_new_set=\$ac_env_${ac_var}_set
1672 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1673 eval ac_new_val=\$ac_env_${ac_var}_value
1674 case $ac_old_set,$ac_new_set in
1675 set,)
1676 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1677 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1678 ac_cache_corrupted=: ;;
1679 ,set)
1680 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1681 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1683 ,);;
1685 if test "x$ac_old_val" != "x$ac_new_val"; then
1686 # differences in whitespace do not lead to failure.
1687 ac_old_val_w=`echo x $ac_old_val`
1688 ac_new_val_w=`echo x $ac_new_val`
1689 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1690 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1691 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692 ac_cache_corrupted=:
1693 else
1694 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1695 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1696 eval $ac_var=\$ac_old_val
1698 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1699 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1700 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1701 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1702 fi;;
1703 esac
1704 # Pass precious variables to config.status.
1705 if test "$ac_new_set" = set; then
1706 case $ac_new_val in
1707 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1708 *) ac_arg=$ac_var=$ac_new_val ;;
1709 esac
1710 case " $ac_configure_args " in
1711 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1712 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1713 esac
1715 done
1716 if $ac_cache_corrupted; then
1717 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1718 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1719 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1720 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1721 { (exit 1); exit 1; }; }
1748 ac_ext=c
1749 ac_cpp='$CPP $CPPFLAGS'
1750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757 ac_aux_dir=
1758 for ac_dir in lib "$srcdir"/lib; do
1759 if test -f "$ac_dir/install-sh"; then
1760 ac_aux_dir=$ac_dir
1761 ac_install_sh="$ac_aux_dir/install-sh -c"
1762 break
1763 elif test -f "$ac_dir/install.sh"; then
1764 ac_aux_dir=$ac_dir
1765 ac_install_sh="$ac_aux_dir/install.sh -c"
1766 break
1767 elif test -f "$ac_dir/shtool"; then
1768 ac_aux_dir=$ac_dir
1769 ac_install_sh="$ac_aux_dir/shtool install -c"
1770 break
1772 done
1773 if test -z "$ac_aux_dir"; then
1774 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1775 $as_echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1776 { (exit 1); exit 1; }; }
1779 # These three variables are undocumented and unsupported,
1780 # and are intended to be withdrawn in a future Autoconf release.
1781 # They can cause serious problems if a builder's source tree is in a directory
1782 # whose full name contains unusual characters.
1783 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1784 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1785 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1789 # Make sure we can run config.sub.
1790 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1791 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1792 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1793 { (exit 1); exit 1; }; }
1795 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1796 $as_echo_n "checking build system type... " >&6; }
1797 if test "${ac_cv_build+set}" = set; then
1798 $as_echo_n "(cached) " >&6
1799 else
1800 ac_build_alias=$build_alias
1801 test "x$ac_build_alias" = x &&
1802 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1803 test "x$ac_build_alias" = x &&
1804 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1805 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1806 { (exit 1); exit 1; }; }
1807 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1808 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1809 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1810 { (exit 1); exit 1; }; }
1813 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1814 $as_echo "$ac_cv_build" >&6; }
1815 case $ac_cv_build in
1816 *-*-*) ;;
1817 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1818 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1819 { (exit 1); exit 1; }; };;
1820 esac
1821 build=$ac_cv_build
1822 ac_save_IFS=$IFS; IFS='-'
1823 set x $ac_cv_build
1824 shift
1825 build_cpu=$1
1826 build_vendor=$2
1827 shift; shift
1828 # Remember, the first character of IFS is used to create $*,
1829 # except with old shells:
1830 build_os=$*
1831 IFS=$ac_save_IFS
1832 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1836 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1837 # way we can run Autoconf tests from configure (or from the test
1838 # suite) without being bothered by `missing'.
1839 am_AUTOCONF="${AUTOCONF-autoconf}"
1842 am__api_version='1.10a'
1844 # Find a good install program. We prefer a C program (faster),
1845 # so one script is as good as another. But avoid the broken or
1846 # incompatible versions:
1847 # SysV /etc/install, /usr/sbin/install
1848 # SunOS /usr/etc/install
1849 # IRIX /sbin/install
1850 # AIX /bin/install
1851 # AmigaOS /C/install, which installs bootblocks on floppy discs
1852 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1855 # OS/2's system install, which has a completely different semantic
1856 # ./install, which can be erroneously created by make from ./install.sh.
1857 # Reject install programs that cannot install multiple files.
1858 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1859 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1860 if test -z "$INSTALL"; then
1861 if test "${ac_cv_path_install+set}" = set; then
1862 $as_echo_n "(cached) " >&6
1863 else
1864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865 for as_dir in $PATH
1867 IFS=$as_save_IFS
1868 test -z "$as_dir" && as_dir=.
1869 # Account for people who put trailing slashes in PATH elements.
1870 case $as_dir/ in
1871 ./ | .// | /cC/* | \
1872 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1873 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1874 /usr/ucb/* ) ;;
1876 # OSF1 and SCO ODT 3.0 have their own names for install.
1877 # Don't use installbsd from OSF since it installs stuff as root
1878 # by default.
1879 for ac_prog in ginstall scoinst install; do
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1882 if test $ac_prog = install &&
1883 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1884 # AIX install. It has an incompatible calling convention.
1886 elif test $ac_prog = install &&
1887 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1888 # program-specific install script used by HP pwplus--don't use.
1890 else
1891 rm -rf conftest.one conftest.two conftest.dir
1892 echo one > conftest.one
1893 echo two > conftest.two
1894 mkdir conftest.dir
1895 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1896 test -s conftest.one && test -s conftest.two &&
1897 test -s conftest.dir/conftest.one &&
1898 test -s conftest.dir/conftest.two
1899 then
1900 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1901 break 3
1905 done
1906 done
1908 esac
1910 done
1911 IFS=$as_save_IFS
1913 rm -rf conftest.one conftest.two conftest.dir
1916 if test "${ac_cv_path_install+set}" = set; then
1917 INSTALL=$ac_cv_path_install
1918 else
1919 # As a last resort, use the slow shell script. Don't cache a
1920 # value for INSTALL within a source directory, because that will
1921 # break other packages using the cache if that directory is
1922 # removed, or if the value is a relative name.
1923 INSTALL=$ac_install_sh
1926 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1927 $as_echo "$INSTALL" >&6; }
1929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1930 # It thinks the first close brace ends the variable substitution.
1931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1935 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1937 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1938 $as_echo_n "checking whether build environment is sane... " >&6; }
1939 # Just in case
1940 sleep 1
1941 echo timestamp > conftest.file
1942 # Do `set' in a subshell so we don't clobber the current shell's
1943 # arguments. Must try -L first in case configure is actually a
1944 # symlink; some systems play weird games with the mod time of symlinks
1945 # (eg FreeBSD returns the mod time of the symlink's containing
1946 # directory).
1947 if (
1948 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1949 if test "$*" = "X"; then
1950 # -L didn't work.
1951 set X `ls -t $srcdir/configure conftest.file`
1953 rm -f conftest.file
1954 if test "$*" != "X $srcdir/configure conftest.file" \
1955 && test "$*" != "X conftest.file $srcdir/configure"; then
1957 # If neither matched, then we have a broken ls. This can happen
1958 # if, for instance, CONFIG_SHELL is bash and it inherits a
1959 # broken ls alias from the environment. This has actually
1960 # happened. Such a system could not be considered "sane".
1961 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1962 alias in your environment" >&5
1963 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1964 alias in your environment" >&2;}
1965 { (exit 1); exit 1; }; }
1968 test "$2" = conftest.file
1970 then
1971 # Ok.
1973 else
1974 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1975 Check your system clock" >&5
1976 $as_echo "$as_me: error: newly created file is older than distributed files!
1977 Check your system clock" >&2;}
1978 { (exit 1); exit 1; }; }
1980 { $as_echo "$as_me:$LINENO: result: yes" >&5
1981 $as_echo "yes" >&6; }
1982 test "$program_prefix" != NONE &&
1983 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1984 # Use a double $ so make ignores it.
1985 test "$program_suffix" != NONE &&
1986 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1987 # Double any \ or $.
1988 # By default was `s,x,x', remove it if useless.
1989 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1990 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1992 # expand $ac_aux_dir to an absolute path
1993 am_aux_dir=`cd $ac_aux_dir && pwd`
1995 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1996 # Use eval to expand $SHELL
1997 if eval "$MISSING --run true"; then
1998 am_missing_run="$MISSING --run "
1999 else
2000 am_missing_run=
2001 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2002 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2005 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2006 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2007 if test -z "$MKDIR_P"; then
2008 if test "${ac_cv_path_mkdir+set}" = set; then
2009 $as_echo_n "(cached) " >&6
2010 else
2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2014 IFS=$as_save_IFS
2015 test -z "$as_dir" && as_dir=.
2016 for ac_prog in mkdir gmkdir; do
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2019 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2020 'mkdir (GNU coreutils) '* | \
2021 'mkdir (coreutils) '* | \
2022 'mkdir (fileutils) '4.1*)
2023 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2024 break 3;;
2025 esac
2026 done
2027 done
2028 done
2029 IFS=$as_save_IFS
2033 if test "${ac_cv_path_mkdir+set}" = set; then
2034 MKDIR_P="$ac_cv_path_mkdir -p"
2035 else
2036 # As a last resort, use the slow shell script. Don't cache a
2037 # value for MKDIR_P within a source directory, because that will
2038 # break other packages using the cache if that directory is
2039 # removed, or if the value is a relative name.
2040 test -d ./--version && rmdir ./--version
2041 MKDIR_P="$ac_install_sh -d"
2044 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2045 $as_echo "$MKDIR_P" >&6; }
2047 mkdir_p="$MKDIR_P"
2048 case $mkdir_p in
2049 [\\/$]* | ?:[\\/]*) ;;
2050 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2051 esac
2053 for ac_prog in gawk mawk nawk awk
2055 # Extract the first word of "$ac_prog", so it can be a program name with args.
2056 set dummy $ac_prog; ac_word=$2
2057 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 $as_echo_n "checking for $ac_word... " >&6; }
2059 if test "${ac_cv_prog_AWK+set}" = set; then
2060 $as_echo_n "(cached) " >&6
2061 else
2062 if test -n "$AWK"; then
2063 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2064 else
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 for as_dir in $PATH
2068 IFS=$as_save_IFS
2069 test -z "$as_dir" && as_dir=.
2070 for ac_exec_ext in '' $ac_executable_extensions; do
2071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2072 ac_cv_prog_AWK="$ac_prog"
2073 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 break 2
2076 done
2077 done
2078 IFS=$as_save_IFS
2082 AWK=$ac_cv_prog_AWK
2083 if test -n "$AWK"; then
2084 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2085 $as_echo "$AWK" >&6; }
2086 else
2087 { $as_echo "$as_me:$LINENO: result: no" >&5
2088 $as_echo "no" >&6; }
2092 test -n "$AWK" && break
2093 done
2095 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2096 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2097 set x ${MAKE-make}
2098 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2099 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2100 $as_echo_n "(cached) " >&6
2101 else
2102 cat >conftest.make <<\_ACEOF
2103 SHELL = /bin/sh
2104 all:
2105 @echo '@@@%%%=$(MAKE)=@@@%%%'
2106 _ACEOF
2107 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2108 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2109 *@@@%%%=?*=@@@%%%*)
2110 eval ac_cv_prog_make_${ac_make}_set=yes;;
2112 eval ac_cv_prog_make_${ac_make}_set=no;;
2113 esac
2114 rm -f conftest.make
2116 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2117 { $as_echo "$as_me:$LINENO: result: yes" >&5
2118 $as_echo "yes" >&6; }
2119 SET_MAKE=
2120 else
2121 { $as_echo "$as_me:$LINENO: result: no" >&5
2122 $as_echo "no" >&6; }
2123 SET_MAKE="MAKE=${MAKE-make}"
2126 rm -rf .tst 2>/dev/null
2127 mkdir .tst 2>/dev/null
2128 if test -d .tst; then
2129 am__leading_dot=.
2130 else
2131 am__leading_dot=_
2133 rmdir .tst 2>/dev/null
2135 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2136 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2137 # is not polluted with repeated "-I."
2138 am__isrc=' -I$(srcdir)'
2139 # test to see if srcdir already configured
2140 if test -f $srcdir/config.status; then
2141 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2142 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2143 { (exit 1); exit 1; }; }
2147 # test whether we have cygpath
2148 if test -z "$CYGPATH_W"; then
2149 if (cygpath --version) >/dev/null 2>/dev/null; then
2150 CYGPATH_W='cygpath -w'
2151 else
2152 CYGPATH_W=echo
2157 # Define the identity of the package.
2158 PACKAGE='automake'
2159 VERSION='1.10a'
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE "$PACKAGE"
2164 _ACEOF
2167 cat >>confdefs.h <<_ACEOF
2168 #define VERSION "$VERSION"
2169 _ACEOF
2171 # Some tools Automake needs.
2173 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2176 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2179 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2182 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2185 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2187 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2189 # Installed binaries are usually stripped using `strip' when the user
2190 # run `make install-strip'. However `strip' might not be the right
2191 # tool to use in cross-compilation environments, therefore Automake
2192 # will honor the `STRIP' environment variable to overrule this program.
2193 if test "$cross_compiling" != no; then
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2196 set dummy ${ac_tool_prefix}strip; ac_word=$2
2197 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 $as_echo_n "checking for $ac_word... " >&6; }
2199 if test "${ac_cv_prog_STRIP+set}" = set; then
2200 $as_echo_n "(cached) " >&6
2201 else
2202 if test -n "$STRIP"; then
2203 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2204 else
2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 for as_dir in $PATH
2208 IFS=$as_save_IFS
2209 test -z "$as_dir" && as_dir=.
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2213 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 break 2
2216 done
2217 done
2218 IFS=$as_save_IFS
2222 STRIP=$ac_cv_prog_STRIP
2223 if test -n "$STRIP"; then
2224 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2225 $as_echo "$STRIP" >&6; }
2226 else
2227 { $as_echo "$as_me:$LINENO: result: no" >&5
2228 $as_echo "no" >&6; }
2233 if test -z "$ac_cv_prog_STRIP"; then
2234 ac_ct_STRIP=$STRIP
2235 # Extract the first word of "strip", so it can be a program name with args.
2236 set dummy strip; ac_word=$2
2237 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 $as_echo_n "checking for $ac_word... " >&6; }
2239 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2240 $as_echo_n "(cached) " >&6
2241 else
2242 if test -n "$ac_ct_STRIP"; then
2243 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2244 else
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 for as_dir in $PATH
2248 IFS=$as_save_IFS
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_ac_ct_STRIP="strip"
2253 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 break 2
2256 done
2257 done
2258 IFS=$as_save_IFS
2262 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2263 if test -n "$ac_ct_STRIP"; then
2264 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2265 $as_echo "$ac_ct_STRIP" >&6; }
2266 else
2267 { $as_echo "$as_me:$LINENO: result: no" >&5
2268 $as_echo "no" >&6; }
2271 if test "x$ac_ct_STRIP" = x; then
2272 STRIP=":"
2273 else
2274 case $cross_compiling:$ac_tool_warned in
2275 yes:)
2276 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2277 whose name does not start with the host triplet. If you think this
2278 configuration is useful to you, please write to autoconf@gnu.org." >&5
2279 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2280 whose name does not start with the host triplet. If you think this
2281 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2282 ac_tool_warned=yes ;;
2283 esac
2284 STRIP=$ac_ct_STRIP
2286 else
2287 STRIP="$ac_cv_prog_STRIP"
2291 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2293 # We need awk for the "check" target. The system "awk" is bad on
2294 # some platforms.
2295 # Always define AMTAR for backward compatibility.
2297 AMTAR=${AMTAR-"${am_missing_run}tar"}
2299 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2306 # The API version is the base version. We must guarantee
2307 # compatibility for all releases with the same API version.
2308 # Our current rule is that:
2309 # * All releases, including the prereleases, in an X.Y series
2310 # are compatible. So 1.5.1c is compatible with 1.5.
2311 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2312 # aren't the same.
2313 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2316 # A versioned directory, defined here for convenience.
2317 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2320 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2321 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2322 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2323 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2325 # Extract the first word of "perl", so it can be a program name with args.
2326 set dummy perl; ac_word=$2
2327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 $as_echo_n "checking for $ac_word... " >&6; }
2329 if test "${ac_cv_path_PERL+set}" = set; then
2330 $as_echo_n "(cached) " >&6
2331 else
2332 case $PERL in
2333 [\\/]* | ?:[\\/]*)
2334 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2340 IFS=$as_save_IFS
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 break 2
2348 done
2349 done
2350 IFS=$as_save_IFS
2353 esac
2355 PERL=$ac_cv_path_PERL
2356 if test -n "$PERL"; then
2357 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2358 $as_echo "$PERL" >&6; }
2359 else
2360 { $as_echo "$as_me:$LINENO: result: no" >&5
2361 $as_echo "no" >&6; }
2365 if test -z "$PERL"; then
2366 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
2367 $as_echo "$as_me: error: perl not found" >&2;}
2368 { (exit 1); exit 1; }; }
2370 $PERL -e 'require 5.006;' || {
2371 { { $as_echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2372 is recommended. If you have several perl versions
2373 installed, select the one Automake should use using
2374 ./configure PERL=/path/to/perl" >&5
2375 $as_echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2376 is recommended. If you have several perl versions
2377 installed, select the one Automake should use using
2378 ./configure PERL=/path/to/perl" >&2;}
2379 { (exit 1); exit 1; }; }
2382 # The test suite will skip some tests if tex is absent.
2383 # Extract the first word of "tex", so it can be a program name with args.
2384 set dummy tex; ac_word=$2
2385 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 $as_echo_n "checking for $ac_word... " >&6; }
2387 if test "${ac_cv_prog_TEX+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2389 else
2390 if test -n "$TEX"; then
2391 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2392 else
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 for as_dir in $PATH
2396 IFS=$as_save_IFS
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400 ac_cv_prog_TEX="tex"
2401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 break 2
2404 done
2405 done
2406 IFS=$as_save_IFS
2410 TEX=$ac_cv_prog_TEX
2411 if test -n "$TEX"; then
2412 { $as_echo "$as_me:$LINENO: result: $TEX" >&5
2413 $as_echo "$TEX" >&6; }
2414 else
2415 { $as_echo "$as_me:$LINENO: result: no" >&5
2416 $as_echo "no" >&6; }
2421 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2422 # deletion of any files created (such as those added to
2423 # autom4te.cache). We used to perform only the last of the three
2424 # following tests, but some users were unable to figure out that their
2425 # installation was broken since --version appeared to work.
2427 { $as_echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2428 $as_echo_n "checking whether autoconf is installed... " >&6; }
2429 if test "${am_cv_autoconf_installed+set}" = set; then
2430 $as_echo_n "(cached) " >&6
2431 else
2432 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2433 (eval $am_AUTOCONF --version) >&5 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); };
2437 then
2438 am_cv_autoconf_installed=yes
2439 else
2440 am_cv_autoconf_installed=no
2443 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2444 $as_echo "$am_cv_autoconf_installed" >&6; }
2445 if test "$am_cv_autoconf_installed" = no; then
2446 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2447 Please make sure it is installed and in your PATH." >&5
2448 $as_echo "$as_me: error: Autoconf 2.60 or better is required.
2449 Please make sure it is installed and in your PATH." >&2;}
2450 { (exit 1); exit 1; }; }
2453 { $as_echo "$as_me:$LINENO: checking whether autoconf works" >&5
2454 $as_echo_n "checking whether autoconf works... " >&6; }
2455 if test "${am_cv_autoconf_works+set}" = set; then
2456 $as_echo_n "(cached) " >&6
2457 else
2458 mkdir conftest
2459 echo 'AC''_INIT' > conftest/conftest.ac
2460 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2461 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2462 ac_status=$?
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); };
2465 then
2466 am_cv_autoconf_works=yes
2467 else
2468 am_cv_autoconf_works=no
2470 rm -rf conftest
2472 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2473 $as_echo "$am_cv_autoconf_works" >&6; }
2474 if test "$am_cv_autoconf_works" = no; then
2475 { { $as_echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2476 Please check config.log for error messages before this one." >&5
2477 $as_echo "$as_me: error: The installed version of autoconf does not work.
2478 Please check config.log for error messages before this one." >&2;}
2479 { (exit 1); exit 1; }; }
2482 { $as_echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2483 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2484 if test "${am_cv_autoconf_version+set}" = set; then
2485 $as_echo_n "(cached) " >&6
2486 else
2487 mkdir conftest
2488 echo 'AC''_PREREQ([2.62])' > conftest/conftest.ac
2489 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2490 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2491 ac_status=$?
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); };
2494 then
2495 am_cv_autoconf_version=yes
2496 else
2497 am_cv_autoconf_version=no
2499 rm -rf conftest
2501 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2502 $as_echo "$am_cv_autoconf_version" >&6; }
2503 if test "$am_cv_autoconf_version" = no; then
2504 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.61a-341 or better is required." >&5
2505 $as_echo "$as_me: error: Autoconf 2.61a-341 or better is required." >&2;}
2506 { (exit 1); exit 1; }; }
2509 # Test for ln. We need use it to install the versioned binaries.
2510 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
2511 $as_echo_n "checking whether ln works... " >&6; }
2512 if test "${am_cv_prog_ln+set}" = set; then
2513 $as_echo_n "(cached) " >&6
2514 else
2516 rm -f conftest conftest.file
2517 : >conftest.file
2518 if ln conftest.file conftest 2>/dev/null; then
2519 am_cv_prog_ln=ln
2520 else
2521 am_cv_prog_ln='cp -p'
2523 rm -f conftest conftest.file
2526 LN=$am_cv_prog_ln
2528 result=no
2529 test "x$am_cv_prog_ln" = xln && result=yes
2530 { $as_echo "$as_me:$LINENO: result: $result" >&5
2531 $as_echo "$result" >&6; }
2533 # The amount we should wait after modifying files depends on the platform.
2534 # On Windows '95, '98 and ME, files modifications have 2-seconds
2535 # granularity and can be up to 3 seconds in the future w.r.t. the
2536 # system clock. When it is important to ensure one file is older
2537 # than another we wait at least 5 seconds between creations.
2538 case $build in
2539 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2540 *) MODIFICATION_DELAY=2;;
2541 esac
2544 # Test for things needed by the test suite.
2545 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2546 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2547 if test "${ac_cv_path_GREP+set}" = set; then
2548 $as_echo_n "(cached) " >&6
2549 else
2550 if test -z "$GREP"; then
2551 ac_path_GREP_found=false
2552 # Loop through the user's path and test for each of PROGNAME-LIST
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2556 IFS=$as_save_IFS
2557 test -z "$as_dir" && as_dir=.
2558 for ac_prog in grep ggrep; do
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2561 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2562 # Check for GNU ac_path_GREP and select it if it is found.
2563 # Check for GNU $ac_path_GREP
2564 case `"$ac_path_GREP" --version 2>&1` in
2565 *GNU*)
2566 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2568 ac_count=0
2569 $as_echo_n 0123456789 >"conftest.in"
2570 while :
2572 cat "conftest.in" "conftest.in" >"conftest.tmp"
2573 mv "conftest.tmp" "conftest.in"
2574 cp "conftest.in" "conftest.nl"
2575 $as_echo 'GREP' >> "conftest.nl"
2576 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2577 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2578 ac_count=`expr $ac_count + 1`
2579 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2580 # Best one so far, save it but keep looking for a better one
2581 ac_cv_path_GREP="$ac_path_GREP"
2582 ac_path_GREP_max=$ac_count
2584 # 10*(2^10) chars as input seems more than enough
2585 test $ac_count -gt 10 && break
2586 done
2587 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2588 esac
2590 $ac_path_GREP_found && break 3
2591 done
2592 done
2593 done
2594 IFS=$as_save_IFS
2595 if test -z "$ac_cv_path_GREP"; then
2596 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2597 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2598 { (exit 1); exit 1; }; }
2600 else
2601 ac_cv_path_GREP=$GREP
2605 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2606 $as_echo "$ac_cv_path_GREP" >&6; }
2607 GREP="$ac_cv_path_GREP"
2610 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2611 $as_echo_n "checking for egrep... " >&6; }
2612 if test "${ac_cv_path_EGREP+set}" = set; then
2613 $as_echo_n "(cached) " >&6
2614 else
2615 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2616 then ac_cv_path_EGREP="$GREP -E"
2617 else
2618 if test -z "$EGREP"; then
2619 ac_path_EGREP_found=false
2620 # Loop through the user's path and test for each of PROGNAME-LIST
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2624 IFS=$as_save_IFS
2625 test -z "$as_dir" && as_dir=.
2626 for ac_prog in egrep; do
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2629 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2630 # Check for GNU ac_path_EGREP and select it if it is found.
2631 # Check for GNU $ac_path_EGREP
2632 case `"$ac_path_EGREP" --version 2>&1` in
2633 *GNU*)
2634 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2636 ac_count=0
2637 $as_echo_n 0123456789 >"conftest.in"
2638 while :
2640 cat "conftest.in" "conftest.in" >"conftest.tmp"
2641 mv "conftest.tmp" "conftest.in"
2642 cp "conftest.in" "conftest.nl"
2643 $as_echo 'EGREP' >> "conftest.nl"
2644 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2646 ac_count=`expr $ac_count + 1`
2647 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2648 # Best one so far, save it but keep looking for a better one
2649 ac_cv_path_EGREP="$ac_path_EGREP"
2650 ac_path_EGREP_max=$ac_count
2652 # 10*(2^10) chars as input seems more than enough
2653 test $ac_count -gt 10 && break
2654 done
2655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2656 esac
2658 $ac_path_EGREP_found && break 3
2659 done
2660 done
2661 done
2662 IFS=$as_save_IFS
2663 if test -z "$ac_cv_path_EGREP"; then
2664 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2665 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2666 { (exit 1); exit 1; }; }
2668 else
2669 ac_cv_path_EGREP=$EGREP
2674 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2675 $as_echo "$ac_cv_path_EGREP" >&6; }
2676 EGREP="$ac_cv_path_EGREP"
2679 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
2680 $as_echo_n "checking for fgrep... " >&6; }
2681 if test "${ac_cv_path_FGREP+set}" = set; then
2682 $as_echo_n "(cached) " >&6
2683 else
2684 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2685 then ac_cv_path_FGREP="$GREP -F"
2686 else
2687 if test -z "$FGREP"; then
2688 ac_path_FGREP_found=false
2689 # Loop through the user's path and test for each of PROGNAME-LIST
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2693 IFS=$as_save_IFS
2694 test -z "$as_dir" && as_dir=.
2695 for ac_prog in fgrep; do
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2698 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2699 # Check for GNU ac_path_FGREP and select it if it is found.
2700 # Check for GNU $ac_path_FGREP
2701 case `"$ac_path_FGREP" --version 2>&1` in
2702 *GNU*)
2703 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2705 ac_count=0
2706 $as_echo_n 0123456789 >"conftest.in"
2707 while :
2709 cat "conftest.in" "conftest.in" >"conftest.tmp"
2710 mv "conftest.tmp" "conftest.in"
2711 cp "conftest.in" "conftest.nl"
2712 $as_echo 'FGREP' >> "conftest.nl"
2713 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2714 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2715 ac_count=`expr $ac_count + 1`
2716 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2717 # Best one so far, save it but keep looking for a better one
2718 ac_cv_path_FGREP="$ac_path_FGREP"
2719 ac_path_FGREP_max=$ac_count
2721 # 10*(2^10) chars as input seems more than enough
2722 test $ac_count -gt 10 && break
2723 done
2724 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2725 esac
2727 $ac_path_FGREP_found && break 3
2728 done
2729 done
2730 done
2731 IFS=$as_save_IFS
2732 if test -z "$ac_cv_path_FGREP"; then
2733 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2734 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2735 { (exit 1); exit 1; }; }
2737 else
2738 ac_cv_path_FGREP=$FGREP
2743 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2744 $as_echo "$ac_cv_path_FGREP" >&6; }
2745 FGREP="$ac_cv_path_FGREP"
2749 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"
2751 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2753 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2756 cat >confcache <<\_ACEOF
2757 # This file is a shell script that caches the results of configure
2758 # tests run on this system so they can be shared between configure
2759 # scripts and configure runs, see configure's option --config-cache.
2760 # It is not useful on other systems. If it contains results you don't
2761 # want to keep, you may remove or edit it.
2763 # config.status only pays attention to the cache file if you give it
2764 # the --recheck option to rerun configure.
2766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2768 # following values.
2770 _ACEOF
2772 # The following way of writing the cache mishandles newlines in values,
2773 # but we know of no workaround that is simple, portable, and efficient.
2774 # So, we kill variables containing newlines.
2775 # Ultrix sh set writes to stderr and can't be redirected directly,
2776 # and sets the high bit in the cache file unless we assign to the vars.
2778 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2779 eval ac_val=\$$ac_var
2780 case $ac_val in #(
2781 *${as_nl}*)
2782 case $ac_var in #(
2783 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2784 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2785 esac
2786 case $ac_var in #(
2787 _ | IFS | as_nl) ;; #(
2788 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2789 *) $as_unset $ac_var ;;
2790 esac ;;
2791 esac
2792 done
2794 (set) 2>&1 |
2795 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2796 *${as_nl}ac_space=\ *)
2797 # `set' does not quote correctly, so add quotes (double-quote
2798 # substitution turns \\\\ into \\, and sed turns \\ into \).
2799 sed -n \
2800 "s/'/'\\\\''/g;
2801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2802 ;; #(
2804 # `set' quotes correctly as required by POSIX, so do not add quotes.
2805 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2807 esac |
2808 sort
2810 sed '
2811 /^ac_cv_env_/b end
2812 t clear
2813 :clear
2814 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2815 t end
2816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2817 :end' >>confcache
2818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2819 if test -w "$cache_file"; then
2820 test "x$cache_file" != "x/dev/null" &&
2821 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2822 $as_echo "$as_me: updating cache $cache_file" >&6;}
2823 cat confcache >$cache_file
2824 else
2825 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2826 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2829 rm -f confcache
2831 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2832 # Let make expand exec_prefix.
2833 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2835 # Transform confdefs.h into DEFS.
2836 # Protect against shell expansion while executing Makefile rules.
2837 # Protect against Makefile macro expansion.
2839 # If the first sed substitution is executed (which looks for macros that
2840 # take arguments), then branch to the quote section. Otherwise,
2841 # look for a macro that doesn't take arguments.
2842 ac_script='
2843 :mline
2844 /\\$/{
2846 s,\\\n,,
2847 b mline
2849 t clear
2850 :clear
2851 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2852 t quote
2853 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2854 t quote
2855 b any
2856 :quote
2857 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2858 s/\[/\\&/g
2859 s/\]/\\&/g
2860 s/\$/$$/g
2862 :any
2865 s/^\n//
2866 s/\n/ /g
2870 DEFS=`sed -n "$ac_script" confdefs.h`
2873 ac_libobjs=
2874 ac_ltlibobjs=
2875 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2876 # 1. Remove the extension, and $U if already installed.
2877 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2878 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2879 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2880 # will be set to the directory where LIBOBJS objects are built.
2881 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2882 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2883 done
2884 LIBOBJS=$ac_libobjs
2886 LTLIBOBJS=$ac_ltlibobjs
2890 : ${CONFIG_STATUS=./config.status}
2891 ac_write_fail=0
2892 ac_clean_files_save=$ac_clean_files
2893 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2894 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2895 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2896 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2897 #! $SHELL
2898 # Generated by $as_me.
2899 # Run this file to recreate the current configuration.
2900 # Compiler output produced by configure, useful for debugging
2901 # configure, is in config.log if it exists.
2903 debug=false
2904 ac_cs_recheck=false
2905 ac_cs_silent=false
2906 SHELL=\${CONFIG_SHELL-$SHELL}
2907 _ACEOF
2909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2910 ## --------------------- ##
2911 ## M4sh Initialization. ##
2912 ## --------------------- ##
2914 # Be more Bourne compatible
2915 DUALCASE=1; export DUALCASE # for MKS sh
2916 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2917 emulate sh
2918 NULLCMD=:
2919 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2920 # is contrary to our usage. Disable this feature.
2921 alias -g '${1+"$@"}'='"$@"'
2922 setopt NO_GLOB_SUBST
2923 else
2924 case `(set -o) 2>/dev/null` in
2925 *posix*) set -o posix ;;
2926 esac
2933 # PATH needs CR
2934 # Avoid depending upon Character Ranges.
2935 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2936 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2937 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2938 as_cr_digits='0123456789'
2939 as_cr_alnum=$as_cr_Letters$as_cr_digits
2941 as_nl='
2943 export as_nl
2944 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2945 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2946 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2947 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2948 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2949 as_echo='printf %s\n'
2950 as_echo_n='printf %s'
2951 else
2952 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2953 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2954 as_echo_n='/usr/ucb/echo -n'
2955 else
2956 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2957 as_echo_n_body='eval
2958 arg=$1;
2959 case $arg in
2960 *"$as_nl"*)
2961 expr "X$arg" : "X\\(.*\\)$as_nl";
2962 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2963 esac;
2964 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2966 export as_echo_n_body
2967 as_echo_n='sh -c $as_echo_n_body as_echo'
2969 export as_echo_body
2970 as_echo='sh -c $as_echo_body as_echo'
2973 # The user is always right.
2974 if test "${PATH_SEPARATOR+set}" != set; then
2975 PATH_SEPARATOR=:
2976 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2977 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2978 PATH_SEPARATOR=';'
2982 # Support unset when possible.
2983 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2984 as_unset=unset
2985 else
2986 as_unset=false
2990 # IFS
2991 # We need space, tab and new line, in precisely that order. Quoting is
2992 # there to prevent editors from complaining about space-tab.
2993 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2994 # splitting by setting IFS to empty value.)
2995 IFS=" "" $as_nl"
2997 # Find who we are. Look in the path if we contain no directory separator.
2998 case $0 in
2999 *[\\/]* ) as_myself=$0 ;;
3000 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3006 done
3007 IFS=$as_save_IFS
3010 esac
3011 # We did not find ourselves, most probably we were run as `sh COMMAND'
3012 # in which case we are not to be found in the path.
3013 if test "x$as_myself" = x; then
3014 as_myself=$0
3016 if test ! -f "$as_myself"; then
3017 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3018 { (exit 1); exit 1; }
3021 # Work around bugs in pre-3.0 UWIN ksh.
3022 for as_var in ENV MAIL MAILPATH
3023 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3024 done
3025 PS1='$ '
3026 PS2='> '
3027 PS4='+ '
3029 # NLS nuisances.
3030 LC_ALL=C
3031 export LC_ALL
3032 LANGUAGE=C
3033 export LANGUAGE
3035 # Required to use basename.
3036 if expr a : '\(a\)' >/dev/null 2>&1 &&
3037 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3038 as_expr=expr
3039 else
3040 as_expr=false
3043 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3044 as_basename=basename
3045 else
3046 as_basename=false
3050 # Name of the executable.
3051 as_me=`$as_basename -- "$0" ||
3052 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3053 X"$0" : 'X\(//\)$' \| \
3054 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3055 $as_echo X/"$0" |
3056 sed '/^.*\/\([^/][^/]*\)\/*$/{
3057 s//\1/
3060 /^X\/\(\/\/\)$/{
3061 s//\1/
3064 /^X\/\(\/\).*/{
3065 s//\1/
3068 s/.*/./; q'`
3070 # CDPATH.
3071 $as_unset CDPATH
3075 as_lineno_1=$LINENO
3076 as_lineno_2=$LINENO
3077 test "x$as_lineno_1" != "x$as_lineno_2" &&
3078 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3080 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3081 # uniformly replaced by the line number. The first 'sed' inserts a
3082 # line-number line after each line using $LINENO; the second 'sed'
3083 # does the real work. The second script uses 'N' to pair each
3084 # line-number line with the line containing $LINENO, and appends
3085 # trailing '-' during substitution so that $LINENO is not a special
3086 # case at line end.
3087 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3088 # scripts with optimization help from Paolo Bonzini. Blame Lee
3089 # E. McMahon (1931-1989) for sed's syntax. :-)
3090 sed -n '
3092 /[$]LINENO/=
3093 ' <$as_myself |
3094 sed '
3095 s/[$]LINENO.*/&-/
3096 t lineno
3098 :lineno
3100 :loop
3101 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3102 t loop
3103 s/-\n.*//
3104 ' >$as_me.lineno &&
3105 chmod +x "$as_me.lineno" ||
3106 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3107 { (exit 1); exit 1; }; }
3109 # Don't try to exec as it changes $[0], causing all sort of problems
3110 # (the dirname of $[0] is not the place where we might find the
3111 # original and so on. Autoconf is especially sensitive to this).
3112 . "./$as_me.lineno"
3113 # Exit status is that of the last command.
3114 exit
3118 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3119 as_dirname=dirname
3120 else
3121 as_dirname=false
3124 ECHO_C= ECHO_N= ECHO_T=
3125 case `echo -n x` in
3126 -n*)
3127 case `echo 'x\c'` in
3128 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3129 *) ECHO_C='\c';;
3130 esac;;
3132 ECHO_N='-n';;
3133 esac
3134 if expr a : '\(a\)' >/dev/null 2>&1 &&
3135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3136 as_expr=expr
3137 else
3138 as_expr=false
3141 rm -f conf$$ conf$$.exe conf$$.file
3142 if test -d conf$$.dir; then
3143 rm -f conf$$.dir/conf$$.file
3144 else
3145 rm -f conf$$.dir
3146 mkdir conf$$.dir 2>/dev/null
3148 if (echo >conf$$.file) 2>/dev/null; then
3149 if ln -s conf$$.file conf$$ 2>/dev/null; then
3150 as_ln_s='ln -s'
3151 # ... but there are two gotchas:
3152 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3153 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3154 # In both cases, we have to default to `cp -p'.
3155 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3156 as_ln_s='cp -p'
3157 elif ln conf$$.file conf$$ 2>/dev/null; then
3158 as_ln_s=ln
3159 else
3160 as_ln_s='cp -p'
3162 else
3163 as_ln_s='cp -p'
3165 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3166 rmdir conf$$.dir 2>/dev/null
3168 if mkdir -p . 2>/dev/null; then
3169 as_mkdir_p=:
3170 else
3171 test -d ./-p && rmdir ./-p
3172 as_mkdir_p=false
3175 if test -x / >/dev/null 2>&1; then
3176 as_test_x='test -x'
3177 else
3178 if ls -dL / >/dev/null 2>&1; then
3179 as_ls_L_option=L
3180 else
3181 as_ls_L_option=
3183 as_test_x='
3184 eval sh -c '\''
3185 if test -d "$1"; then
3186 test -d "$1/.";
3187 else
3188 case $1 in
3189 -*)set "./$1";;
3190 esac;
3191 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3192 ???[sx]*):;;*)false;;esac;fi
3193 '\'' sh
3196 as_executable_p=$as_test_x
3198 # Sed expression to map a string onto a valid CPP name.
3199 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3201 # Sed expression to map a string onto a valid variable name.
3202 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3205 exec 6>&1
3207 # Save the log message, to keep $[0] and so on meaningful, and to
3208 # report actual input values of CONFIG_FILES etc. instead of their
3209 # values after options handling.
3210 ac_log="
3211 This file was extended by GNU Automake $as_me 1.10a, which was
3212 generated by GNU Autoconf 2.62. Invocation command line was
3214 CONFIG_FILES = $CONFIG_FILES
3215 CONFIG_HEADERS = $CONFIG_HEADERS
3216 CONFIG_LINKS = $CONFIG_LINKS
3217 CONFIG_COMMANDS = $CONFIG_COMMANDS
3218 $ $0 $@
3220 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3223 _ACEOF
3225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3226 # Files that config.status was made for.
3227 config_files="$ac_config_files"
3229 _ACEOF
3231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3232 ac_cs_usage="\
3233 \`$as_me' instantiates files from templates according to the
3234 current configuration.
3236 Usage: $0 [OPTIONS] [FILE]...
3238 -h, --help print this help, then exit
3239 -V, --version print version number and configuration settings, then exit
3240 -q, --quiet do not print progress messages
3241 -d, --debug don't remove temporary files
3242 --recheck update $as_me by reconfiguring in the same conditions
3243 --file=FILE[:TEMPLATE]
3244 instantiate the configuration file FILE
3246 Configuration files:
3247 $config_files
3249 Report bugs to <bug-autoconf@gnu.org>."
3251 _ACEOF
3252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3253 ac_cs_version="\\
3254 GNU Automake config.status 1.10a
3255 configured by $0, generated by GNU Autoconf 2.62,
3256 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3258 Copyright (C) 2008 Free Software Foundation, Inc.
3259 This config.status script is free software; the Free Software Foundation
3260 gives unlimited permission to copy, distribute and modify it."
3262 ac_pwd='$ac_pwd'
3263 srcdir='$srcdir'
3264 INSTALL='$INSTALL'
3265 MKDIR_P='$MKDIR_P'
3266 AWK='$AWK'
3267 test -n "\$AWK" || AWK=awk
3268 _ACEOF
3270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3271 # The default lists apply if the user does not specify any file.
3272 ac_need_defaults=:
3273 while test $# != 0
3275 case $1 in
3276 --*=*)
3277 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3278 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3279 ac_shift=:
3282 ac_option=$1
3283 ac_optarg=$2
3284 ac_shift=shift
3286 esac
3288 case $ac_option in
3289 # Handling of the options.
3290 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3291 ac_cs_recheck=: ;;
3292 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3293 $as_echo "$ac_cs_version"; exit ;;
3294 --debug | --debu | --deb | --de | --d | -d )
3295 debug=: ;;
3296 --file | --fil | --fi | --f )
3297 $ac_shift
3298 case $ac_optarg in
3299 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3300 esac
3301 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3302 ac_need_defaults=false;;
3303 --he | --h | --help | --hel | -h )
3304 $as_echo "$ac_cs_usage"; exit ;;
3305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3306 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3307 ac_cs_silent=: ;;
3309 # This is an error.
3310 -*) { $as_echo "$as_me: error: unrecognized option: $1
3311 Try \`$0 --help' for more information." >&2
3312 { (exit 1); exit 1; }; } ;;
3314 *) ac_config_targets="$ac_config_targets $1"
3315 ac_need_defaults=false ;;
3317 esac
3318 shift
3319 done
3321 ac_configure_extra_args=
3323 if $ac_cs_silent; then
3324 exec 6>/dev/null
3325 ac_configure_extra_args="$ac_configure_extra_args --silent"
3328 _ACEOF
3329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3330 if \$ac_cs_recheck; then
3331 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3332 shift
3333 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3334 CONFIG_SHELL='$SHELL'
3335 export CONFIG_SHELL
3336 exec "\$@"
3339 _ACEOF
3340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3341 exec 5>>config.log
3343 echo
3344 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3345 ## Running $as_me. ##
3346 _ASBOX
3347 $as_echo "$ac_log"
3348 } >&5
3350 _ACEOF
3351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3353 # INIT-COMMANDS
3355 APIVERSION=$APIVERSION
3357 _ACEOF
3359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3361 # Handling of arguments.
3362 for ac_config_target in $ac_config_targets
3364 case $ac_config_target in
3365 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3366 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3367 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3368 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3369 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3370 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3371 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3372 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3373 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3374 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3375 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3377 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3378 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3379 { (exit 1); exit 1; }; };;
3380 esac
3381 done
3384 # If the user did not use the arguments to specify the items to instantiate,
3385 # then the envvar interface is used. Set only those that are not.
3386 # We use the long form for the default assignment because of an extremely
3387 # bizarre bug on SunOS 4.1.3.
3388 if $ac_need_defaults; then
3389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3392 # Have a temporary directory for convenience. Make it in the build tree
3393 # simply because there is no reason against having it here, and in addition,
3394 # creating and moving files from /tmp can sometimes cause problems.
3395 # Hook for its removal unless debugging.
3396 # Note that there is a small window in which the directory will not be cleaned:
3397 # after its creation but before its name has been assigned to `$tmp'.
3398 $debug ||
3400 tmp=
3401 trap 'exit_status=$?
3402 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3404 trap '{ (exit 1); exit 1; }' 1 2 13 15
3406 # Create a (secure) tmp directory for tmp files.
3409 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3410 test -n "$tmp" && test -d "$tmp"
3411 } ||
3413 tmp=./conf$$-$RANDOM
3414 (umask 077 && mkdir "$tmp")
3415 } ||
3417 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3418 { (exit 1); exit 1; }
3421 # Set up the scripts for CONFIG_FILES section.
3422 # No need to generate them if there are no CONFIG_FILES.
3423 # This happens for instance with `./config.status config.h'.
3424 if test -n "$CONFIG_FILES"; then
3427 ac_cr=' '
3428 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3429 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3430 ac_cs_awk_cr='\\r'
3431 else
3432 ac_cs_awk_cr=$ac_cr
3435 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3436 _ACEOF
3440 echo "cat >conf$$subs.awk <<_ACEOF" &&
3441 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3442 echo "_ACEOF"
3443 } >conf$$subs.sh ||
3444 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3445 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3446 { (exit 1); exit 1; }; }
3447 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3448 ac_delim='%!_!# '
3449 for ac_last_try in false false false false false :; do
3450 . ./conf$$subs.sh ||
3451 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3452 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3453 { (exit 1); exit 1; }; }
3455 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3456 break
3457 elif $ac_last_try; then
3458 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3459 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3460 { (exit 1); exit 1; }; }
3461 else
3462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3464 done
3465 rm -f conf$$subs.sh
3467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3468 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3469 _ACEOF
3470 sed -n '
3472 s/^/S["/; s/!.*/"]=/
3475 s/^[^!]*!//
3476 :repl
3477 t repl
3478 s/'"$ac_delim"'$//
3479 t delim
3482 s/\(.\{148\}\).*/\1/
3483 t more1
3484 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3487 b repl
3488 :more1
3489 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3492 s/.\{148\}//
3493 t nl
3494 :delim
3496 s/\(.\{148\}\).*/\1/
3497 t more2
3498 s/["\\]/\\&/g; s/^/"/; s/$/"/
3501 :more2
3502 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3505 s/.\{148\}//
3506 t delim
3507 ' <conf$$subs.awk | sed '
3508 /^[^""]/{
3510 s/\n//
3512 ' >>$CONFIG_STATUS || ac_write_fail=1
3513 rm -f conf$$subs.awk
3514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3515 _ACAWK
3516 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3517 for (key in S) S_is_set[key] = 1
3518 FS = "\a"
3522 line = $ 0
3523 nfields = split(line, field, "@")
3524 substed = 0
3525 len = length(field[1])
3526 for (i = 2; i < nfields; i++) {
3527 key = field[i]
3528 keylen = length(key)
3529 if (S_is_set[key]) {
3530 value = S[key]
3531 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3532 len += length(value) + length(field[++i])
3533 substed = 1
3534 } else
3535 len += 1 + keylen
3538 print line
3541 _ACAWK
3542 _ACEOF
3543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3544 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3545 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3546 else
3548 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3549 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3550 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3551 { (exit 1); exit 1; }; }
3552 _ACEOF
3554 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3555 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3556 # trailing colons and then remove the whole line if VPATH becomes empty
3557 # (actually we leave an empty line to preserve line numbers).
3558 if test "x$srcdir" = x.; then
3559 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3560 s/:*\$(srcdir):*/:/
3561 s/:*\${srcdir}:*/:/
3562 s/:*@srcdir@:*/:/
3563 s/^\([^=]*=[ ]*\):*/\1/
3564 s/:*$//
3565 s/^[^=]*=[ ]*$//
3569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3570 fi # test -n "$CONFIG_FILES"
3573 eval set X " :F $CONFIG_FILES "
3574 shift
3575 for ac_tag
3577 case $ac_tag in
3578 :[FHLC]) ac_mode=$ac_tag; continue;;
3579 esac
3580 case $ac_mode$ac_tag in
3581 :[FHL]*:*);;
3582 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3583 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3584 { (exit 1); exit 1; }; };;
3585 :[FH]-) ac_tag=-:-;;
3586 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3587 esac
3588 ac_save_IFS=$IFS
3589 IFS=:
3590 set x $ac_tag
3591 IFS=$ac_save_IFS
3592 shift
3593 ac_file=$1
3594 shift
3596 case $ac_mode in
3597 :L) ac_source=$1;;
3598 :[FH])
3599 ac_file_inputs=
3600 for ac_f
3602 case $ac_f in
3603 -) ac_f="$tmp/stdin";;
3604 *) # Look for the file first in the build tree, then in the source tree
3605 # (if the path is not absolute). The absolute path cannot be DOS-style,
3606 # because $ac_f cannot contain `:'.
3607 test -f "$ac_f" ||
3608 case $ac_f in
3609 [\\/$]*) false;;
3610 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3611 esac ||
3612 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3613 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3614 { (exit 1); exit 1; }; };;
3615 esac
3616 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3617 ac_file_inputs="$ac_file_inputs '$ac_f'"
3618 done
3620 # Let's still pretend it is `configure' which instantiates (i.e., don't
3621 # use $as_me), people would be surprised to read:
3622 # /* config.h. Generated by config.status. */
3623 configure_input='Generated from '`
3624 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3625 `' by configure.'
3626 if test x"$ac_file" != x-; then
3627 configure_input="$ac_file. $configure_input"
3628 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3629 $as_echo "$as_me: creating $ac_file" >&6;}
3631 # Neutralize special characters interpreted by sed in replacement strings.
3632 case $configure_input in #(
3633 *\&* | *\|* | *\\* )
3634 ac_sed_conf_input=`$as_echo "$configure_input" |
3635 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3636 *) ac_sed_conf_input=$configure_input;;
3637 esac
3639 case $ac_tag in
3640 *:-:* | *:-) cat >"$tmp/stdin" \
3641 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3642 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3643 { (exit 1); exit 1; }; } ;;
3644 esac
3646 esac
3648 ac_dir=`$as_dirname -- "$ac_file" ||
3649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3650 X"$ac_file" : 'X\(//\)[^/]' \| \
3651 X"$ac_file" : 'X\(//\)$' \| \
3652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3653 $as_echo X"$ac_file" |
3654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3655 s//\1/
3658 /^X\(\/\/\)[^/].*/{
3659 s//\1/
3662 /^X\(\/\/\)$/{
3663 s//\1/
3666 /^X\(\/\).*/{
3667 s//\1/
3670 s/.*/./; q'`
3671 { as_dir="$ac_dir"
3672 case $as_dir in #(
3673 -*) as_dir=./$as_dir;;
3674 esac
3675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3676 as_dirs=
3677 while :; do
3678 case $as_dir in #(
3679 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3680 *) as_qdir=$as_dir;;
3681 esac
3682 as_dirs="'$as_qdir' $as_dirs"
3683 as_dir=`$as_dirname -- "$as_dir" ||
3684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3685 X"$as_dir" : 'X\(//\)[^/]' \| \
3686 X"$as_dir" : 'X\(//\)$' \| \
3687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3688 $as_echo X"$as_dir" |
3689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3690 s//\1/
3693 /^X\(\/\/\)[^/].*/{
3694 s//\1/
3697 /^X\(\/\/\)$/{
3698 s//\1/
3701 /^X\(\/\).*/{
3702 s//\1/
3705 s/.*/./; q'`
3706 test -d "$as_dir" && break
3707 done
3708 test -z "$as_dirs" || eval "mkdir $as_dirs"
3709 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3710 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3711 { (exit 1); exit 1; }; }; }
3712 ac_builddir=.
3714 case "$ac_dir" in
3715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3717 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3718 # A ".." for each directory in $ac_dir_suffix.
3719 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3720 case $ac_top_builddir_sub in
3721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3723 esac ;;
3724 esac
3725 ac_abs_top_builddir=$ac_pwd
3726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3727 # for backward compatibility:
3728 ac_top_builddir=$ac_top_build_prefix
3730 case $srcdir in
3731 .) # We are building in place.
3732 ac_srcdir=.
3733 ac_top_srcdir=$ac_top_builddir_sub
3734 ac_abs_top_srcdir=$ac_pwd ;;
3735 [\\/]* | ?:[\\/]* ) # Absolute name.
3736 ac_srcdir=$srcdir$ac_dir_suffix;
3737 ac_top_srcdir=$srcdir
3738 ac_abs_top_srcdir=$srcdir ;;
3739 *) # Relative name.
3740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3741 ac_top_srcdir=$ac_top_build_prefix$srcdir
3742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3743 esac
3744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3747 case $ac_mode in
3750 # CONFIG_FILE
3753 case $INSTALL in
3754 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3755 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3756 esac
3757 ac_MKDIR_P=$MKDIR_P
3758 case $MKDIR_P in
3759 [\\/$]* | ?:[\\/]* ) ;;
3760 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3761 esac
3762 _ACEOF
3764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3765 # If the template does not know about datarootdir, expand it.
3766 # FIXME: This hack should be removed a few years after 2.60.
3767 ac_datarootdir_hack=; ac_datarootdir_seen=
3769 ac_sed_dataroot='
3770 /datarootdir/ {
3774 /@datadir@/p
3775 /@docdir@/p
3776 /@infodir@/p
3777 /@localedir@/p
3778 /@mandir@/p
3780 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3781 *datarootdir*) ac_datarootdir_seen=yes;;
3782 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3783 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3784 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3785 _ACEOF
3786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3787 ac_datarootdir_hack='
3788 s&@datadir@&$datadir&g
3789 s&@docdir@&$docdir&g
3790 s&@infodir@&$infodir&g
3791 s&@localedir@&$localedir&g
3792 s&@mandir@&$mandir&g
3793 s&\\\${datarootdir}&$datarootdir&g' ;;
3794 esac
3795 _ACEOF
3797 # Neutralize VPATH when `$srcdir' = `.'.
3798 # Shell code in configure.ac might set extrasub.
3799 # FIXME: do we really want to maintain this feature?
3800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3801 ac_sed_extra="$ac_vpsub
3802 $extrasub
3803 _ACEOF
3804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3807 s|@configure_input@|$ac_sed_conf_input|;t t
3808 s&@top_builddir@&$ac_top_builddir_sub&;t t
3809 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3810 s&@srcdir@&$ac_srcdir&;t t
3811 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3812 s&@top_srcdir@&$ac_top_srcdir&;t t
3813 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3814 s&@builddir@&$ac_builddir&;t t
3815 s&@abs_builddir@&$ac_abs_builddir&;t t
3816 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3817 s&@INSTALL@&$ac_INSTALL&;t t
3818 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3819 $ac_datarootdir_hack
3821 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3822 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3823 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3824 { (exit 1); exit 1; }; }
3826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3827 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3829 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3830 which seems to be undefined. Please make sure it is defined." >&5
3831 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3832 which seems to be undefined. Please make sure it is defined." >&2;}
3834 rm -f "$tmp/stdin"
3835 case $ac_file in
3836 -) cat "$tmp/out" && rm -f "$tmp/out";;
3837 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3838 esac \
3839 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3840 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3841 { (exit 1); exit 1; }; }
3846 esac
3849 case $ac_file$ac_mode in
3850 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3851 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3853 esac
3854 done # for ac_tag
3857 { (exit 0); exit 0; }
3858 _ACEOF
3859 chmod +x $CONFIG_STATUS
3860 ac_clean_files=$ac_clean_files_save
3862 test $ac_write_fail = 0 ||
3863 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3864 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3865 { (exit 1); exit 1; }; }
3868 # configure is writing to config.log, and then calls config.status.
3869 # config.status does its own redirection, appending to config.log.
3870 # Unfortunately, on DOS this fails, as config.log is still kept open
3871 # by configure, so config.status won't be able to write to it; its
3872 # output is simply discarded. So we exec the FD to /dev/null,
3873 # effectively closing config.log, so it can be properly (re)opened and
3874 # appended to by config.status. When coming back to configure, we
3875 # need to make the FD available again.
3876 if test "$no_create" != yes; then
3877 ac_cs_success=:
3878 ac_config_status_args=
3879 test "$silent" = yes &&
3880 ac_config_status_args="$ac_config_status_args --quiet"
3881 exec 5>/dev/null
3882 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3883 exec 5>>config.log
3884 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3885 # would make configure fail if this is the last instruction.
3886 $ac_cs_success || { (exit 1); exit 1; }
3888 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3889 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3890 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}