2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Automake 1.11.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: bug-automake@gnu.org about your system, including any
233 $0: error possibly output before this message. Then install
234 $0: a modern shell, or manually run the script under such a
235 $0: shell if you do have one."
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
320 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir
-p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev
/null
6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
550 PACKAGE_NAME
='GNU Automake'
551 PACKAGE_TARNAME
='automake'
552 PACKAGE_VERSION
='1.11'
553 PACKAGE_STRING
='GNU Automake 1.11'
554 PACKAGE_BUGREPORT
='bug-automake@gnu.org'
555 PACKAGE_URL
='http://www.gnu.org/software/automake/'
557 ac_unique_file
="automake.in"
558 ac_subst_vars
='LTLIBOBJS
580 INSTALL_STRIP_PROGRAM
628 program_transform_name
641 enable_option_checking
643 ac_precious_vars
='build_alias
648 # Initialize some variables set by options.
650 ac_init_version
=false
651 ac_unrecognized_opts
=
653 # The variables have the same names as the options, with
654 # dashes changed to underlines.
662 program_transform_name
=s
,x
,x
,
670 # Installation directory options.
671 # These are left unexpanded so users can "make install exec_prefix=/foo"
672 # and all the variables that are supposed to be based on exec_prefix
673 # by default will actually change.
674 # Use braces instead of parens because sh, perl, etc. also accept them.
675 # (The list follows the same order as the GNU Coding Standards.)
676 bindir
='${exec_prefix}/bin'
677 sbindir
='${exec_prefix}/sbin'
678 libexecdir
='${exec_prefix}/libexec'
679 datarootdir
='${prefix}/share'
680 datadir
='${datarootdir}'
681 sysconfdir
='${prefix}/etc'
682 sharedstatedir
='${prefix}/com'
683 localstatedir
='${prefix}/var'
684 includedir
='${prefix}/include'
685 oldincludedir
='/usr/include'
686 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
687 infodir
='${datarootdir}/info'
692 libdir
='${exec_prefix}/lib'
693 localedir
='${datarootdir}/locale'
694 mandir
='${datarootdir}/man'
700 # If the previous option needs an argument, assign it.
701 if test -n "$ac_prev"; then
702 eval $ac_prev=\
$ac_option
708 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
712 # Accept the important Cygnus configure options, so we can diagnose typos.
714 case $ac_dashdash$ac_option in
718 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
720 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
723 -build |
--build |
--buil |
--bui |
--bu)
724 ac_prev
=build_alias
;;
725 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
726 build_alias
=$ac_optarg ;;
728 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
729 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
730 ac_prev
=cache_file
;;
731 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
732 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
733 cache_file
=$ac_optarg ;;
736 cache_file
=config.cache
;;
738 -datadir |
--datadir |
--datadi |
--datad)
740 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
741 datadir
=$ac_optarg ;;
743 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
744 |
--dataroo |
--dataro |
--datar)
745 ac_prev
=datarootdir
;;
746 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
747 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
748 datarootdir
=$ac_optarg ;;
750 -disable-* |
--disable-*)
751 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
752 # Reject names that are not valid shell variable names.
753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
754 as_fn_error
"invalid feature name: $ac_useropt"
755 ac_useropt_orig
=$ac_useropt
756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
757 case $ac_user_opts in
761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
762 ac_unrecognized_sep
=', ';;
764 eval enable_
$ac_useropt=no
;;
766 -docdir |
--docdir |
--docdi |
--doc |
--do)
768 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
771 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
773 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
776 -enable-* |
--enable-*)
777 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
778 # Reject names that are not valid shell variable names.
779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
780 as_fn_error
"invalid feature name: $ac_useropt"
781 ac_useropt_orig
=$ac_useropt
782 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
783 case $ac_user_opts in
787 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
788 ac_unrecognized_sep
=', ';;
790 eval enable_
$ac_useropt=\
$ac_optarg ;;
792 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
793 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
794 |
--exec |
--exe |
--ex)
795 ac_prev
=exec_prefix
;;
796 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
797 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
798 |
--exec=* |
--exe=* |
--ex=*)
799 exec_prefix
=$ac_optarg ;;
801 -gas |
--gas |
--ga |
--g)
802 # Obsolete; use --with-gas.
805 -help |
--help |
--hel |
--he |
-h)
807 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
808 ac_init_help
=recursive
;;
809 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
810 ac_init_help
=short
;;
812 -host |
--host |
--hos |
--ho)
813 ac_prev
=host_alias
;;
814 -host=* |
--host=* |
--hos=* |
--ho=*)
815 host_alias
=$ac_optarg ;;
817 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
819 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
821 htmldir
=$ac_optarg ;;
823 -includedir |
--includedir |
--includedi |
--included |
--include \
824 |
--includ |
--inclu |
--incl |
--inc)
825 ac_prev
=includedir
;;
826 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
827 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
828 includedir
=$ac_optarg ;;
830 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
832 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
833 infodir
=$ac_optarg ;;
835 -libdir |
--libdir |
--libdi |
--libd)
837 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
840 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
841 |
--libexe |
--libex |
--libe)
842 ac_prev
=libexecdir
;;
843 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
844 |
--libexe=* |
--libex=* |
--libe=*)
845 libexecdir
=$ac_optarg ;;
847 -localedir |
--localedir |
--localedi |
--localed |
--locale)
849 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
850 localedir
=$ac_optarg ;;
852 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
853 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
854 ac_prev
=localstatedir
;;
855 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
856 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
857 localstatedir
=$ac_optarg ;;
859 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
861 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
865 # Obsolete; use --without-fp.
868 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
869 |
--no-cr |
--no-c |
-n)
872 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
873 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
876 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
877 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
878 |
--oldin |
--oldi |
--old |
--ol |
--o)
879 ac_prev
=oldincludedir
;;
880 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
881 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
882 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
883 oldincludedir
=$ac_optarg ;;
885 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
887 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
890 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
891 |
--program-pre |
--program-pr |
--program-p)
892 ac_prev
=program_prefix
;;
893 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
894 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
895 program_prefix
=$ac_optarg ;;
897 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
898 |
--program-suf |
--program-su |
--program-s)
899 ac_prev
=program_suffix
;;
900 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
901 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
902 program_suffix
=$ac_optarg ;;
904 -program-transform-name |
--program-transform-name \
905 |
--program-transform-nam |
--program-transform-na \
906 |
--program-transform-n |
--program-transform- \
907 |
--program-transform |
--program-transfor \
908 |
--program-transfo |
--program-transf \
909 |
--program-trans |
--program-tran \
910 |
--progr-tra |
--program-tr |
--program-t)
911 ac_prev
=program_transform_name
;;
912 -program-transform-name=* |
--program-transform-name=* \
913 |
--program-transform-nam=* |
--program-transform-na=* \
914 |
--program-transform-n=* |
--program-transform-=* \
915 |
--program-transform=* |
--program-transfor=* \
916 |
--program-transfo=* |
--program-transf=* \
917 |
--program-trans=* |
--program-tran=* \
918 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
919 program_transform_name
=$ac_optarg ;;
921 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
923 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
926 -psdir |
--psdir |
--psdi |
--psd |
--ps)
928 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
931 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
932 |
-silent |
--silent |
--silen |
--sile |
--sil)
935 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
937 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
939 sbindir
=$ac_optarg ;;
941 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
942 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
943 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
945 ac_prev
=sharedstatedir
;;
946 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
947 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
948 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
950 sharedstatedir
=$ac_optarg ;;
952 -site |
--site |
--sit)
954 -site=* |
--site=* |
--sit=*)
957 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
959 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
962 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
963 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
964 ac_prev
=sysconfdir
;;
965 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
966 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
967 sysconfdir
=$ac_optarg ;;
969 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
970 ac_prev
=target_alias
;;
971 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
972 target_alias
=$ac_optarg ;;
974 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
977 -version |
--version |
--versio |
--versi |
--vers |
-V)
981 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error
"invalid package name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval with_
$ac_useropt=\
$ac_optarg ;;
996 -without-* |
--without-*)
997 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1000 as_fn_error
"invalid package name: $ac_useropt"
1001 ac_useropt_orig
=$ac_useropt
1002 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1007 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1008 ac_unrecognized_sep
=', ';;
1010 eval with_
$ac_useropt=no
;;
1013 # Obsolete; use --with-x.
1016 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1017 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1018 ac_prev
=x_includes
;;
1019 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1020 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1021 x_includes
=$ac_optarg ;;
1023 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1024 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1025 ac_prev
=x_libraries
;;
1026 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1027 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1028 x_libraries
=$ac_optarg ;;
1030 -*) as_fn_error
"unrecognized option: \`$ac_option'
1031 Try \`$0 --help' for more information."
1035 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1036 # Reject names that are not valid shell variable names.
1037 case $ac_envvar in #(
1038 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1039 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1041 eval $ac_envvar=\
$ac_optarg
1042 export $ac_envvar ;;
1045 # FIXME: should be removed in autoconf 3.0.
1046 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1047 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1048 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1049 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1055 if test -n "$ac_prev"; then
1056 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1057 as_fn_error
"missing argument to $ac_option"
1060 if test -n "$ac_unrecognized_opts"; then
1061 case $enable_option_checking in
1063 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1064 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1068 # Check all directory arguments for consistency.
1069 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1070 datadir sysconfdir sharedstatedir localstatedir includedir \
1071 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1072 libdir localedir mandir
1074 eval ac_val
=\$
$ac_var
1075 # Remove trailing slashes.
1078 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1079 eval $ac_var=\
$ac_val;;
1081 # Be sure to have absolute directory names.
1083 [\\/$
]* | ?
:[\\/]* ) continue;;
1084 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1086 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1089 # There might be people who depend on the old broken behavior: `$host'
1090 # used to hold the argument of --host etc.
1091 # FIXME: To remove some day.
1094 target
=$target_alias
1096 # FIXME: To remove some day.
1097 if test "x$host_alias" != x
; then
1098 if test "x$build_alias" = x
; then
1099 cross_compiling
=maybe
1100 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1101 If a cross compiler is detected then cross compile mode will be used." >&2
1102 elif test "x$build_alias" != "x$host_alias"; then
1108 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1110 test "$silent" = yes && exec 6>/dev
/null
1113 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1114 ac_ls_di
=`ls -di .` &&
1115 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1116 as_fn_error
"working directory cannot be determined"
1117 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1118 as_fn_error
"pwd does not report name of working directory"
1121 # Find the source files, if location was not specified.
1122 if test -z "$srcdir"; then
1123 ac_srcdir_defaulted
=yes
1124 # Try the directory containing this script, then the parent directory.
1125 ac_confdir
=`$as_dirname -- "$as_myself" ||
1126 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1127 X"$as_myself" : 'X\(//\)[^/]' \| \
1128 X"$as_myself" : 'X\(//\)$' \| \
1129 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1130 $as_echo X"$as_myself" |
1131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1149 if test ! -r "$srcdir/$ac_unique_file"; then
1153 ac_srcdir_defaulted
=no
1155 if test ! -r "$srcdir/$ac_unique_file"; then
1156 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1157 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1159 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1161 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1163 # When building in place, set srcdir=.
1164 if test "$ac_abs_confdir" = "$ac_pwd"; then
1167 # Remove unnecessary trailing slashes from srcdir.
1168 # Double slashes in file names in object file debugging info
1169 # mess up M-x gdb in Emacs.
1171 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1173 for ac_var
in $ac_precious_vars; do
1174 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1175 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1176 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1177 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1181 # Report the --help message.
1183 if test "$ac_init_help" = "long"; then
1184 # Omit some internal or obsolete options to make the list less imposing.
1185 # This message is too long to be a string in the A/UX 3.1 sh.
1187 \`configure' configures GNU Automake 1.11 to adapt to many kinds of systems.
1189 Usage: $0 [OPTION]... [VAR=VALUE]...
1191 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1192 VAR=VALUE. See below for descriptions of some of the useful variables.
1194 Defaults for the options are specified in brackets.
1197 -h, --help display this help and exit
1198 --help=short display options specific to this package
1199 --help=recursive display the short help of all the included packages
1200 -V, --version display version information and exit
1201 -q, --quiet, --silent do not print \`checking...' messages
1202 --cache-file=FILE cache test results in FILE [disabled]
1203 -C, --config-cache alias for \`--cache-file=config.cache'
1204 -n, --no-create do not create output files
1205 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1207 Installation directories:
1208 --prefix=PREFIX install architecture-independent files in PREFIX
1209 [$ac_default_prefix]
1210 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1213 By default, \`make install' will install all the files in
1214 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1215 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1216 for instance \`--prefix=\$HOME'.
1218 For better control, use the options below.
1220 Fine tuning of the installation directories:
1221 --bindir=DIR user executables [EPREFIX/bin]
1222 --sbindir=DIR system admin executables [EPREFIX/sbin]
1223 --libexecdir=DIR program executables [EPREFIX/libexec]
1224 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1225 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1226 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1227 --libdir=DIR object code libraries [EPREFIX/lib]
1228 --includedir=DIR C header files [PREFIX/include]
1229 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1230 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1231 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1232 --infodir=DIR info documentation [DATAROOTDIR/info]
1233 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1234 --mandir=DIR man documentation [DATAROOTDIR/man]
1235 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1236 --htmldir=DIR html documentation [DOCDIR]
1237 --dvidir=DIR dvi documentation [DOCDIR]
1238 --pdfdir=DIR pdf documentation [DOCDIR]
1239 --psdir=DIR ps documentation [DOCDIR]
1245 --program-prefix=PREFIX prepend PREFIX to installed program names
1246 --program-suffix=SUFFIX append SUFFIX to installed program names
1247 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1250 --build=BUILD configure
for building on BUILD
[guessed
]
1254 if test -n "$ac_init_help"; then
1255 case $ac_init_help in
1256 short | recursive
) echo "Configuration of GNU Automake 1.11:";;
1260 Report bugs to
<bug-automake@gnu.org
>.
1261 GNU Automake home page
: <http
://www.gnu.org
/software
/automake
/>.
1262 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1267 if test "$ac_init_help" = "recursive"; then
1268 # If there are subdirs, report their specific --help.
1269 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1270 test -d "$ac_dir" ||
1271 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1276 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1278 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1279 # A ".." for each directory in $ac_dir_suffix.
1280 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1281 case $ac_top_builddir_sub in
1282 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1283 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1286 ac_abs_top_builddir
=$ac_pwd
1287 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1288 # for backward compatibility:
1289 ac_top_builddir
=$ac_top_build_prefix
1292 .
) # We are building in place.
1294 ac_top_srcdir
=$ac_top_builddir_sub
1295 ac_abs_top_srcdir
=$ac_pwd ;;
1296 [\\/]* | ?
:[\\/]* ) # Absolute name.
1297 ac_srcdir
=$srcdir$ac_dir_suffix;
1298 ac_top_srcdir
=$srcdir
1299 ac_abs_top_srcdir
=$srcdir ;;
1301 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1302 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1303 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1305 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1307 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1308 # Check for guested configure.
1309 if test -f "$ac_srcdir/configure.gnu"; then
1311 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1312 elif test -f "$ac_srcdir/configure"; then
1314 $SHELL "$ac_srcdir/configure" --help=recursive
1316 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1318 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1322 test -n "$ac_init_help" && exit $ac_status
1323 if $ac_init_version; then
1325 GNU Automake configure
1.11
1326 generated by GNU Autoconf
2.64
1328 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1329 This configure
script is free software
; the Free Software Foundation
1330 gives unlimited permission to copy
, distribute and modify it.
1335 ## ------------------------ ##
1336 ## Autoconf initialization. ##
1337 ## ------------------------ ##
1338 cat >config.log
<<_ACEOF
1339 This file contains any messages produced by compilers while
1340 running configure, to aid debugging if configure makes a mistake.
1342 It was created by GNU Automake $as_me 1.11, which was
1343 generated by GNU Autoconf 2.64. Invocation command line was
1355 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1356 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1357 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1358 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1359 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1361 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1362 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1364 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1365 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1366 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1367 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1368 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1369 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1370 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1378 test -z "$as_dir" && as_dir
=.
1379 $as_echo "PATH: $as_dir"
1395 # Keep a trace of the command line.
1396 # Strip out --no-create and --no-recursion so they do not pile up.
1397 # Strip out --silent because we don't want to record it for future runs.
1398 # Also quote any args containing shell meta-characters.
1399 # Make two passes to allow for proper duplicate-argument suppression.
1403 ac_must_keep_next
=false
1409 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1410 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1411 |
-silent |
--silent |
--silen |
--sile |
--sil)
1414 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1417 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1419 as_fn_append ac_configure_args1
" '$ac_arg'"
1420 if test $ac_must_keep_next = true
; then
1421 ac_must_keep_next
=false
# Got value, back to normal.
1424 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1425 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1426 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1427 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1428 case "$ac_configure_args0 " in
1429 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1432 -* ) ac_must_keep_next
=true
;;
1435 as_fn_append ac_configure_args
" '$ac_arg'"
1440 { ac_configure_args0
=; unset ac_configure_args0
;}
1441 { ac_configure_args1
=; unset ac_configure_args1
;}
1443 # When interrupted or exit'd, cleanup temporary files, and complete
1444 # config.log. We remove comments because anyway the quotes in there
1445 # would cause problems or look ugly.
1446 # WARNING: Use '\'' to represent an apostrophe within the trap.
1447 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1448 trap 'exit_status=$?
1449 # Save into config.log some information that might help in debugging.
1454 ## ---------------- ##
1455 ## Cache variables. ##
1456 ## ---------------- ##
1459 # The following way of writing the cache mishandles newlines in values,
1461 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1462 eval ac_val=\$$ac_var
1466 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1470 _ | IFS | as_nl) ;; #(
1471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1472 *) { eval $ac_var=; unset $ac_var;} ;;
1477 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1478 *${as_nl}ac_space=\ *)
1480 "s/'\''/'\''\\\\'\'''\''/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1497 for ac_var in $ac_subst_vars
1499 eval ac_val=\$$ac_var
1501 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503 $as_echo "$ac_var='\''$ac_val'\''"
1507 if test -n "$ac_subst_files"; then
1509 ## ------------------- ##
1510 ## File substitutions. ##
1511 ## ------------------- ##
1514 for ac_var
in $ac_subst_files
1516 eval ac_val
=\$
$ac_var
1518 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1520 $as_echo "$ac_var='\''$ac_val'\''"
1525 if test -s confdefs.h; then
1535 test "$ac_signal" != 0 &&
1536 $as_echo "$as_me: caught signal $ac_signal"
1537 $as_echo "$as_me: exit $exit_status"
1539 rm -f core *.core core.conftest.* &&
1540 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1543 for ac_signal
in 1 2 13 15; do
1544 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1549 rm -f -r conftest
* confdefs.h
1551 $as_echo "/* confdefs.h */" > confdefs.h
1553 # Predefined preprocessor variables.
1555 cat >>confdefs.h
<<_ACEOF
1556 #define PACKAGE_NAME "$PACKAGE_NAME"
1559 cat >>confdefs.h
<<_ACEOF
1560 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1563 cat >>confdefs.h
<<_ACEOF
1564 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1567 cat >>confdefs.h
<<_ACEOF
1568 #define PACKAGE_STRING "$PACKAGE_STRING"
1571 cat >>confdefs.h
<<_ACEOF
1572 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1575 cat >>confdefs.h
<<_ACEOF
1576 #define PACKAGE_URL "$PACKAGE_URL"
1580 # Let the site file select an alternate cache file if it wants to.
1581 # Prefer an explicitly selected file to automatically selected ones.
1584 if test -n "$CONFIG_SITE"; then
1585 ac_site_file1
=$CONFIG_SITE
1586 elif test "x$prefix" != xNONE
; then
1587 ac_site_file1
=$prefix/share
/config.site
1588 ac_site_file2
=$prefix/etc
/config.site
1590 ac_site_file1
=$ac_default_prefix/share
/config.site
1591 ac_site_file2
=$ac_default_prefix/etc
/config.site
1593 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1595 test "x$ac_site_file" = xNONE
&& continue
1596 if test -r "$ac_site_file"; then
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1598 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1599 sed 's/^/| /' "$ac_site_file" >&5
1604 if test -r "$cache_file"; then
1605 # Some versions of bash will fail to source /dev/null (special
1606 # files actually), so we avoid doing that.
1607 if test -f "$cache_file"; then
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1609 $as_echo "$as_me: loading cache $cache_file" >&6;}
1611 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1612 *) .
"./$cache_file";;
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1617 $as_echo "$as_me: creating cache $cache_file" >&6;}
1621 # Check that the precious variables saved in the cache have kept the same
1623 ac_cache_corrupted
=false
1624 for ac_var
in $ac_precious_vars; do
1625 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1626 eval ac_new_set
=\
$ac_env_${ac_var}_set
1627 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1628 eval ac_new_val
=\
$ac_env_${ac_var}_value
1629 case $ac_old_set,$ac_new_set in
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1632 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1633 ac_cache_corrupted
=: ;;
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1636 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1637 ac_cache_corrupted
=: ;;
1640 if test "x$ac_old_val" != "x$ac_new_val"; then
1641 # differences in whitespace do not lead to failure.
1642 ac_old_val_w
=`echo x $ac_old_val`
1643 ac_new_val_w
=`echo x $ac_new_val`
1644 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1646 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1647 ac_cache_corrupted
=:
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1650 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1651 eval $ac_var=\
$ac_old_val
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1654 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1656 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1659 # Pass precious variables to config.status.
1660 if test "$ac_new_set" = set; then
1662 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1663 *) ac_arg
=$ac_var=$ac_new_val ;;
1665 case " $ac_configure_args " in
1666 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1667 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1671 if $ac_cache_corrupted; then
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1675 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1676 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1678 ## -------------------- ##
1679 ## Main body of script. ##
1680 ## -------------------- ##
1683 ac_cpp
='$CPP $CPPFLAGS'
1684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1692 for ac_dir
in lib
"$srcdir"/lib
; do
1693 for ac_t
in install-sh
install.sh shtool
; do
1694 if test -f "$ac_dir/$ac_t"; then
1696 ac_install_sh
="$ac_aux_dir/$ac_t -c"
1701 if test -z "$ac_aux_dir"; then
1702 as_fn_error
"cannot find install-sh, install.sh, or shtool in lib \"$srcdir\"/lib" "$LINENO" 5
1705 # These three variables are undocumented and unsupported,
1706 # and are intended to be withdrawn in a future Autoconf release.
1707 # They can cause serious problems if a builder's source tree is in a directory
1708 # whose full name contains unusual characters.
1709 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1710 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1711 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1715 # Make sure we can run config.sub.
1716 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1717 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1720 $as_echo_n "checking build system type... " >&6; }
1721 if test "${ac_cv_build+set}" = set; then :
1722 $as_echo_n "(cached) " >&6
1724 ac_build_alias
=$build_alias
1725 test "x$ac_build_alias" = x
&&
1726 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1727 test "x$ac_build_alias" = x
&&
1728 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
1729 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1730 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1734 $as_echo "$ac_cv_build" >&6; }
1735 case $ac_cv_build in
1737 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
1740 ac_save_IFS
=$IFS; IFS
='-'
1746 # Remember, the first character of IFS is used to create $*,
1747 # except with old shells:
1750 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1754 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1755 # way we can run Autoconf tests from configure (or from the test
1756 # suite) without being bothered by `missing'. Likewise for autoheader.
1757 am_AUTOCONF
="${AUTOCONF-autoconf}"
1759 am_AUTOHEADER
="${AUTOHEADER-autoheader}"
1762 am__api_version
='1.11'
1764 # Find a good install program. We prefer a C program (faster),
1765 # so one script is as good as another. But avoid the broken or
1766 # incompatible versions:
1767 # SysV /etc/install, /usr/sbin/install
1768 # SunOS /usr/etc/install
1769 # IRIX /sbin/install
1771 # AmigaOS /C/install, which installs bootblocks on floppy discs
1772 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1773 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1774 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1775 # OS/2's system install, which has a completely different semantic
1776 # ./install, which can be erroneously created by make from ./install.sh.
1777 # Reject install programs that cannot install multiple files.
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1779 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1780 if test -z "$INSTALL"; then
1781 if test "${ac_cv_path_install+set}" = set; then :
1782 $as_echo_n "(cached) " >&6
1784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir
=.
1789 # Account for people who put trailing slashes in PATH elements.
1790 case $as_dir/ in #((
1791 .
/ | .
// |
/[cC
]/* | \
1792 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1793 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1796 # OSF1 and SCO ODT 3.0 have their own names for install.
1797 # Don't use installbsd from OSF since it installs stuff as root
1799 for ac_prog
in ginstall scoinst
install; do
1800 for ac_exec_ext
in '' $ac_executable_extensions; do
1801 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1802 if test $ac_prog = install &&
1803 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1804 # AIX install. It has an incompatible calling convention.
1806 elif test $ac_prog = install &&
1807 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1808 # program-specific install script used by HP pwplus--don't use.
1811 rm -rf conftest.one conftest.two conftest.dir
1812 echo one
> conftest.one
1813 echo two
> conftest.two
1815 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1816 test -s conftest.one
&& test -s conftest.two
&&
1817 test -s conftest.dir
/conftest.one
&&
1818 test -s conftest.dir
/conftest.two
1820 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1833 rm -rf conftest.one conftest.two conftest.dir
1836 if test "${ac_cv_path_install+set}" = set; then
1837 INSTALL
=$ac_cv_path_install
1839 # As a last resort, use the slow shell script. Don't cache a
1840 # value for INSTALL within a source directory, because that will
1841 # break other packages using the cache if that directory is
1842 # removed, or if the value is a relative name.
1843 INSTALL
=$ac_install_sh
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1847 $as_echo "$INSTALL" >&6; }
1849 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1850 # It thinks the first close brace ends the variable substitution.
1851 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1853 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1855 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1858 $as_echo_n "checking whether build environment is sane... " >&6; }
1859 # Reject unsafe characters in $srcdir or the absolute working directory
1860 # name. Accept space and tab only in the latter.
1864 *[\\\"\
#\$\&\'\`$am_lf]*)
1865 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
1868 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
1869 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1872 # Do `set' in a subshell so we don't clobber the current shell's
1873 # arguments. Must try -L first in case configure is actually a
1874 # symlink; some systems play weird games with the mod time of symlinks
1875 # (eg FreeBSD returns the mod time of the symlink's containing
1878 for am_try
in 1 2; do
1879 echo timestamp
> conftest.
file
1880 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1881 if test "$*" = "X"; then
1883 set X
`ls -t "$srcdir/configure" conftest.file`
1886 if test "$*" != "X $srcdir/configure conftest.file" \
1887 && test "$*" != "X conftest.file $srcdir/configure"; then
1889 # If neither matched, then we have a broken ls. This can happen
1890 # if, for instance, CONFIG_SHELL is bash and it inherits a
1891 # broken ls alias from the environment. This has actually
1892 # happened. Such a system could not be considered "sane".
1893 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
1894 alias in your environment" "$LINENO" 5
1896 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
1902 test "$2" = conftest.
file
1908 as_fn_error
"newly created file is older than distributed files!
1909 Check your system clock" "$LINENO" 5
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1912 $as_echo "yes" >&6; }
1913 test "$program_prefix" != NONE
&&
1914 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE
&&
1917 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1918 # Double any \ or $.
1919 # By default was `s,x,x', remove it if useless.
1920 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
1921 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir
=`cd $ac_aux_dir && pwd`
1926 if test x
"${MISSING+set}" != xset
; then
1929 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
1931 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
1934 # Use eval to expand $SHELL
1935 if eval "$MISSING --run true"; then
1936 am_missing_run
="$MISSING --run "
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1940 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1943 if test x
"${install_sh}" != xset
; then
1946 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
1948 install_sh
="\${SHELL} $am_aux_dir/install-sh"
1952 # Installed binaries are usually stripped using `strip' when the user
1953 # run `make install-strip'. However `strip' might not be the right
1954 # tool to use in cross-compilation environments, therefore Automake
1955 # will honor the `STRIP' environment variable to overrule this program.
1956 if test "$cross_compiling" != no
; then
1957 if test -n "$ac_tool_prefix"; then
1958 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1959 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1961 $as_echo_n "checking for $ac_word... " >&6; }
1962 if test "${ac_cv_prog_STRIP+set}" = set; then :
1963 $as_echo_n "(cached) " >&6
1965 if test -n "$STRIP"; then
1966 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir
=.
1973 for ac_exec_ext
in '' $ac_executable_extensions; do
1974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 STRIP
=$ac_cv_prog_STRIP
1986 if test -n "$STRIP"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1988 $as_echo "$STRIP" >&6; }
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1991 $as_echo "no" >&6; }
1996 if test -z "$ac_cv_prog_STRIP"; then
1998 # Extract the first word of "strip", so it can be a program name with args.
1999 set dummy strip
; ac_word
=$2
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2001 $as_echo_n "checking for $ac_word... " >&6; }
2002 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2003 $as_echo_n "(cached) " >&6
2005 if test -n "$ac_ct_STRIP"; then
2006 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 for ac_exec_ext
in '' $ac_executable_extensions; do
2014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2015 ac_cv_prog_ac_ct_STRIP
="strip"
2016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2026 if test -n "$ac_ct_STRIP"; then
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2028 $as_echo "$ac_ct_STRIP" >&6; }
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2031 $as_echo "no" >&6; }
2034 if test "x$ac_ct_STRIP" = x
; then
2037 case $cross_compiling:$ac_tool_warned in
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2041 ac_tool_warned
=yes ;;
2046 STRIP
="$ac_cv_prog_STRIP"
2050 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2053 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2054 if test -z "$MKDIR_P"; then
2055 if test "${ac_cv_path_mkdir+set}" = set; then :
2056 $as_echo_n "(cached) " >&6
2058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2059 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2062 test -z "$as_dir" && as_dir
=.
2063 for ac_prog
in mkdir gmkdir
; do
2064 for ac_exec_ext
in '' $ac_executable_extensions; do
2065 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2066 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2067 'mkdir (GNU coreutils) '* | \
2068 'mkdir (coreutils) '* | \
2069 'mkdir (fileutils) '4.1*)
2070 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2080 if test "${ac_cv_path_mkdir+set}" = set; then
2081 MKDIR_P
="$ac_cv_path_mkdir -p"
2083 # As a last resort, use the slow shell script. Don't cache a
2084 # value for MKDIR_P within a source directory, because that will
2085 # break other packages using the cache if that directory is
2086 # removed, or if the value is a relative name.
2087 test -d .
/--version && rmdir .
/--version
2088 MKDIR_P
="$ac_install_sh -d"
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2092 $as_echo "$MKDIR_P" >&6; }
2096 [\\/$
]* | ?
:[\\/]*) ;;
2097 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2100 for ac_prog
in gawk mawk nawk
awk
2102 # Extract the first word of "$ac_prog", so it can be a program name with args.
2103 set dummy
$ac_prog; ac_word
=$2
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2105 $as_echo_n "checking for $ac_word... " >&6; }
2106 if test "${ac_cv_prog_AWK+set}" = set; then :
2107 $as_echo_n "(cached) " >&6
2109 if test -n "$AWK"; then
2110 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2119 ac_cv_prog_AWK
="$ac_prog"
2120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 if test -n "$AWK"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2132 $as_echo "$AWK" >&6; }
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2135 $as_echo "no" >&6; }
2139 test -n "$AWK" && break
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2143 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2145 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2146 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2147 $as_echo_n "(cached) " >&6
2149 cat >conftest.
make <<\_ACEOF
2152 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2155 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2157 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2159 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2163 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2165 $as_echo "yes" >&6; }
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2169 $as_echo "no" >&6; }
2170 SET_MAKE
="MAKE=${MAKE-make}"
2173 rm -rf .tst
2>/dev
/null
2174 mkdir .tst
2>/dev
/null
2175 if test -d .tst
; then
2180 rmdir .tst
2>/dev
/null
2182 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2183 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2184 # is not polluted with repeated "-I."
2185 am__isrc
=' -I$(srcdir)'
2186 # test to see if srcdir already configured
2187 if test -f $srcdir/config.status
; then
2188 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2192 # test whether we have cygpath
2193 if test -z "$CYGPATH_W"; then
2194 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2195 CYGPATH_W
='cygpath -w'
2202 # Define the identity of the package.
2207 cat >>confdefs.h
<<_ACEOF
2208 #define PACKAGE "$PACKAGE"
2212 cat >>confdefs.h
<<_ACEOF
2213 #define VERSION "$VERSION"
2216 # Some tools Automake needs.
2218 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2221 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2224 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2227 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2230 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2232 # We need awk for the "check" target. The system "awk" is bad on
2234 # Always define AMTAR for backward compatibility.
2236 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2238 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2245 # The API version is the base version. We must guarantee
2246 # compatibility for all releases with the same API version.
2247 # Our current rule is that:
2248 # * All releases, including the prereleases, in an X.Y series
2249 # are compatible. So 1.5.1c is compatible with 1.5.
2250 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2252 APIVERSION
=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2255 # A versioned directory, defined here for convenience.
2256 pkgvdatadir
="\${datadir}/$PACKAGE-$APIVERSION"
2259 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2260 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2261 ACLOCAL
="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2262 AUTOMAKE
="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2264 # Extract the first word of "perl", so it can be a program name with args.
2265 set dummy perl
; ac_word
=$2
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if test "${ac_cv_path_PERL+set}" = set; then :
2269 $as_echo_n "(cached) " >&6
2273 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir
=.
2281 for ac_exec_ext
in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
2284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 PERL
=$ac_cv_path_PERL
2295 if test -n "$PERL"; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2297 $as_echo "$PERL" >&6; }
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2300 $as_echo "no" >&6; }
2304 if test -z "$PERL"; then
2305 as_fn_error
"perl not found" "$LINENO" 5
2307 $PERL -e 'require 5.006;' ||
{
2308 as_fn_error
"perl 5.6 or better is required; perl 5.8.2 or better
2309 is recommended. If you have several perl versions
2310 installed, select the one Automake should use using
2311 ./configure PERL=/path/to/perl" "$LINENO" 5
2314 # We require ithreads support, and version 5.7.2 for CLONE.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL supports ithreads" >&5
2316 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2317 if test "${am_cv_prog_PERL_ithreads+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2323 if ($Config{useithreads})
2327 require Thread::Queue;
2328 import Thread::Queue;
2333 am_cv_prog_PERL_ithreads
=yes
2335 am_cv_prog_PERL_ithreads
=no
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_PERL_ithreads" >&5
2339 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2340 if test $am_cv_prog_PERL_ithreads = yes; then
2347 # The test suite will skip some tests if tex is absent.
2348 # Extract the first word of "tex", so it can be a program name with args.
2349 set dummy tex
; ac_word
=$2
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_TEX+set}" = set; then :
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$TEX"; then
2356 ac_cv_prog_TEX
="$TEX" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_TEX
="tex"
2366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$TEX"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
2378 $as_echo "$TEX" >&6; }
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2381 $as_echo "no" >&6; }
2386 # Generate man pages.
2388 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
2391 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2392 # deletion of any files created (such as those added to
2393 # autom4te.cache). We used to perform only the last of the three
2394 # following tests, but some users were unable to figure out that their
2395 # installation was broken since --version appeared to work.
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is installed" >&5
2398 $as_echo_n "checking whether autoconf is installed... " >&6; }
2399 if test "${am_cv_autoconf_installed+set}" = set; then :
2400 $as_echo_n "(cached) " >&6
2402 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2403 (eval $am_AUTOCONF --version) >&5 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); };
2408 am_cv_autoconf_installed
=yes
2410 am_cv_autoconf_installed
=no
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_installed" >&5
2414 $as_echo "$am_cv_autoconf_installed" >&6; }
2415 if test "$am_cv_autoconf_installed" = no
; then
2416 as_fn_error
"Autoconf 2.60 or better is required.
2417 Please make sure it is installed and in your PATH." "$LINENO" 5
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf works" >&5
2421 $as_echo_n "checking whether autoconf works... " >&6; }
2422 if test "${am_cv_autoconf_works+set}" = set; then :
2423 $as_echo_n "(cached) " >&6
2426 echo 'AC''_INIT' > conftest
/conftest.ac
2427 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2428 (cd conftest
&& eval $am_AUTOCONF -o /dev
/null conftest.ac
) >&5 2>&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); };
2433 am_cv_autoconf_works
=yes
2435 am_cv_autoconf_works
=no
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_works" >&5
2440 $as_echo "$am_cv_autoconf_works" >&6; }
2441 if test "$am_cv_autoconf_works" = no
; then
2442 as_fn_error
"The installed version of autoconf does not work.
2443 Please check config.log for error messages before this one." "$LINENO" 5
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is recent enough" >&5
2447 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2448 if test "${am_cv_autoconf_version+set}" = set; then :
2449 $as_echo_n "(cached) " >&6
2452 echo 'AC''_PREREQ([2.62])' > conftest
/conftest.ac
2453 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2454 (cd conftest
&& eval $am_AUTOCONF -o /dev
/null conftest.ac
) >&5 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); };
2459 am_cv_autoconf_version
=yes
2461 am_cv_autoconf_version
=no
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_version" >&5
2466 $as_echo "$am_cv_autoconf_version" >&6; }
2467 if test "$am_cv_autoconf_version" = no
; then
2468 as_fn_error
"Autoconf 2.61a-341 or better is required." "$LINENO" 5
2471 # Test for ln. We need use it to install the versioned binaries.
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2473 $as_echo_n "checking whether ln works... " >&6; }
2474 if test "${am_cv_prog_ln+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2478 rm -f conftest conftest.
file
2480 if ln conftest.
file conftest
2>/dev
/null
; then
2483 am_cv_prog_ln
='cp -p'
2485 rm -f conftest conftest.
file
2491 test "x$am_cv_prog_ln" = xln
&& result
=yes
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2493 $as_echo "$result" >&6; }
2495 # The amount we should wait after modifying files depends on the platform.
2496 # On Windows '95, '98 and ME, files modifications have 2-seconds
2497 # granularity and can be up to 3 seconds in the future w.r.t. the
2498 # system clock. When it is important to ensure one file is older
2499 # than another we wait at least 5 seconds between creations.
2501 *-pc-msdosdjgpp) MODIFICATION_DELAY
=5;;
2502 *) MODIFICATION_DELAY
=2;;
2506 # Test for things needed by the test suite.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2508 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2509 if test "${ac_cv_path_GREP+set}" = set; then :
2510 $as_echo_n "(cached) " >&6
2512 if test -z "$GREP"; then
2513 ac_path_GREP_found
=false
2514 # Loop through the user's path and test for each of PROGNAME-LIST
2515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2519 test -z "$as_dir" && as_dir
=.
2520 for ac_prog
in grep ggrep
; do
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
2523 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
2524 # Check for GNU ac_path_GREP and select it if it is found.
2525 # Check for GNU $ac_path_GREP
2526 case `"$ac_path_GREP" --version 2>&1` in
2528 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
2531 $as_echo_n 0123456789 >"conftest.in"
2534 cat "conftest.in" "conftest.in" >"conftest.tmp"
2535 mv "conftest.tmp" "conftest.in"
2536 cp "conftest.in" "conftest.nl"
2537 $as_echo 'GREP' >> "conftest.nl"
2538 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2541 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2542 # Best one so far, save it but keep looking for a better one
2543 ac_cv_path_GREP
="$ac_path_GREP"
2544 ac_path_GREP_max
=$ac_count
2546 # 10*(2^10) chars as input seems more than enough
2547 test $ac_count -gt 10 && break
2549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2552 $ac_path_GREP_found && break 3
2557 if test -z "$ac_cv_path_GREP"; then
2558 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2561 ac_cv_path_GREP
=$GREP
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2566 $as_echo "$ac_cv_path_GREP" >&6; }
2567 GREP
="$ac_cv_path_GREP"
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2571 $as_echo_n "checking for egrep... " >&6; }
2572 if test "${ac_cv_path_EGREP+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
2576 then ac_cv_path_EGREP
="$GREP -E"
2578 if test -z "$EGREP"; then
2579 ac_path_EGREP_found
=false
2580 # Loop through the user's path and test for each of PROGNAME-LIST
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_prog
in egrep; do
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
2589 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
2590 # Check for GNU ac_path_EGREP and select it if it is found.
2591 # Check for GNU $ac_path_EGREP
2592 case `"$ac_path_EGREP" --version 2>&1` in
2594 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
2597 $as_echo_n 0123456789 >"conftest.in"
2600 cat "conftest.in" "conftest.in" >"conftest.tmp"
2601 mv "conftest.tmp" "conftest.in"
2602 cp "conftest.in" "conftest.nl"
2603 $as_echo 'EGREP' >> "conftest.nl"
2604 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2605 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2606 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2607 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2608 # Best one so far, save it but keep looking for a better one
2609 ac_cv_path_EGREP
="$ac_path_EGREP"
2610 ac_path_EGREP_max
=$ac_count
2612 # 10*(2^10) chars as input seems more than enough
2613 test $ac_count -gt 10 && break
2615 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2618 $ac_path_EGREP_found && break 3
2623 if test -z "$ac_cv_path_EGREP"; then
2624 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2627 ac_cv_path_EGREP
=$EGREP
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2633 $as_echo "$ac_cv_path_EGREP" >&6; }
2634 EGREP
="$ac_cv_path_EGREP"
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
2638 $as_echo_n "checking for fgrep... " >&6; }
2639 if test "${ac_cv_path_FGREP+set}" = set; then :
2640 $as_echo_n "(cached) " >&6
2642 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
2643 then ac_cv_path_FGREP
="$GREP -F"
2645 if test -z "$FGREP"; then
2646 ac_path_FGREP_found
=false
2647 # Loop through the user's path and test for each of PROGNAME-LIST
2648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2649 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2652 test -z "$as_dir" && as_dir
=.
2653 for ac_prog
in fgrep
; do
2654 for ac_exec_ext
in '' $ac_executable_extensions; do
2655 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
2656 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
2657 # Check for GNU ac_path_FGREP and select it if it is found.
2658 # Check for GNU $ac_path_FGREP
2659 case `"$ac_path_FGREP" --version 2>&1` in
2661 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
2664 $as_echo_n 0123456789 >"conftest.in"
2667 cat "conftest.in" "conftest.in" >"conftest.tmp"
2668 mv "conftest.tmp" "conftest.in"
2669 cp "conftest.in" "conftest.nl"
2670 $as_echo 'FGREP' >> "conftest.nl"
2671 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2673 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2674 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2675 # Best one so far, save it but keep looking for a better one
2676 ac_cv_path_FGREP
="$ac_path_FGREP"
2677 ac_path_FGREP_max
=$ac_count
2679 # 10*(2^10) chars as input seems more than enough
2680 test $ac_count -gt 10 && break
2682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2685 $ac_path_FGREP_found && break 3
2690 if test -z "$ac_cv_path_FGREP"; then
2691 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2694 ac_cv_path_FGREP
=$FGREP
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
2700 $as_echo "$ac_cv_path_FGREP" >&6; }
2701 FGREP
="$ac_cv_path_FGREP"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /bin/sh has working 'set -e' with exit trap" >&5
2706 $as_echo_n "checking whether /bin/sh has working 'set -e' with exit trap... " >&6; }
2707 if test "${am_cv_sh_errexit_works+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 if /bin
/sh
-ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $?
= 77
2712 am_cv_sh_errexit_works
=yes
2714 am_cv_sh_errexit_works
=no
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_sh_errexit_works" >&5
2719 $as_echo "$am_cv_sh_errexit_works" >&6; }
2720 if test $am_cv_sh_errexit_works = no
; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2722 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2724 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2726 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2728 sh_errexit_works
=$am_cv_sh_errexit_works
2731 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"
2733 ac_config_files
="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2735 ac_config_files
="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2738 cat >confcache
<<\_ACEOF
2739 # This file is a shell script that caches the results of configure
2740 # tests run on this system so they can be shared between configure
2741 # scripts and configure runs, see configure's option --config-cache.
2742 # It is not useful on other systems. If it contains results you don't
2743 # want to keep, you may remove or edit it.
2745 # config.status only pays attention to the cache file if you give it
2746 # the --recheck option to rerun configure.
2748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2754 # The following way of writing the cache mishandles newlines in values,
2755 # but we know of no workaround that is simple, portable, and efficient.
2756 # So, we kill variables containing newlines.
2757 # Ultrix sh set writes to stderr and can't be redirected directly,
2758 # and sets the high bit in the cache file unless we assign to the vars.
2760 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2761 eval ac_val
=\$
$ac_var
2765 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2766 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2769 _ | IFS | as_nl
) ;; #(
2770 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2771 *) { eval $ac_var=; unset $ac_var;} ;;
2777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2778 *${as_nl}ac_space
=\
*)
2779 # `set' does not quote correctly, so add quotes: double-quote
2780 # substitution turns \\\\ into \\, and sed turns \\ into \.
2783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2786 # `set' quotes correctly as required by POSIX, so do not add quotes.
2787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2800 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2801 if test -w "$cache_file"; then
2802 test "x$cache_file" != "x/dev/null" &&
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2804 $as_echo "$as_me: updating cache $cache_file" >&6;}
2805 cat confcache
>$cache_file
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2808 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2813 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2814 # Let make expand exec_prefix.
2815 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2817 # Transform confdefs.h into DEFS.
2818 # Protect against shell expansion while executing Makefile rules.
2819 # Protect against Makefile macro expansion.
2821 # If the first sed substitution is executed (which looks for macros that
2822 # take arguments), then branch to the quote section. Otherwise,
2823 # look for a macro that doesn't take arguments.
2833 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2835 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2839 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2852 DEFS
=`sed -n "$ac_script" confdefs.h`
2857 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
2858 # 1. Remove the extension, and $U if already installed.
2859 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
2860 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
2861 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2862 # will be set to the directory where LIBOBJS objects are built.
2863 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2864 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
2868 LTLIBOBJS
=$ac_ltlibobjs
2873 : ${CONFIG_STATUS=./config.status}
2875 ac_clean_files_save
=$ac_clean_files
2876 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2878 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2880 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2882 # Generated by $as_me.
2883 # Run this file to recreate the current configuration.
2884 # Compiler output produced by configure, useful for debugging
2885 # configure, is in config.log if it exists.
2891 SHELL=\${CONFIG_SHELL-$SHELL}
2894 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
2895 ## -------------------- ##
2896 ## M4sh Initialization. ##
2897 ## -------------------- ##
2899 # Be more Bourne compatible
2900 DUALCASE
=1; export DUALCASE
# for MKS sh
2901 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
2904 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2905 # is contrary to our usage. Disable this feature.
2906 alias -g '${1+"$@"}'='"$@"'
2907 setopt NO_GLOB_SUBST
2909 case `(set -o) 2>/dev/null` in #(
2921 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2922 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2924 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2925 # Prefer a ksh shell builtin over an external printf program on Solaris,
2926 # but without wasting forks for bash or zsh.
2927 if test -z "$BASH_VERSION$ZSH_VERSION" \
2928 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2929 as_echo='print
-r --'
2930 as_echo_n='print
-rn --'
2931 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2932 as_echo='printf %s
\n'
2933 as_echo_n='printf %s
'
2935 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2936 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
2937 as_echo_n='/usr
/ucb
/echo -n'
2939 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2940 as_echo_n_body='eval
2944 expr "X$arg" : "X\\(.*\\)$as_nl";
2945 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2947 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
2949 export as_echo_n_body
2950 as_echo_n='sh
-c $as_echo_n_body as_echo
'
2953 as_echo='sh
-c $as_echo_body as_echo
'
2956 # The user is always right.
2957 if test "${PATH_SEPARATOR+set}" != set; then
2959 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2960 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2967 # We need space, tab and new line, in precisely that order. Quoting is
2968 # there to prevent editors from complaining about space-tab.
2969 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2970 # splitting by setting IFS to empty value.)
2973 # Find who we are. Look in the path if we contain no directory separator.
2975 *[\\/]* ) as_myself=$0 ;;
2976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir=.
2981 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2987 # We did not find ourselves, most probably we were run as `sh COMMAND'
2988 # in which case we are not to be found in the path.
2989 if test "x$as_myself" = x
; then
2992 if test ! -f "$as_myself"; then
2993 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2997 # Unset variables that we do not need and which cause bugs (e.g. in
2998 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2999 # suppresses any "Segmentation fault" message there. '((' could
3000 # trigger a bug in pdksh 5.2.14.
3001 for as_var
in BASH_ENV ENV MAIL MAILPATH
3002 do eval test x\
${$as_var+set} = xset \
3003 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3016 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3019 # as_fn_error ERROR [LINENO LOG_FD]
3020 # ---------------------------------
3021 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3022 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3023 # script with status $?, using 1 if that was 0.
3026 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3028 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3031 $as_echo "$as_me: error: $1" >&2
3032 as_fn_exit
$as_status
3036 # as_fn_set_status STATUS
3037 # -----------------------
3038 # Set $? to STATUS, without forking.
3042 } # as_fn_set_status
3046 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3056 # Portably unset VAR.
3059 { eval $1=; unset $1;}
3061 as_unset
=as_fn_unset
3062 # as_fn_append VAR VALUE
3063 # ----------------------
3064 # Append the text in VALUE to the end of the definition contained in VAR. Take
3065 # advantage of any shell optimizations that allow amortized linear growth over
3066 # repeated appends, instead of the typical quadratic growth present in naive
3068 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3069 eval 'as_fn_append ()
3080 # as_fn_arith ARG...
3081 # ------------------
3082 # Perform arithmetic evaluation on the ARGs, and store the result in the
3083 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3084 # must be portable across $(()) and expr.
3085 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3086 eval 'as_fn_arith ()
3093 as_val
=`expr "$@" || test $? -eq 1`
3098 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3099 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3105 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3106 as_basename
=basename
3111 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3117 as_me
=`$as_basename -- "$0" ||
3118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3119 X"$0" : 'X\(//\)$' \| \
3120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3122 sed '/^.*\/\([^/][^/]*\)\/*$/{
3136 # Avoid depending upon Character Ranges.
3137 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3138 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3139 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3140 as_cr_digits
='0123456789'
3141 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3143 ECHO_C
= ECHO_N
= ECHO_T
=
3144 case `echo -n x` in #(((((
3146 case `echo 'xy\c'` in
3147 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3149 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3156 rm -f conf$$ conf$$.exe conf$$.
file
3157 if test -d conf$$.dir
; then
3158 rm -f conf$$.dir
/conf$$.
file
3161 mkdir conf$$.dir
2>/dev
/null
3163 if (echo >conf$$.
file) 2>/dev
/null
; then
3164 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3166 # ... but there are two gotchas:
3167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3169 # In both cases, we have to default to `cp -p'.
3170 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3172 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3180 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3181 rmdir conf$$.dir
2>/dev
/null
3186 # Create "$as_dir" as a directory, including parents if necessary.
3191 -*) as_dir
=.
/$as_dir;;
3193 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3197 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3198 *) as_qdir
=$as_dir;;
3200 as_dirs
="'$as_qdir' $as_dirs"
3201 as_dir
=`$as_dirname -- "$as_dir" ||
3202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3203 X"$as_dir" : 'X\(//\)[^/]' \| \
3204 X"$as_dir" : 'X\(//\)$' \| \
3205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3206 $as_echo X"$as_dir" |
3207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3224 test -d "$as_dir" && break
3226 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3227 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3231 if mkdir
-p .
2>/dev
/null
; then
3232 as_mkdir_p
='mkdir -p "$as_dir"'
3234 test -d .
/-p && rmdir .
/-p
3238 if test -x / >/dev
/null
2>&1; then
3241 if ls -dL / >/dev
/null
2>&1; then
3248 if test -d "$1"; then
3254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3255 ???[sx]*):;;*)false;;esac;fi
3259 as_executable_p
=$as_test_x
3261 # Sed expression to map a string onto a valid CPP name.
3262 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3264 # Sed expression to map a string onto a valid variable name.
3265 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3269 ## ----------------------------------- ##
3270 ## Main body of $CONFIG_STATUS script. ##
3271 ## ----------------------------------- ##
3273 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3276 # Save the log message, to keep $0 and so on meaningful, and to
3277 # report actual input values of CONFIG_FILES etc. instead of their
3278 # values after options handling.
3280 This file was extended by GNU Automake $as_me 1.11, which was
3281 generated by GNU Autoconf 2.64. Invocation command line was
3283 CONFIG_FILES = $CONFIG_FILES
3284 CONFIG_HEADERS = $CONFIG_HEADERS
3285 CONFIG_LINKS = $CONFIG_LINKS
3286 CONFIG_COMMANDS = $CONFIG_COMMANDS
3289 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3294 case $ac_config_files in *"
3295 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3301 # Files that config.status was made for.
3302 config_files="$ac_config_files"
3306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3308 \`$as_me' instantiates files and other configuration actions
3309 from templates according to the current configuration. Unless the files
3310 and actions are specified as TAGs, all are instantiated by default.
3312 Usage: $0 [OPTION]... [TAG]...
3314 -h, --help print this help, then exit
3315 -V, --version print version number and configuration settings, then exit
3316 -q, --quiet, --silent
3317 do not print progress messages
3318 -d, --debug don't remove temporary files
3319 --recheck update $as_me by reconfiguring in the same conditions
3320 --file=FILE[:TEMPLATE]
3321 instantiate the configuration file FILE
3323 Configuration files:
3326 Report bugs to <bug-automake@gnu.org>.
3327 GNU Automake home page: <http://www.gnu.org/software/automake/>.
3328 General help using GNU software: <http://www.gnu.org/gethelp/>."
3331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3333 GNU Automake config.status 1.11
3334 configured by $0, generated by GNU Autoconf 2.64,
3335 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3337 Copyright (C) 2009 Free Software Foundation, Inc.
3338 This config.status script is free software; the Free Software Foundation
3339 gives unlimited permission to copy, distribute and modify it."
3346 test -n "\$AWK" || AWK=awk
3349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3350 # The default lists apply if the user does not specify any file.
3356 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3357 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3368 # Handling of the options.
3369 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3371 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3372 $as_echo "$ac_cs_version"; exit ;;
3373 --debug |
--debu |
--deb |
--de |
--d |
-d )
3375 --file |
--fil |
--fi |
--f )
3378 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3380 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3381 ac_need_defaults
=false
;;
3382 --he |
--h |
--help |
--hel |
-h )
3383 $as_echo "$ac_cs_usage"; exit ;;
3384 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3385 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3389 -*) as_fn_error
"unrecognized option: \`$1'
3390 Try \`$0 --help' for more information." ;;
3392 *) as_fn_append ac_config_targets
" $1"
3393 ac_need_defaults
=false
;;
3399 ac_configure_extra_args
=
3401 if $ac_cs_silent; then
3403 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3408 if \$ac_cs_recheck; then
3409 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3411 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3412 CONFIG_SHELL='$SHELL'
3418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3423 ## Running $as_me. ##
3429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3433 APIVERSION=$APIVERSION
3437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3439 # Handling of arguments.
3440 for ac_config_target
in $ac_config_targets
3442 case $ac_config_target in
3443 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3444 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
3445 "lib/Automake/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Automake/Makefile" ;;
3446 "lib/Automake/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3447 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
3448 "lib/am/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/am/Makefile" ;;
3449 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
3450 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
3451 "tests/defs") CONFIG_FILES
="$CONFIG_FILES tests/defs" ;;
3452 "tests/aclocal-${APIVERSION}") CONFIG_FILES
="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3453 "tests/automake-${APIVERSION}") CONFIG_FILES
="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3455 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3460 # If the user did not use the arguments to specify the items to instantiate,
3461 # then the envvar interface is used. Set only those that are not.
3462 # We use the long form for the default assignment because of an extremely
3463 # bizarre bug on SunOS 4.1.3.
3464 if $ac_need_defaults; then
3465 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3468 # Have a temporary directory for convenience. Make it in the build tree
3469 # simply because there is no reason against having it here, and in addition,
3470 # creating and moving files from /tmp can sometimes cause problems.
3471 # Hook for its removal unless debugging.
3472 # Note that there is a small window in which the directory will not be cleaned:
3473 # after its creation but before its name has been assigned to `$tmp'.
3477 trap 'exit_status=$?
3478 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3480 trap 'as_fn_exit 1' 1 2 13 15
3482 # Create a (secure) tmp directory for tmp files.
3485 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3486 test -n "$tmp" && test -d "$tmp"
3489 tmp
=.
/conf$$
-$RANDOM
3490 (umask 077 && mkdir
"$tmp")
3491 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
3493 # Set up the scripts for CONFIG_FILES section.
3494 # No need to generate them if there are no CONFIG_FILES.
3495 # This happens for instance with `./config.status config.h'.
3496 if test -n "$CONFIG_FILES"; then
3499 ac_cr
=`echo X | tr X '\015'`
3500 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3501 # But we know of no other shell where ac_cr would be empty at this
3502 # point, so we can use a bashism as a fallback.
3503 if test "x$ac_cr" = x
; then
3504 eval ac_cr
=\$
\'\\r
\'
3506 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3507 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3513 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3518 echo "cat >conf$$subs.awk <<_ACEOF" &&
3519 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3522 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3525 for ac_last_try in false false false false false :; do
3526 . ./conf$$subs.sh ||
3527 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3529 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3530 if test $ac_delim_n = $ac_delim_num; then
3532 elif $ac_last_try; then
3533 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3535 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3541 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
3545 s/^/S["/; s
/!.
*/"]=/
3555 s/\(.\{148\}\).*/\1/
3557 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3562 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3569 s/\(.\{148\}\).*/\1/
3571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3575 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3580 ' <conf$$subs.awk | sed '
3585 ' >>$CONFIG_STATUS || ac_write_fail=1
3586 rm -f conf$$subs.awk
3587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3589 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
3590 for (key in S) S_is_set[key] = 1
3596 nfields = split(line, field, "@
")
3598 len = length(field[1])
3599 for (i = 2; i < nfields; i++) {
3601 keylen = length(key)
3602 if (S_is_set[key]) {
3604 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3605 len += length(value) + length(field[++i])
3616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3617 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3618 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3621 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
3622 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
3625 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3626 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
3627 # trailing colons and then remove the whole line if VPATH becomes empty
3628 # (actually we leave an empty line to preserve line numbers).
3629 if test "x
$srcdir" = x.; then
3630 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3634 s/^\([^=]*=[ ]*\):*/\1/
3640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3641 fi # test -n "$CONFIG_FILES"
3644 eval set X " :F
$CONFIG_FILES "
3649 :[FHLC]) ac_mode=$ac_tag; continue;;
3651 case $ac_mode$ac_tag in
3653 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
3654 :[FH]-) ac_tag=-:-;;
3655 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3672 -) ac_f="$tmp/stdin";;
3673 *) # Look for the file first in the build tree, then in the source tree
3674 # (if the path is not absolute). The absolute path cannot be DOS-style,
3675 # because $ac_f cannot contain `:'.
3679 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3681 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3683 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
3684 as_fn_append ac_file_inputs " '$ac_f'"
3687 # Let's still pretend it is `configure' which instantiates (i.e., don't
3688 # use $as_me), people would be surprised to read:
3689 # /* config.h. Generated by config.status. */
3690 configure_input='Generated from '`
3691 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3693 if test x"$ac_file" != x-; then
3694 configure_input="$ac_file.
$configure_input"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
3696 $as_echo "$as_me: creating
$ac_file" >&6;}
3698 # Neutralize special characters interpreted by sed in replacement strings.
3699 case $configure_input in #(
3700 *\&* | *\|* | *\\* )
3701 ac_sed_conf_input=`$as_echo "$configure_input" |
3702 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3703 *) ac_sed_conf_input=$configure_input;;
3707 *:-:* | *:-) cat >"$tmp/stdin
" \
3708 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
3713 ac_dir=`$as_dirname -- "$ac_file" ||
3714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3715 X"$ac_file" : 'X\(//\)[^/]' \| \
3716 X"$ac_file" : 'X\(//\)$' \| \
3717 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3718 $as_echo X"$ac_file" |
3719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3736 as_dir="$ac_dir"; as_fn_mkdir_p
3740 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3742 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3743 # A "..
" for each directory in $ac_dir_suffix.
3744 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3745 case $ac_top_builddir_sub in
3746 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3747 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3750 ac_abs_top_builddir=$ac_pwd
3751 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3752 # for backward compatibility:
3753 ac_top_builddir=$ac_top_build_prefix
3756 .) # We are building in place.
3758 ac_top_srcdir=$ac_top_builddir_sub
3759 ac_abs_top_srcdir=$ac_pwd ;;
3760 [\\/]* | ?:[\\/]* ) # Absolute name.
3761 ac_srcdir=$srcdir$ac_dir_suffix;
3762 ac_top_srcdir=$srcdir
3763 ac_abs_top_srcdir=$srcdir ;;
3765 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3766 ac_top_srcdir=$ac_top_build_prefix$srcdir
3767 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3769 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3779 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3780 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3784 [\\/$]* | ?:[\\/]* ) ;;
3785 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3790 # If the template does not know about datarootdir, expand it.
3791 # FIXME: This hack should be removed a few years after 2.60.
3792 ac_datarootdir_hack=; ac_datarootdir_seen=
3803 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
3804 *datarootdir*) ac_datarootdir_seen=yes;;
3805 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
3807 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
3809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3810 ac_datarootdir_hack='
3811 s&@datadir@&$datadir&g
3812 s&@docdir@&$docdir&g
3813 s&@infodir@&$infodir&g
3814 s&@localedir@&$localedir&g
3815 s&@mandir@&$mandir&g
3816 s&\\\${datarootdir}&$datarootdir&g' ;;
3820 # Neutralize VPATH when `$srcdir' = `.'.
3821 # Shell code in configure.ac might set extrasub.
3822 # FIXME: do we really want to maintain this feature?
3823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3824 ac_sed_extra="$ac_vpsub
3827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3829 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3830 s|@configure_input@|
$ac_sed_conf_input|
;t t
3831 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3832 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
3833 s
&@srcdir@
&$ac_srcdir&;t t
3834 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3835 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3836 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3837 s
&@builddir@
&$ac_builddir&;t t
3838 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3839 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3840 s
&@INSTALL@
&$ac_INSTALL&;t t
3841 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
3842 $ac_datarootdir_hack
3844 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
3845 || as_fn_error "could not create
$ac_file" "$LINENO" 5
3847 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3848 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
3849 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3851 which seems to be undefined. Please make sure it is defined." >&5
3852 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3853 which seems to be undefined. Please make sure it is defined." >&2;}
3857 -) cat "$tmp/out" && rm -f "$tmp/out";;
3858 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3860 || as_fn_error "could not create $ac_file" "$LINENO" 5
3868 case $ac_file$ac_mode in
3869 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3870 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3878 ac_clean_files=$ac_clean_files_save
3880 test $ac_write_fail = 0 ||
3881 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3884 # configure is writing to config.log, and then calls config.status.
3885 # config.status does its own redirection, appending to config.log.
3886 # Unfortunately, on DOS this fails, as config.log is still kept open
3887 # by configure, so config.status won't be able to
write to it
; its
3888 # output is simply discarded. So we exec the FD to /dev/null,
3889 # effectively closing config.log, so it can be properly (re)opened and
3890 # appended to by config.status. When coming back to configure, we
3891 # need to make the FD available again.
3892 if test "$no_create" != yes; then
3894 ac_config_status_args
=
3895 test "$silent" = yes &&
3896 ac_config_status_args
="$ac_config_status_args --quiet"
3898 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
3900 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3901 # would make configure fail if this is the last instruction.
3902 $ac_cs_success || as_fn_exit $?
3904 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3906 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}