2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GNU Automake 1.11a.
5 # Report bugs to <bug-automake@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: bug-automake@gnu.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='GNU Automake'
562 PACKAGE_TARNAME='automake'
563 PACKAGE_VERSION='1.11a'
564 PACKAGE_STRING='GNU Automake 1.11a'
565 PACKAGE_BUGREPORT='bug-automake@gnu.org'
566 PACKAGE_URL='http://www.gnu.org/software/automake/'
568 ac_unique_file="automake.in"
569 ac_subst_vars='LTLIBOBJS
593 INSTALL_STRIP_PROGRAM
648 program_transform_name
661 enable_option_checking
664 ac_precious_vars='build_alias
669 # Initialize some variables set by options.
671 ac_init_version=false
672 ac_unrecognized_opts=
674 # The variables have the same names as the options, with
675 # dashes changed to underlines.
683 program_transform_name=s,x,x,
691 # Installation directory options.
692 # These are left unexpanded so users can "make install exec_prefix=/foo"
693 # and all the variables that are supposed to be based on exec_prefix
694 # by default will actually change.
695 # Use braces instead of parens because sh, perl, etc. also accept them.
696 # (The list follows the same order as the GNU Coding Standards.)
697 bindir='${exec_prefix}/bin'
698 sbindir='${exec_prefix}/sbin'
699 libexecdir='${exec_prefix}/libexec'
700 datarootdir='${prefix}/share'
701 datadir='${datarootdir}'
702 sysconfdir='${prefix}/etc'
703 sharedstatedir='${prefix}/com'
704 localstatedir='${prefix}/var'
705 includedir='${prefix}/include'
706 oldincludedir='/usr/include'
707 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
708 infodir='${datarootdir}/info'
713 libdir='${exec_prefix}/lib'
714 localedir='${datarootdir}/locale'
715 mandir='${datarootdir}/man'
721 # If the previous option needs an argument, assign it.
722 if test -n "$ac_prev"; then
723 eval $ac_prev=\$ac_option
729 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
734 # Accept the important Cygnus configure options, so we can diagnose typos.
736 case $ac_dashdash$ac_option in
740 -bindir | --bindir | --bindi | --bind | --bin | --bi)
742 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
745 -build | --build | --buil | --bui | --bu)
746 ac_prev=build_alias ;;
747 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
748 build_alias=$ac_optarg ;;
750 -cache-file | --cache-file | --cache-fil | --cache-fi \
751 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
752 ac_prev=cache_file ;;
753 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
754 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
755 cache_file=$ac_optarg ;;
758 cache_file=config.cache ;;
760 -datadir | --datadir | --datadi | --datad)
762 -datadir=* | --datadir=* | --datadi=* | --datad=*)
763 datadir=$ac_optarg ;;
765 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
766 | --dataroo | --dataro | --datar)
767 ac_prev=datarootdir ;;
768 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
769 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
770 datarootdir=$ac_optarg ;;
772 -disable-* | --disable-*)
773 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
776 as_fn_error $? "invalid feature name: $ac_useropt"
777 ac_useropt_orig=$ac_useropt
778 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
779 case $ac_user_opts in
783 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
784 ac_unrecognized_sep=', ';;
786 eval enable_$ac_useropt=no ;;
788 -docdir | --docdir | --docdi | --doc | --do)
790 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
793 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
795 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
798 -enable-* | --enable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: $ac_useropt"
803 ac_useropt_orig=$ac_useropt
804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
810 ac_unrecognized_sep=', ';;
812 eval enable_$ac_useropt=\$ac_optarg ;;
814 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
815 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
816 | --exec | --exe | --ex)
817 ac_prev=exec_prefix ;;
818 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
819 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
820 | --exec=* | --exe=* | --ex=*)
821 exec_prefix=$ac_optarg ;;
823 -gas | --gas | --ga | --g)
824 # Obsolete; use --with-gas.
827 -help | --help | --hel | --he | -h)
829 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
830 ac_init_help=recursive ;;
831 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
832 ac_init_help=short ;;
834 -host | --host | --hos | --ho)
835 ac_prev=host_alias ;;
836 -host=* | --host=* | --hos=* | --ho=*)
837 host_alias=$ac_optarg ;;
839 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
841 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
843 htmldir=$ac_optarg ;;
845 -includedir | --includedir | --includedi | --included | --include \
846 | --includ | --inclu | --incl | --inc)
847 ac_prev=includedir ;;
848 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
849 | --includ=* | --inclu=* | --incl=* | --inc=*)
850 includedir=$ac_optarg ;;
852 -infodir | --infodir | --infodi | --infod | --info | --inf)
854 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
855 infodir=$ac_optarg ;;
857 -libdir | --libdir | --libdi | --libd)
859 -libdir=* | --libdir=* | --libdi=* | --libd=*)
862 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
863 | --libexe | --libex | --libe)
864 ac_prev=libexecdir ;;
865 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
866 | --libexe=* | --libex=* | --libe=*)
867 libexecdir=$ac_optarg ;;
869 -localedir | --localedir | --localedi | --localed | --locale)
871 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
872 localedir=$ac_optarg ;;
874 -localstatedir | --localstatedir | --localstatedi | --localstated \
875 | --localstate | --localstat | --localsta | --localst | --locals)
876 ac_prev=localstatedir ;;
877 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
878 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
879 localstatedir=$ac_optarg ;;
881 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
883 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
887 # Obsolete; use --without-fp.
890 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
891 | --no-cr | --no-c | -n)
894 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
895 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
898 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
899 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
900 | --oldin | --oldi | --old | --ol | --o)
901 ac_prev=oldincludedir ;;
902 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
903 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
904 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
905 oldincludedir=$ac_optarg ;;
907 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
909 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
912 -program-prefix | --program-prefix | --program-prefi | --program-pref \
913 | --program-pre | --program-pr | --program-p)
914 ac_prev=program_prefix ;;
915 -program-prefix=* | --program-prefix=* | --program-prefi=* \
916 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
917 program_prefix=$ac_optarg ;;
919 -program-suffix | --program-suffix | --program-suffi | --program-suff \
920 | --program-suf | --program-su | --program-s)
921 ac_prev=program_suffix ;;
922 -program-suffix=* | --program-suffix=* | --program-suffi=* \
923 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
924 program_suffix=$ac_optarg ;;
926 -program-transform-name | --program-transform-name \
927 | --program-transform-nam | --program-transform-na \
928 | --program-transform-n | --program-transform- \
929 | --program-transform | --program-transfor \
930 | --program-transfo | --program-transf \
931 | --program-trans | --program-tran \
932 | --progr-tra | --program-tr | --program-t)
933 ac_prev=program_transform_name ;;
934 -program-transform-name=* | --program-transform-name=* \
935 | --program-transform-nam=* | --program-transform-na=* \
936 | --program-transform-n=* | --program-transform-=* \
937 | --program-transform=* | --program-transfor=* \
938 | --program-transfo=* | --program-transf=* \
939 | --program-trans=* | --program-tran=* \
940 | --progr-tra=* | --program-tr=* | --program-t=*)
941 program_transform_name=$ac_optarg ;;
943 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
945 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
948 -psdir | --psdir | --psdi | --psd | --ps)
950 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
954 | -silent | --silent | --silen | --sile | --sil)
957 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
959 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
961 sbindir=$ac_optarg ;;
963 -sharedstatedir | --sharedstatedir | --sharedstatedi \
964 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
965 | --sharedst | --shareds | --shared | --share | --shar \
967 ac_prev=sharedstatedir ;;
968 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
969 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
970 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
972 sharedstatedir=$ac_optarg ;;
974 -site | --site | --sit)
976 -site=* | --site=* | --sit=*)
979 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
981 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
984 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
985 | --syscon | --sysco | --sysc | --sys | --sy)
986 ac_prev=sysconfdir ;;
987 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
988 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
989 sysconfdir=$ac_optarg ;;
991 -target | --target | --targe | --targ | --tar | --ta | --t)
992 ac_prev=target_alias ;;
993 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
994 target_alias=$ac_optarg ;;
996 -v | -verbose | --verbose | --verbos | --verbo | --verb)
999 -version | --version | --versio | --versi | --vers | -V)
1000 ac_init_version=: ;;
1003 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error $? "invalid package name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1016 eval with_$ac_useropt=\$ac_optarg ;;
1018 -without-* | --without-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error $? "invalid package name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1032 eval with_$ac_useropt=no ;;
1035 # Obsolete; use --with-x.
1038 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1039 | --x-incl | --x-inc | --x-in | --x-i)
1040 ac_prev=x_includes ;;
1041 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1042 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1043 x_includes=$ac_optarg ;;
1045 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1046 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1047 ac_prev=x_libraries ;;
1048 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1049 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1050 x_libraries=$ac_optarg ;;
1052 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1053 Try \`$0 --help' for more information"
1057 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1058 # Reject names that are not valid shell variable names.
1059 case $ac_envvar in #(
1060 '' | [0-9]* | *[!_$as_cr_alnum]* )
1061 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1063 eval $ac_envvar=\$ac_optarg
1064 export $ac_envvar ;;
1067 # FIXME: should be removed in autoconf 3.0.
1068 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1069 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1070 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1071 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1077 if test -n "$ac_prev"; then
1078 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1079 as_fn_error $? "missing argument to $ac_option"
1082 if test -n "$ac_unrecognized_opts"; then
1083 case $enable_option_checking in
1085 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1086 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1090 # Check all directory arguments for consistency.
1091 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1092 datadir sysconfdir sharedstatedir localstatedir includedir \
1093 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1094 libdir localedir mandir
1096 eval ac_val=\$$ac_var
1097 # Remove trailing slashes.
1100 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1101 eval $ac_var=\$ac_val;;
1103 # Be sure to have absolute directory names.
1105 [\\/$]* | ?:[\\/]* ) continue;;
1106 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1108 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1111 # There might be people who depend on the old broken behavior: `$host'
1112 # used to hold the argument of --host etc.
1113 # FIXME: To remove some day.
1116 target=$target_alias
1118 # FIXME: To remove some day.
1119 if test "x$host_alias" != x; then
1120 if test "x$build_alias" = x; then
1121 cross_compiling=maybe
1122 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1123 If a cross compiler is detected then cross compile mode will be used" >&2
1124 elif test "x$build_alias" != "x$host_alias"; then
1130 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132 test "$silent" = yes && exec 6>/dev/null
1135 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1136 ac_ls_di=`ls -di .` &&
1137 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1138 as_fn_error $? "working directory cannot be determined"
1139 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140 as_fn_error $? "pwd does not report name of working directory"
1143 # Find the source files, if location was not specified.
1144 if test -z "$srcdir"; then
1145 ac_srcdir_defaulted=yes
1146 # Try the directory containing this script, then the parent directory.
1147 ac_confdir=`$as_dirname -- "$as_myself" ||
1148 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 X"$as_myself" : 'X\(//\)[^/]' \| \
1150 X"$as_myself" : 'X\(//\)$' \| \
1151 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1152 $as_echo X"$as_myself" |
1153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1175 ac_srcdir_defaulted=no
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1181 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1185 # When building in place, set srcdir=.
1186 if test "$ac_abs_confdir" = "$ac_pwd"; then
1189 # Remove unnecessary trailing slashes from srcdir.
1190 # Double slashes in file names in object file debugging info
1191 # mess up M-x gdb in Emacs.
1193 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1195 for ac_var in $ac_precious_vars; do
1196 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1197 eval ac_env_${ac_var}_value=\$${ac_var}
1198 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1203 # Report the --help message.
1205 if test "$ac_init_help" = "long"; then
1206 # Omit some internal or obsolete options to make the list less imposing.
1207 # This message is too long to be a string in the A/UX 3.1 sh.
1209 \`configure' configures GNU Automake 1.11a to adapt to many kinds of systems.
1211 Usage: $0 [OPTION]... [VAR=VALUE]...
1213 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1214 VAR=VALUE. See below for descriptions of some of the useful variables.
1216 Defaults for the options are specified in brackets.
1219 -h, --help display this help and exit
1220 --help=short display options specific to this package
1221 --help=recursive display the short help of all the included packages
1222 -V, --version display version information and exit
1223 -q, --quiet, --silent do not print \`checking ...' messages
1224 --cache-file=FILE cache test results in FILE [disabled]
1225 -C, --config-cache alias for \`--cache-file=config.cache'
1226 -n, --no-create do not create output files
1227 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1229 Installation directories:
1230 --prefix=PREFIX install architecture-independent files in PREFIX
1231 [$ac_default_prefix]
1232 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 By default, \`make install' will install all the files in
1236 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1237 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1238 for instance \`--prefix=\$HOME'.
1240 For better control, use the options below.
1242 Fine tuning of the installation directories:
1243 --bindir=DIR user executables [EPREFIX/bin]
1244 --sbindir=DIR system admin executables [EPREFIX/sbin]
1245 --libexecdir=DIR program executables [EPREFIX/libexec]
1246 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1247 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1248 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1249 --libdir=DIR object code libraries [EPREFIX/lib]
1250 --includedir=DIR C header files [PREFIX/include]
1251 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1252 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1253 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1254 --infodir=DIR info documentation [DATAROOTDIR/info]
1255 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1256 --mandir=DIR man documentation [DATAROOTDIR/man]
1257 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1258 --htmldir=DIR html documentation [DOCDIR]
1259 --dvidir=DIR dvi documentation [DOCDIR]
1260 --pdfdir=DIR pdf documentation [DOCDIR]
1261 --psdir=DIR ps documentation [DOCDIR]
1267 --program-prefix=PREFIX prepend PREFIX to installed program names
1268 --program-suffix=SUFFIX append SUFFIX to installed program names
1269 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1272 --build=BUILD configure for building on BUILD [guessed]
1273 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1277 if test -n "$ac_init_help"; then
1278 case $ac_init_help in
1279 short | recursive ) echo "Configuration of GNU Automake 1.11a:";;
1284 --disable-option-checking ignore unrecognized --enable/--with options
1285 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1286 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1287 --enable-silent-rules less verbose build output (undo: `make V=1')
1288 --disable-silent-rules verbose build output (undo: `make V=0')
1290 Report bugs to <bug-automake@gnu.org>.
1291 GNU Automake home page: <http://www.gnu.org/software/automake/>.
1292 General help using GNU software: <http://www.gnu.org/gethelp/>.
1297 if test "$ac_init_help" = "recursive"; then
1298 # If there are subdirs, report their specific --help.
1299 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1300 test -d "$ac_dir" ||
1301 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1309 # A ".." for each directory in $ac_dir_suffix.
1310 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1311 case $ac_top_builddir_sub in
1312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1316 ac_abs_top_builddir=$ac_pwd
1317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1318 # for backward compatibility:
1319 ac_top_builddir=$ac_top_build_prefix
1322 .) # We are building in place.
1324 ac_top_srcdir=$ac_top_builddir_sub
1325 ac_abs_top_srcdir=$ac_pwd ;;
1326 [\\/]* | ?:[\\/]* ) # Absolute name.
1327 ac_srcdir=$srcdir$ac_dir_suffix;
1328 ac_top_srcdir=$srcdir
1329 ac_abs_top_srcdir=$srcdir ;;
1331 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1332 ac_top_srcdir=$ac_top_build_prefix$srcdir
1333 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1337 cd "$ac_dir" || { ac_status=$?; continue; }
1338 # Check for guested configure.
1339 if test -f "$ac_srcdir/configure.gnu"; then
1341 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1342 elif test -f "$ac_srcdir/configure"; then
1344 $SHELL "$ac_srcdir/configure" --help=recursive
1346 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1348 cd "$ac_pwd" || { ac_status=$?; break; }
1352 test -n "$ac_init_help" && exit $ac_status
1353 if $ac_init_version; then
1355 GNU Automake configure 1.11a
1356 generated by GNU Autoconf 2.68
1358 Copyright (C) 2010 Free Software Foundation, Inc.
1359 This configure script is free software; the Free Software Foundation
1360 gives unlimited permission to copy, distribute and modify it.
1365 ## ------------------------ ##
1366 ## Autoconf initialization. ##
1367 ## ------------------------ ##
1368 cat >config.log <<_ACEOF
1369 This file contains any messages produced by compilers while
1370 running configure, to aid debugging if configure makes a mistake.
1372 It was created by GNU Automake $as_me 1.11a, which was
1373 generated by GNU Autoconf 2.68. Invocation command line was
1385 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1386 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1387 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1388 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1389 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1391 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1392 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1394 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1395 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1396 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1397 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1398 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1399 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1400 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1408 test -z "$as_dir" && as_dir=.
1409 $as_echo "PATH: $as_dir"
1425 # Keep a trace of the command line.
1426 # Strip out --no-create and --no-recursion so they do not pile up.
1427 # Strip out --silent because we don't want to record it for future runs.
1428 # Also quote any args containing shell meta-characters.
1429 # Make two passes to allow for proper duplicate-argument suppression.
1433 ac_must_keep_next=false
1439 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1441 | -silent | --silent | --silen | --sile | --sil)
1444 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1449 as_fn_append ac_configure_args1 " '$ac_arg'"
1450 if test $ac_must_keep_next = true; then
1451 ac_must_keep_next=false # Got value, back to normal.
1454 *=* | --config-cache | -C | -disable-* | --disable-* \
1455 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1456 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1457 | -with-* | --with-* | -without-* | --without-* | --x)
1458 case "$ac_configure_args0 " in
1459 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1462 -* ) ac_must_keep_next=true ;;
1465 as_fn_append ac_configure_args " '$ac_arg'"
1470 { ac_configure_args0=; unset ac_configure_args0;}
1471 { ac_configure_args1=; unset ac_configure_args1;}
1473 # When interrupted or exit'd, cleanup temporary files, and complete
1474 # config.log. We remove comments because anyway the quotes in there
1475 # would cause problems or look ugly.
1476 # WARNING: Use '\'' to represent an apostrophe within the trap.
1477 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1478 trap 'exit_status=$?
1479 # Save into config.log some information that might help in debugging.
1483 $as_echo "## ---------------- ##
1484 ## Cache variables. ##
1485 ## ---------------- ##"
1487 # The following way of writing the cache mishandles newlines in values,
1489 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1490 eval ac_val=\$$ac_var
1494 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1495 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1498 _ | IFS | as_nl) ;; #(
1499 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1500 *) { eval $ac_var=; unset $ac_var;} ;;
1505 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1506 *${as_nl}ac_space=\ *)
1508 "s/'\''/'\''\\\\'\'''\''/g;
1509 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1519 $as_echo "## ----------------- ##
1520 ## Output variables. ##
1521 ## ----------------- ##"
1523 for ac_var in $ac_subst_vars
1525 eval ac_val=\$$ac_var
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1529 $as_echo "$ac_var='\''$ac_val'\''"
1533 if test -n "$ac_subst_files"; then
1534 $as_echo "## ------------------- ##
1535 ## File substitutions. ##
1536 ## ------------------- ##"
1538 for ac_var in $ac_subst_files
1540 eval ac_val=\$$ac_var
1542 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544 $as_echo "$ac_var='\''$ac_val'\''"
1549 if test -s confdefs.h; then
1550 $as_echo "## ----------- ##
1557 test "$ac_signal" != 0 &&
1558 $as_echo "$as_me: caught signal $ac_signal"
1559 $as_echo "$as_me: exit $exit_status"
1561 rm -f core *.core core.conftest.* &&
1562 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1565 for ac_signal in 1 2 13 15; do
1566 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1570 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1571 rm -f -r conftest* confdefs.h
1573 $as_echo "/* confdefs.h */" > confdefs.h
1575 # Predefined preprocessor variables.
1577 cat >>confdefs.h <<_ACEOF
1578 #define PACKAGE_NAME "$PACKAGE_NAME"
1581 cat >>confdefs.h <<_ACEOF
1582 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1585 cat >>confdefs.h <<_ACEOF
1586 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_STRING "$PACKAGE_STRING"
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1597 cat >>confdefs.h <<_ACEOF
1598 #define PACKAGE_URL "$PACKAGE_URL"
1602 # Let the site file select an alternate cache file if it wants to.
1603 # Prefer an explicitly selected file to automatically selected ones.
1606 if test -n "$CONFIG_SITE"; then
1607 # We do not want a PATH search for config.site.
1608 case $CONFIG_SITE in #((
1609 -*) ac_site_file1=./$CONFIG_SITE;;
1610 */*) ac_site_file1=$CONFIG_SITE;;
1611 *) ac_site_file1=./$CONFIG_SITE;;
1613 elif test "x$prefix" != xNONE; then
1614 ac_site_file1=$prefix/share/config.site
1615 ac_site_file2=$prefix/etc/config.site
1617 ac_site_file1=$ac_default_prefix/share/config.site
1618 ac_site_file2=$ac_default_prefix/etc/config.site
1620 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1622 test "x$ac_site_file" = xNONE && continue
1623 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1625 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1626 sed 's/^/| /' "$ac_site_file" >&5
1628 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1630 as_fn_error $? "failed to load site script $ac_site_file
1631 See \`config.log' for more details" "$LINENO" 5; }
1635 if test -r "$cache_file"; then
1636 # Some versions of bash will fail to source /dev/null (special files
1637 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1638 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1640 $as_echo "$as_me: loading cache $cache_file" >&6;}
1642 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1643 *) . "./$cache_file";;
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1648 $as_echo "$as_me: creating cache $cache_file" >&6;}
1652 # Check that the precious variables saved in the cache have kept the same
1654 ac_cache_corrupted=false
1655 for ac_var in $ac_precious_vars; do
1656 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1657 eval ac_new_set=\$ac_env_${ac_var}_set
1658 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1659 eval ac_new_val=\$ac_env_${ac_var}_value
1660 case $ac_old_set,$ac_new_set in
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1663 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1664 ac_cache_corrupted=: ;;
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1667 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1668 ac_cache_corrupted=: ;;
1671 if test "x$ac_old_val" != "x$ac_new_val"; then
1672 # differences in whitespace do not lead to failure.
1673 ac_old_val_w=`echo x $ac_old_val`
1674 ac_new_val_w=`echo x $ac_new_val`
1675 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1677 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1678 ac_cache_corrupted=:
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1681 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1682 eval $ac_var=\$ac_old_val
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1685 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1687 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1690 # Pass precious variables to config.status.
1691 if test "$ac_new_set" = set; then
1693 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1694 *) ac_arg=$ac_var=$ac_new_val ;;
1696 case " $ac_configure_args " in
1697 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1698 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1702 if $ac_cache_corrupted; then
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1706 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1707 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1709 ## -------------------- ##
1710 ## Main body of script. ##
1711 ## -------------------- ##
1714 ac_cpp='$CPP $CPPFLAGS'
1715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1725 for ac_dir in lib "$srcdir"/lib; do
1726 if test -f "$ac_dir/install-sh"; then
1728 ac_install_sh="$ac_aux_dir/install-sh -c"
1730 elif test -f "$ac_dir/install.sh"; then
1732 ac_install_sh="$ac_aux_dir/install.sh -c"
1734 elif test -f "$ac_dir/shtool"; then
1736 ac_install_sh="$ac_aux_dir/shtool install -c"
1740 if test -z "$ac_aux_dir"; then
1741 as_fn_error $? "cannot find install-sh, install.sh, or shtool in lib \"$srcdir\"/lib" "$LINENO" 5
1744 # These three variables are undocumented and unsupported,
1745 # and are intended to be withdrawn in a future Autoconf release.
1746 # They can cause serious problems if a builder's source tree is in a directory
1747 # whose full name contains unusual characters.
1748 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1749 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1750 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1754 # Make sure we can run config.sub.
1755 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1756 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1759 $as_echo_n "checking build system type... " >&6; }
1760 if ${ac_cv_build+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 ac_build_alias=$build_alias
1764 test "x$ac_build_alias" = x &&
1765 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1766 test "x$ac_build_alias" = x &&
1767 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1768 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1769 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1773 $as_echo "$ac_cv_build" >&6; }
1774 case $ac_cv_build in
1776 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1779 ac_save_IFS=$IFS; IFS='-'
1785 # Remember, the first character of IFS is used to create $*,
1786 # except with old shells:
1789 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1793 $as_echo_n "checking host system type... " >&6; }
1794 if ${ac_cv_host+:} false; then :
1795 $as_echo_n "(cached) " >&6
1797 if test "x$host_alias" = x; then
1798 ac_cv_host=$ac_cv_build
1800 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1801 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1806 $as_echo "$ac_cv_host" >&6; }
1809 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1812 ac_save_IFS=$IFS; IFS='-'
1818 # Remember, the first character of IFS is used to create $*,
1819 # except with old shells:
1822 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1827 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1828 # way we can run Autoconf tests from configure (or from the test
1829 # suite) without being bothered by `missing'. Likewise for autom4te,
1830 # autoreconf, autoheader, and autoupdate.
1831 am_AUTOCONF="${AUTOCONF-autoconf}"
1833 am_AUTOM4TE="${AUTOM4TE-autom4te}"
1835 am_AUTORECONF="${AUTORECONF-autoreconf}"
1837 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1839 am_AUTOUPDATE="${AUTOUPDATE-autoupdate}"
1842 am__api_version='1.11a'
1844 # Find a good install program. We prefer a C program (faster),
1845 # so one script is as good as another. But avoid the broken or
1846 # incompatible versions:
1847 # SysV /etc/install, /usr/sbin/install
1848 # SunOS /usr/etc/install
1849 # IRIX /sbin/install
1851 # AmigaOS /C/install, which installs bootblocks on floppy discs
1852 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1855 # OS/2's system install, which has a completely different semantic
1856 # ./install, which can be erroneously created by make from ./install.sh.
1857 # Reject install programs that cannot install multiple files.
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1859 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1860 if test -z "$INSTALL"; then
1861 if ${ac_cv_path_install+:} false; then :
1862 $as_echo_n "(cached) " >&6
1864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 test -z "$as_dir" && as_dir=.
1869 # Account for people who put trailing slashes in PATH elements.
1870 case $as_dir/ in #((
1871 ./ | .// | /[cC]/* | \
1872 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1873 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1876 # OSF1 and SCO ODT 3.0 have their own names for install.
1877 # Don't use installbsd from OSF since it installs stuff as root
1879 for ac_prog in ginstall scoinst install; do
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1882 if test $ac_prog = install &&
1883 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1884 # AIX install. It has an incompatible calling convention.
1886 elif test $ac_prog = install &&
1887 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1888 # program-specific install script used by HP pwplus--don't use.
1891 rm -rf conftest.one conftest.two conftest.dir
1892 echo one > conftest.one
1893 echo two > conftest.two
1895 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1896 test -s conftest.one && test -s conftest.two &&
1897 test -s conftest.dir/conftest.one &&
1898 test -s conftest.dir/conftest.two
1900 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1913 rm -rf conftest.one conftest.two conftest.dir
1916 if test "${ac_cv_path_install+set}" = set; then
1917 INSTALL=$ac_cv_path_install
1919 # As a last resort, use the slow shell script. Don't cache a
1920 # value for INSTALL within a source directory, because that will
1921 # break other packages using the cache if that directory is
1922 # removed, or if the value is a relative name.
1923 INSTALL=$ac_install_sh
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1927 $as_echo "$INSTALL" >&6; }
1929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1930 # It thinks the first close brace ends the variable substitution.
1931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1935 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1938 $as_echo_n "checking whether build environment is sane... " >&6; }
1939 # Reject unsafe characters in $srcdir or the absolute working directory
1940 # name. Accept space and tab only in the latter.
1944 *[\\\"\#\$\&\'\`$am_lf]*)
1945 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1948 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1949 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1952 # Do `set' in a subshell so we don't clobber the current shell's
1953 # arguments. Must try -L first in case configure is actually a
1954 # symlink; some systems play weird games with the mod time of symlinks
1955 # (eg FreeBSD returns the mod time of the symlink's containing
1959 for am_try in 1 2; do
1960 echo "timestamp, slept: $am_has_slept" > conftest.file
1961 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1962 if test "$*" = "X"; then
1964 set X `ls -t "$srcdir/configure" conftest.file`
1966 if test "$*" != "X $srcdir/configure conftest.file" \
1967 && test "$*" != "X conftest.file $srcdir/configure"; then
1969 # If neither matched, then we have a broken ls. This can happen
1970 # if, for instance, CONFIG_SHELL is bash and it inherits a
1971 # broken ls alias from the environment. This has actually
1972 # happened. Such a system could not be considered "sane".
1973 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1974 alias in your environment" "$LINENO" 5
1976 if test "$2" = conftest.file || test $am_try -eq 2; then
1983 test "$2" = conftest.file
1989 as_fn_error $? "newly created file is older than distributed files!
1990 Check your system clock" "$LINENO" 5
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1993 $as_echo "yes" >&6; }
1994 # If we didn't sleep, we still need to ensure time stamps of config.status and
1995 # generated files are strictly newer.
1997 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2004 test "$program_prefix" != NONE &&
2005 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2006 # Use a double $ so make ignores it.
2007 test "$program_suffix" != NONE &&
2008 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2009 # Double any \ or $.
2010 # By default was `s,x,x', remove it if useless.
2011 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2012 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2014 # expand $ac_aux_dir to an absolute path
2015 am_aux_dir=`cd $ac_aux_dir && pwd`
2017 if test x"${MISSING+set}" != xset; then
2020 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2022 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2025 # Use eval to expand $SHELL
2026 if eval "$MISSING --run true"; then
2027 am_missing_run="$MISSING --run "
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2031 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2034 if test x"${install_sh}" != xset; then
2037 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2039 install_sh="\${SHELL} $am_aux_dir/install-sh"
2043 # Installed binaries are usually stripped using `strip' when the user
2044 # run `make install-strip'. However `strip' might not be the right
2045 # tool to use in cross-compilation environments, therefore Automake
2046 # will honor the `STRIP' environment variable to overrule this program.
2047 if test "$cross_compiling" != no; then
2048 if test -n "$ac_tool_prefix"; then
2049 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2050 set dummy ${ac_tool_prefix}strip; ac_word=$2
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2052 $as_echo_n "checking for $ac_word... " >&6; }
2053 if ${ac_cv_prog_STRIP+:} false; then :
2054 $as_echo_n "(cached) " >&6
2056 if test -n "$STRIP"; then
2057 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir=.
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2066 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 STRIP=$ac_cv_prog_STRIP
2077 if test -n "$STRIP"; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2079 $as_echo "$STRIP" >&6; }
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2082 $as_echo "no" >&6; }
2087 if test -z "$ac_cv_prog_STRIP"; then
2089 # Extract the first word of "strip", so it can be a program name with args.
2090 set dummy strip; ac_word=$2
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2092 $as_echo_n "checking for $ac_word... " >&6; }
2093 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2094 $as_echo_n "(cached) " >&6
2096 if test -n "$ac_ct_STRIP"; then
2097 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2106 ac_cv_prog_ac_ct_STRIP="strip"
2107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2117 if test -n "$ac_ct_STRIP"; then
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2119 $as_echo "$ac_ct_STRIP" >&6; }
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2122 $as_echo "no" >&6; }
2125 if test "x$ac_ct_STRIP" = x; then
2128 case $cross_compiling:$ac_tool_warned in
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2132 ac_tool_warned=yes ;;
2137 STRIP="$ac_cv_prog_STRIP"
2141 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2144 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2145 if test -z "$MKDIR_P"; then
2146 if ${ac_cv_path_mkdir+:} false; then :
2147 $as_echo_n "(cached) " >&6
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2153 test -z "$as_dir" && as_dir=.
2154 for ac_prog in mkdir gmkdir; do
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2157 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2158 'mkdir (GNU coreutils) '* | \
2159 'mkdir (coreutils) '* | \
2160 'mkdir (fileutils) '4.1*)
2161 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2171 test -d ./--version && rmdir ./--version
2172 if test "${ac_cv_path_mkdir+set}" = set; then
2173 MKDIR_P="$ac_cv_path_mkdir -p"
2175 # As a last resort, use the slow shell script. Don't cache a
2176 # value for MKDIR_P within a source directory, because that will
2177 # break other packages using the cache if that directory is
2178 # removed, or if the value is a relative name.
2179 MKDIR_P="$ac_install_sh -d"
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2183 $as_echo "$MKDIR_P" >&6; }
2187 [\\/$]* | ?:[\\/]*) ;;
2188 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2191 for ac_prog in gawk mawk nawk awk
2193 # Extract the first word of "$ac_prog", so it can be a program name with args.
2194 set dummy $ac_prog; ac_word=$2
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2196 $as_echo_n "checking for $ac_word... " >&6; }
2197 if ${ac_cv_prog_AWK+:} false; then :
2198 $as_echo_n "(cached) " >&6
2200 if test -n "$AWK"; then
2201 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210 ac_cv_prog_AWK="$ac_prog"
2211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 if test -n "$AWK"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2223 $as_echo "$AWK" >&6; }
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2226 $as_echo "no" >&6; }
2230 test -n "$AWK" && break
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2237 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2238 $as_echo_n "(cached) " >&6
2240 cat >conftest.make <<\_ACEOF
2243 @echo '@@@%%%=$(MAKE)=@@@%%%'
2245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2246 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2248 eval ac_cv_prog_make_${ac_make}_set=yes;;
2250 eval ac_cv_prog_make_${ac_make}_set=no;;
2254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2256 $as_echo "yes" >&6; }
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260 $as_echo "no" >&6; }
2261 SET_MAKE="MAKE=${MAKE-make}"
2264 rm -rf .tst 2>/dev/null
2265 mkdir .tst 2>/dev/null
2266 if test -d .tst; then
2271 rmdir .tst 2>/dev/null
2273 # Check whether --enable-silent-rules was given.
2274 if test "${enable_silent_rules+set}" = set; then :
2275 enableval=$enable_silent_rules;
2278 case $enable_silent_rules in # (((
2279 yes) AM_DEFAULT_VERBOSITY=0;;
2280 no) AM_DEFAULT_VERBOSITY=1;;
2281 *) AM_DEFAULT_VERBOSITY=1;;
2285 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2286 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2287 # is not polluted with repeated "-I."
2288 am__isrc=' -I$(srcdir)'
2289 # test to see if srcdir already configured
2290 if test -f $srcdir/config.status; then
2291 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2295 # test whether we have cygpath
2296 if test -z "$CYGPATH_W"; then
2297 if (cygpath --version) >/dev/null 2>/dev/null; then
2298 CYGPATH_W='cygpath -w'
2305 # Define the identity of the package.
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE "$PACKAGE"
2315 cat >>confdefs.h <<_ACEOF
2316 #define VERSION "$VERSION"
2319 # Some tools Automake needs.
2321 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2324 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2327 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2330 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2333 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2335 # We need awk for the "check" target. The system "awk" is bad on
2337 # Always define AMTAR for backward compatibility.
2339 AMTAR=${AMTAR-"${am_missing_run}tar"}
2341 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2348 # The API version is the base version. We must guarantee
2349 # compatibility for all releases with the same API version.
2350 # Our current rule is that:
2351 # * All releases, including the prereleases, in an X.Y series
2352 # are compatible. So 1.5.1c is compatible with 1.5.
2353 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2355 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2358 # A versioned directory, defined here for convenience.
2359 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2362 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2363 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2364 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2365 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2367 # Extract the first word of "perl", so it can be a program name with args.
2368 set dummy perl; ac_word=$2
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2370 $as_echo_n "checking for $ac_word... " >&6; }
2371 if ${ac_cv_path_PERL+:} false; then :
2372 $as_echo_n "(cached) " >&6
2376 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2386 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 PERL=$ac_cv_path_PERL
2398 if test -n "$PERL"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2400 $as_echo "$PERL" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2407 if test -z "$PERL"; then
2408 as_fn_error $? "perl not found" "$LINENO" 5
2410 $PERL -e 'require 5.006;' || {
2411 as_fn_error $? "perl 5.6 or better is required; perl 5.8.2 or better
2412 is recommended. If you have several perl versions
2413 installed, select the one Automake should use using
2414 ./configure PERL=/path/to/perl" "$LINENO" 5
2417 # We require ithreads support, and version 5.7.2 for CLONE.
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL supports ithreads" >&5
2419 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2420 if ${am_cv_prog_PERL_ithreads+:} false; then :
2421 $as_echo_n "(cached) " >&6
2426 if ($Config{useithreads})
2430 require Thread::Queue;
2431 import Thread::Queue;
2436 am_cv_prog_PERL_ithreads=yes
2438 am_cv_prog_PERL_ithreads=no
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_PERL_ithreads" >&5
2442 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2443 if test $am_cv_prog_PERL_ithreads = yes; then
2450 # The test suite will skip some tests if tex is absent.
2451 # Extract the first word of "tex", so it can be a program name with args.
2452 set dummy tex; ac_word=$2
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if ${ac_cv_prog_TEX+:} false; then :
2456 $as_echo_n "(cached) " >&6
2458 if test -n "$TEX"; then
2459 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_TEX="tex"
2469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test -n "$TEX"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
2481 $as_echo "$TEX" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2489 # Generate man pages.
2491 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2494 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2495 # deletion of any files created (such as those added to
2496 # autom4te.cache). We used to perform only the last of the three
2497 # following tests, but some users were unable to figure out that their
2498 # installation was broken since --version appeared to work.
2500 required_autoconf_version=2.62
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is installed" >&5
2502 $as_echo_n "checking whether autoconf is installed... " >&6; }
2503 if ${am_cv_autoconf_installed+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2507 (eval $am_AUTOCONF --version) >&5 2>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); };
2512 am_cv_autoconf_installed=yes
2514 am_cv_autoconf_installed=no
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_installed" >&5
2518 $as_echo "$am_cv_autoconf_installed" >&6; }
2519 if test "$am_cv_autoconf_installed" = no; then
2520 as_fn_error $? "Autoconf $required_autoconf_version or better is required.
2521 Please make sure it is installed and in your PATH." "$LINENO" 5
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf works" >&5
2525 $as_echo_n "checking whether autoconf works... " >&6; }
2526 if ${am_cv_autoconf_works+:} false; then :
2527 $as_echo_n "(cached) " >&6
2530 echo 'AC''_INIT' > conftest/conftest.ac
2531 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2532 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); };
2537 am_cv_autoconf_works=yes
2539 am_cv_autoconf_works=no
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_works" >&5
2544 $as_echo "$am_cv_autoconf_works" >&6; }
2545 if test "$am_cv_autoconf_works" = no; then
2546 as_fn_error $? "The installed version of autoconf does not work.
2547 Please check config.log for error messages before this one." "$LINENO" 5
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is recent enough" >&5
2551 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2552 if ${am_cv_autoconf_version+:} false; then :
2553 $as_echo_n "(cached) " >&6
2556 echo 'AC'"_PREREQ([$required_autoconf_version])" > conftest/conftest.ac
2557 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2558 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); };
2563 am_cv_autoconf_version=yes
2565 am_cv_autoconf_version=no
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_version" >&5
2570 $as_echo "$am_cv_autoconf_version" >&6; }
2571 if test "$am_cv_autoconf_version" = no; then
2572 as_fn_error $? "Autoconf $required_autoconf_version or better is required." "$LINENO" 5
2575 # Test for ln. We need use it to install the versioned binaries.
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2577 $as_echo_n "checking whether ln works... " >&6; }
2578 if ${am_cv_prog_ln+:} false; then :
2579 $as_echo_n "(cached) " >&6
2582 rm -f conftest conftest.file
2584 if ln conftest.file conftest 2>/dev/null; then
2587 am_cv_prog_ln='cp -p'
2589 rm -f conftest conftest.file
2595 test "x$am_cv_prog_ln" = xln && result=yes
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2597 $as_echo "$result" >&6; }
2599 # The amount we should wait after modifying files depends on the platform.
2600 # On Windows '95, '98 and ME, files modifications have 2-seconds
2601 # granularity and can be up to 3 seconds in the future w.r.t. the
2602 # system clock. When it is important to ensure one file is older
2603 # than another we wait at least 5 seconds between creations.
2605 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2606 *) MODIFICATION_DELAY=2;;
2610 # Test for things needed by the test suite.
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2612 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2613 if ${ac_cv_path_GREP+:} false; then :
2614 $as_echo_n "(cached) " >&6
2616 if test -z "$GREP"; then
2617 ac_path_GREP_found=false
2618 # Loop through the user's path and test for each of PROGNAME-LIST
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2623 test -z "$as_dir" && as_dir=.
2624 for ac_prog in grep ggrep; do
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2627 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2628 # Check for GNU ac_path_GREP and select it if it is found.
2629 # Check for GNU $ac_path_GREP
2630 case `"$ac_path_GREP" --version 2>&1` in
2632 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2635 $as_echo_n 0123456789 >"conftest.in"
2638 cat "conftest.in" "conftest.in" >"conftest.tmp"
2639 mv "conftest.tmp" "conftest.in"
2640 cp "conftest.in" "conftest.nl"
2641 $as_echo 'GREP' >> "conftest.nl"
2642 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2644 as_fn_arith $ac_count + 1 && ac_count=$as_val
2645 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2646 # Best one so far, save it but keep looking for a better one
2647 ac_cv_path_GREP="$ac_path_GREP"
2648 ac_path_GREP_max=$ac_count
2650 # 10*(2^10) chars as input seems more than enough
2651 test $ac_count -gt 10 && break
2653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2656 $ac_path_GREP_found && break 3
2661 if test -z "$ac_cv_path_GREP"; then
2662 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2665 ac_cv_path_GREP=$GREP
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2670 $as_echo "$ac_cv_path_GREP" >&6; }
2671 GREP="$ac_cv_path_GREP"
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2675 $as_echo_n "checking for egrep... " >&6; }
2676 if ${ac_cv_path_EGREP+:} false; then :
2677 $as_echo_n "(cached) " >&6
2679 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2680 then ac_cv_path_EGREP="$GREP -E"
2682 if test -z "$EGREP"; then
2683 ac_path_EGREP_found=false
2684 # Loop through the user's path and test for each of PROGNAME-LIST
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2689 test -z "$as_dir" && as_dir=.
2690 for ac_prog in egrep; do
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2693 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2694 # Check for GNU ac_path_EGREP and select it if it is found.
2695 # Check for GNU $ac_path_EGREP
2696 case `"$ac_path_EGREP" --version 2>&1` in
2698 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2701 $as_echo_n 0123456789 >"conftest.in"
2704 cat "conftest.in" "conftest.in" >"conftest.tmp"
2705 mv "conftest.tmp" "conftest.in"
2706 cp "conftest.in" "conftest.nl"
2707 $as_echo 'EGREP' >> "conftest.nl"
2708 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2709 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2710 as_fn_arith $ac_count + 1 && ac_count=$as_val
2711 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2712 # Best one so far, save it but keep looking for a better one
2713 ac_cv_path_EGREP="$ac_path_EGREP"
2714 ac_path_EGREP_max=$ac_count
2716 # 10*(2^10) chars as input seems more than enough
2717 test $ac_count -gt 10 && break
2719 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2722 $ac_path_EGREP_found && break 3
2727 if test -z "$ac_cv_path_EGREP"; then
2728 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2731 ac_cv_path_EGREP=$EGREP
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2737 $as_echo "$ac_cv_path_EGREP" >&6; }
2738 EGREP="$ac_cv_path_EGREP"
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
2742 $as_echo_n "checking for fgrep... " >&6; }
2743 if ${ac_cv_path_FGREP+:} false; then :
2744 $as_echo_n "(cached) " >&6
2746 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2747 then ac_cv_path_FGREP="$GREP -F"
2749 if test -z "$FGREP"; then
2750 ac_path_FGREP_found=false
2751 # Loop through the user's path and test for each of PROGNAME-LIST
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2756 test -z "$as_dir" && as_dir=.
2757 for ac_prog in fgrep; do
2758 for ac_exec_ext in '' $ac_executable_extensions; do
2759 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2760 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2761 # Check for GNU ac_path_FGREP and select it if it is found.
2762 # Check for GNU $ac_path_FGREP
2763 case `"$ac_path_FGREP" --version 2>&1` in
2765 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2768 $as_echo_n 0123456789 >"conftest.in"
2771 cat "conftest.in" "conftest.in" >"conftest.tmp"
2772 mv "conftest.tmp" "conftest.in"
2773 cp "conftest.in" "conftest.nl"
2774 $as_echo 'FGREP' >> "conftest.nl"
2775 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2777 as_fn_arith $ac_count + 1 && ac_count=$as_val
2778 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2779 # Best one so far, save it but keep looking for a better one
2780 ac_cv_path_FGREP="$ac_path_FGREP"
2781 ac_path_FGREP_max=$ac_count
2783 # 10*(2^10) chars as input seems more than enough
2784 test $ac_count -gt 10 && break
2786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2789 $ac_path_FGREP_found && break 3
2794 if test -z "$ac_cv_path_FGREP"; then
2795 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2798 ac_cv_path_FGREP=$FGREP
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
2804 $as_echo "$ac_cv_path_FGREP" >&6; }
2805 FGREP="$ac_cv_path_FGREP"
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $SHELL has working 'set -e' with exit trap" >&5
2810 $as_echo_n "checking whether $SHELL has working 'set -e' with exit trap... " >&6; }
2811 if ${am_cv_sh_errexit_works+:} false; then :
2812 $as_echo_n "(cached) " >&6
2814 if $SHELL -ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $? = 77
2816 am_cv_sh_errexit_works=yes
2818 am_cv_sh_errexit_works=no
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_sh_errexit_works" >&5
2823 $as_echo "$am_cv_sh_errexit_works" >&6; }
2824 if test $am_cv_sh_errexit_works = no; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2826 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2828 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2830 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2832 sh_errexit_works=$am_cv_sh_errexit_works
2835 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-static"
2837 ac_config_links="$ac_config_links tests/defs:tests/defs"
2839 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2841 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2844 cat >confcache <<\_ACEOF
2845 # This file is a shell script that caches the results of configure
2846 # tests run on this system so they can be shared between configure
2847 # scripts and configure runs, see configure's option --config-cache.
2848 # It is not useful on other systems. If it contains results you don't
2849 # want to keep, you may remove or edit it.
2851 # config.status only pays attention to the cache file if you give it
2852 # the --recheck option to rerun configure.
2854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2860 # The following way of writing the cache mishandles newlines in values,
2861 # but we know of no workaround that is simple, portable, and efficient.
2862 # So, we kill variables containing newlines.
2863 # Ultrix sh set writes to stderr and can't be redirected directly,
2864 # and sets the high bit in the cache file unless we assign to the vars.
2866 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2867 eval ac_val=\$$ac_var
2871 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2875 _ | IFS | as_nl) ;; #(
2876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2877 *) { eval $ac_var=; unset $ac_var;} ;;
2883 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2884 *${as_nl}ac_space=\ *)
2885 # `set' does not quote correctly, so add quotes: double-quote
2886 # substitution turns \\\\ into \\, and sed turns \\ into \.
2889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2892 # `set' quotes correctly as required by POSIX, so do not add quotes.
2893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2902 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2904 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2907 if test -w "$cache_file"; then
2908 if test "x$cache_file" != "x/dev/null"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2910 $as_echo "$as_me: updating cache $cache_file" >&6;}
2911 if test ! -f "$cache_file" || test -h "$cache_file"; then
2912 cat confcache >"$cache_file"
2914 case $cache_file in #(
2916 mv -f confcache "$cache_file"$$ &&
2917 mv -f "$cache_file"$$ "$cache_file" ;; #(
2919 mv -f confcache "$cache_file" ;;
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2925 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2930 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2931 # Let make expand exec_prefix.
2932 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2934 # Transform confdefs.h into DEFS.
2935 # Protect against shell expansion while executing Makefile rules.
2936 # Protect against Makefile macro expansion.
2938 # If the first sed substitution is executed (which looks for macros that
2939 # take arguments), then branch to the quote section. Otherwise,
2940 # look for a macro that doesn't take arguments.
2950 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2952 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2956 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2969 DEFS=`sed -n "$ac_script" confdefs.h`
2975 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2976 # 1. Remove the extension, and $U if already installed.
2977 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2978 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2979 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2980 # will be set to the directory where LIBOBJS objects are built.
2981 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2982 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2986 LTLIBOBJS=$ac_ltlibobjs
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2990 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2991 if test -n "$am_sleep_pid"; then
2992 # Hide warnings about reused PIDs.
2993 wait $am_sleep_pid 2>/dev/null
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2996 $as_echo "done" >&6; }
2999 : "${CONFIG_STATUS=./config.status}"
3001 ac_clean_files_save=$ac_clean_files
3002 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3004 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3006 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3008 # Generated by $as_me.
3009 # Run this file to recreate the current configuration.
3010 # Compiler output produced by configure, useful for debugging
3011 # configure, is in config.log if it exists.
3017 SHELL=\${CONFIG_SHELL-$SHELL}
3020 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3021 ## -------------------- ##
3022 ## M4sh Initialization. ##
3023 ## -------------------- ##
3025 # Be more Bourne compatible
3026 DUALCASE=1; export DUALCASE # for MKS sh
3027 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3030 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3031 # is contrary to our usage. Disable this feature.
3032 alias -g '${1+"$@"}'='"$@"'
3033 setopt NO_GLOB_SUBST
3035 case `(set -o) 2>/dev/null` in #(
3047 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3048 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3049 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3050 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3051 # Prefer a ksh shell builtin over an external printf program on Solaris,
3052 # but without wasting forks for bash or zsh.
3053 if test -z "$BASH_VERSION$ZSH_VERSION" \
3054 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3055 as_echo='print -r --'
3056 as_echo_n='print -rn --'
3057 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3058 as_echo='printf %s\n'
3059 as_echo_n='printf %s'
3061 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3062 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3063 as_echo_n='/usr/ucb/echo -n'
3065 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3066 as_echo_n_body='eval
3070 expr "X$arg" : "X\\(.*\\)$as_nl";
3071 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3073 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3075 export as_echo_n_body
3076 as_echo_n='sh -c $as_echo_n_body as_echo'
3079 as_echo='sh -c $as_echo_body as_echo'
3082 # The user is always right.
3083 if test "${PATH_SEPARATOR+set}" != set; then
3085 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3086 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3093 # We need space, tab and new line, in precisely that order. Quoting is
3094 # there to prevent editors from complaining about space-tab.
3095 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3096 # splitting by setting IFS to empty value.)
3099 # Find who we are. Look in the path if we contain no directory separator.
3102 *[\\/]* ) as_myself=$0 ;;
3103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir=.
3108 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3114 # We did not find ourselves, most probably we were run as `sh COMMAND'
3115 # in which case we are not to be found in the path.
3116 if test "x$as_myself" = x; then
3119 if test ! -f "$as_myself"; then
3120 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3124 # Unset variables that we do not need and which cause bugs (e.g. in
3125 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3126 # suppresses any "Segmentation fault" message there. '((' could
3127 # trigger a bug in pdksh 5.2.14.
3128 for as_var in BASH_ENV ENV MAIL MAILPATH
3129 do eval test x\${$as_var+set} = xset \
3130 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3146 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3147 # ----------------------------------------
3148 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3149 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3150 # script with STATUS, using 1 if that was 0.
3153 as_status=$1; test $as_status -eq 0 && as_status=1
3155 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3156 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3158 $as_echo "$as_me: error: $2" >&2
3159 as_fn_exit $as_status
3163 # as_fn_set_status STATUS
3164 # -----------------------
3165 # Set $? to STATUS, without forking.
3169 } # as_fn_set_status
3173 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3183 # Portably unset VAR.
3186 { eval $1=; unset $1;}
3188 as_unset=as_fn_unset
3189 # as_fn_append VAR VALUE
3190 # ----------------------
3191 # Append the text in VALUE to the end of the definition contained in VAR. Take
3192 # advantage of any shell optimizations that allow amortized linear growth over
3193 # repeated appends, instead of the typical quadratic growth present in naive
3195 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3196 eval 'as_fn_append ()
3207 # as_fn_arith ARG...
3208 # ------------------
3209 # Perform arithmetic evaluation on the ARGs, and store the result in the
3210 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3211 # must be portable across $(()) and expr.
3212 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3213 eval 'as_fn_arith ()
3220 as_val=`expr "$@" || test $? -eq 1`
3225 if expr a : '\(a\)' >/dev/null 2>&1 &&
3226 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3232 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3233 as_basename=basename
3238 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3244 as_me=`$as_basename -- "$0" ||
3245 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3246 X"$0" : 'X\(//\)$' \| \
3247 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3249 sed '/^.*\/\([^/][^/]*\)\/*$/{
3263 # Avoid depending upon Character Ranges.
3264 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3265 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3266 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3267 as_cr_digits='0123456789'
3268 as_cr_alnum=$as_cr_Letters$as_cr_digits
3270 ECHO_C= ECHO_N= ECHO_T=
3271 case `echo -n x` in #(((((
3273 case `echo 'xy\c'` in
3274 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3276 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3283 rm -f conf$$ conf$$.exe conf$$.file
3284 if test -d conf$$.dir; then
3285 rm -f conf$$.dir/conf$$.file
3288 mkdir conf$$.dir 2>/dev/null
3290 if (echo >conf$$.file) 2>/dev/null; then
3291 if ln -s conf$$.file conf$$ 2>/dev/null; then
3293 # ... but there are two gotchas:
3294 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3295 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3296 # In both cases, we have to default to `cp -p'.
3297 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3299 elif ln conf$$.file conf$$ 2>/dev/null; then
3307 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3308 rmdir conf$$.dir 2>/dev/null
3313 # Create "$as_dir" as a directory, including parents if necessary.
3318 -*) as_dir=./$as_dir;;
3320 test -d "$as_dir" || eval $as_mkdir_p || {
3324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3325 *) as_qdir=$as_dir;;
3327 as_dirs="'$as_qdir' $as_dirs"
3328 as_dir=`$as_dirname -- "$as_dir" ||
3329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3330 X"$as_dir" : 'X\(//\)[^/]' \| \
3331 X"$as_dir" : 'X\(//\)$' \| \
3332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3333 $as_echo X"$as_dir" |
3334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3351 test -d "$as_dir" && break
3353 test -z "$as_dirs" || eval "mkdir $as_dirs"
3354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3358 if mkdir -p . 2>/dev/null; then
3359 as_mkdir_p='mkdir -p "$as_dir"'
3361 test -d ./-p && rmdir ./-p
3365 if test -x / >/dev/null 2>&1; then
3368 if ls -dL / >/dev/null 2>&1; then
3375 if test -d "$1"; then
3381 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3382 ???[sx]*):;;*)false;;esac;fi
3386 as_executable_p=$as_test_x
3388 # Sed expression to map a string onto a valid CPP name.
3389 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3391 # Sed expression to map a string onto a valid variable name.
3392 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3396 ## ----------------------------------- ##
3397 ## Main body of $CONFIG_STATUS script. ##
3398 ## ----------------------------------- ##
3400 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3403 # Save the log message, to keep $0 and so on meaningful, and to
3404 # report actual input values of CONFIG_FILES etc. instead of their
3405 # values after options handling.
3407 This file was extended by GNU Automake $as_me 1.11a, which was
3408 generated by GNU Autoconf 2.68. Invocation command line was
3410 CONFIG_FILES = $CONFIG_FILES
3411 CONFIG_HEADERS = $CONFIG_HEADERS
3412 CONFIG_LINKS = $CONFIG_LINKS
3413 CONFIG_COMMANDS = $CONFIG_COMMANDS
3416 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3421 case $ac_config_files in *"
3422 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3428 # Files that config.status was made for.
3429 config_files="$ac_config_files"
3430 config_links="$ac_config_links"
3434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3436 \`$as_me' instantiates files and other configuration actions
3437 from templates according to the current configuration. Unless the files
3438 and actions are specified as TAGs, all are instantiated by default.
3440 Usage: $0 [OPTION]... [TAG]...
3442 -h, --help print this help, then exit
3443 -V, --version print version number and configuration settings, then exit
3444 --config print configuration, then exit
3445 -q, --quiet, --silent
3446 do not print progress messages
3447 -d, --debug don't remove temporary files
3448 --recheck update $as_me by reconfiguring in the same conditions
3449 --file=FILE[:TEMPLATE]
3450 instantiate the configuration file FILE
3452 Configuration files:
3455 Configuration links:
3458 Report bugs to <bug-automake@gnu.org>.
3459 GNU Automake home page: <http://www.gnu.org/software/automake/>.
3460 General help using GNU software: <http://www.gnu.org/gethelp/>."
3463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3464 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3466 GNU Automake config.status 1.11a
3467 configured by $0, generated by GNU Autoconf 2.68,
3468 with options \\"\$ac_cs_config\\"
3470 Copyright (C) 2010 Free Software Foundation, Inc.
3471 This config.status script is free software; the Free Software Foundation
3472 gives unlimited permission to copy, distribute and modify it."
3479 test -n "\$AWK" || AWK=awk
3482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3483 # The default lists apply if the user does not specify any file.
3489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3490 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3494 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3506 # Handling of the options.
3507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3510 $as_echo "$ac_cs_version"; exit ;;
3511 --config | --confi | --conf | --con | --co | --c )
3512 $as_echo "$ac_cs_config"; exit ;;
3513 --debug | --debu | --deb | --de | --d | -d )
3515 --file | --fil | --fi | --f )
3518 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3519 '') as_fn_error $? "missing file argument" ;;
3521 as_fn_append CONFIG_FILES " '$ac_optarg'"
3522 ac_need_defaults=false;;
3523 --he | --h | --help | --hel | -h )
3524 $as_echo "$ac_cs_usage"; exit ;;
3525 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3526 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3530 -*) as_fn_error $? "unrecognized option: \`$1'
3531 Try \`$0 --help' for more information." ;;
3533 *) as_fn_append ac_config_targets " $1"
3534 ac_need_defaults=false ;;
3540 ac_configure_extra_args=
3542 if $ac_cs_silent; then
3544 ac_configure_extra_args="$ac_configure_extra_args --silent"
3548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3549 if \$ac_cs_recheck; then
3550 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3552 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3553 CONFIG_SHELL='$SHELL'
3559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3564 ## Running $as_me. ##
3570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3574 APIVERSION=$APIVERSION
3578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3580 # Handling of arguments.
3581 for ac_config_target in $ac_config_targets
3583 case $ac_config_target in
3584 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3585 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3586 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3587 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3588 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3589 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3590 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3591 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3592 "tests/defs-static") CONFIG_FILES="$CONFIG_FILES tests/defs-static" ;;
3593 "tests/defs") CONFIG_LINKS="$CONFIG_LINKS tests/defs:tests/defs" ;;
3594 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3595 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3597 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3602 # If the user did not use the arguments to specify the items to instantiate,
3603 # then the envvar interface is used. Set only those that are not.
3604 # We use the long form for the default assignment because of an extremely
3605 # bizarre bug on SunOS 4.1.3.
3606 if $ac_need_defaults; then
3607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3608 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
3611 # Have a temporary directory for convenience. Make it in the build tree
3612 # simply because there is no reason against having it here, and in addition,
3613 # creating and moving files from /tmp can sometimes cause problems.
3614 # Hook for its removal unless debugging.
3615 # Note that there is a small window in which the directory will not be cleaned:
3616 # after its creation but before its name has been assigned to `$tmp'.
3620 trap 'exit_status=$?
3622 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3624 trap 'as_fn_exit 1' 1 2 13 15
3626 # Create a (secure) tmp directory for tmp files.
3629 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3633 tmp=./conf$$-$RANDOM
3634 (umask 077 && mkdir "$tmp")
3635 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3638 # Set up the scripts for CONFIG_FILES section.
3639 # No need to generate them if there are no CONFIG_FILES.
3640 # This happens for instance with `./config.status config.h'.
3641 if test -n "$CONFIG_FILES"; then
3644 ac_cr=`echo X | tr X '\015'`
3645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3646 # But we know of no other shell where ac_cr would be empty at this
3647 # point, so we can use a bashism as a fallback.
3648 if test "x$ac_cr" = x; then
3649 eval ac_cr=\$\'\\r\'
3651 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3658 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3663 echo "cat >conf$$subs.awk <<_ACEOF" &&
3664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3670 for ac_last_try in false false false false false :; do
3671 . ./conf$$subs.sh ||
3672 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3674 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3675 if test $ac_delim_n = $ac_delim_num; then
3677 elif $ac_last_try; then
3678 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3680 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3686 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3690 s/^/S["/; s/!.*/"]=/
3700 s/\(.\{148\}\)..*/\1/
3702 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3707 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3714 s/\(.\{148\}\)..*/\1/
3716 s/["\\]/\\&/g; s/^/"/; s/$/"/
3720 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3725 ' <conf$$subs.awk | sed '
3730 ' >>$CONFIG_STATUS || ac_write_fail=1
3731 rm -f conf$$subs.awk
3732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3734 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3735 for (key in S) S_is_set[key] = 1
3741 nfields = split(line, field, "@")
3743 len = length(field[1])
3744 for (i = 2; i < nfields; i++) {
3746 keylen = length(key)
3747 if (S_is_set[key]) {
3749 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3750 len += length(value) + length(field[++i])
3761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3762 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3763 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3766 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3767 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3770 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3771 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3772 # trailing colons and then remove the whole line if VPATH becomes empty
3773 # (actually we leave an empty line to preserve line numbers).
3774 if test "x$srcdir" = x.; then
3775 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3794 fi # test -n "$CONFIG_FILES"
3797 eval set X " :F $CONFIG_FILES :L $CONFIG_LINKS "
3802 :[FHLC]) ac_mode=$ac_tag; continue;;
3804 case $ac_mode$ac_tag in
3806 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3807 :[FH]-) ac_tag=-:-;;
3808 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3825 -) ac_f="$ac_tmp/stdin";;
3826 *) # Look for the file first in the build tree, then in the source tree
3827 # (if the path is not absolute). The absolute path cannot be DOS-style,
3828 # because $ac_f cannot contain `:'.
3832 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3834 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3836 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3837 as_fn_append ac_file_inputs " '$ac_f'"
3840 # Let's still pretend it is `configure' which instantiates (i.e., don't
3841 # use $as_me), people would be surprised to read:
3842 # /* config.h. Generated by config.status. */
3843 configure_input='Generated from '`
3844 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3846 if test x"$ac_file" != x-; then
3847 configure_input="$ac_file. $configure_input"
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3849 $as_echo "$as_me: creating $ac_file" >&6;}
3851 # Neutralize special characters interpreted by sed in replacement strings.
3852 case $configure_input in #(
3853 *\&* | *\|* | *\\* )
3854 ac_sed_conf_input=`$as_echo "$configure_input" |
3855 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3856 *) ac_sed_conf_input=$configure_input;;
3860 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3866 ac_dir=`$as_dirname -- "$ac_file" ||
3867 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3868 X"$ac_file" : 'X\(//\)[^/]' \| \
3869 X"$ac_file" : 'X\(//\)$' \| \
3870 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3871 $as_echo X"$ac_file" |
3872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3889 as_dir="$ac_dir"; as_fn_mkdir_p
3893 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3895 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3896 # A ".." for each directory in $ac_dir_suffix.
3897 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3898 case $ac_top_builddir_sub in
3899 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3900 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3903 ac_abs_top_builddir=$ac_pwd
3904 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3905 # for backward compatibility:
3906 ac_top_builddir=$ac_top_build_prefix
3909 .) # We are building in place.
3911 ac_top_srcdir=$ac_top_builddir_sub
3912 ac_abs_top_srcdir=$ac_pwd ;;
3913 [\\/]* | ?:[\\/]* ) # Absolute name.
3914 ac_srcdir=$srcdir$ac_dir_suffix;
3915 ac_top_srcdir=$srcdir
3916 ac_abs_top_srcdir=$srcdir ;;
3918 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3919 ac_top_srcdir=$ac_top_build_prefix$srcdir
3920 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3922 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3932 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3933 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3937 [\\/$]* | ?:[\\/]* ) ;;
3938 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3943 # If the template does not know about datarootdir, expand it.
3944 # FIXME: This hack should be removed a few years after 2.60.
3945 ac_datarootdir_hack=; ac_datarootdir_seen=
3956 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3957 *datarootdir*) ac_datarootdir_seen=yes;;
3958 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3960 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3963 ac_datarootdir_hack='
3964 s&@datadir@&$datadir&g
3965 s&@docdir@&$docdir&g
3966 s&@infodir@&$infodir&g
3967 s&@localedir@&$localedir&g
3968 s&@mandir@&$mandir&g
3969 s&\\\${datarootdir}&$datarootdir&g' ;;
3973 # Neutralize VPATH when `$srcdir' = `.'.
3974 # Shell code in configure.ac might set extrasub.
3975 # FIXME: do we really want to maintain this feature?
3976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3977 ac_sed_extra="$ac_vpsub
3980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3982 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3983 s|@configure_input@|$ac_sed_conf_input|;t t
3984 s&@top_builddir@&$ac_top_builddir_sub&;t t
3985 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3986 s&@srcdir@&$ac_srcdir&;t t
3987 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3988 s&@top_srcdir@&$ac_top_srcdir&;t t
3989 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3990 s&@builddir@&$ac_builddir&;t t
3991 s&@abs_builddir@&$ac_abs_builddir&;t t
3992 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3993 s&@INSTALL@&$ac_INSTALL&;t t
3994 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3995 $ac_datarootdir_hack
3997 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3998 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4000 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4001 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4002 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4003 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4005 which seems to be undefined. Please make sure it is defined" >&5
4006 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4007 which seems to be undefined. Please make sure it is defined" >&2;}
4009 rm -f "$ac_tmp/stdin"
4011 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4012 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4022 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
4025 # Prefer the file from the source tree if names are identical.
4026 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
4027 ac_source=$srcdir/$ac_source
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
4031 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
4033 if test ! -r "$ac_source"; then
4034 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
4038 # Try a relative symlink, then a hard link, then a copy.
4040 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
4041 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
4043 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
4044 ln "$ac_source" "$ac_file" 2>/dev/null ||
4045 cp -p "$ac_source" "$ac_file" ||
4046 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
4053 case $ac_file$ac_mode in
4054 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
4055 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
4063 ac_clean_files=$ac_clean_files_save
4065 test $ac_write_fail = 0 ||
4066 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4069 # configure is writing to config.log, and then calls config.status.
4070 # config.status does its own redirection, appending to config.log.
4071 # Unfortunately, on DOS this fails, as config.log is still kept open
4072 # by configure, so config.status won't be able to write to it; its
4073 # output is simply discarded. So we exec the FD to /dev/null,
4074 # effectively closing config.log, so it can be properly (re)opened and
4075 # appended to by config.status. When coming back to configure, we
4076 # need to make the FD available again.
4077 if test "$no_create" != yes; then
4079 ac_config_status_args=
4080 test "$silent" = yes &&
4081 ac_config_status_args="$ac_config_status_args --quiet"
4083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4086 # would make configure fail if this is the last instruction.
4087 $ac_cs_success || as_fn_exit 1
4089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}