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
644 program_transform_name
657 enable_option_checking
660 ac_precious_vars='build_alias
665 # Initialize some variables set by options.
667 ac_init_version=false
668 ac_unrecognized_opts=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
679 program_transform_name=s,x,x,
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
704 infodir='${datarootdir}/info'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
725 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
741 -build | --build | --buil | --bui | --bu)
742 ac_prev=build_alias ;;
743 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
744 build_alias=$ac_optarg ;;
746 -cache-file | --cache-file | --cache-fil | --cache-fi \
747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
748 ac_prev=cache_file ;;
749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
751 cache_file=$ac_optarg ;;
754 cache_file=config.cache ;;
756 -datadir | --datadir | --datadi | --datad)
758 -datadir=* | --datadir=* | --datadi=* | --datad=*)
759 datadir=$ac_optarg ;;
761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
762 | --dataroo | --dataro | --datar)
763 ac_prev=datarootdir ;;
764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
766 datarootdir=$ac_optarg ;;
768 -disable-* | --disable-*)
769 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 as_fn_error $? "invalid feature name: $ac_useropt"
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
782 eval enable_$ac_useropt=no ;;
784 -docdir | --docdir | --docdi | --doc | --do)
786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
794 -enable-* | --enable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 as_fn_error $? "invalid feature name: $ac_useropt"
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
808 eval enable_$ac_useropt=\$ac_optarg ;;
810 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
811 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
812 | --exec | --exe | --ex)
813 ac_prev=exec_prefix ;;
814 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
815 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
816 | --exec=* | --exe=* | --ex=*)
817 exec_prefix=$ac_optarg ;;
819 -gas | --gas | --ga | --g)
820 # Obsolete; use --with-gas.
823 -help | --help | --hel | --he | -h)
825 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
826 ac_init_help=recursive ;;
827 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
828 ac_init_help=short ;;
830 -host | --host | --hos | --ho)
831 ac_prev=host_alias ;;
832 -host=* | --host=* | --hos=* | --ho=*)
833 host_alias=$ac_optarg ;;
835 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
839 htmldir=$ac_optarg ;;
841 -includedir | --includedir | --includedi | --included | --include \
842 | --includ | --inclu | --incl | --inc)
843 ac_prev=includedir ;;
844 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
845 | --includ=* | --inclu=* | --incl=* | --inc=*)
846 includedir=$ac_optarg ;;
848 -infodir | --infodir | --infodi | --infod | --info | --inf)
850 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
851 infodir=$ac_optarg ;;
853 -libdir | --libdir | --libdi | --libd)
855 -libdir=* | --libdir=* | --libdi=* | --libd=*)
858 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
859 | --libexe | --libex | --libe)
860 ac_prev=libexecdir ;;
861 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
862 | --libexe=* | --libex=* | --libe=*)
863 libexecdir=$ac_optarg ;;
865 -localedir | --localedir | --localedi | --localed | --locale)
867 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
868 localedir=$ac_optarg ;;
870 -localstatedir | --localstatedir | --localstatedi | --localstated \
871 | --localstate | --localstat | --localsta | --localst | --locals)
872 ac_prev=localstatedir ;;
873 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
874 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
875 localstatedir=$ac_optarg ;;
877 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
879 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
883 # Obsolete; use --without-fp.
886 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
887 | --no-cr | --no-c | -n)
890 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
891 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
894 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
895 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
896 | --oldin | --oldi | --old | --ol | --o)
897 ac_prev=oldincludedir ;;
898 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
899 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
900 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
901 oldincludedir=$ac_optarg ;;
903 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
905 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
908 -program-prefix | --program-prefix | --program-prefi | --program-pref \
909 | --program-pre | --program-pr | --program-p)
910 ac_prev=program_prefix ;;
911 -program-prefix=* | --program-prefix=* | --program-prefi=* \
912 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
913 program_prefix=$ac_optarg ;;
915 -program-suffix | --program-suffix | --program-suffi | --program-suff \
916 | --program-suf | --program-su | --program-s)
917 ac_prev=program_suffix ;;
918 -program-suffix=* | --program-suffix=* | --program-suffi=* \
919 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
920 program_suffix=$ac_optarg ;;
922 -program-transform-name | --program-transform-name \
923 | --program-transform-nam | --program-transform-na \
924 | --program-transform-n | --program-transform- \
925 | --program-transform | --program-transfor \
926 | --program-transfo | --program-transf \
927 | --program-trans | --program-tran \
928 | --progr-tra | --program-tr | --program-t)
929 ac_prev=program_transform_name ;;
930 -program-transform-name=* | --program-transform-name=* \
931 | --program-transform-nam=* | --program-transform-na=* \
932 | --program-transform-n=* | --program-transform-=* \
933 | --program-transform=* | --program-transfor=* \
934 | --program-transfo=* | --program-transf=* \
935 | --program-trans=* | --program-tran=* \
936 | --progr-tra=* | --program-tr=* | --program-t=*)
937 program_transform_name=$ac_optarg ;;
939 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 -psdir | --psdir | --psdi | --psd | --ps)
946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
950 | -silent | --silent | --silen | --sile | --sil)
953 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
955 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
957 sbindir=$ac_optarg ;;
959 -sharedstatedir | --sharedstatedir | --sharedstatedi \
960 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
961 | --sharedst | --shareds | --shared | --share | --shar \
963 ac_prev=sharedstatedir ;;
964 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
965 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
966 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
968 sharedstatedir=$ac_optarg ;;
970 -site | --site | --sit)
972 -site=* | --site=* | --sit=*)
975 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
977 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
980 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
981 | --syscon | --sysco | --sysc | --sys | --sy)
982 ac_prev=sysconfdir ;;
983 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
984 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
985 sysconfdir=$ac_optarg ;;
987 -target | --target | --targe | --targ | --tar | --ta | --t)
988 ac_prev=target_alias ;;
989 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
990 target_alias=$ac_optarg ;;
992 -v | -verbose | --verbose | --verbos | --verbo | --verb)
995 -version | --version | --versio | --versi | --vers | -V)
999 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error $? "invalid package name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1012 eval with_$ac_useropt=\$ac_optarg ;;
1014 -without-* | --without-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval with_$ac_useropt=no ;;
1031 # Obsolete; use --with-x.
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;;
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;;
1048 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1049 Try \`$0 --help' for more information"
1053 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 case $ac_envvar in #(
1056 '' | [0-9]* | *[!_$as_cr_alnum]* )
1057 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1059 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1073 if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 as_fn_error $? "missing argument to $ac_option"
1078 if test -n "$ac_unrecognized_opts"; then
1079 case $enable_option_checking in
1081 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1086 # Check all directory arguments for consistency.
1087 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088 datadir sysconfdir sharedstatedir localstatedir includedir \
1089 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090 libdir localedir mandir
1092 eval ac_val=\$$ac_var
1093 # Remove trailing slashes.
1096 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\$ac_val;;
1099 # Be sure to have absolute directory names.
1101 [\\/$]* | ?:[\\/]* ) continue;;
1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1112 target=$target_alias
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x; then
1116 if test "x$build_alias" = x; then
1117 cross_compiling=maybe
1118 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1119 If a cross compiler is detected then cross compile mode will be used" >&2
1120 elif test "x$build_alias" != "x$host_alias"; then
1126 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1128 test "$silent" = yes && exec 6>/dev/null
1131 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1132 ac_ls_di=`ls -di .` &&
1133 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1134 as_fn_error $? "working directory cannot be determined"
1135 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1136 as_fn_error $? "pwd does not report name of working directory"
1139 # Find the source files, if location was not specified.
1140 if test -z "$srcdir"; then
1141 ac_srcdir_defaulted=yes
1142 # Try the directory containing this script, then the parent directory.
1143 ac_confdir=`$as_dirname -- "$as_myself" ||
1144 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1145 X"$as_myself" : 'X\(//\)[^/]' \| \
1146 X"$as_myself" : 'X\(//\)$' \| \
1147 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1148 $as_echo X"$as_myself" |
1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 if test ! -r "$srcdir/$ac_unique_file"; then
1171 ac_srcdir_defaulted=no
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1175 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1177 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1179 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1181 # When building in place, set srcdir=.
1182 if test "$ac_abs_confdir" = "$ac_pwd"; then
1185 # Remove unnecessary trailing slashes from srcdir.
1186 # Double slashes in file names in object file debugging info
1187 # mess up M-x gdb in Emacs.
1189 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1191 for ac_var in $ac_precious_vars; do
1192 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1193 eval ac_env_${ac_var}_value=\$${ac_var}
1194 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1195 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1199 # Report the --help message.
1201 if test "$ac_init_help" = "long"; then
1202 # Omit some internal or obsolete options to make the list less imposing.
1203 # This message is too long to be a string in the A/UX 3.1 sh.
1205 \`configure' configures GNU Automake 1.11a to adapt to many kinds of systems.
1207 Usage: $0 [OPTION]... [VAR=VALUE]...
1209 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1210 VAR=VALUE. See below for descriptions of some of the useful variables.
1212 Defaults for the options are specified in brackets.
1215 -h, --help display this help and exit
1216 --help=short display options specific to this package
1217 --help=recursive display the short help of all the included packages
1218 -V, --version display version information and exit
1219 -q, --quiet, --silent do not print \`checking ...' messages
1220 --cache-file=FILE cache test results in FILE [disabled]
1221 -C, --config-cache alias for \`--cache-file=config.cache'
1222 -n, --no-create do not create output files
1223 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1225 Installation directories:
1226 --prefix=PREFIX install architecture-independent files in PREFIX
1227 [$ac_default_prefix]
1228 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1231 By default, \`make install' will install all the files in
1232 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1233 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1234 for instance \`--prefix=\$HOME'.
1236 For better control, use the options below.
1238 Fine tuning of the installation directories:
1239 --bindir=DIR user executables [EPREFIX/bin]
1240 --sbindir=DIR system admin executables [EPREFIX/sbin]
1241 --libexecdir=DIR program executables [EPREFIX/libexec]
1242 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1243 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1244 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1245 --libdir=DIR object code libraries [EPREFIX/lib]
1246 --includedir=DIR C header files [PREFIX/include]
1247 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1248 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1249 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1250 --infodir=DIR info documentation [DATAROOTDIR/info]
1251 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1252 --mandir=DIR man documentation [DATAROOTDIR/man]
1253 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1254 --htmldir=DIR html documentation [DOCDIR]
1255 --dvidir=DIR dvi documentation [DOCDIR]
1256 --pdfdir=DIR pdf documentation [DOCDIR]
1257 --psdir=DIR ps documentation [DOCDIR]
1263 --program-prefix=PREFIX prepend PREFIX to installed program names
1264 --program-suffix=SUFFIX append SUFFIX to installed program names
1265 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1268 --build=BUILD configure for building on BUILD [guessed]
1272 if test -n "$ac_init_help"; then
1273 case $ac_init_help in
1274 short | recursive ) echo "Configuration of GNU Automake 1.11a:";;
1279 --disable-option-checking ignore unrecognized --enable/--with options
1280 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1281 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1282 --enable-silent-rules less verbose build output (undo: `make V=1')
1283 --disable-silent-rules verbose build output (undo: `make V=0')
1285 Report bugs to <bug-automake@gnu.org>.
1286 GNU Automake home page: <http://www.gnu.org/software/automake/>.
1287 General help using GNU software: <http://www.gnu.org/gethelp/>.
1292 if test "$ac_init_help" = "recursive"; then
1293 # If there are subdirs, report their specific --help.
1294 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1295 test -d "$ac_dir" ||
1296 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1301 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1304 # A ".." for each directory in $ac_dir_suffix.
1305 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1306 case $ac_top_builddir_sub in
1307 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1311 ac_abs_top_builddir=$ac_pwd
1312 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1313 # for backward compatibility:
1314 ac_top_builddir=$ac_top_build_prefix
1317 .) # We are building in place.
1319 ac_top_srcdir=$ac_top_builddir_sub
1320 ac_abs_top_srcdir=$ac_pwd ;;
1321 [\\/]* | ?:[\\/]* ) # Absolute name.
1322 ac_srcdir=$srcdir$ac_dir_suffix;
1323 ac_top_srcdir=$srcdir
1324 ac_abs_top_srcdir=$srcdir ;;
1326 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1327 ac_top_srcdir=$ac_top_build_prefix$srcdir
1328 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1330 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1332 cd "$ac_dir" || { ac_status=$?; continue; }
1333 # Check for guested configure.
1334 if test -f "$ac_srcdir/configure.gnu"; then
1336 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1337 elif test -f "$ac_srcdir/configure"; then
1339 $SHELL "$ac_srcdir/configure" --help=recursive
1341 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343 cd "$ac_pwd" || { ac_status=$?; break; }
1347 test -n "$ac_init_help" && exit $ac_status
1348 if $ac_init_version; then
1350 GNU Automake configure 1.11a
1351 generated by GNU Autoconf 2.68
1353 Copyright (C) 2010 Free Software Foundation, Inc.
1354 This configure script is free software; the Free Software Foundation
1355 gives unlimited permission to copy, distribute and modify it.
1360 ## ------------------------ ##
1361 ## Autoconf initialization. ##
1362 ## ------------------------ ##
1363 cat >config.log <<_ACEOF
1364 This file contains any messages produced by compilers while
1365 running configure, to aid debugging if configure makes a mistake.
1367 It was created by GNU Automake $as_me 1.11a, which was
1368 generated by GNU Autoconf 2.68. Invocation command line was
1380 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1381 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1382 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1383 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1384 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1386 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1387 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1389 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1390 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1391 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1392 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1393 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1394 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1395 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403 test -z "$as_dir" && as_dir=.
1404 $as_echo "PATH: $as_dir"
1420 # Keep a trace of the command line.
1421 # Strip out --no-create and --no-recursion so they do not pile up.
1422 # Strip out --silent because we don't want to record it for future runs.
1423 # Also quote any args containing shell meta-characters.
1424 # Make two passes to allow for proper duplicate-argument suppression.
1428 ac_must_keep_next=false
1434 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1435 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1436 | -silent | --silent | --silen | --sile | --sil)
1439 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1444 as_fn_append ac_configure_args1 " '$ac_arg'"
1445 if test $ac_must_keep_next = true; then
1446 ac_must_keep_next=false # Got value, back to normal.
1449 *=* | --config-cache | -C | -disable-* | --disable-* \
1450 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1451 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1452 | -with-* | --with-* | -without-* | --without-* | --x)
1453 case "$ac_configure_args0 " in
1454 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1457 -* ) ac_must_keep_next=true ;;
1460 as_fn_append ac_configure_args " '$ac_arg'"
1465 { ac_configure_args0=; unset ac_configure_args0;}
1466 { ac_configure_args1=; unset ac_configure_args1;}
1468 # When interrupted or exit'd, cleanup temporary files, and complete
1469 # config.log. We remove comments because anyway the quotes in there
1470 # would cause problems or look ugly.
1471 # WARNING: Use '\'' to represent an apostrophe within the trap.
1472 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1473 trap 'exit_status=$?
1474 # Save into config.log some information that might help in debugging.
1478 $as_echo "## ---------------- ##
1479 ## Cache variables. ##
1480 ## ---------------- ##"
1482 # The following way of writing the cache mishandles newlines in values,
1484 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1485 eval ac_val=\$$ac_var
1489 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1490 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1493 _ | IFS | as_nl) ;; #(
1494 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1495 *) { eval $ac_var=; unset $ac_var;} ;;
1500 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1501 *${as_nl}ac_space=\ *)
1503 "s/'\''/'\''\\\\'\'''\''/g;
1504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1514 $as_echo "## ----------------- ##
1515 ## Output variables. ##
1516 ## ----------------- ##"
1518 for ac_var in $ac_subst_vars
1520 eval ac_val=\$$ac_var
1522 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1524 $as_echo "$ac_var='\''$ac_val'\''"
1528 if test -n "$ac_subst_files"; then
1529 $as_echo "## ------------------- ##
1530 ## File substitutions. ##
1531 ## ------------------- ##"
1533 for ac_var in $ac_subst_files
1535 eval ac_val=\$$ac_var
1537 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1539 $as_echo "$ac_var='\''$ac_val'\''"
1544 if test -s confdefs.h; then
1545 $as_echo "## ----------- ##
1552 test "$ac_signal" != 0 &&
1553 $as_echo "$as_me: caught signal $ac_signal"
1554 $as_echo "$as_me: exit $exit_status"
1556 rm -f core *.core core.conftest.* &&
1557 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1560 for ac_signal in 1 2 13 15; do
1561 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1565 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1566 rm -f -r conftest* confdefs.h
1568 $as_echo "/* confdefs.h */" > confdefs.h
1570 # Predefined preprocessor variables.
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_NAME "$PACKAGE_NAME"
1576 cat >>confdefs.h <<_ACEOF
1577 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_STRING "$PACKAGE_STRING"
1588 cat >>confdefs.h <<_ACEOF
1589 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_URL "$PACKAGE_URL"
1597 # Let the site file select an alternate cache file if it wants to.
1598 # Prefer an explicitly selected file to automatically selected ones.
1601 if test -n "$CONFIG_SITE"; then
1602 # We do not want a PATH search for config.site.
1603 case $CONFIG_SITE in #((
1604 -*) ac_site_file1=./$CONFIG_SITE;;
1605 */*) ac_site_file1=$CONFIG_SITE;;
1606 *) ac_site_file1=./$CONFIG_SITE;;
1608 elif test "x$prefix" != xNONE; then
1609 ac_site_file1=$prefix/share/config.site
1610 ac_site_file2=$prefix/etc/config.site
1612 ac_site_file1=$ac_default_prefix/share/config.site
1613 ac_site_file2=$ac_default_prefix/etc/config.site
1615 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1617 test "x$ac_site_file" = xNONE && continue
1618 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1620 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1621 sed 's/^/| /' "$ac_site_file" >&5
1623 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1625 as_fn_error $? "failed to load site script $ac_site_file
1626 See \`config.log' for more details" "$LINENO" 5; }
1630 if test -r "$cache_file"; then
1631 # Some versions of bash will fail to source /dev/null (special files
1632 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1633 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1635 $as_echo "$as_me: loading cache $cache_file" >&6;}
1637 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638 *) . "./$cache_file";;
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1643 $as_echo "$as_me: creating cache $cache_file" >&6;}
1647 # Check that the precious variables saved in the cache have kept the same
1649 ac_cache_corrupted=false
1650 for ac_var in $ac_precious_vars; do
1651 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1652 eval ac_new_set=\$ac_env_${ac_var}_set
1653 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1654 eval ac_new_val=\$ac_env_${ac_var}_value
1655 case $ac_old_set,$ac_new_set in
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1658 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1659 ac_cache_corrupted=: ;;
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1662 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1663 ac_cache_corrupted=: ;;
1666 if test "x$ac_old_val" != "x$ac_new_val"; then
1667 # differences in whitespace do not lead to failure.
1668 ac_old_val_w=`echo x $ac_old_val`
1669 ac_new_val_w=`echo x $ac_new_val`
1670 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1672 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1673 ac_cache_corrupted=:
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1676 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1677 eval $ac_var=\$ac_old_val
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1680 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1682 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1685 # Pass precious variables to config.status.
1686 if test "$ac_new_set" = set; then
1688 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1689 *) ac_arg=$ac_var=$ac_new_val ;;
1691 case " $ac_configure_args " in
1692 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1693 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1697 if $ac_cache_corrupted; then
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1701 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1702 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1704 ## -------------------- ##
1705 ## Main body of script. ##
1706 ## -------------------- ##
1709 ac_cpp='$CPP $CPPFLAGS'
1710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1720 for ac_dir in lib "$srcdir"/lib; do
1721 if test -f "$ac_dir/install-sh"; then
1723 ac_install_sh="$ac_aux_dir/install-sh -c"
1725 elif test -f "$ac_dir/install.sh"; then
1727 ac_install_sh="$ac_aux_dir/install.sh -c"
1729 elif test -f "$ac_dir/shtool"; then
1731 ac_install_sh="$ac_aux_dir/shtool install -c"
1735 if test -z "$ac_aux_dir"; then
1736 as_fn_error $? "cannot find install-sh, install.sh, or shtool in lib \"$srcdir\"/lib" "$LINENO" 5
1739 # These three variables are undocumented and unsupported,
1740 # and are intended to be withdrawn in a future Autoconf release.
1741 # They can cause serious problems if a builder's source tree is in a directory
1742 # whose full name contains unusual characters.
1743 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1744 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1745 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1749 # Make sure we can run config.sub.
1750 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1751 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1754 $as_echo_n "checking build system type... " >&6; }
1755 if ${ac_cv_build+:} false; then :
1756 $as_echo_n "(cached) " >&6
1758 ac_build_alias=$build_alias
1759 test "x$ac_build_alias" = x &&
1760 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1761 test "x$ac_build_alias" = x &&
1762 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1763 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1764 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1768 $as_echo "$ac_cv_build" >&6; }
1769 case $ac_cv_build in
1771 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1774 ac_save_IFS=$IFS; IFS='-'
1780 # Remember, the first character of IFS is used to create $*,
1781 # except with old shells:
1784 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1788 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1789 # way we can run Autoconf tests from configure (or from the test
1790 # suite) without being bothered by `missing'. Likewise for autom4te,
1791 # autoreconf, autoheader, and autoupdate.
1792 am_AUTOCONF="${AUTOCONF-autoconf}"
1794 am_AUTOM4TE="${AUTOM4TE-autom4te}"
1796 am_AUTORECONF="${AUTORECONF-autoreconf}"
1798 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1800 am_AUTOUPDATE="${AUTOUPDATE-autoupdate}"
1803 am__api_version='1.11a'
1805 # Find a good install program. We prefer a C program (faster),
1806 # so one script is as good as another. But avoid the broken or
1807 # incompatible versions:
1808 # SysV /etc/install, /usr/sbin/install
1809 # SunOS /usr/etc/install
1810 # IRIX /sbin/install
1812 # AmigaOS /C/install, which installs bootblocks on floppy discs
1813 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1814 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1815 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1816 # OS/2's system install, which has a completely different semantic
1817 # ./install, which can be erroneously created by make from ./install.sh.
1818 # Reject install programs that cannot install multiple files.
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1820 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1821 if test -z "$INSTALL"; then
1822 if ${ac_cv_path_install+:} false; then :
1823 $as_echo_n "(cached) " >&6
1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1829 test -z "$as_dir" && as_dir=.
1830 # Account for people who put trailing slashes in PATH elements.
1831 case $as_dir/ in #((
1832 ./ | .// | /[cC]/* | \
1833 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1834 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1837 # OSF1 and SCO ODT 3.0 have their own names for install.
1838 # Don't use installbsd from OSF since it installs stuff as root
1840 for ac_prog in ginstall scoinst install; do
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1843 if test $ac_prog = install &&
1844 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1845 # AIX install. It has an incompatible calling convention.
1847 elif test $ac_prog = install &&
1848 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1849 # program-specific install script used by HP pwplus--don't use.
1852 rm -rf conftest.one conftest.two conftest.dir
1853 echo one > conftest.one
1854 echo two > conftest.two
1856 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1857 test -s conftest.one && test -s conftest.two &&
1858 test -s conftest.dir/conftest.one &&
1859 test -s conftest.dir/conftest.two
1861 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1874 rm -rf conftest.one conftest.two conftest.dir
1877 if test "${ac_cv_path_install+set}" = set; then
1878 INSTALL=$ac_cv_path_install
1880 # As a last resort, use the slow shell script. Don't cache a
1881 # value for INSTALL within a source directory, because that will
1882 # break other packages using the cache if that directory is
1883 # removed, or if the value is a relative name.
1884 INSTALL=$ac_install_sh
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1888 $as_echo "$INSTALL" >&6; }
1890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1891 # It thinks the first close brace ends the variable substitution.
1892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1896 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1899 $as_echo_n "checking whether build environment is sane... " >&6; }
1900 # Reject unsafe characters in $srcdir or the absolute working directory
1901 # name. Accept space and tab only in the latter.
1905 *[\\\"\#\$\&\'\`$am_lf]*)
1906 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1909 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1910 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1913 # Do `set' in a subshell so we don't clobber the current shell's
1914 # arguments. Must try -L first in case configure is actually a
1915 # symlink; some systems play weird games with the mod time of symlinks
1916 # (eg FreeBSD returns the mod time of the symlink's containing
1920 for am_try in 1 2; do
1921 echo "timestamp, slept: $am_has_slept" > conftest.file
1922 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1923 if test "$*" = "X"; then
1925 set X `ls -t "$srcdir/configure" conftest.file`
1927 if test "$*" != "X $srcdir/configure conftest.file" \
1928 && test "$*" != "X conftest.file $srcdir/configure"; then
1930 # If neither matched, then we have a broken ls. This can happen
1931 # if, for instance, CONFIG_SHELL is bash and it inherits a
1932 # broken ls alias from the environment. This has actually
1933 # happened. Such a system could not be considered "sane".
1934 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1935 alias in your environment" "$LINENO" 5
1937 if test "$2" = conftest.file || test $am_try -eq 2; then
1944 test "$2" = conftest.file
1950 as_fn_error $? "newly created file is older than distributed files!
1951 Check your system clock" "$LINENO" 5
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1954 $as_echo "yes" >&6; }
1955 # If we didn't sleep, we still need to ensure time stamps of config.status and
1956 # generated files are strictly newer.
1958 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1965 test "$program_prefix" != NONE &&
1966 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1967 # Use a double $ so make ignores it.
1968 test "$program_suffix" != NONE &&
1969 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1970 # Double any \ or $.
1971 # By default was `s,x,x', remove it if useless.
1972 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1973 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1975 # expand $ac_aux_dir to an absolute path
1976 am_aux_dir=`cd $ac_aux_dir && pwd`
1978 if test x"${MISSING+set}" != xset; then
1981 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1983 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1986 # Use eval to expand $SHELL
1987 if eval "$MISSING --run true"; then
1988 am_missing_run="$MISSING --run "
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1992 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1995 if test x"${install_sh}" != xset; then
1998 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2000 install_sh="\${SHELL} $am_aux_dir/install-sh"
2004 # Installed binaries are usually stripped using `strip' when the user
2005 # run `make install-strip'. However `strip' might not be the right
2006 # tool to use in cross-compilation environments, therefore Automake
2007 # will honor the `STRIP' environment variable to overrule this program.
2008 if test "$cross_compiling" != no; then
2009 if test -n "$ac_tool_prefix"; then
2010 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2011 set dummy ${ac_tool_prefix}strip; ac_word=$2
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2013 $as_echo_n "checking for $ac_word... " >&6; }
2014 if ${ac_cv_prog_STRIP+:} false; then :
2015 $as_echo_n "(cached) " >&6
2017 if test -n "$STRIP"; then
2018 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 STRIP=$ac_cv_prog_STRIP
2038 if test -n "$STRIP"; then
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2040 $as_echo "$STRIP" >&6; }
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2043 $as_echo "no" >&6; }
2048 if test -z "$ac_cv_prog_STRIP"; then
2050 # Extract the first word of "strip", so it can be a program name with args.
2051 set dummy strip; ac_word=$2
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2053 $as_echo_n "checking for $ac_word... " >&6; }
2054 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2055 $as_echo_n "(cached) " >&6
2057 if test -n "$ac_ct_STRIP"; then
2058 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067 ac_cv_prog_ac_ct_STRIP="strip"
2068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2078 if test -n "$ac_ct_STRIP"; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2080 $as_echo "$ac_ct_STRIP" >&6; }
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2083 $as_echo "no" >&6; }
2086 if test "x$ac_ct_STRIP" = x; then
2089 case $cross_compiling:$ac_tool_warned in
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2093 ac_tool_warned=yes ;;
2098 STRIP="$ac_cv_prog_STRIP"
2102 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2105 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2106 if test -z "$MKDIR_P"; then
2107 if ${ac_cv_path_mkdir+:} false; then :
2108 $as_echo_n "(cached) " >&6
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2114 test -z "$as_dir" && as_dir=.
2115 for ac_prog in mkdir gmkdir; do
2116 for ac_exec_ext in '' $ac_executable_extensions; do
2117 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2118 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2119 'mkdir (GNU coreutils) '* | \
2120 'mkdir (coreutils) '* | \
2121 'mkdir (fileutils) '4.1*)
2122 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2132 test -d ./--version && rmdir ./--version
2133 if test "${ac_cv_path_mkdir+set}" = set; then
2134 MKDIR_P="$ac_cv_path_mkdir -p"
2136 # As a last resort, use the slow shell script. Don't cache a
2137 # value for MKDIR_P within a source directory, because that will
2138 # break other packages using the cache if that directory is
2139 # removed, or if the value is a relative name.
2140 MKDIR_P="$ac_install_sh -d"
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2144 $as_echo "$MKDIR_P" >&6; }
2148 [\\/$]* | ?:[\\/]*) ;;
2149 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2152 for ac_prog in gawk mawk nawk awk
2154 # Extract the first word of "$ac_prog", so it can be a program name with args.
2155 set dummy $ac_prog; ac_word=$2
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2157 $as_echo_n "checking for $ac_word... " >&6; }
2158 if ${ac_cv_prog_AWK+:} false; then :
2159 $as_echo_n "(cached) " >&6
2161 if test -n "$AWK"; then
2162 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2171 ac_cv_prog_AWK="$ac_prog"
2172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 if test -n "$AWK"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2184 $as_echo "$AWK" >&6; }
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2187 $as_echo "no" >&6; }
2191 test -n "$AWK" && break
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2195 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2197 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2198 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2199 $as_echo_n "(cached) " >&6
2201 cat >conftest.make <<\_ACEOF
2204 @echo '@@@%%%=$(MAKE)=@@@%%%'
2206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2209 eval ac_cv_prog_make_${ac_make}_set=yes;;
2211 eval ac_cv_prog_make_${ac_make}_set=no;;
2215 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2217 $as_echo "yes" >&6; }
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221 $as_echo "no" >&6; }
2222 SET_MAKE="MAKE=${MAKE-make}"
2225 rm -rf .tst 2>/dev/null
2226 mkdir .tst 2>/dev/null
2227 if test -d .tst; then
2232 rmdir .tst 2>/dev/null
2234 # Check whether --enable-silent-rules was given.
2235 if test "${enable_silent_rules+set}" = set; then :
2236 enableval=$enable_silent_rules;
2239 case $enable_silent_rules in # (((
2240 yes) AM_DEFAULT_VERBOSITY=0;;
2241 no) AM_DEFAULT_VERBOSITY=1;;
2242 *) AM_DEFAULT_VERBOSITY=1;;
2246 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2247 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2248 # is not polluted with repeated "-I."
2249 am__isrc=' -I$(srcdir)'
2250 # test to see if srcdir already configured
2251 if test -f $srcdir/config.status; then
2252 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2256 # test whether we have cygpath
2257 if test -z "$CYGPATH_W"; then
2258 if (cygpath --version) >/dev/null 2>/dev/null; then
2259 CYGPATH_W='cygpath -w'
2266 # Define the identity of the package.
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE "$PACKAGE"
2276 cat >>confdefs.h <<_ACEOF
2277 #define VERSION "$VERSION"
2280 # Some tools Automake needs.
2282 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 # We need awk for the "check" target. The system "awk" is bad on
2298 # Always define AMTAR for backward compatibility.
2300 AMTAR=${AMTAR-"${am_missing_run}tar"}
2302 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2309 # The API version is the base version. We must guarantee
2310 # compatibility for all releases with the same API version.
2311 # Our current rule is that:
2312 # * All releases, including the prereleases, in an X.Y series
2313 # are compatible. So 1.5.1c is compatible with 1.5.
2314 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2316 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2319 # A versioned directory, defined here for convenience.
2320 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2323 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2324 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2325 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2326 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2328 # Extract the first word of "perl", so it can be a program name with args.
2329 set dummy perl; ac_word=$2
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2331 $as_echo_n "checking for $ac_word... " >&6; }
2332 if ${ac_cv_path_PERL+:} false; then :
2333 $as_echo_n "(cached) " >&6
2337 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 PERL=$ac_cv_path_PERL
2359 if test -n "$PERL"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2361 $as_echo "$PERL" >&6; }
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2368 if test -z "$PERL"; then
2369 as_fn_error $? "perl not found" "$LINENO" 5
2371 $PERL -e 'require 5.006;' || {
2372 as_fn_error $? "perl 5.6 or better is required; perl 5.8.2 or better
2373 is recommended. If you have several perl versions
2374 installed, select the one Automake should use using
2375 ./configure PERL=/path/to/perl" "$LINENO" 5
2378 # We require ithreads support, and version 5.7.2 for CLONE.
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL supports ithreads" >&5
2380 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2381 if ${am_cv_prog_PERL_ithreads+:} false; then :
2382 $as_echo_n "(cached) " >&6
2387 if ($Config{useithreads})
2391 require Thread::Queue;
2392 import Thread::Queue;
2397 am_cv_prog_PERL_ithreads=yes
2399 am_cv_prog_PERL_ithreads=no
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_PERL_ithreads" >&5
2403 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2404 if test $am_cv_prog_PERL_ithreads = yes; then
2411 # The test suite will skip some tests if tex is absent.
2412 # Extract the first word of "tex", so it can be a program name with args.
2413 set dummy tex; ac_word=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if ${ac_cv_prog_TEX+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 if test -n "$TEX"; then
2420 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 ac_cv_prog_TEX="tex"
2430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 if test -n "$TEX"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
2442 $as_echo "$TEX" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2450 # Generate man pages.
2452 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2455 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2456 # deletion of any files created (such as those added to
2457 # autom4te.cache). We used to perform only the last of the three
2458 # following tests, but some users were unable to figure out that their
2459 # installation was broken since --version appeared to work.
2461 required_autoconf_version=2.62
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is installed" >&5
2463 $as_echo_n "checking whether autoconf is installed... " >&6; }
2464 if ${am_cv_autoconf_installed+:} false; then :
2465 $as_echo_n "(cached) " >&6
2467 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2468 (eval $am_AUTOCONF --version) >&5 2>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); };
2473 am_cv_autoconf_installed=yes
2475 am_cv_autoconf_installed=no
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_installed" >&5
2479 $as_echo "$am_cv_autoconf_installed" >&6; }
2480 if test "$am_cv_autoconf_installed" = no; then
2481 as_fn_error $? "Autoconf $required_autoconf_version or better is required.
2482 Please make sure it is installed and in your PATH." "$LINENO" 5
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf works" >&5
2486 $as_echo_n "checking whether autoconf works... " >&6; }
2487 if ${am_cv_autoconf_works+:} false; then :
2488 $as_echo_n "(cached) " >&6
2491 echo 'AC''_INIT' > conftest/conftest.ac
2492 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2493 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); };
2498 am_cv_autoconf_works=yes
2500 am_cv_autoconf_works=no
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_works" >&5
2505 $as_echo "$am_cv_autoconf_works" >&6; }
2506 if test "$am_cv_autoconf_works" = no; then
2507 as_fn_error $? "The installed version of autoconf does not work.
2508 Please check config.log for error messages before this one." "$LINENO" 5
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is recent enough" >&5
2512 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2513 if ${am_cv_autoconf_version+:} false; then :
2514 $as_echo_n "(cached) " >&6
2517 echo 'AC'"_PREREQ([$required_autoconf_version])" > conftest/conftest.ac
2518 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2519 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); };
2524 am_cv_autoconf_version=yes
2526 am_cv_autoconf_version=no
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_version" >&5
2531 $as_echo "$am_cv_autoconf_version" >&6; }
2532 if test "$am_cv_autoconf_version" = no; then
2533 as_fn_error $? "Autoconf $required_autoconf_version or better is required." "$LINENO" 5
2536 # Test for ln. We need use it to install the versioned binaries.
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2538 $as_echo_n "checking whether ln works... " >&6; }
2539 if ${am_cv_prog_ln+:} false; then :
2540 $as_echo_n "(cached) " >&6
2543 rm -f conftest conftest.file
2545 if ln conftest.file conftest 2>/dev/null; then
2548 am_cv_prog_ln='cp -p'
2550 rm -f conftest conftest.file
2556 test "x$am_cv_prog_ln" = xln && result=yes
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2558 $as_echo "$result" >&6; }
2560 # The amount we should wait after modifying files depends on the platform.
2561 # On Windows '95, '98 and ME, files modifications have 2-seconds
2562 # granularity and can be up to 3 seconds in the future w.r.t. the
2563 # system clock. When it is important to ensure one file is older
2564 # than another we wait at least 5 seconds between creations.
2566 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2567 *) MODIFICATION_DELAY=2;;
2571 # Test for things needed by the test suite.
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2573 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2574 if ${ac_cv_path_GREP+:} false; then :
2575 $as_echo_n "(cached) " >&6
2577 if test -z "$GREP"; then
2578 ac_path_GREP_found=false
2579 # Loop through the user's path and test for each of PROGNAME-LIST
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2584 test -z "$as_dir" && as_dir=.
2585 for ac_prog in grep ggrep; do
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2588 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2589 # Check for GNU ac_path_GREP and select it if it is found.
2590 # Check for GNU $ac_path_GREP
2591 case `"$ac_path_GREP" --version 2>&1` in
2593 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2596 $as_echo_n 0123456789 >"conftest.in"
2599 cat "conftest.in" "conftest.in" >"conftest.tmp"
2600 mv "conftest.tmp" "conftest.in"
2601 cp "conftest.in" "conftest.nl"
2602 $as_echo 'GREP' >> "conftest.nl"
2603 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2605 as_fn_arith $ac_count + 1 && ac_count=$as_val
2606 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2607 # Best one so far, save it but keep looking for a better one
2608 ac_cv_path_GREP="$ac_path_GREP"
2609 ac_path_GREP_max=$ac_count
2611 # 10*(2^10) chars as input seems more than enough
2612 test $ac_count -gt 10 && break
2614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2617 $ac_path_GREP_found && break 3
2622 if test -z "$ac_cv_path_GREP"; then
2623 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2626 ac_cv_path_GREP=$GREP
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2631 $as_echo "$ac_cv_path_GREP" >&6; }
2632 GREP="$ac_cv_path_GREP"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2636 $as_echo_n "checking for egrep... " >&6; }
2637 if ${ac_cv_path_EGREP+:} false; then :
2638 $as_echo_n "(cached) " >&6
2640 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2641 then ac_cv_path_EGREP="$GREP -E"
2643 if test -z "$EGREP"; then
2644 ac_path_EGREP_found=false
2645 # Loop through the user's path and test for each of PROGNAME-LIST
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2650 test -z "$as_dir" && as_dir=.
2651 for ac_prog in egrep; do
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2654 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2655 # Check for GNU ac_path_EGREP and select it if it is found.
2656 # Check for GNU $ac_path_EGREP
2657 case `"$ac_path_EGREP" --version 2>&1` in
2659 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2662 $as_echo_n 0123456789 >"conftest.in"
2665 cat "conftest.in" "conftest.in" >"conftest.tmp"
2666 mv "conftest.tmp" "conftest.in"
2667 cp "conftest.in" "conftest.nl"
2668 $as_echo 'EGREP' >> "conftest.nl"
2669 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2670 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2671 as_fn_arith $ac_count + 1 && ac_count=$as_val
2672 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2673 # Best one so far, save it but keep looking for a better one
2674 ac_cv_path_EGREP="$ac_path_EGREP"
2675 ac_path_EGREP_max=$ac_count
2677 # 10*(2^10) chars as input seems more than enough
2678 test $ac_count -gt 10 && break
2680 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2683 $ac_path_EGREP_found && break 3
2688 if test -z "$ac_cv_path_EGREP"; then
2689 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2692 ac_cv_path_EGREP=$EGREP
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2698 $as_echo "$ac_cv_path_EGREP" >&6; }
2699 EGREP="$ac_cv_path_EGREP"
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
2703 $as_echo_n "checking for fgrep... " >&6; }
2704 if ${ac_cv_path_FGREP+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2708 then ac_cv_path_FGREP="$GREP -F"
2710 if test -z "$FGREP"; then
2711 ac_path_FGREP_found=false
2712 # Loop through the user's path and test for each of PROGNAME-LIST
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2717 test -z "$as_dir" && as_dir=.
2718 for ac_prog in fgrep; do
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2721 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2722 # Check for GNU ac_path_FGREP and select it if it is found.
2723 # Check for GNU $ac_path_FGREP
2724 case `"$ac_path_FGREP" --version 2>&1` in
2726 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2729 $as_echo_n 0123456789 >"conftest.in"
2732 cat "conftest.in" "conftest.in" >"conftest.tmp"
2733 mv "conftest.tmp" "conftest.in"
2734 cp "conftest.in" "conftest.nl"
2735 $as_echo 'FGREP' >> "conftest.nl"
2736 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2738 as_fn_arith $ac_count + 1 && ac_count=$as_val
2739 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2740 # Best one so far, save it but keep looking for a better one
2741 ac_cv_path_FGREP="$ac_path_FGREP"
2742 ac_path_FGREP_max=$ac_count
2744 # 10*(2^10) chars as input seems more than enough
2745 test $ac_count -gt 10 && break
2747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2750 $ac_path_FGREP_found && break 3
2755 if test -z "$ac_cv_path_FGREP"; then
2756 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2759 ac_cv_path_FGREP=$FGREP
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
2765 $as_echo "$ac_cv_path_FGREP" >&6; }
2766 FGREP="$ac_cv_path_FGREP"
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /bin/sh has working 'set -e' with exit trap" >&5
2771 $as_echo_n "checking whether /bin/sh has working 'set -e' with exit trap... " >&6; }
2772 if ${am_cv_sh_errexit_works+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if /bin/sh -ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $? = 77
2777 am_cv_sh_errexit_works=yes
2779 am_cv_sh_errexit_works=no
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_sh_errexit_works" >&5
2784 $as_echo "$am_cv_sh_errexit_works" >&6; }
2785 if test $am_cv_sh_errexit_works = no; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2787 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2789 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2791 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2793 sh_errexit_works=$am_cv_sh_errexit_works
2796 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"
2798 ac_config_links="$ac_config_links tests/defs:tests/defs"
2800 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2802 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2805 cat >confcache <<\_ACEOF
2806 # This file is a shell script that caches the results of configure
2807 # tests run on this system so they can be shared between configure
2808 # scripts and configure runs, see configure's option --config-cache.
2809 # It is not useful on other systems. If it contains results you don't
2810 # want to keep, you may remove or edit it.
2812 # config.status only pays attention to the cache file if you give it
2813 # the --recheck option to rerun configure.
2815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2821 # The following way of writing the cache mishandles newlines in values,
2822 # but we know of no workaround that is simple, portable, and efficient.
2823 # So, we kill variables containing newlines.
2824 # Ultrix sh set writes to stderr and can't be redirected directly,
2825 # and sets the high bit in the cache file unless we assign to the vars.
2827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2828 eval ac_val=\$$ac_var
2832 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2836 _ | IFS | as_nl) ;; #(
2837 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2838 *) { eval $ac_var=; unset $ac_var;} ;;
2844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2845 *${as_nl}ac_space=\ *)
2846 # `set' does not quote correctly, so add quotes: double-quote
2847 # substitution turns \\\\ into \\, and sed turns \\ into \.
2850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2853 # `set' quotes correctly as required by POSIX, so do not add quotes.
2854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2867 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2868 if test -w "$cache_file"; then
2869 if test "x$cache_file" != "x/dev/null"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2871 $as_echo "$as_me: updating cache $cache_file" >&6;}
2872 if test ! -f "$cache_file" || test -h "$cache_file"; then
2873 cat confcache >"$cache_file"
2875 case $cache_file in #(
2877 mv -f confcache "$cache_file"$$ &&
2878 mv -f "$cache_file"$$ "$cache_file" ;; #(
2880 mv -f confcache "$cache_file" ;;
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2886 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2891 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2892 # Let make expand exec_prefix.
2893 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2895 # Transform confdefs.h into DEFS.
2896 # Protect against shell expansion while executing Makefile rules.
2897 # Protect against Makefile macro expansion.
2899 # If the first sed substitution is executed (which looks for macros that
2900 # take arguments), then branch to the quote section. Otherwise,
2901 # look for a macro that doesn't take arguments.
2911 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2913 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2917 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2930 DEFS=`sed -n "$ac_script" confdefs.h`
2936 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2937 # 1. Remove the extension, and $U if already installed.
2938 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2939 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2940 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2941 # will be set to the directory where LIBOBJS objects are built.
2942 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2943 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2947 LTLIBOBJS=$ac_ltlibobjs
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2951 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2952 if test -n "$am_sleep_pid"; then
2953 # Hide warnings about reused PIDs.
2954 wait $am_sleep_pid 2>/dev/null
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2957 $as_echo "done" >&6; }
2960 : "${CONFIG_STATUS=./config.status}"
2962 ac_clean_files_save=$ac_clean_files
2963 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2965 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2967 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2969 # Generated by $as_me.
2970 # Run this file to recreate the current configuration.
2971 # Compiler output produced by configure, useful for debugging
2972 # configure, is in config.log if it exists.
2978 SHELL=\${CONFIG_SHELL-$SHELL}
2981 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2982 ## -------------------- ##
2983 ## M4sh Initialization. ##
2984 ## -------------------- ##
2986 # Be more Bourne compatible
2987 DUALCASE=1; export DUALCASE # for MKS sh
2988 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2992 # is contrary to our usage. Disable this feature.
2993 alias -g '${1+"$@"}'='"$@"'
2994 setopt NO_GLOB_SUBST
2996 case `(set -o) 2>/dev/null` in #(
3008 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3009 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3012 # Prefer a ksh shell builtin over an external printf program on Solaris,
3013 # but without wasting forks for bash or zsh.
3014 if test -z "$BASH_VERSION$ZSH_VERSION" \
3015 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3016 as_echo='print -r --'
3017 as_echo_n='print -rn --'
3018 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3019 as_echo='printf %s\n'
3020 as_echo_n='printf %s'
3022 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3023 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3024 as_echo_n='/usr/ucb/echo -n'
3026 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3027 as_echo_n_body='eval
3031 expr "X$arg" : "X\\(.*\\)$as_nl";
3032 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3034 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3036 export as_echo_n_body
3037 as_echo_n='sh -c $as_echo_n_body as_echo'
3040 as_echo='sh -c $as_echo_body as_echo'
3043 # The user is always right.
3044 if test "${PATH_SEPARATOR+set}" != set; then
3046 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3047 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3054 # We need space, tab and new line, in precisely that order. Quoting is
3055 # there to prevent editors from complaining about space-tab.
3056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3057 # splitting by setting IFS to empty value.)
3060 # Find who we are. Look in the path if we contain no directory separator.
3063 *[\\/]* ) as_myself=$0 ;;
3064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3075 # We did not find ourselves, most probably we were run as `sh COMMAND'
3076 # in which case we are not to be found in the path.
3077 if test "x$as_myself" = x; then
3080 if test ! -f "$as_myself"; then
3081 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3085 # Unset variables that we do not need and which cause bugs (e.g. in
3086 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3087 # suppresses any "Segmentation fault" message there. '((' could
3088 # trigger a bug in pdksh 5.2.14.
3089 for as_var in BASH_ENV ENV MAIL MAILPATH
3090 do eval test x\${$as_var+set} = xset \
3091 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3104 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3107 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3108 # ----------------------------------------
3109 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3110 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3111 # script with STATUS, using 1 if that was 0.
3114 as_status=$1; test $as_status -eq 0 && as_status=1
3116 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3117 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3119 $as_echo "$as_me: error: $2" >&2
3120 as_fn_exit $as_status
3124 # as_fn_set_status STATUS
3125 # -----------------------
3126 # Set $? to STATUS, without forking.
3130 } # as_fn_set_status
3134 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3144 # Portably unset VAR.
3147 { eval $1=; unset $1;}
3149 as_unset=as_fn_unset
3150 # as_fn_append VAR VALUE
3151 # ----------------------
3152 # Append the text in VALUE to the end of the definition contained in VAR. Take
3153 # advantage of any shell optimizations that allow amortized linear growth over
3154 # repeated appends, instead of the typical quadratic growth present in naive
3156 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3157 eval 'as_fn_append ()
3168 # as_fn_arith ARG...
3169 # ------------------
3170 # Perform arithmetic evaluation on the ARGs, and store the result in the
3171 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3172 # must be portable across $(()) and expr.
3173 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3174 eval 'as_fn_arith ()
3181 as_val=`expr "$@" || test $? -eq 1`
3186 if expr a : '\(a\)' >/dev/null 2>&1 &&
3187 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3193 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3194 as_basename=basename
3199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3205 as_me=`$as_basename -- "$0" ||
3206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3207 X"$0" : 'X\(//\)$' \| \
3208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3210 sed '/^.*\/\([^/][^/]*\)\/*$/{
3224 # Avoid depending upon Character Ranges.
3225 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3226 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3227 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3228 as_cr_digits='0123456789'
3229 as_cr_alnum=$as_cr_Letters$as_cr_digits
3231 ECHO_C= ECHO_N= ECHO_T=
3232 case `echo -n x` in #(((((
3234 case `echo 'xy\c'` in
3235 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3237 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3244 rm -f conf$$ conf$$.exe conf$$.file
3245 if test -d conf$$.dir; then
3246 rm -f conf$$.dir/conf$$.file
3249 mkdir conf$$.dir 2>/dev/null
3251 if (echo >conf$$.file) 2>/dev/null; then
3252 if ln -s conf$$.file conf$$ 2>/dev/null; then
3254 # ... but there are two gotchas:
3255 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3256 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3257 # In both cases, we have to default to `cp -p'.
3258 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3260 elif ln conf$$.file conf$$ 2>/dev/null; then
3268 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3269 rmdir conf$$.dir 2>/dev/null
3274 # Create "$as_dir" as a directory, including parents if necessary.
3279 -*) as_dir=./$as_dir;;
3281 test -d "$as_dir" || eval $as_mkdir_p || {
3285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3286 *) as_qdir=$as_dir;;
3288 as_dirs="'$as_qdir' $as_dirs"
3289 as_dir=`$as_dirname -- "$as_dir" ||
3290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3291 X"$as_dir" : 'X\(//\)[^/]' \| \
3292 X"$as_dir" : 'X\(//\)$' \| \
3293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3294 $as_echo X"$as_dir" |
3295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3312 test -d "$as_dir" && break
3314 test -z "$as_dirs" || eval "mkdir $as_dirs"
3315 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3319 if mkdir -p . 2>/dev/null; then
3320 as_mkdir_p='mkdir -p "$as_dir"'
3322 test -d ./-p && rmdir ./-p
3326 if test -x / >/dev/null 2>&1; then
3329 if ls -dL / >/dev/null 2>&1; then
3336 if test -d "$1"; then
3342 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3343 ???[sx]*):;;*)false;;esac;fi
3347 as_executable_p=$as_test_x
3349 # Sed expression to map a string onto a valid CPP name.
3350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3352 # Sed expression to map a string onto a valid variable name.
3353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3357 ## ----------------------------------- ##
3358 ## Main body of $CONFIG_STATUS script. ##
3359 ## ----------------------------------- ##
3361 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3364 # Save the log message, to keep $0 and so on meaningful, and to
3365 # report actual input values of CONFIG_FILES etc. instead of their
3366 # values after options handling.
3368 This file was extended by GNU Automake $as_me 1.11a, which was
3369 generated by GNU Autoconf 2.68. Invocation command line was
3371 CONFIG_FILES = $CONFIG_FILES
3372 CONFIG_HEADERS = $CONFIG_HEADERS
3373 CONFIG_LINKS = $CONFIG_LINKS
3374 CONFIG_COMMANDS = $CONFIG_COMMANDS
3377 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3382 case $ac_config_files in *"
3383 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3389 # Files that config.status was made for.
3390 config_files="$ac_config_files"
3391 config_links="$ac_config_links"
3395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3397 \`$as_me' instantiates files and other configuration actions
3398 from templates according to the current configuration. Unless the files
3399 and actions are specified as TAGs, all are instantiated by default.
3401 Usage: $0 [OPTION]... [TAG]...
3403 -h, --help print this help, then exit
3404 -V, --version print version number and configuration settings, then exit
3405 --config print configuration, then exit
3406 -q, --quiet, --silent
3407 do not print progress messages
3408 -d, --debug don't remove temporary files
3409 --recheck update $as_me by reconfiguring in the same conditions
3410 --file=FILE[:TEMPLATE]
3411 instantiate the configuration file FILE
3413 Configuration files:
3416 Configuration links:
3419 Report bugs to <bug-automake@gnu.org>.
3420 GNU Automake home page: <http://www.gnu.org/software/automake/>.
3421 General help using GNU software: <http://www.gnu.org/gethelp/>."
3424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3425 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3427 GNU Automake config.status 1.11a
3428 configured by $0, generated by GNU Autoconf 2.68,
3429 with options \\"\$ac_cs_config\\"
3431 Copyright (C) 2010 Free Software Foundation, Inc.
3432 This config.status script is free software; the Free Software Foundation
3433 gives unlimited permission to copy, distribute and modify it."
3440 test -n "\$AWK" || AWK=awk
3443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3444 # The default lists apply if the user does not specify any file.
3450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3455 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3467 # Handling of the options.
3468 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3470 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3471 $as_echo "$ac_cs_version"; exit ;;
3472 --config | --confi | --conf | --con | --co | --c )
3473 $as_echo "$ac_cs_config"; exit ;;
3474 --debug | --debu | --deb | --de | --d | -d )
3476 --file | --fil | --fi | --f )
3479 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3480 '') as_fn_error $? "missing file argument" ;;
3482 as_fn_append CONFIG_FILES " '$ac_optarg'"
3483 ac_need_defaults=false;;
3484 --he | --h | --help | --hel | -h )
3485 $as_echo "$ac_cs_usage"; exit ;;
3486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3487 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3491 -*) as_fn_error $? "unrecognized option: \`$1'
3492 Try \`$0 --help' for more information." ;;
3494 *) as_fn_append ac_config_targets " $1"
3495 ac_need_defaults=false ;;
3501 ac_configure_extra_args=
3503 if $ac_cs_silent; then
3505 ac_configure_extra_args="$ac_configure_extra_args --silent"
3509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3510 if \$ac_cs_recheck; then
3511 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3513 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3514 CONFIG_SHELL='$SHELL'
3520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3525 ## Running $as_me. ##
3531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3535 APIVERSION=$APIVERSION
3539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3541 # Handling of arguments.
3542 for ac_config_target in $ac_config_targets
3544 case $ac_config_target in
3545 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3546 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3547 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3548 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3549 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3550 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3551 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3552 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3553 "tests/defs-static") CONFIG_FILES="$CONFIG_FILES tests/defs-static" ;;
3554 "tests/defs") CONFIG_LINKS="$CONFIG_LINKS tests/defs:tests/defs" ;;
3555 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3556 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3558 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3563 # If the user did not use the arguments to specify the items to instantiate,
3564 # then the envvar interface is used. Set only those that are not.
3565 # We use the long form for the default assignment because of an extremely
3566 # bizarre bug on SunOS 4.1.3.
3567 if $ac_need_defaults; then
3568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3569 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
3572 # Have a temporary directory for convenience. Make it in the build tree
3573 # simply because there is no reason against having it here, and in addition,
3574 # creating and moving files from /tmp can sometimes cause problems.
3575 # Hook for its removal unless debugging.
3576 # Note that there is a small window in which the directory will not be cleaned:
3577 # after its creation but before its name has been assigned to `$tmp'.
3581 trap 'exit_status=$?
3583 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3585 trap 'as_fn_exit 1' 1 2 13 15
3587 # Create a (secure) tmp directory for tmp files.
3590 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3594 tmp=./conf$$-$RANDOM
3595 (umask 077 && mkdir "$tmp")
3596 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3599 # Set up the scripts for CONFIG_FILES section.
3600 # No need to generate them if there are no CONFIG_FILES.
3601 # This happens for instance with `./config.status config.h'.
3602 if test -n "$CONFIG_FILES"; then
3605 ac_cr=`echo X | tr X '\015'`
3606 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3607 # But we know of no other shell where ac_cr would be empty at this
3608 # point, so we can use a bashism as a fallback.
3609 if test "x$ac_cr" = x; then
3610 eval ac_cr=\$\'\\r\'
3612 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3613 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3619 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3624 echo "cat >conf$$subs.awk <<_ACEOF" &&
3625 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3628 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3629 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3631 for ac_last_try in false false false false false :; do
3632 . ./conf$$subs.sh ||
3633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3635 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3636 if test $ac_delim_n = $ac_delim_num; then
3638 elif $ac_last_try; then
3639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3647 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3651 s/^/S["/; s/!.*/"]=/
3661 s/\(.\{148\}\)..*/\1/
3663 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3668 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3675 s/\(.\{148\}\)..*/\1/
3677 s/["\\]/\\&/g; s/^/"/; s/$/"/
3681 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3686 ' <conf$$subs.awk | sed '
3691 ' >>$CONFIG_STATUS || ac_write_fail=1
3692 rm -f conf$$subs.awk
3693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3695 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3696 for (key in S) S_is_set[key] = 1
3702 nfields = split(line, field, "@")
3704 len = length(field[1])
3705 for (i = 2; i < nfields; i++) {
3707 keylen = length(key)
3708 if (S_is_set[key]) {
3710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3711 len += length(value) + length(field[++i])
3722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3723 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3724 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3727 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3728 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3731 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3732 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3733 # trailing colons and then remove the whole line if VPATH becomes empty
3734 # (actually we leave an empty line to preserve line numbers).
3735 if test "x$srcdir" = x.; then
3736 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3755 fi # test -n "$CONFIG_FILES"
3758 eval set X " :F $CONFIG_FILES :L $CONFIG_LINKS "
3763 :[FHLC]) ac_mode=$ac_tag; continue;;
3765 case $ac_mode$ac_tag in
3767 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3768 :[FH]-) ac_tag=-:-;;
3769 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3786 -) ac_f="$ac_tmp/stdin";;
3787 *) # Look for the file first in the build tree, then in the source tree
3788 # (if the path is not absolute). The absolute path cannot be DOS-style,
3789 # because $ac_f cannot contain `:'.
3793 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3795 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3797 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3798 as_fn_append ac_file_inputs " '$ac_f'"
3801 # Let's still pretend it is `configure' which instantiates (i.e., don't
3802 # use $as_me), people would be surprised to read:
3803 # /* config.h. Generated by config.status. */
3804 configure_input='Generated from '`
3805 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3807 if test x"$ac_file" != x-; then
3808 configure_input="$ac_file. $configure_input"
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3810 $as_echo "$as_me: creating $ac_file" >&6;}
3812 # Neutralize special characters interpreted by sed in replacement strings.
3813 case $configure_input in #(
3814 *\&* | *\|* | *\\* )
3815 ac_sed_conf_input=`$as_echo "$configure_input" |
3816 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3817 *) ac_sed_conf_input=$configure_input;;
3821 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3827 ac_dir=`$as_dirname -- "$ac_file" ||
3828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3829 X"$ac_file" : 'X\(//\)[^/]' \| \
3830 X"$ac_file" : 'X\(//\)$' \| \
3831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3832 $as_echo X"$ac_file" |
3833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3850 as_dir="$ac_dir"; as_fn_mkdir_p
3854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3856 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3857 # A ".." for each directory in $ac_dir_suffix.
3858 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3859 case $ac_top_builddir_sub in
3860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3864 ac_abs_top_builddir=$ac_pwd
3865 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3866 # for backward compatibility:
3867 ac_top_builddir=$ac_top_build_prefix
3870 .) # We are building in place.
3872 ac_top_srcdir=$ac_top_builddir_sub
3873 ac_abs_top_srcdir=$ac_pwd ;;
3874 [\\/]* | ?:[\\/]* ) # Absolute name.
3875 ac_srcdir=$srcdir$ac_dir_suffix;
3876 ac_top_srcdir=$srcdir
3877 ac_abs_top_srcdir=$srcdir ;;
3879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3880 ac_top_srcdir=$ac_top_build_prefix$srcdir
3881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3893 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3894 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3898 [\\/$]* | ?:[\\/]* ) ;;
3899 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3904 # If the template does not know about datarootdir, expand it.
3905 # FIXME: This hack should be removed a few years after 2.60.
3906 ac_datarootdir_hack=; ac_datarootdir_seen=
3917 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3918 *datarootdir*) ac_datarootdir_seen=yes;;
3919 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3921 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3924 ac_datarootdir_hack='
3925 s&@datadir@&$datadir&g
3926 s&@docdir@&$docdir&g
3927 s&@infodir@&$infodir&g
3928 s&@localedir@&$localedir&g
3929 s&@mandir@&$mandir&g
3930 s&\\\${datarootdir}&$datarootdir&g' ;;
3934 # Neutralize VPATH when `$srcdir' = `.'.
3935 # Shell code in configure.ac might set extrasub.
3936 # FIXME: do we really want to maintain this feature?
3937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3938 ac_sed_extra="$ac_vpsub
3941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3943 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3944 s|@configure_input@|$ac_sed_conf_input|;t t
3945 s&@top_builddir@&$ac_top_builddir_sub&;t t
3946 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3947 s&@srcdir@&$ac_srcdir&;t t
3948 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3949 s&@top_srcdir@&$ac_top_srcdir&;t t
3950 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3951 s&@builddir@&$ac_builddir&;t t
3952 s&@abs_builddir@&$ac_abs_builddir&;t t
3953 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3954 s&@INSTALL@&$ac_INSTALL&;t t
3955 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3956 $ac_datarootdir_hack
3958 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3959 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3961 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3962 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3963 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3964 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3966 which seems to be undefined. Please make sure it is defined" >&5
3967 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3968 which seems to be undefined. Please make sure it is defined" >&2;}
3970 rm -f "$ac_tmp/stdin"
3972 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3973 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3983 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
3986 # Prefer the file from the source tree if names are identical.
3987 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
3988 ac_source=$srcdir/$ac_source
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
3992 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
3994 if test ! -r "$ac_source"; then
3995 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
3999 # Try a relative symlink, then a hard link, then a copy.
4001 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
4002 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
4004 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
4005 ln "$ac_source" "$ac_file" 2>/dev/null ||
4006 cp -p "$ac_source" "$ac_file" ||
4007 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
4014 case $ac_file$ac_mode in
4015 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
4016 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
4024 ac_clean_files=$ac_clean_files_save
4026 test $ac_write_fail = 0 ||
4027 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4030 # configure is writing to config.log, and then calls config.status.
4031 # config.status does its own redirection, appending to config.log.
4032 # Unfortunately, on DOS this fails, as config.log is still kept open
4033 # by configure, so config.status won't be able to write to it; its
4034 # output is simply discarded. So we exec the FD to /dev/null,
4035 # effectively closing config.log, so it can be properly (re)opened and
4036 # appended to by config.status. When coming back to configure, we
4037 # need to make the FD available again.
4038 if test "$no_create" != yes; then
4040 ac_config_status_args=
4041 test "$silent" = yes &&
4042 ac_config_status_args="$ac_config_status_args --quiet"
4044 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4046 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4047 # would make configure fail if this is the last instruction.
4048 $ac_cs_success || as_fn_exit 1
4050 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4052 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}