Fix nits in the manual.
[automake/plouj.git] / configure
blob08f758609ddf82d403ac52ba33171669809b8bd0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61a.379-fd8b 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 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.61a.379-fd8b
1378 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1379 2002, 2003, 2004, 2005, 2006, 2007 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.61a.379-fd8b. 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 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1687 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1688 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1689 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1690 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1691 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1692 ac_cache_corrupted=:
1693 fi;;
1694 esac
1695 # Pass precious variables to config.status.
1696 if test "$ac_new_set" = set; then
1697 case $ac_new_val in
1698 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1699 *) ac_arg=$ac_var=$ac_new_val ;;
1700 esac
1701 case " $ac_configure_args " in
1702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1703 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1704 esac
1706 done
1707 if $ac_cache_corrupted; then
1708 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1709 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1710 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1711 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1712 { (exit 1); exit 1; }; }
1739 ac_ext=c
1740 ac_cpp='$CPP $CPPFLAGS'
1741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1748 ac_aux_dir=
1749 for ac_dir in lib "$srcdir"/lib; do
1750 if test -f "$ac_dir/install-sh"; then
1751 ac_aux_dir=$ac_dir
1752 ac_install_sh="$ac_aux_dir/install-sh -c"
1753 break
1754 elif test -f "$ac_dir/install.sh"; then
1755 ac_aux_dir=$ac_dir
1756 ac_install_sh="$ac_aux_dir/install.sh -c"
1757 break
1758 elif test -f "$ac_dir/shtool"; then
1759 ac_aux_dir=$ac_dir
1760 ac_install_sh="$ac_aux_dir/shtool install -c"
1761 break
1763 done
1764 if test -z "$ac_aux_dir"; then
1765 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1766 $as_echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1767 { (exit 1); exit 1; }; }
1770 # These three variables are undocumented and unsupported,
1771 # and are intended to be withdrawn in a future Autoconf release.
1772 # They can cause serious problems if a builder's source tree is in a directory
1773 # whose full name contains unusual characters.
1774 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1775 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1776 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1780 # Make sure we can run config.sub.
1781 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1782 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1783 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1784 { (exit 1); exit 1; }; }
1786 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1787 $as_echo_n "checking build system type... " >&6; }
1788 if test "${ac_cv_build+set}" = set; then
1789 $as_echo_n "(cached) " >&6
1790 else
1791 ac_build_alias=$build_alias
1792 test "x$ac_build_alias" = x &&
1793 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1794 test "x$ac_build_alias" = x &&
1795 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1796 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1797 { (exit 1); exit 1; }; }
1798 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1799 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1800 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1801 { (exit 1); exit 1; }; }
1804 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1805 $as_echo "$ac_cv_build" >&6; }
1806 case $ac_cv_build in
1807 *-*-*) ;;
1808 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1809 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1810 { (exit 1); exit 1; }; };;
1811 esac
1812 build=$ac_cv_build
1813 ac_save_IFS=$IFS; IFS='-'
1814 set x $ac_cv_build
1815 shift
1816 build_cpu=$1
1817 build_vendor=$2
1818 shift; shift
1819 # Remember, the first character of IFS is used to create $*,
1820 # except with old shells:
1821 build_os=$*
1822 IFS=$ac_save_IFS
1823 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1827 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1828 # way we can run Autoconf tests from configure (or from the test
1829 # suite) without being bothered by `missing'.
1830 am_AUTOCONF="${AUTOCONF-autoconf}"
1833 am__api_version='1.10a'
1835 # Find a good install program. We prefer a C program (faster),
1836 # so one script is as good as another. But avoid the broken or
1837 # incompatible versions:
1838 # SysV /etc/install, /usr/sbin/install
1839 # SunOS /usr/etc/install
1840 # IRIX /sbin/install
1841 # AIX /bin/install
1842 # AmigaOS /C/install, which installs bootblocks on floppy discs
1843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1846 # OS/2's system install, which has a completely different semantic
1847 # ./install, which can be erroneously created by make from ./install.sh.
1848 # Reject install programs that cannot install multiple files.
1849 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1850 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1851 if test -z "$INSTALL"; then
1852 if test "${ac_cv_path_install+set}" = set; then
1853 $as_echo_n "(cached) " >&6
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 # Account for people who put trailing slashes in PATH elements.
1861 case $as_dir/ in
1862 ./ | .// | /cC/* | \
1863 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1864 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1865 /usr/ucb/* ) ;;
1867 # OSF1 and SCO ODT 3.0 have their own names for install.
1868 # Don't use installbsd from OSF since it installs stuff as root
1869 # by default.
1870 for ac_prog in ginstall scoinst install; do
1871 for ac_exec_ext in '' $ac_executable_extensions; do
1872 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1873 if test $ac_prog = install &&
1874 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1875 # AIX install. It has an incompatible calling convention.
1877 elif test $ac_prog = install &&
1878 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1879 # program-specific install script used by HP pwplus--don't use.
1881 else
1882 rm -rf conftest.one conftest.two conftest.dir
1883 echo one > conftest.one
1884 echo two > conftest.two
1885 mkdir conftest.dir
1886 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1887 test -s conftest.one && test -s conftest.two &&
1888 test -s conftest.dir/conftest.one &&
1889 test -s conftest.dir/conftest.two
1890 then
1891 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1892 break 3
1896 done
1897 done
1899 esac
1901 done
1902 IFS=$as_save_IFS
1904 rm -rf conftest.one conftest.two conftest.dir
1907 if test "${ac_cv_path_install+set}" = set; then
1908 INSTALL=$ac_cv_path_install
1909 else
1910 # As a last resort, use the slow shell script. Don't cache a
1911 # value for INSTALL within a source directory, because that will
1912 # break other packages using the cache if that directory is
1913 # removed, or if the value is a relative name.
1914 INSTALL=$ac_install_sh
1917 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1918 $as_echo "$INSTALL" >&6; }
1920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1921 # It thinks the first close brace ends the variable substitution.
1922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1926 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1928 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1929 $as_echo_n "checking whether build environment is sane... " >&6; }
1930 # Just in case
1931 sleep 1
1932 echo timestamp > conftest.file
1933 # Do `set' in a subshell so we don't clobber the current shell's
1934 # arguments. Must try -L first in case configure is actually a
1935 # symlink; some systems play weird games with the mod time of symlinks
1936 # (eg FreeBSD returns the mod time of the symlink's containing
1937 # directory).
1938 if (
1939 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1940 if test "$*" = "X"; then
1941 # -L didn't work.
1942 set X `ls -t $srcdir/configure conftest.file`
1944 rm -f conftest.file
1945 if test "$*" != "X $srcdir/configure conftest.file" \
1946 && test "$*" != "X conftest.file $srcdir/configure"; then
1948 # If neither matched, then we have a broken ls. This can happen
1949 # if, for instance, CONFIG_SHELL is bash and it inherits a
1950 # broken ls alias from the environment. This has actually
1951 # happened. Such a system could not be considered "sane".
1952 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1953 alias in your environment" >&5
1954 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1955 alias in your environment" >&2;}
1956 { (exit 1); exit 1; }; }
1959 test "$2" = conftest.file
1961 then
1962 # Ok.
1964 else
1965 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1966 Check your system clock" >&5
1967 $as_echo "$as_me: error: newly created file is older than distributed files!
1968 Check your system clock" >&2;}
1969 { (exit 1); exit 1; }; }
1971 { $as_echo "$as_me:$LINENO: result: yes" >&5
1972 $as_echo "yes" >&6; }
1973 test "$program_prefix" != NONE &&
1974 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1975 # Use a double $ so make ignores it.
1976 test "$program_suffix" != NONE &&
1977 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1978 # Double any \ or $.
1979 # By default was `s,x,x', remove it if useless.
1980 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1981 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1983 # expand $ac_aux_dir to an absolute path
1984 am_aux_dir=`cd $ac_aux_dir && pwd`
1986 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1987 # Use eval to expand $SHELL
1988 if eval "$MISSING --run true"; then
1989 am_missing_run="$MISSING --run "
1990 else
1991 am_missing_run=
1992 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1993 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1996 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1997 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1998 if test -z "$MKDIR_P"; then
1999 if test "${ac_cv_path_mkdir+set}" = set; then
2000 $as_echo_n "(cached) " >&6
2001 else
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2005 IFS=$as_save_IFS
2006 test -z "$as_dir" && as_dir=.
2007 for ac_prog in mkdir gmkdir; do
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2010 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2011 'mkdir (GNU coreutils) '* | \
2012 'mkdir (coreutils) '* | \
2013 'mkdir (fileutils) '4.1*)
2014 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2015 break 3;;
2016 esac
2017 done
2018 done
2019 done
2020 IFS=$as_save_IFS
2024 if test "${ac_cv_path_mkdir+set}" = set; then
2025 MKDIR_P="$ac_cv_path_mkdir -p"
2026 else
2027 # As a last resort, use the slow shell script. Don't cache a
2028 # value for MKDIR_P within a source directory, because that will
2029 # break other packages using the cache if that directory is
2030 # removed, or if the value is a relative name.
2031 test -d ./--version && rmdir ./--version
2032 MKDIR_P="$ac_install_sh -d"
2035 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2036 $as_echo "$MKDIR_P" >&6; }
2038 mkdir_p="$MKDIR_P"
2039 case $mkdir_p in
2040 [\\/$]* | ?:[\\/]*) ;;
2041 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2042 esac
2044 for ac_prog in gawk mawk nawk awk
2046 # Extract the first word of "$ac_prog", so it can be a program name with args.
2047 set dummy $ac_prog; ac_word=$2
2048 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 $as_echo_n "checking for $ac_word... " >&6; }
2050 if test "${ac_cv_prog_AWK+set}" = set; then
2051 $as_echo_n "(cached) " >&6
2052 else
2053 if test -n "$AWK"; then
2054 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_AWK="$ac_prog"
2064 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2067 done
2068 done
2069 IFS=$as_save_IFS
2073 AWK=$ac_cv_prog_AWK
2074 if test -n "$AWK"; then
2075 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2076 $as_echo "$AWK" >&6; }
2077 else
2078 { $as_echo "$as_me:$LINENO: result: no" >&5
2079 $as_echo "no" >&6; }
2083 test -n "$AWK" && break
2084 done
2086 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2087 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2088 set x ${MAKE-make}
2089 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2090 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2091 $as_echo_n "(cached) " >&6
2092 else
2093 cat >conftest.make <<\_ACEOF
2094 SHELL = /bin/sh
2095 all:
2096 @echo '@@@%%%=$(MAKE)=@@@%%%'
2097 _ACEOF
2098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2099 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2100 *@@@%%%=?*=@@@%%%*)
2101 eval ac_cv_prog_make_${ac_make}_set=yes;;
2103 eval ac_cv_prog_make_${ac_make}_set=no;;
2104 esac
2105 rm -f conftest.make
2107 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2108 { $as_echo "$as_me:$LINENO: result: yes" >&5
2109 $as_echo "yes" >&6; }
2110 SET_MAKE=
2111 else
2112 { $as_echo "$as_me:$LINENO: result: no" >&5
2113 $as_echo "no" >&6; }
2114 SET_MAKE="MAKE=${MAKE-make}"
2117 rm -rf .tst 2>/dev/null
2118 mkdir .tst 2>/dev/null
2119 if test -d .tst; then
2120 am__leading_dot=.
2121 else
2122 am__leading_dot=_
2124 rmdir .tst 2>/dev/null
2126 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2127 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2128 # is not polluted with repeated "-I."
2129 am__isrc=' -I$(srcdir)'
2130 # test to see if srcdir already configured
2131 if test -f $srcdir/config.status; then
2132 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2133 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2134 { (exit 1); exit 1; }; }
2138 # test whether we have cygpath
2139 if test -z "$CYGPATH_W"; then
2140 if (cygpath --version) >/dev/null 2>/dev/null; then
2141 CYGPATH_W='cygpath -w'
2142 else
2143 CYGPATH_W=echo
2148 # Define the identity of the package.
2149 PACKAGE='automake'
2150 VERSION='1.10a'
2153 cat >>confdefs.h <<_ACEOF
2154 #define PACKAGE "$PACKAGE"
2155 _ACEOF
2158 cat >>confdefs.h <<_ACEOF
2159 #define VERSION "$VERSION"
2160 _ACEOF
2162 # Some tools Automake needs.
2164 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2167 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2170 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2173 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2176 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2178 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2180 # Installed binaries are usually stripped using `strip' when the user
2181 # run `make install-strip'. However `strip' might not be the right
2182 # tool to use in cross-compilation environments, therefore Automake
2183 # will honor the `STRIP' environment variable to overrule this program.
2184 if test "$cross_compiling" != no; then
2185 if test -n "$ac_tool_prefix"; then
2186 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2187 set dummy ${ac_tool_prefix}strip; ac_word=$2
2188 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if test "${ac_cv_prog_STRIP+set}" = set; then
2191 $as_echo_n "(cached) " >&6
2192 else
2193 if test -n "$STRIP"; then
2194 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2199 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2204 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2213 STRIP=$ac_cv_prog_STRIP
2214 if test -n "$STRIP"; then
2215 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2216 $as_echo "$STRIP" >&6; }
2217 else
2218 { $as_echo "$as_me:$LINENO: result: no" >&5
2219 $as_echo "no" >&6; }
2224 if test -z "$ac_cv_prog_STRIP"; then
2225 ac_ct_STRIP=$STRIP
2226 # Extract the first word of "strip", so it can be a program name with args.
2227 set dummy strip; ac_word=$2
2228 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 $as_echo_n "checking for $ac_word... " >&6; }
2230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2231 $as_echo_n "(cached) " >&6
2232 else
2233 if test -n "$ac_ct_STRIP"; then
2234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_ac_ct_STRIP="strip"
2244 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2249 IFS=$as_save_IFS
2253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2254 if test -n "$ac_ct_STRIP"; then
2255 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2256 $as_echo "$ac_ct_STRIP" >&6; }
2257 else
2258 { $as_echo "$as_me:$LINENO: result: no" >&5
2259 $as_echo "no" >&6; }
2262 if test "x$ac_ct_STRIP" = x; then
2263 STRIP=":"
2264 else
2265 case $cross_compiling:$ac_tool_warned in
2266 yes:)
2267 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2268 whose name does not start with the host triplet. If you think this
2269 configuration is useful to you, please write to autoconf@gnu.org." >&5
2270 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2271 whose name does not start with the host triplet. If you think this
2272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2273 ac_tool_warned=yes ;;
2274 esac
2275 STRIP=$ac_ct_STRIP
2277 else
2278 STRIP="$ac_cv_prog_STRIP"
2282 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2284 # We need awk for the "check" target. The system "awk" is bad on
2285 # some platforms.
2286 # Always define AMTAR for backward compatibility.
2288 AMTAR=${AMTAR-"${am_missing_run}tar"}
2290 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2297 # The API version is the base version. We must guarantee
2298 # compatibility for all releases with the same API version.
2299 # Our current rule is that:
2300 # * All releases, including the prereleases, in an X.Y series
2301 # are compatible. So 1.5.1c is compatible with 1.5.
2302 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2303 # aren't the same.
2304 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2307 # A versioned directory, defined here for convenience.
2308 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2311 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2312 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2313 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2314 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2316 # Extract the first word of "perl", so it can be a program name with args.
2317 set dummy perl; ac_word=$2
2318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 $as_echo_n "checking for $ac_word... " >&6; }
2320 if test "${ac_cv_path_PERL+set}" = set; then
2321 $as_echo_n "(cached) " >&6
2322 else
2323 case $PERL in
2324 [\\/]* | ?:[\\/]*)
2325 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2336 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2339 done
2340 done
2341 IFS=$as_save_IFS
2344 esac
2346 PERL=$ac_cv_path_PERL
2347 if test -n "$PERL"; then
2348 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2349 $as_echo "$PERL" >&6; }
2350 else
2351 { $as_echo "$as_me:$LINENO: result: no" >&5
2352 $as_echo "no" >&6; }
2356 if test -z "$PERL"; then
2357 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
2358 $as_echo "$as_me: error: perl not found" >&2;}
2359 { (exit 1); exit 1; }; }
2361 $PERL -e 'require 5.006;' || {
2362 { { $as_echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2363 is recommended. If you have several perl versions
2364 installed, select the one Automake should use using
2365 ./configure PERL=/path/to/perl" >&5
2366 $as_echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2367 is recommended. If you have several perl versions
2368 installed, select the one Automake should use using
2369 ./configure PERL=/path/to/perl" >&2;}
2370 { (exit 1); exit 1; }; }
2373 # The test suite will skip some tests if tex is absent.
2374 # Extract the first word of "tex", so it can be a program name with args.
2375 set dummy tex; ac_word=$2
2376 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2377 $as_echo_n "checking for $ac_word... " >&6; }
2378 if test "${ac_cv_prog_TEX+set}" = set; then
2379 $as_echo_n "(cached) " >&6
2380 else
2381 if test -n "$TEX"; then
2382 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2383 else
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 for as_dir in $PATH
2387 IFS=$as_save_IFS
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2391 ac_cv_prog_TEX="tex"
2392 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 break 2
2395 done
2396 done
2397 IFS=$as_save_IFS
2401 TEX=$ac_cv_prog_TEX
2402 if test -n "$TEX"; then
2403 { $as_echo "$as_me:$LINENO: result: $TEX" >&5
2404 $as_echo "$TEX" >&6; }
2405 else
2406 { $as_echo "$as_me:$LINENO: result: no" >&5
2407 $as_echo "no" >&6; }
2412 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2413 # deletion of any files created (such as those added to
2414 # autom4te.cache). We used to perform only the last of the three
2415 # following tests, but some users were unable to figure out that their
2416 # installation was broken since --version appeared to work.
2418 { $as_echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2419 $as_echo_n "checking whether autoconf is installed... " >&6; }
2420 if test "${am_cv_autoconf_installed+set}" = set; then
2421 $as_echo_n "(cached) " >&6
2422 else
2423 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2424 (eval $am_AUTOCONF --version) >&5 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); };
2428 then
2429 am_cv_autoconf_installed=yes
2430 else
2431 am_cv_autoconf_installed=no
2434 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2435 $as_echo "$am_cv_autoconf_installed" >&6; }
2436 if test "$am_cv_autoconf_installed" = no; then
2437 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2438 Please make sure it is installed and in your PATH." >&5
2439 $as_echo "$as_me: error: Autoconf 2.60 or better is required.
2440 Please make sure it is installed and in your PATH." >&2;}
2441 { (exit 1); exit 1; }; }
2444 { $as_echo "$as_me:$LINENO: checking whether autoconf works" >&5
2445 $as_echo_n "checking whether autoconf works... " >&6; }
2446 if test "${am_cv_autoconf_works+set}" = set; then
2447 $as_echo_n "(cached) " >&6
2448 else
2449 mkdir conftest
2450 echo 'AC''_INIT' > conftest/conftest.ac
2451 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2452 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2453 ac_status=$?
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); };
2456 then
2457 am_cv_autoconf_works=yes
2458 else
2459 am_cv_autoconf_works=no
2461 rm -rf conftest
2463 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2464 $as_echo "$am_cv_autoconf_works" >&6; }
2465 if test "$am_cv_autoconf_works" = no; then
2466 { { $as_echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2467 Please check config.log for error messages before this one." >&5
2468 $as_echo "$as_me: error: The installed version of autoconf does not work.
2469 Please check config.log for error messages before this one." >&2;}
2470 { (exit 1); exit 1; }; }
2473 { $as_echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2474 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2475 if test "${am_cv_autoconf_version+set}" = set; then
2476 $as_echo_n "(cached) " >&6
2477 else
2478 mkdir conftest
2479 echo 'AC''_PREREQ(2.61a-341)' > conftest/conftest.ac
2480 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2481 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2482 ac_status=$?
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); };
2485 then
2486 am_cv_autoconf_version=yes
2487 else
2488 am_cv_autoconf_version=no
2490 rm -rf conftest
2492 { $as_echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2493 $as_echo "$am_cv_autoconf_version" >&6; }
2494 if test "$am_cv_autoconf_version" = no; then
2495 { { $as_echo "$as_me:$LINENO: error: Autoconf 2.61a-341 or better is required." >&5
2496 $as_echo "$as_me: error: Autoconf 2.61a-341 or better is required." >&2;}
2497 { (exit 1); exit 1; }; }
2500 # Test for ln. We need use it to install the versioned binaries.
2501 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
2502 $as_echo_n "checking whether ln works... " >&6; }
2503 if test "${am_cv_prog_ln+set}" = set; then
2504 $as_echo_n "(cached) " >&6
2505 else
2507 rm -f conftest conftest.file
2508 : >conftest.file
2509 if ln conftest.file conftest 2>/dev/null; then
2510 am_cv_prog_ln=ln
2511 else
2512 am_cv_prog_ln='cp -p'
2514 rm -f conftest conftest.file
2517 LN=$am_cv_prog_ln
2519 result=no
2520 test "x$am_cv_prog_ln" = xln && result=yes
2521 { $as_echo "$as_me:$LINENO: result: $result" >&5
2522 $as_echo "$result" >&6; }
2524 # The amount we should wait after modifying files depends on the platform.
2525 # On Windows '95, '98 and ME, files modifications have 2-seconds
2526 # granularity and can be up to 3 seconds in the future w.r.t. the
2527 # system clock. When it is important to ensure one file is older
2528 # than another we wait at least 5 seconds between creations.
2529 case $build in
2530 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2531 *) MODIFICATION_DELAY=2;;
2532 esac
2535 # Test for things needed by the test suite.
2536 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2537 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2538 if test "${ac_cv_path_GREP+set}" = set; then
2539 $as_echo_n "(cached) " >&6
2540 else
2541 if test -z "$GREP"; then
2542 ac_path_GREP_found=false
2543 # Loop through the user's path and test for each of PROGNAME-LIST
2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2547 IFS=$as_save_IFS
2548 test -z "$as_dir" && as_dir=.
2549 for ac_prog in grep ggrep; do
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2552 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2553 # Check for GNU ac_path_GREP and select it if it is found.
2554 # Check for GNU $ac_path_GREP
2555 case `"$ac_path_GREP" --version 2>&1` in
2556 *GNU*)
2557 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2559 ac_count=0
2560 $as_echo_n 0123456789 >"conftest.in"
2561 while :
2563 cat "conftest.in" "conftest.in" >"conftest.tmp"
2564 mv "conftest.tmp" "conftest.in"
2565 cp "conftest.in" "conftest.nl"
2566 $as_echo 'GREP' >> "conftest.nl"
2567 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2568 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2569 ac_count=`expr $ac_count + 1`
2570 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2571 # Best one so far, save it but keep looking for a better one
2572 ac_cv_path_GREP="$ac_path_GREP"
2573 ac_path_GREP_max=$ac_count
2575 # 10*(2^10) chars as input seems more than enough
2576 test $ac_count -gt 10 && break
2577 done
2578 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2579 esac
2581 $ac_path_GREP_found && break 3
2582 done
2583 done
2584 done
2585 IFS=$as_save_IFS
2586 if test -z "$ac_cv_path_GREP"; then
2587 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2588 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2589 { (exit 1); exit 1; }; }
2591 else
2592 ac_cv_path_GREP=$GREP
2596 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2597 $as_echo "$ac_cv_path_GREP" >&6; }
2598 GREP="$ac_cv_path_GREP"
2601 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2602 $as_echo_n "checking for egrep... " >&6; }
2603 if test "${ac_cv_path_EGREP+set}" = set; then
2604 $as_echo_n "(cached) " >&6
2605 else
2606 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2607 then ac_cv_path_EGREP="$GREP -E"
2608 else
2609 if test -z "$EGREP"; then
2610 ac_path_EGREP_found=false
2611 # Loop through the user's path and test for each of PROGNAME-LIST
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_prog in egrep; do
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2620 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2621 # Check for GNU ac_path_EGREP and select it if it is found.
2622 # Check for GNU $ac_path_EGREP
2623 case `"$ac_path_EGREP" --version 2>&1` in
2624 *GNU*)
2625 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2627 ac_count=0
2628 $as_echo_n 0123456789 >"conftest.in"
2629 while :
2631 cat "conftest.in" "conftest.in" >"conftest.tmp"
2632 mv "conftest.tmp" "conftest.in"
2633 cp "conftest.in" "conftest.nl"
2634 $as_echo 'EGREP' >> "conftest.nl"
2635 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2636 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2637 ac_count=`expr $ac_count + 1`
2638 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2639 # Best one so far, save it but keep looking for a better one
2640 ac_cv_path_EGREP="$ac_path_EGREP"
2641 ac_path_EGREP_max=$ac_count
2643 # 10*(2^10) chars as input seems more than enough
2644 test $ac_count -gt 10 && break
2645 done
2646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2647 esac
2649 $ac_path_EGREP_found && break 3
2650 done
2651 done
2652 done
2653 IFS=$as_save_IFS
2654 if test -z "$ac_cv_path_EGREP"; then
2655 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2656 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2657 { (exit 1); exit 1; }; }
2659 else
2660 ac_cv_path_EGREP=$EGREP
2665 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2666 $as_echo "$ac_cv_path_EGREP" >&6; }
2667 EGREP="$ac_cv_path_EGREP"
2670 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
2671 $as_echo_n "checking for fgrep... " >&6; }
2672 if test "${ac_cv_path_FGREP+set}" = set; then
2673 $as_echo_n "(cached) " >&6
2674 else
2675 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2676 then ac_cv_path_FGREP="$GREP -F"
2677 else
2678 if test -z "$FGREP"; then
2679 ac_path_FGREP_found=false
2680 # Loop through the user's path and test for each of PROGNAME-LIST
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2684 IFS=$as_save_IFS
2685 test -z "$as_dir" && as_dir=.
2686 for ac_prog in fgrep; do
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2689 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2690 # Check for GNU ac_path_FGREP and select it if it is found.
2691 # Check for GNU $ac_path_FGREP
2692 case `"$ac_path_FGREP" --version 2>&1` in
2693 *GNU*)
2694 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2696 ac_count=0
2697 $as_echo_n 0123456789 >"conftest.in"
2698 while :
2700 cat "conftest.in" "conftest.in" >"conftest.tmp"
2701 mv "conftest.tmp" "conftest.in"
2702 cp "conftest.in" "conftest.nl"
2703 $as_echo 'FGREP' >> "conftest.nl"
2704 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2705 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2706 ac_count=`expr $ac_count + 1`
2707 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2708 # Best one so far, save it but keep looking for a better one
2709 ac_cv_path_FGREP="$ac_path_FGREP"
2710 ac_path_FGREP_max=$ac_count
2712 # 10*(2^10) chars as input seems more than enough
2713 test $ac_count -gt 10 && break
2714 done
2715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2716 esac
2718 $ac_path_FGREP_found && break 3
2719 done
2720 done
2721 done
2722 IFS=$as_save_IFS
2723 if test -z "$ac_cv_path_FGREP"; then
2724 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2725 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2726 { (exit 1); exit 1; }; }
2728 else
2729 ac_cv_path_FGREP=$FGREP
2734 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2735 $as_echo "$ac_cv_path_FGREP" >&6; }
2736 FGREP="$ac_cv_path_FGREP"
2740 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"
2742 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2744 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2747 cat >confcache <<\_ACEOF
2748 # This file is a shell script that caches the results of configure
2749 # tests run on this system so they can be shared between configure
2750 # scripts and configure runs, see configure's option --config-cache.
2751 # It is not useful on other systems. If it contains results you don't
2752 # want to keep, you may remove or edit it.
2754 # config.status only pays attention to the cache file if you give it
2755 # the --recheck option to rerun configure.
2757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2759 # following values.
2761 _ACEOF
2763 # The following way of writing the cache mishandles newlines in values,
2764 # but we know of no workaround that is simple, portable, and efficient.
2765 # So, we kill variables containing newlines.
2766 # Ultrix sh set writes to stderr and can't be redirected directly,
2767 # and sets the high bit in the cache file unless we assign to the vars.
2769 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2770 eval ac_val=\$$ac_var
2771 case $ac_val in #(
2772 *${as_nl}*)
2773 case $ac_var in #(
2774 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2775 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2776 esac
2777 case $ac_var in #(
2778 _ | IFS | as_nl) ;; #(
2779 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2780 *) $as_unset $ac_var ;;
2781 esac ;;
2782 esac
2783 done
2785 (set) 2>&1 |
2786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2787 *${as_nl}ac_space=\ *)
2788 # `set' does not quote correctly, so add quotes (double-quote
2789 # substitution turns \\\\ into \\, and sed turns \\ into \).
2790 sed -n \
2791 "s/'/'\\\\''/g;
2792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2793 ;; #(
2795 # `set' quotes correctly as required by POSIX, so do not add quotes.
2796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2798 esac |
2799 sort
2801 sed '
2802 /^ac_cv_env_/b end
2803 t clear
2804 :clear
2805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2806 t end
2807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2808 :end' >>confcache
2809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2810 if test -w "$cache_file"; then
2811 test "x$cache_file" != "x/dev/null" &&
2812 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2813 $as_echo "$as_me: updating cache $cache_file" >&6;}
2814 cat confcache >$cache_file
2815 else
2816 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2817 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2820 rm -f confcache
2822 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2823 # Let make expand exec_prefix.
2824 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2826 # Transform confdefs.h into DEFS.
2827 # Protect against shell expansion while executing Makefile rules.
2828 # Protect against Makefile macro expansion.
2830 # If the first sed substitution is executed (which looks for macros that
2831 # take arguments), then branch to the quote section. Otherwise,
2832 # look for a macro that doesn't take arguments.
2833 ac_script='
2834 :mline
2835 /\\$/{
2837 s,\\\n,,
2838 b mline
2840 t clear
2841 :clear
2842 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2843 t quote
2844 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2845 t quote
2846 b any
2847 :quote
2848 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2849 s/\[/\\&/g
2850 s/\]/\\&/g
2851 s/\$/$$/g
2853 :any
2856 s/^\n//
2857 s/\n/ /g
2861 DEFS=`sed -n "$ac_script" confdefs.h`
2864 ac_libobjs=
2865 ac_ltlibobjs=
2866 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2867 # 1. Remove the extension, and $U if already installed.
2868 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2869 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2871 # will be set to the directory where LIBOBJS objects are built.
2872 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2873 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2874 done
2875 LIBOBJS=$ac_libobjs
2877 LTLIBOBJS=$ac_ltlibobjs
2881 : ${CONFIG_STATUS=./config.status}
2882 ac_write_fail=0
2883 ac_clean_files_save=$ac_clean_files
2884 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2885 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2886 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2887 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2888 #! $SHELL
2889 # Generated by $as_me.
2890 # Run this file to recreate the current configuration.
2891 # Compiler output produced by configure, useful for debugging
2892 # configure, is in config.log if it exists.
2894 debug=false
2895 ac_cs_recheck=false
2896 ac_cs_silent=false
2897 SHELL=\${CONFIG_SHELL-$SHELL}
2898 _ACEOF
2900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2901 ## --------------------- ##
2902 ## M4sh Initialization. ##
2903 ## --------------------- ##
2905 # Be more Bourne compatible
2906 DUALCASE=1; export DUALCASE # for MKS sh
2907 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2908 emulate sh
2909 NULLCMD=:
2910 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2911 # is contrary to our usage. Disable this feature.
2912 alias -g '${1+"$@"}'='"$@"'
2913 setopt NO_GLOB_SUBST
2914 else
2915 case `(set -o) 2>/dev/null` in
2916 *posix*) set -o posix ;;
2917 esac
2924 # PATH needs CR
2925 # Avoid depending upon Character Ranges.
2926 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2927 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2928 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2929 as_cr_digits='0123456789'
2930 as_cr_alnum=$as_cr_Letters$as_cr_digits
2932 as_nl='
2934 export as_nl
2935 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2936 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2937 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2938 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2939 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2940 as_echo='printf %s\n'
2941 as_echo_n='printf %s'
2942 else
2943 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2944 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2945 as_echo_n='/usr/ucb/echo -n'
2946 else
2947 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2948 as_echo_n_body='eval
2949 arg=$1;
2950 case $arg in
2951 *"$as_nl"*)
2952 expr "X$arg" : "X\\(.*\\)$as_nl";
2953 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2954 esac;
2955 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2957 export as_echo_n_body
2958 as_echo_n='sh -c $as_echo_n_body as_echo'
2960 export as_echo_body
2961 as_echo='sh -c $as_echo_body as_echo'
2964 # The user is always right.
2965 if test "${PATH_SEPARATOR+set}" != set; then
2966 PATH_SEPARATOR=:
2967 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2968 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2969 PATH_SEPARATOR=';'
2973 # Support unset when possible.
2974 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2975 as_unset=unset
2976 else
2977 as_unset=false
2981 # IFS
2982 # We need space, tab and new line, in precisely that order. Quoting is
2983 # there to prevent editors from complaining about space-tab.
2984 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2985 # splitting by setting IFS to empty value.)
2986 IFS=" "" $as_nl"
2988 # Find who we are. Look in the path if we contain no directory separator.
2989 case $0 in
2990 *[\\/]* ) as_myself=$0 ;;
2991 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 for as_dir in $PATH
2994 IFS=$as_save_IFS
2995 test -z "$as_dir" && as_dir=.
2996 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2997 done
2998 IFS=$as_save_IFS
3001 esac
3002 # We did not find ourselves, most probably we were run as `sh COMMAND'
3003 # in which case we are not to be found in the path.
3004 if test "x$as_myself" = x; then
3005 as_myself=$0
3007 if test ! -f "$as_myself"; then
3008 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3009 { (exit 1); exit 1; }
3012 # Work around bugs in pre-3.0 UWIN ksh.
3013 for as_var in ENV MAIL MAILPATH
3014 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3015 done
3016 PS1='$ '
3017 PS2='> '
3018 PS4='+ '
3020 # NLS nuisances.
3021 LC_ALL=C
3022 export LC_ALL
3023 LANGUAGE=C
3024 export LANGUAGE
3026 # Required to use basename.
3027 if expr a : '\(a\)' >/dev/null 2>&1 &&
3028 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3029 as_expr=expr
3030 else
3031 as_expr=false
3034 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3035 as_basename=basename
3036 else
3037 as_basename=false
3041 # Name of the executable.
3042 as_me=`$as_basename -- "$0" ||
3043 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3044 X"$0" : 'X\(//\)$' \| \
3045 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3046 $as_echo X/"$0" |
3047 sed '/^.*\/\([^/][^/]*\)\/*$/{
3048 s//\1/
3051 /^X\/\(\/\/\)$/{
3052 s//\1/
3055 /^X\/\(\/\).*/{
3056 s//\1/
3059 s/.*/./; q'`
3061 # CDPATH.
3062 $as_unset CDPATH
3066 as_lineno_1=$LINENO
3067 as_lineno_2=$LINENO
3068 test "x$as_lineno_1" != "x$as_lineno_2" &&
3069 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3071 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3072 # uniformly replaced by the line number. The first 'sed' inserts a
3073 # line-number line after each line using $LINENO; the second 'sed'
3074 # does the real work. The second script uses 'N' to pair each
3075 # line-number line with the line containing $LINENO, and appends
3076 # trailing '-' during substitution so that $LINENO is not a special
3077 # case at line end.
3078 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3079 # scripts with optimization help from Paolo Bonzini. Blame Lee
3080 # E. McMahon (1931-1989) for sed's syntax. :-)
3081 sed -n '
3083 /[$]LINENO/=
3084 ' <$as_myself |
3085 sed '
3086 s/[$]LINENO.*/&-/
3087 t lineno
3089 :lineno
3091 :loop
3092 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3093 t loop
3094 s/-\n.*//
3095 ' >$as_me.lineno &&
3096 chmod +x "$as_me.lineno" ||
3097 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3098 { (exit 1); exit 1; }; }
3100 # Don't try to exec as it changes $[0], causing all sort of problems
3101 # (the dirname of $[0] is not the place where we might find the
3102 # original and so on. Autoconf is especially sensitive to this).
3103 . "./$as_me.lineno"
3104 # Exit status is that of the last command.
3105 exit
3109 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3110 as_dirname=dirname
3111 else
3112 as_dirname=false
3115 ECHO_C= ECHO_N= ECHO_T=
3116 case `echo -n x` in
3117 -n*)
3118 case `echo 'x\c'` in
3119 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3120 *) ECHO_C='\c';;
3121 esac;;
3123 ECHO_N='-n';;
3124 esac
3125 if expr a : '\(a\)' >/dev/null 2>&1 &&
3126 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3127 as_expr=expr
3128 else
3129 as_expr=false
3132 rm -f conf$$ conf$$.exe conf$$.file
3133 if test -d conf$$.dir; then
3134 rm -f conf$$.dir/conf$$.file
3135 else
3136 rm -f conf$$.dir
3137 mkdir conf$$.dir 2>/dev/null
3139 if (echo >conf$$.file) 2>/dev/null; then
3140 if ln -s conf$$.file conf$$ 2>/dev/null; then
3141 as_ln_s='ln -s'
3142 # ... but there are two gotchas:
3143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3145 # In both cases, we have to default to `cp -p'.
3146 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3147 as_ln_s='cp -p'
3148 elif ln conf$$.file conf$$ 2>/dev/null; then
3149 as_ln_s=ln
3150 else
3151 as_ln_s='cp -p'
3153 else
3154 as_ln_s='cp -p'
3156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3157 rmdir conf$$.dir 2>/dev/null
3159 if mkdir -p . 2>/dev/null; then
3160 as_mkdir_p=:
3161 else
3162 test -d ./-p && rmdir ./-p
3163 as_mkdir_p=false
3166 if test -x / >/dev/null 2>&1; then
3167 as_test_x='test -x'
3168 else
3169 if ls -dL / >/dev/null 2>&1; then
3170 as_ls_L_option=L
3171 else
3172 as_ls_L_option=
3174 as_test_x='
3175 eval sh -c '\''
3176 if test -d "$1"; then
3177 test -d "$1/.";
3178 else
3179 case $1 in
3180 -*)set "./$1";;
3181 esac;
3182 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3183 ???[sx]*):;;*)false;;esac;fi
3184 '\'' sh
3187 as_executable_p=$as_test_x
3189 # Sed expression to map a string onto a valid CPP name.
3190 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3192 # Sed expression to map a string onto a valid variable name.
3193 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3196 exec 6>&1
3198 # Save the log message, to keep $[0] and so on meaningful, and to
3199 # report actual input values of CONFIG_FILES etc. instead of their
3200 # values after options handling.
3201 ac_log="
3202 This file was extended by GNU Automake $as_me 1.10a, which was
3203 generated by GNU Autoconf 2.61a.379-fd8b. Invocation command line was
3205 CONFIG_FILES = $CONFIG_FILES
3206 CONFIG_HEADERS = $CONFIG_HEADERS
3207 CONFIG_LINKS = $CONFIG_LINKS
3208 CONFIG_COMMANDS = $CONFIG_COMMANDS
3209 $ $0 $@
3211 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3214 _ACEOF
3216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3217 # Files that config.status was made for.
3218 config_files="$ac_config_files"
3220 _ACEOF
3222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3223 ac_cs_usage="\
3224 \`$as_me' instantiates files from templates according to the
3225 current configuration.
3227 Usage: $0 [OPTIONS] [FILE]...
3229 -h, --help print this help, then exit
3230 -V, --version print version number and configuration settings, then exit
3231 -q, --quiet do not print progress messages
3232 -d, --debug don't remove temporary files
3233 --recheck update $as_me by reconfiguring in the same conditions
3234 --file=FILE[:TEMPLATE]
3235 instantiate the configuration file FILE
3237 Configuration files:
3238 $config_files
3240 Report bugs to <bug-autoconf@gnu.org>."
3242 _ACEOF
3243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3244 ac_cs_version="\\
3245 GNU Automake config.status 1.10a
3246 configured by $0, generated by GNU Autoconf 2.61a.379-fd8b,
3247 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3249 Copyright (C) 2007 Free Software Foundation, Inc.
3250 This config.status script is free software; the Free Software Foundation
3251 gives unlimited permission to copy, distribute and modify it."
3253 ac_pwd='$ac_pwd'
3254 srcdir='$srcdir'
3255 INSTALL='$INSTALL'
3256 MKDIR_P='$MKDIR_P'
3257 AWK='$AWK'
3258 test -n "\$AWK" || AWK=awk
3259 _ACEOF
3261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3262 # The default lists apply if the user does not specify any file.
3263 ac_need_defaults=:
3264 while test $# != 0
3266 case $1 in
3267 --*=*)
3268 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3269 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3270 ac_shift=:
3273 ac_option=$1
3274 ac_optarg=$2
3275 ac_shift=shift
3277 esac
3279 case $ac_option in
3280 # Handling of the options.
3281 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3282 ac_cs_recheck=: ;;
3283 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3284 $as_echo "$ac_cs_version"; exit ;;
3285 --debug | --debu | --deb | --de | --d | -d )
3286 debug=: ;;
3287 --file | --fil | --fi | --f )
3288 $ac_shift
3289 case $ac_optarg in
3290 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3291 esac
3292 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3293 ac_need_defaults=false;;
3294 --he | --h | --help | --hel | -h )
3295 $as_echo "$ac_cs_usage"; exit ;;
3296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3297 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3298 ac_cs_silent=: ;;
3300 # This is an error.
3301 -*) { $as_echo "$as_me: error: unrecognized option: $1
3302 Try \`$0 --help' for more information." >&2
3303 { (exit 1); exit 1; }; } ;;
3305 *) ac_config_targets="$ac_config_targets $1"
3306 ac_need_defaults=false ;;
3308 esac
3309 shift
3310 done
3312 ac_configure_extra_args=
3314 if $ac_cs_silent; then
3315 exec 6>/dev/null
3316 ac_configure_extra_args="$ac_configure_extra_args --silent"
3319 _ACEOF
3320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3321 if \$ac_cs_recheck; then
3322 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3323 shift
3324 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3325 CONFIG_SHELL='$SHELL'
3326 export CONFIG_SHELL
3327 exec "\$@"
3330 _ACEOF
3331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3332 exec 5>>config.log
3334 echo
3335 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3336 ## Running $as_me. ##
3337 _ASBOX
3338 $as_echo "$ac_log"
3339 } >&5
3341 _ACEOF
3342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3344 # INIT-COMMANDS
3346 APIVERSION=$APIVERSION
3348 _ACEOF
3350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3352 # Handling of arguments.
3353 for ac_config_target in $ac_config_targets
3355 case $ac_config_target in
3356 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3357 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3358 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3359 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3360 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3361 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3362 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3363 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3364 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3365 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3366 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3368 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3369 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3370 { (exit 1); exit 1; }; };;
3371 esac
3372 done
3375 # If the user did not use the arguments to specify the items to instantiate,
3376 # then the envvar interface is used. Set only those that are not.
3377 # We use the long form for the default assignment because of an extremely
3378 # bizarre bug on SunOS 4.1.3.
3379 if $ac_need_defaults; then
3380 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3383 # Have a temporary directory for convenience. Make it in the build tree
3384 # simply because there is no reason against having it here, and in addition,
3385 # creating and moving files from /tmp can sometimes cause problems.
3386 # Hook for its removal unless debugging.
3387 # Note that there is a small window in which the directory will not be cleaned:
3388 # after its creation but before its name has been assigned to `$tmp'.
3389 $debug ||
3391 tmp=
3392 trap 'exit_status=$?
3393 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3395 trap '{ (exit 1); exit 1; }' 1 2 13 15
3397 # Create a (secure) tmp directory for tmp files.
3400 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3401 test -n "$tmp" && test -d "$tmp"
3402 } ||
3404 tmp=./conf$$-$RANDOM
3405 (umask 077 && mkdir "$tmp")
3406 } ||
3408 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3409 { (exit 1); exit 1; }
3412 # Set up the scripts for CONFIG_FILES section.
3413 # No need to generate them if there are no CONFIG_FILES.
3414 # This happens for instance with `./config.status config.h'.
3415 if test -n "$CONFIG_FILES"; then
3418 ac_cr=' '
3419 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3420 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3421 ac_cs_awk_cr='\\r'
3422 else
3423 ac_cs_awk_cr=$ac_cr
3426 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3427 _ACEOF
3431 echo "cat >conf$$subs.awk <<_ACEOF" &&
3432 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3433 echo "_ACEOF"
3434 } >conf$$subs.sh ||
3435 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3436 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3437 { (exit 1); exit 1; }; }
3438 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3439 ac_delim='%!_!# '
3440 for ac_last_try in false false false false false :; do
3441 . ./conf$$subs.sh ||
3442 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3443 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3444 { (exit 1); exit 1; }; }
3446 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3447 break
3448 elif $ac_last_try; then
3449 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3450 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3451 { (exit 1); exit 1; }; }
3452 else
3453 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3455 done
3456 rm -f conf$$subs.sh
3458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3459 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3460 _ACEOF
3461 sed -n '
3463 s/^/S["/; s/!.*/"]=/
3466 s/^[^!]*!//
3467 :repl
3468 t repl
3469 s/'"$ac_delim"'$//
3470 t delim
3473 s/\(.\{148\}\).*/\1/
3474 t more1
3475 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3478 b repl
3479 :more1
3480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3483 s/.\{148\}//
3484 t nl
3485 :delim
3487 s/\(.\{148\}\).*/\1/
3488 t more2
3489 s/["\\]/\\&/g; s/^/"/; s/$/"/
3492 :more2
3493 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3496 s/.\{148\}//
3497 t delim
3498 ' <conf$$subs.awk | sed '
3499 /^[^""]/{
3501 s/\n//
3503 ' >>$CONFIG_STATUS || ac_write_fail=1
3504 rm -f conf$$subs.awk
3505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3506 _ACAWK
3507 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3508 for (key in S) S_is_set[key] = 1
3509 FS = "\a"
3513 line = $ 0
3514 nfields = split(line, field, "@")
3515 substed = 0
3516 len = length(field[1])
3517 for (i = 2; i < nfields; i++) {
3518 key = field[i]
3519 keylen = length(key)
3520 if (S_is_set[key]) {
3521 value = S[key]
3522 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3523 len += length(value) + length(field[++i])
3524 substed = 1
3525 } else
3526 len += 1 + keylen
3529 print line
3532 _ACAWK
3533 _ACEOF
3534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3535 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3536 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3537 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
3538 { (exit 1); exit 1; }; }
3539 _ACEOF
3541 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3542 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3543 # trailing colons and then remove the whole line if VPATH becomes empty
3544 # (actually we leave an empty line to preserve line numbers).
3545 if test "x$srcdir" = x.; then
3546 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3547 s/:*\$(srcdir):*/:/
3548 s/:*\${srcdir}:*/:/
3549 s/:*@srcdir@:*/:/
3550 s/^\([^=]*=[ ]*\):*/\1/
3551 s/:*$//
3552 s/^[^=]*=[ ]*$//
3556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3557 fi # test -n "$CONFIG_FILES"
3560 eval set X " :F $CONFIG_FILES "
3561 shift
3562 for ac_tag
3564 case $ac_tag in
3565 :[FHLC]) ac_mode=$ac_tag; continue;;
3566 esac
3567 case $ac_mode$ac_tag in
3568 :[FHL]*:*);;
3569 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3570 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3571 { (exit 1); exit 1; }; };;
3572 :[FH]-) ac_tag=-:-;;
3573 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3574 esac
3575 ac_save_IFS=$IFS
3576 IFS=:
3577 set x $ac_tag
3578 IFS=$ac_save_IFS
3579 shift
3580 ac_file=$1
3581 shift
3583 case $ac_mode in
3584 :L) ac_source=$1;;
3585 :[FH])
3586 ac_file_inputs=
3587 for ac_f
3589 case $ac_f in
3590 -) ac_f="$tmp/stdin";;
3591 *) # Look for the file first in the build tree, then in the source tree
3592 # (if the path is not absolute). The absolute path cannot be DOS-style,
3593 # because $ac_f cannot contain `:'.
3594 test -f "$ac_f" ||
3595 case $ac_f in
3596 [\\/$]*) false;;
3597 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3598 esac ||
3599 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3600 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3601 { (exit 1); exit 1; }; };;
3602 esac
3603 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3604 ac_file_inputs="$ac_file_inputs '$ac_f'"
3605 done
3607 # Let's still pretend it is `configure' which instantiates (i.e., don't
3608 # use $as_me), people would be surprised to read:
3609 # /* config.h. Generated by config.status. */
3610 configure_input='Generated from '`
3611 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3612 `' by configure.'
3613 if test x"$ac_file" != x-; then
3614 configure_input="$ac_file. $configure_input"
3615 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3616 $as_echo "$as_me: creating $ac_file" >&6;}
3618 # Neutralize special characters interpreted by sed in replacement strings.
3619 case $configure_input in #(
3620 *\&* | *\|* | *\\* )
3621 ac_sed_conf_input=`$as_echo "$configure_input" |
3622 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3623 *) ac_sed_conf_input=$configure_input;;
3624 esac
3626 case $ac_tag in
3627 *:-:* | *:-) cat >"$tmp/stdin" \
3628 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3629 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3630 { (exit 1); exit 1; }; } ;;
3631 esac
3633 esac
3635 ac_dir=`$as_dirname -- "$ac_file" ||
3636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3637 X"$ac_file" : 'X\(//\)[^/]' \| \
3638 X"$ac_file" : 'X\(//\)$' \| \
3639 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3640 $as_echo X"$ac_file" |
3641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3642 s//\1/
3645 /^X\(\/\/\)[^/].*/{
3646 s//\1/
3649 /^X\(\/\/\)$/{
3650 s//\1/
3653 /^X\(\/\).*/{
3654 s//\1/
3657 s/.*/./; q'`
3658 { as_dir="$ac_dir"
3659 case $as_dir in #(
3660 -*) as_dir=./$as_dir;;
3661 esac
3662 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3663 as_dirs=
3664 while :; do
3665 case $as_dir in #(
3666 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3667 *) as_qdir=$as_dir;;
3668 esac
3669 as_dirs="'$as_qdir' $as_dirs"
3670 as_dir=`$as_dirname -- "$as_dir" ||
3671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3672 X"$as_dir" : 'X\(//\)[^/]' \| \
3673 X"$as_dir" : 'X\(//\)$' \| \
3674 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3675 $as_echo X"$as_dir" |
3676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3677 s//\1/
3680 /^X\(\/\/\)[^/].*/{
3681 s//\1/
3684 /^X\(\/\/\)$/{
3685 s//\1/
3688 /^X\(\/\).*/{
3689 s//\1/
3692 s/.*/./; q'`
3693 test -d "$as_dir" && break
3694 done
3695 test -z "$as_dirs" || eval "mkdir $as_dirs"
3696 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3697 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3698 { (exit 1); exit 1; }; }; }
3699 ac_builddir=.
3701 case "$ac_dir" in
3702 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3704 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3705 # A ".." for each directory in $ac_dir_suffix.
3706 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3707 case $ac_top_builddir_sub in
3708 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3709 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3710 esac ;;
3711 esac
3712 ac_abs_top_builddir=$ac_pwd
3713 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3714 # for backward compatibility:
3715 ac_top_builddir=$ac_top_build_prefix
3717 case $srcdir in
3718 .) # We are building in place.
3719 ac_srcdir=.
3720 ac_top_srcdir=$ac_top_builddir_sub
3721 ac_abs_top_srcdir=$ac_pwd ;;
3722 [\\/]* | ?:[\\/]* ) # Absolute name.
3723 ac_srcdir=$srcdir$ac_dir_suffix;
3724 ac_top_srcdir=$srcdir
3725 ac_abs_top_srcdir=$srcdir ;;
3726 *) # Relative name.
3727 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3728 ac_top_srcdir=$ac_top_build_prefix$srcdir
3729 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3730 esac
3731 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3734 case $ac_mode in
3737 # CONFIG_FILE
3740 case $INSTALL in
3741 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3742 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3743 esac
3744 ac_MKDIR_P=$MKDIR_P
3745 case $MKDIR_P in
3746 [\\/$]* | ?:[\\/]* ) ;;
3747 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3748 esac
3749 _ACEOF
3751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3752 # If the template does not know about datarootdir, expand it.
3753 # FIXME: This hack should be removed a few years after 2.60.
3754 ac_datarootdir_hack=; ac_datarootdir_seen=
3756 ac_sed_dataroot='
3757 /datarootdir/ {
3761 /@datadir@/p
3762 /@docdir@/p
3763 /@infodir@/p
3764 /@localedir@/p
3765 /@mandir@/p
3767 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3768 *datarootdir*) ac_datarootdir_seen=yes;;
3769 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3770 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3771 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3772 _ACEOF
3773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3774 ac_datarootdir_hack='
3775 s&@datadir@&$datadir&g
3776 s&@docdir@&$docdir&g
3777 s&@infodir@&$infodir&g
3778 s&@localedir@&$localedir&g
3779 s&@mandir@&$mandir&g
3780 s&\\\${datarootdir}&$datarootdir&g' ;;
3781 esac
3782 _ACEOF
3784 # Neutralize VPATH when `$srcdir' = `.'.
3785 # Shell code in configure.ac might set extrasub.
3786 # FIXME: do we really want to maintain this feature?
3787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3788 ac_sed_extra="$ac_vpsub
3789 $extrasub
3790 _ACEOF
3791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3793 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3794 s|@configure_input@|$ac_sed_conf_input|;t t
3795 s&@top_builddir@&$ac_top_builddir_sub&;t t
3796 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3797 s&@srcdir@&$ac_srcdir&;t t
3798 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3799 s&@top_srcdir@&$ac_top_srcdir&;t t
3800 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3801 s&@builddir@&$ac_builddir&;t t
3802 s&@abs_builddir@&$ac_abs_builddir&;t t
3803 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3804 s&@INSTALL@&$ac_INSTALL&;t t
3805 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3806 $ac_datarootdir_hack
3808 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3809 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3810 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3811 { (exit 1); exit 1; }; }
3813 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3814 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3815 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3816 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3817 which seems to be undefined. Please make sure it is defined." >&5
3818 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3819 which seems to be undefined. Please make sure it is defined." >&2;}
3821 rm -f "$tmp/stdin"
3822 case $ac_file in
3823 -) cat "$tmp/out" && rm -f "$tmp/out";;
3824 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3825 esac \
3826 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3827 $as_echo "$as_me: error: could not create $ac_file" >&2;}
3828 { (exit 1); exit 1; }; }
3833 esac
3836 case $ac_file$ac_mode in
3837 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3838 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3840 esac
3841 done # for ac_tag
3844 { (exit 0); exit 0; }
3845 _ACEOF
3846 chmod +x $CONFIG_STATUS
3847 ac_clean_files=$ac_clean_files_save
3849 test $ac_write_fail = 0 ||
3850 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3851 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3852 { (exit 1); exit 1; }; }
3855 # configure is writing to config.log, and then calls config.status.
3856 # config.status does its own redirection, appending to config.log.
3857 # Unfortunately, on DOS this fails, as config.log is still kept open
3858 # by configure, so config.status won't be able to write to it; its
3859 # output is simply discarded. So we exec the FD to /dev/null,
3860 # effectively closing config.log, so it can be properly (re)opened and
3861 # appended to by config.status. When coming back to configure, we
3862 # need to make the FD available again.
3863 if test "$no_create" != yes; then
3864 ac_cs_success=:
3865 ac_config_status_args=
3866 test "$silent" = yes &&
3867 ac_config_status_args="$ac_config_status_args --quiet"
3868 exec 5>/dev/null
3869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3870 exec 5>>config.log
3871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3872 # would make configure fail if this is the last instruction.
3873 $ac_cs_success || { (exit 1); exit 1; }
3875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3876 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3877 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}