2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GNU Automake 1.11.
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.11'
564 PACKAGE_STRING='GNU Automake 1.11'
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
591 INSTALL_STRIP_PROGRAM
642 program_transform_name
655 enable_option_checking
657 ac_precious_vars='build_alias
662 # Initialize some variables set by options.
664 ac_init_version=false
665 ac_unrecognized_opts=
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
676 program_transform_name=s,x,x,
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir='${exec_prefix}/bin'
691 sbindir='${exec_prefix}/sbin'
692 libexecdir='${exec_prefix}/libexec'
693 datarootdir='${prefix}/share'
694 datadir='${datarootdir}'
695 sysconfdir='${prefix}/etc'
696 sharedstatedir='${prefix}/com'
697 localstatedir='${prefix}/var'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir='${datarootdir}/info'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
722 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
727 # Accept the important Cygnus configure options, so we can diagnose typos.
729 case $ac_dashdash$ac_option in
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
751 cache_file=config.cache ;;
753 -datadir | --datadir | --datadi | --datad)
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
765 -disable-* | --disable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error $? "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
779 eval enable_$ac_useropt=no ;;
781 -docdir | --docdir | --docdi | --doc | --do)
783 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
786 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
788 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
791 -enable-* | --enable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 as_fn_error $? "invalid feature name: $ac_useropt"
796 ac_useropt_orig=$ac_useropt
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
803 ac_unrecognized_sep=', ';;
805 eval enable_$ac_useropt=\$ac_optarg ;;
807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
809 | --exec | --exe | --ex)
810 ac_prev=exec_prefix ;;
811 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
812 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
813 | --exec=* | --exe=* | --ex=*)
814 exec_prefix=$ac_optarg ;;
816 -gas | --gas | --ga | --g)
817 # Obsolete; use --with-gas.
820 -help | --help | --hel | --he | -h)
822 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
823 ac_init_help=recursive ;;
824 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
825 ac_init_help=short ;;
827 -host | --host | --hos | --ho)
828 ac_prev=host_alias ;;
829 -host=* | --host=* | --hos=* | --ho=*)
830 host_alias=$ac_optarg ;;
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
836 htmldir=$ac_optarg ;;
838 -includedir | --includedir | --includedi | --included | --include \
839 | --includ | --inclu | --incl | --inc)
840 ac_prev=includedir ;;
841 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
842 | --includ=* | --inclu=* | --incl=* | --inc=*)
843 includedir=$ac_optarg ;;
845 -infodir | --infodir | --infodi | --infod | --info | --inf)
847 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
848 infodir=$ac_optarg ;;
850 -libdir | --libdir | --libdi | --libd)
852 -libdir=* | --libdir=* | --libdi=* | --libd=*)
855 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
856 | --libexe | --libex | --libe)
857 ac_prev=libexecdir ;;
858 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
859 | --libexe=* | --libex=* | --libe=*)
860 libexecdir=$ac_optarg ;;
862 -localedir | --localedir | --localedi | --localed | --locale)
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
867 -localstatedir | --localstatedir | --localstatedi | --localstated \
868 | --localstate | --localstat | --localsta | --localst | --locals)
869 ac_prev=localstatedir ;;
870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
872 localstatedir=$ac_optarg ;;
874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
876 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
880 # Obsolete; use --without-fp.
883 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
884 | --no-cr | --no-c | -n)
887 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
888 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
891 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
892 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
893 | --oldin | --oldi | --old | --ol | --o)
894 ac_prev=oldincludedir ;;
895 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
896 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
897 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
898 oldincludedir=$ac_optarg ;;
900 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
902 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
905 -program-prefix | --program-prefix | --program-prefi | --program-pref \
906 | --program-pre | --program-pr | --program-p)
907 ac_prev=program_prefix ;;
908 -program-prefix=* | --program-prefix=* | --program-prefi=* \
909 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
910 program_prefix=$ac_optarg ;;
912 -program-suffix | --program-suffix | --program-suffi | --program-suff \
913 | --program-suf | --program-su | --program-s)
914 ac_prev=program_suffix ;;
915 -program-suffix=* | --program-suffix=* | --program-suffi=* \
916 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
917 program_suffix=$ac_optarg ;;
919 -program-transform-name | --program-transform-name \
920 | --program-transform-nam | --program-transform-na \
921 | --program-transform-n | --program-transform- \
922 | --program-transform | --program-transfor \
923 | --program-transfo | --program-transf \
924 | --program-trans | --program-tran \
925 | --progr-tra | --program-tr | --program-t)
926 ac_prev=program_transform_name ;;
927 -program-transform-name=* | --program-transform-name=* \
928 | --program-transform-nam=* | --program-transform-na=* \
929 | --program-transform-n=* | --program-transform-=* \
930 | --program-transform=* | --program-transfor=* \
931 | --program-transfo=* | --program-transf=* \
932 | --program-trans=* | --program-tran=* \
933 | --progr-tra=* | --program-tr=* | --program-t=*)
934 program_transform_name=$ac_optarg ;;
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
941 -psdir | --psdir | --psdi | --psd | --ps)
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
947 | -silent | --silent | --silen | --sile | --sil)
950 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
952 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
954 sbindir=$ac_optarg ;;
956 -sharedstatedir | --sharedstatedir | --sharedstatedi \
957 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
958 | --sharedst | --shareds | --shared | --share | --shar \
960 ac_prev=sharedstatedir ;;
961 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
962 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
963 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
965 sharedstatedir=$ac_optarg ;;
967 -site | --site | --sit)
969 -site=* | --site=* | --sit=*)
972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
977 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
978 | --syscon | --sysco | --sysc | --sys | --sy)
979 ac_prev=sysconfdir ;;
980 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
981 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
982 sysconfdir=$ac_optarg ;;
984 -target | --target | --targe | --targ | --tar | --ta | --t)
985 ac_prev=target_alias ;;
986 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
987 target_alias=$ac_optarg ;;
989 -v | -verbose | --verbose | --verbos | --verbo | --verb)
992 -version | --version | --versio | --versi | --vers | -V)
996 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error $? "invalid package name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1009 eval with_$ac_useropt=\$ac_optarg ;;
1011 -without-* | --without-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid package name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1025 eval with_$ac_useropt=no ;;
1028 # Obsolete; use --with-x.
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1046 Try \`$0 --help' for more information"
1050 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1051 # Reject names that are not valid shell variable names.
1052 case $ac_envvar in #(
1053 '' | [0-9]* | *[!_$as_cr_alnum]* )
1054 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 as_fn_error $? "missing argument to $ac_option"
1075 if test -n "$ac_unrecognized_opts"; then
1076 case $enable_option_checking in
1078 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1079 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1083 # Check all directory arguments for consistency.
1084 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1085 datadir sysconfdir sharedstatedir localstatedir includedir \
1086 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1087 libdir localedir mandir
1089 eval ac_val=\$$ac_var
1090 # Remove trailing slashes.
1093 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1094 eval $ac_var=\$ac_val;;
1096 # Be sure to have absolute directory names.
1098 [\\/$]* | ?:[\\/]* ) continue;;
1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1101 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1104 # There might be people who depend on the old broken behavior: `$host'
1105 # used to hold the argument of --host etc.
1106 # FIXME: To remove some day.
1109 target=$target_alias
1111 # FIXME: To remove some day.
1112 if test "x$host_alias" != x; then
1113 if test "x$build_alias" = x; then
1114 cross_compiling=maybe
1115 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1116 If a cross compiler is detected then cross compile mode will be used" >&2
1117 elif test "x$build_alias" != "x$host_alias"; then
1123 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1125 test "$silent" = yes && exec 6>/dev/null
1128 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1129 ac_ls_di=`ls -di .` &&
1130 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1131 as_fn_error $? "working directory cannot be determined"
1132 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1133 as_fn_error $? "pwd does not report name of working directory"
1136 # Find the source files, if location was not specified.
1137 if test -z "$srcdir"; then
1138 ac_srcdir_defaulted=yes
1139 # Try the directory containing this script, then the parent directory.
1140 ac_confdir=`$as_dirname -- "$as_myself" ||
1141 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1142 X"$as_myself" : 'X\(//\)[^/]' \| \
1143 X"$as_myself" : 'X\(//\)$' \| \
1144 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1145 $as_echo X"$as_myself" |
1146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164 if test ! -r "$srcdir/$ac_unique_file"; then
1168 ac_srcdir_defaulted=no
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1171 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1172 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1174 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1176 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1178 # When building in place, set srcdir=.
1179 if test "$ac_abs_confdir" = "$ac_pwd"; then
1182 # Remove unnecessary trailing slashes from srcdir.
1183 # Double slashes in file names in object file debugging info
1184 # mess up M-x gdb in Emacs.
1186 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188 for ac_var in $ac_precious_vars; do
1189 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1190 eval ac_env_${ac_var}_value=\$${ac_var}
1191 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1192 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1196 # Report the --help message.
1198 if test "$ac_init_help" = "long"; then
1199 # Omit some internal or obsolete options to make the list less imposing.
1200 # This message is too long to be a string in the A/UX 3.1 sh.
1202 \`configure' configures GNU Automake 1.11 to adapt to many kinds of systems.
1204 Usage: $0 [OPTION]... [VAR=VALUE]...
1206 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207 VAR=VALUE. See below for descriptions of some of the useful variables.
1209 Defaults for the options are specified in brackets.
1212 -h, --help display this help and exit
1213 --help=short display options specific to this package
1214 --help=recursive display the short help of all the included packages
1215 -V, --version display version information and exit
1216 -q, --quiet, --silent do not print \`checking ...' messages
1217 --cache-file=FILE cache test results in FILE [disabled]
1218 -C, --config-cache alias for \`--cache-file=config.cache'
1219 -n, --no-create do not create output files
1220 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1222 Installation directories:
1223 --prefix=PREFIX install architecture-independent files in PREFIX
1224 [$ac_default_prefix]
1225 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1228 By default, \`make install' will install all the files in
1229 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1230 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231 for instance \`--prefix=\$HOME'.
1233 For better control, use the options below.
1235 Fine tuning of the installation directories:
1236 --bindir=DIR user executables [EPREFIX/bin]
1237 --sbindir=DIR system admin executables [EPREFIX/sbin]
1238 --libexecdir=DIR program executables [EPREFIX/libexec]
1239 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242 --libdir=DIR object code libraries [EPREFIX/lib]
1243 --includedir=DIR C header files [PREFIX/include]
1244 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1245 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1246 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1247 --infodir=DIR info documentation [DATAROOTDIR/info]
1248 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1249 --mandir=DIR man documentation [DATAROOTDIR/man]
1250 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1251 --htmldir=DIR html documentation [DOCDIR]
1252 --dvidir=DIR dvi documentation [DOCDIR]
1253 --pdfdir=DIR pdf documentation [DOCDIR]
1254 --psdir=DIR ps documentation [DOCDIR]
1260 --program-prefix=PREFIX prepend PREFIX to installed program names
1261 --program-suffix=SUFFIX append SUFFIX to installed program names
1262 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1265 --build=BUILD configure for building on BUILD [guessed]
1269 if test -n "$ac_init_help"; then
1270 case $ac_init_help in
1271 short | recursive ) echo "Configuration of GNU Automake 1.11:";;
1275 Report bugs to <bug-automake@gnu.org>.
1276 GNU Automake home page: <http://www.gnu.org/software/automake/>.
1277 General help using GNU software: <http://www.gnu.org/gethelp/>.
1282 if test "$ac_init_help" = "recursive"; then
1283 # If there are subdirs, report their specific --help.
1284 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1285 test -d "$ac_dir" ||
1286 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1293 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1294 # A ".." for each directory in $ac_dir_suffix.
1295 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1296 case $ac_top_builddir_sub in
1297 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1301 ac_abs_top_builddir=$ac_pwd
1302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1303 # for backward compatibility:
1304 ac_top_builddir=$ac_top_build_prefix
1307 .) # We are building in place.
1309 ac_top_srcdir=$ac_top_builddir_sub
1310 ac_abs_top_srcdir=$ac_pwd ;;
1311 [\\/]* | ?:[\\/]* ) # Absolute name.
1312 ac_srcdir=$srcdir$ac_dir_suffix;
1313 ac_top_srcdir=$srcdir
1314 ac_abs_top_srcdir=$srcdir ;;
1316 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1317 ac_top_srcdir=$ac_top_build_prefix$srcdir
1318 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1322 cd "$ac_dir" || { ac_status=$?; continue; }
1323 # Check for guested configure.
1324 if test -f "$ac_srcdir/configure.gnu"; then
1326 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1327 elif test -f "$ac_srcdir/configure"; then
1329 $SHELL "$ac_srcdir/configure" --help=recursive
1331 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1333 cd "$ac_pwd" || { ac_status=$?; break; }
1337 test -n "$ac_init_help" && exit $ac_status
1338 if $ac_init_version; then
1340 GNU Automake configure 1.11
1341 generated by GNU Autoconf 2.68
1343 Copyright (C) 2010 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1350 ## ------------------------ ##
1351 ## Autoconf initialization. ##
1352 ## ------------------------ ##
1353 cat >config.log <<_ACEOF
1354 This file contains any messages produced by compilers while
1355 running configure, to aid debugging if configure makes a mistake.
1357 It was created by GNU Automake $as_me 1.11, which was
1358 generated by GNU Autoconf 2.68. Invocation command line was
1370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1382 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 $as_echo "PATH: $as_dir"
1410 # Keep a trace of the command line.
1411 # Strip out --no-create and --no-recursion so they do not pile up.
1412 # Strip out --silent because we don't want to record it for future runs.
1413 # Also quote any args containing shell meta-characters.
1414 # Make two passes to allow for proper duplicate-argument suppression.
1418 ac_must_keep_next=false
1424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426 | -silent | --silent | --silen | --sile | --sil)
1429 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1432 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1434 as_fn_append ac_configure_args1 " '$ac_arg'"
1435 if test $ac_must_keep_next = true; then
1436 ac_must_keep_next=false # Got value, back to normal.
1439 *=* | --config-cache | -C | -disable-* | --disable-* \
1440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442 | -with-* | --with-* | -without-* | --without-* | --x)
1443 case "$ac_configure_args0 " in
1444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1447 -* ) ac_must_keep_next=true ;;
1450 as_fn_append ac_configure_args " '$ac_arg'"
1455 { ac_configure_args0=; unset ac_configure_args0;}
1456 { ac_configure_args1=; unset ac_configure_args1;}
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log. We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Use '\'' to represent an apostrophe within the trap.
1462 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1463 trap 'exit_status=$?
1464 # Save into config.log some information that might help in debugging.
1468 $as_echo "## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##"
1472 # The following way of writing the cache mishandles newlines in values,
1474 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1475 eval ac_val=\$$ac_var
1479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1483 _ | IFS | as_nl) ;; #(
1484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1485 *) { eval $ac_var=; unset $ac_var;} ;;
1490 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1491 *${as_nl}ac_space=\ *)
1493 "s/'\''/'\''\\\\'\'''\''/g;
1494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1504 $as_echo "## ----------------- ##
1505 ## Output variables. ##
1506 ## ----------------- ##"
1508 for ac_var in $ac_subst_vars
1510 eval ac_val=\$$ac_var
1512 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1514 $as_echo "$ac_var='\''$ac_val'\''"
1518 if test -n "$ac_subst_files"; then
1519 $as_echo "## ------------------- ##
1520 ## File substitutions. ##
1521 ## ------------------- ##"
1523 for ac_var in $ac_subst_files
1525 eval ac_val=\$$ac_var
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1529 $as_echo "$ac_var='\''$ac_val'\''"
1534 if test -s confdefs.h; then
1535 $as_echo "## ----------- ##
1542 test "$ac_signal" != 0 &&
1543 $as_echo "$as_me: caught signal $ac_signal"
1544 $as_echo "$as_me: exit $exit_status"
1546 rm -f core *.core core.conftest.* &&
1547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1550 for ac_signal in 1 2 13 15; do
1551 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1556 rm -f -r conftest* confdefs.h
1558 $as_echo "/* confdefs.h */" > confdefs.h
1560 # Predefined preprocessor variables.
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_NAME "$PACKAGE_NAME"
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_STRING "$PACKAGE_STRING"
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_URL "$PACKAGE_URL"
1587 # Let the site file select an alternate cache file if it wants to.
1588 # Prefer an explicitly selected file to automatically selected ones.
1591 if test -n "$CONFIG_SITE"; then
1592 # We do not want a PATH search for config.site.
1593 case $CONFIG_SITE in #((
1594 -*) ac_site_file1=./$CONFIG_SITE;;
1595 */*) ac_site_file1=$CONFIG_SITE;;
1596 *) ac_site_file1=./$CONFIG_SITE;;
1598 elif test "x$prefix" != xNONE; then
1599 ac_site_file1=$prefix/share/config.site
1600 ac_site_file2=$prefix/etc/config.site
1602 ac_site_file1=$ac_default_prefix/share/config.site
1603 ac_site_file2=$ac_default_prefix/etc/config.site
1605 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1607 test "x$ac_site_file" = xNONE && continue
1608 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1610 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1611 sed 's/^/| /' "$ac_site_file" >&5
1613 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1615 as_fn_error $? "failed to load site script $ac_site_file
1616 See \`config.log' for more details" "$LINENO" 5; }
1620 if test -r "$cache_file"; then
1621 # Some versions of bash will fail to source /dev/null (special files
1622 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1623 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1625 $as_echo "$as_me: loading cache $cache_file" >&6;}
1627 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1628 *) . "./$cache_file";;
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1633 $as_echo "$as_me: creating cache $cache_file" >&6;}
1637 # Check that the precious variables saved in the cache have kept the same
1639 ac_cache_corrupted=false
1640 for ac_var in $ac_precious_vars; do
1641 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1642 eval ac_new_set=\$ac_env_${ac_var}_set
1643 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1644 eval ac_new_val=\$ac_env_${ac_var}_value
1645 case $ac_old_set,$ac_new_set in
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1648 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1649 ac_cache_corrupted=: ;;
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1652 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1653 ac_cache_corrupted=: ;;
1656 if test "x$ac_old_val" != "x$ac_new_val"; then
1657 # differences in whitespace do not lead to failure.
1658 ac_old_val_w=`echo x $ac_old_val`
1659 ac_new_val_w=`echo x $ac_new_val`
1660 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1662 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1663 ac_cache_corrupted=:
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1666 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1667 eval $ac_var=\$ac_old_val
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1670 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1672 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1675 # Pass precious variables to config.status.
1676 if test "$ac_new_set" = set; then
1678 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679 *) ac_arg=$ac_var=$ac_new_val ;;
1681 case " $ac_configure_args " in
1682 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1683 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1687 if $ac_cache_corrupted; then
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1691 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1694 ## -------------------- ##
1695 ## Main body of script. ##
1696 ## -------------------- ##
1699 ac_cpp='$CPP $CPPFLAGS'
1700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1710 for ac_dir in lib "$srcdir"/lib; do
1711 if test -f "$ac_dir/install-sh"; then
1713 ac_install_sh="$ac_aux_dir/install-sh -c"
1715 elif test -f "$ac_dir/install.sh"; then
1717 ac_install_sh="$ac_aux_dir/install.sh -c"
1719 elif test -f "$ac_dir/shtool"; then
1721 ac_install_sh="$ac_aux_dir/shtool install -c"
1725 if test -z "$ac_aux_dir"; then
1726 as_fn_error $? "cannot find install-sh, install.sh, or shtool in lib \"$srcdir\"/lib" "$LINENO" 5
1729 # These three variables are undocumented and unsupported,
1730 # and are intended to be withdrawn in a future Autoconf release.
1731 # They can cause serious problems if a builder's source tree is in a directory
1732 # whose full name contains unusual characters.
1733 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1734 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1735 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1739 # Make sure we can run config.sub.
1740 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1741 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1744 $as_echo_n "checking build system type... " >&6; }
1745 if ${ac_cv_build+:} false; then :
1746 $as_echo_n "(cached) " >&6
1748 ac_build_alias=$build_alias
1749 test "x$ac_build_alias" = x &&
1750 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1751 test "x$ac_build_alias" = x &&
1752 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1754 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1758 $as_echo "$ac_cv_build" >&6; }
1759 case $ac_cv_build in
1761 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1764 ac_save_IFS=$IFS; IFS='-'
1770 # Remember, the first character of IFS is used to create $*,
1771 # except with old shells:
1774 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1778 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1779 # way we can run Autoconf tests from configure (or from the test
1780 # suite) without being bothered by `missing'. Likewise for autom4te,
1781 # autoreconf, autoheader, and autoupdate.
1782 am_AUTOCONF="${AUTOCONF-autoconf}"
1784 am_AUTOM4TE="${AUTOM4TE-autom4te}"
1786 am_AUTORECONF="${AUTORECONF-autoreconf}"
1788 am_AUTOHEADER="${AUTOHEADER-autoheader}"
1790 am_AUTOUPDATE="${AUTOUPDATE-autoupdate}"
1793 am__api_version='1.11'
1795 # Find a good install program. We prefer a C program (faster),
1796 # so one script is as good as another. But avoid the broken or
1797 # incompatible versions:
1798 # SysV /etc/install, /usr/sbin/install
1799 # SunOS /usr/etc/install
1800 # IRIX /sbin/install
1802 # AmigaOS /C/install, which installs bootblocks on floppy discs
1803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1806 # OS/2's system install, which has a completely different semantic
1807 # ./install, which can be erroneously created by make from ./install.sh.
1808 # Reject install programs that cannot install multiple files.
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1810 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1811 if test -z "$INSTALL"; then
1812 if ${ac_cv_path_install+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir=.
1820 # Account for people who put trailing slashes in PATH elements.
1821 case $as_dir/ in #((
1822 ./ | .// | /[cC]/* | \
1823 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1824 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1827 # OSF1 and SCO ODT 3.0 have their own names for install.
1828 # Don't use installbsd from OSF since it installs stuff as root
1830 for ac_prog in ginstall scoinst install; do
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1833 if test $ac_prog = install &&
1834 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1835 # AIX install. It has an incompatible calling convention.
1837 elif test $ac_prog = install &&
1838 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1839 # program-specific install script used by HP pwplus--don't use.
1842 rm -rf conftest.one conftest.two conftest.dir
1843 echo one > conftest.one
1844 echo two > conftest.two
1846 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1847 test -s conftest.one && test -s conftest.two &&
1848 test -s conftest.dir/conftest.one &&
1849 test -s conftest.dir/conftest.two
1851 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1864 rm -rf conftest.one conftest.two conftest.dir
1867 if test "${ac_cv_path_install+set}" = set; then
1868 INSTALL=$ac_cv_path_install
1870 # As a last resort, use the slow shell script. Don't cache a
1871 # value for INSTALL within a source directory, because that will
1872 # break other packages using the cache if that directory is
1873 # removed, or if the value is a relative name.
1874 INSTALL=$ac_install_sh
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1878 $as_echo "$INSTALL" >&6; }
1880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1881 # It thinks the first close brace ends the variable substitution.
1882 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1884 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1889 $as_echo_n "checking whether build environment is sane... " >&6; }
1890 # Reject unsafe characters in $srcdir or the absolute working directory
1891 # name. Accept space and tab only in the latter.
1895 *[\\\"\#\$\&\'\`$am_lf]*)
1896 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1899 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1900 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1903 # Do `set' in a subshell so we don't clobber the current shell's
1904 # arguments. Must try -L first in case configure is actually a
1905 # symlink; some systems play weird games with the mod time of symlinks
1906 # (eg FreeBSD returns the mod time of the symlink's containing
1909 for am_try in 1 2; do
1910 echo timestamp > conftest.file
1911 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1912 if test "$*" = "X"; then
1914 set X `ls -t "$srcdir/configure" conftest.file`
1917 if test "$*" != "X $srcdir/configure conftest.file" \
1918 && test "$*" != "X conftest.file $srcdir/configure"; then
1920 # If neither matched, then we have a broken ls. This can happen
1921 # if, for instance, CONFIG_SHELL is bash and it inherits a
1922 # broken ls alias from the environment. This has actually
1923 # happened. Such a system could not be considered "sane".
1924 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1925 alias in your environment" "$LINENO" 5
1927 if test "$2" = conftest.file || test $am_try -eq 2; then
1933 test "$2" = conftest.file
1939 as_fn_error $? "newly created file is older than distributed files!
1940 Check your system clock" "$LINENO" 5
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1943 $as_echo "yes" >&6; }
1944 test "$program_prefix" != NONE &&
1945 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1946 # Use a double $ so make ignores it.
1947 test "$program_suffix" != NONE &&
1948 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1949 # Double any \ or $.
1950 # By default was `s,x,x', remove it if useless.
1951 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1952 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1954 # expand $ac_aux_dir to an absolute path
1955 am_aux_dir=`cd $ac_aux_dir && pwd`
1957 if test x"${MISSING+set}" != xset; then
1960 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1962 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1965 # Use eval to expand $SHELL
1966 if eval "$MISSING --run true"; then
1967 am_missing_run="$MISSING --run "
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1971 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1974 if test x"${install_sh}" != xset; then
1977 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1979 install_sh="\${SHELL} $am_aux_dir/install-sh"
1983 # Installed binaries are usually stripped using `strip' when the user
1984 # run `make install-strip'. However `strip' might not be the right
1985 # tool to use in cross-compilation environments, therefore Automake
1986 # will honor the `STRIP' environment variable to overrule this program.
1987 if test "$cross_compiling" != no; then
1988 if test -n "$ac_tool_prefix"; then
1989 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1990 set dummy ${ac_tool_prefix}strip; ac_word=$2
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1992 $as_echo_n "checking for $ac_word... " >&6; }
1993 if ${ac_cv_prog_STRIP+:} false; then :
1994 $as_echo_n "(cached) " >&6
1996 if test -n "$STRIP"; then
1997 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2006 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 STRIP=$ac_cv_prog_STRIP
2017 if test -n "$STRIP"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2019 $as_echo "$STRIP" >&6; }
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022 $as_echo "no" >&6; }
2027 if test -z "$ac_cv_prog_STRIP"; then
2029 # Extract the first word of "strip", so it can be a program name with args.
2030 set dummy strip; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2034 $as_echo_n "(cached) " >&6
2036 if test -n "$ac_ct_STRIP"; then
2037 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_ac_ct_STRIP="strip"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2057 if test -n "$ac_ct_STRIP"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2059 $as_echo "$ac_ct_STRIP" >&6; }
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2065 if test "x$ac_ct_STRIP" = x; then
2068 case $cross_compiling:$ac_tool_warned in
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2072 ac_tool_warned=yes ;;
2077 STRIP="$ac_cv_prog_STRIP"
2081 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2084 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2085 if test -z "$MKDIR_P"; then
2086 if ${ac_cv_path_mkdir+:} false; then :
2087 $as_echo_n "(cached) " >&6
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2093 test -z "$as_dir" && as_dir=.
2094 for ac_prog in mkdir gmkdir; do
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2097 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2098 'mkdir (GNU coreutils) '* | \
2099 'mkdir (coreutils) '* | \
2100 'mkdir (fileutils) '4.1*)
2101 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2111 test -d ./--version && rmdir ./--version
2112 if test "${ac_cv_path_mkdir+set}" = set; then
2113 MKDIR_P="$ac_cv_path_mkdir -p"
2115 # As a last resort, use the slow shell script. Don't cache a
2116 # value for MKDIR_P within a source directory, because that will
2117 # break other packages using the cache if that directory is
2118 # removed, or if the value is a relative name.
2119 MKDIR_P="$ac_install_sh -d"
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2123 $as_echo "$MKDIR_P" >&6; }
2127 [\\/$]* | ?:[\\/]*) ;;
2128 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2131 for ac_prog in gawk mawk nawk awk
2133 # Extract the first word of "$ac_prog", so it can be a program name with args.
2134 set dummy $ac_prog; ac_word=$2
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2136 $as_echo_n "checking for $ac_word... " >&6; }
2137 if ${ac_cv_prog_AWK+:} false; then :
2138 $as_echo_n "(cached) " >&6
2140 if test -n "$AWK"; then
2141 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_AWK="$ac_prog"
2151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 if test -n "$AWK"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2163 $as_echo "$AWK" >&6; }
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166 $as_echo "no" >&6; }
2170 test -n "$AWK" && break
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2174 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2176 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2177 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2178 $as_echo_n "(cached) " >&6
2180 cat >conftest.make <<\_ACEOF
2183 @echo '@@@%%%=$(MAKE)=@@@%%%'
2185 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2186 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2188 eval ac_cv_prog_make_${ac_make}_set=yes;;
2190 eval ac_cv_prog_make_${ac_make}_set=no;;
2194 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2196 $as_echo "yes" >&6; }
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200 $as_echo "no" >&6; }
2201 SET_MAKE="MAKE=${MAKE-make}"
2204 rm -rf .tst 2>/dev/null
2205 mkdir .tst 2>/dev/null
2206 if test -d .tst; then
2211 rmdir .tst 2>/dev/null
2213 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2214 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2215 # is not polluted with repeated "-I."
2216 am__isrc=' -I$(srcdir)'
2217 # test to see if srcdir already configured
2218 if test -f $srcdir/config.status; then
2219 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2223 # test whether we have cygpath
2224 if test -z "$CYGPATH_W"; then
2225 if (cygpath --version) >/dev/null 2>/dev/null; then
2226 CYGPATH_W='cygpath -w'
2233 # Define the identity of the package.
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE "$PACKAGE"
2243 cat >>confdefs.h <<_ACEOF
2244 #define VERSION "$VERSION"
2247 # Some tools Automake needs.
2249 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2252 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2255 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2258 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2261 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2263 # We need awk for the "check" target. The system "awk" is bad on
2265 # Always define AMTAR for backward compatibility.
2267 AMTAR=${AMTAR-"${am_missing_run}tar"}
2269 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2276 # The API version is the base version. We must guarantee
2277 # compatibility for all releases with the same API version.
2278 # Our current rule is that:
2279 # * All releases, including the prereleases, in an X.Y series
2280 # are compatible. So 1.5.1c is compatible with 1.5.
2281 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2283 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2286 # A versioned directory, defined here for convenience.
2287 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2290 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2291 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2292 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2293 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2295 # Extract the first word of "perl", so it can be a program name with args.
2296 set dummy perl; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if ${ac_cv_path_PERL+:} false; then :
2300 $as_echo_n "(cached) " >&6
2304 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 PERL=$ac_cv_path_PERL
2326 if test -n "$PERL"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2328 $as_echo "$PERL" >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 $as_echo "no" >&6; }
2335 if test -z "$PERL"; then
2336 as_fn_error $? "perl not found" "$LINENO" 5
2338 $PERL -e 'require 5.006;' || {
2339 as_fn_error $? "perl 5.6 or better is required; perl 5.8.2 or better
2340 is recommended. If you have several perl versions
2341 installed, select the one Automake should use using
2342 ./configure PERL=/path/to/perl" "$LINENO" 5
2345 # We require ithreads support, and version 5.7.2 for CLONE.
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL supports ithreads" >&5
2347 $as_echo_n "checking whether $PERL supports ithreads... " >&6; }
2348 if ${am_cv_prog_PERL_ithreads+:} false; then :
2349 $as_echo_n "(cached) " >&6
2354 if ($Config{useithreads})
2358 require Thread::Queue;
2359 import Thread::Queue;
2364 am_cv_prog_PERL_ithreads=yes
2366 am_cv_prog_PERL_ithreads=no
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_PERL_ithreads" >&5
2370 $as_echo "$am_cv_prog_PERL_ithreads" >&6; }
2371 if test $am_cv_prog_PERL_ithreads = yes; then
2378 # The test suite will skip some tests if tex is absent.
2379 # Extract the first word of "tex", so it can be a program name with args.
2380 set dummy tex; ac_word=$2
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2382 $as_echo_n "checking for $ac_word... " >&6; }
2383 if ${ac_cv_prog_TEX+:} false; then :
2384 $as_echo_n "(cached) " >&6
2386 if test -n "$TEX"; then
2387 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir=.
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396 ac_cv_prog_TEX="tex"
2397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 if test -n "$TEX"; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5
2409 $as_echo "$TEX" >&6; }
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2412 $as_echo "no" >&6; }
2417 # Generate man pages.
2419 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2422 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2423 # deletion of any files created (such as those added to
2424 # autom4te.cache). We used to perform only the last of the three
2425 # following tests, but some users were unable to figure out that their
2426 # installation was broken since --version appeared to work.
2428 required_autoconf_version=2.62
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is installed" >&5
2430 $as_echo_n "checking whether autoconf is installed... " >&6; }
2431 if ${am_cv_autoconf_installed+:} false; then :
2432 $as_echo_n "(cached) " >&6
2434 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2435 (eval $am_AUTOCONF --version) >&5 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); };
2440 am_cv_autoconf_installed=yes
2442 am_cv_autoconf_installed=no
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_installed" >&5
2446 $as_echo "$am_cv_autoconf_installed" >&6; }
2447 if test "$am_cv_autoconf_installed" = no; then
2448 as_fn_error $? "Autoconf $required_autoconf_version or better is required.
2449 Please make sure it is installed and in your PATH." "$LINENO" 5
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf works" >&5
2453 $as_echo_n "checking whether autoconf works... " >&6; }
2454 if ${am_cv_autoconf_works+:} false; then :
2455 $as_echo_n "(cached) " >&6
2458 echo 'AC''_INIT' > conftest/conftest.ac
2459 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2460 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); };
2465 am_cv_autoconf_works=yes
2467 am_cv_autoconf_works=no
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_works" >&5
2472 $as_echo "$am_cv_autoconf_works" >&6; }
2473 if test "$am_cv_autoconf_works" = no; then
2474 as_fn_error $? "The installed version of autoconf does not work.
2475 Please check config.log for error messages before this one." "$LINENO" 5
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoconf is recent enough" >&5
2479 $as_echo_n "checking whether autoconf is recent enough... " >&6; }
2480 if ${am_cv_autoconf_version+:} false; then :
2481 $as_echo_n "(cached) " >&6
2484 echo 'AC'"_PREREQ([$required_autoconf_version])" > conftest/conftest.ac
2485 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2486 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); };
2491 am_cv_autoconf_version=yes
2493 am_cv_autoconf_version=no
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_autoconf_version" >&5
2498 $as_echo "$am_cv_autoconf_version" >&6; }
2499 if test "$am_cv_autoconf_version" = no; then
2500 as_fn_error $? "Autoconf $required_autoconf_version or better is required." "$LINENO" 5
2503 # Test for ln. We need use it to install the versioned binaries.
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2505 $as_echo_n "checking whether ln works... " >&6; }
2506 if ${am_cv_prog_ln+:} false; then :
2507 $as_echo_n "(cached) " >&6
2510 rm -f conftest conftest.file
2512 if ln conftest.file conftest 2>/dev/null; then
2515 am_cv_prog_ln='cp -p'
2517 rm -f conftest conftest.file
2523 test "x$am_cv_prog_ln" = xln && result=yes
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2525 $as_echo "$result" >&6; }
2527 # The amount we should wait after modifying files depends on the platform.
2528 # On Windows '95, '98 and ME, files modifications have 2-seconds
2529 # granularity and can be up to 3 seconds in the future w.r.t. the
2530 # system clock. When it is important to ensure one file is older
2531 # than another we wait at least 5 seconds between creations.
2533 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2534 *) MODIFICATION_DELAY=2;;
2538 # Test for things needed by the test suite.
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2541 if ${ac_cv_path_GREP+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -z "$GREP"; then
2545 ac_path_GREP_found=false
2546 # Loop through the user's path and test for each of PROGNAME-LIST
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2551 test -z "$as_dir" && as_dir=.
2552 for ac_prog in grep ggrep; do
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2555 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2556 # Check for GNU ac_path_GREP and select it if it is found.
2557 # Check for GNU $ac_path_GREP
2558 case `"$ac_path_GREP" --version 2>&1` in
2560 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2563 $as_echo_n 0123456789 >"conftest.in"
2566 cat "conftest.in" "conftest.in" >"conftest.tmp"
2567 mv "conftest.tmp" "conftest.in"
2568 cp "conftest.in" "conftest.nl"
2569 $as_echo 'GREP' >> "conftest.nl"
2570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2572 as_fn_arith $ac_count + 1 && ac_count=$as_val
2573 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2574 # Best one so far, save it but keep looking for a better one
2575 ac_cv_path_GREP="$ac_path_GREP"
2576 ac_path_GREP_max=$ac_count
2578 # 10*(2^10) chars as input seems more than enough
2579 test $ac_count -gt 10 && break
2581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2584 $ac_path_GREP_found && break 3
2589 if test -z "$ac_cv_path_GREP"; then
2590 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2593 ac_cv_path_GREP=$GREP
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2598 $as_echo "$ac_cv_path_GREP" >&6; }
2599 GREP="$ac_cv_path_GREP"
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2603 $as_echo_n "checking for egrep... " >&6; }
2604 if ${ac_cv_path_EGREP+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2608 then ac_cv_path_EGREP="$GREP -E"
2610 if test -z "$EGREP"; then
2611 ac_path_EGREP_found=false
2612 # Loop through the user's path and test for each of PROGNAME-LIST
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2617 test -z "$as_dir" && as_dir=.
2618 for ac_prog in egrep; do
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2621 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2622 # Check for GNU ac_path_EGREP and select it if it is found.
2623 # Check for GNU $ac_path_EGREP
2624 case `"$ac_path_EGREP" --version 2>&1` in
2626 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2629 $as_echo_n 0123456789 >"conftest.in"
2632 cat "conftest.in" "conftest.in" >"conftest.tmp"
2633 mv "conftest.tmp" "conftest.in"
2634 cp "conftest.in" "conftest.nl"
2635 $as_echo 'EGREP' >> "conftest.nl"
2636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2638 as_fn_arith $ac_count + 1 && ac_count=$as_val
2639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2640 # Best one so far, save it but keep looking for a better one
2641 ac_cv_path_EGREP="$ac_path_EGREP"
2642 ac_path_EGREP_max=$ac_count
2644 # 10*(2^10) chars as input seems more than enough
2645 test $ac_count -gt 10 && break
2647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2650 $ac_path_EGREP_found && break 3
2655 if test -z "$ac_cv_path_EGREP"; then
2656 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2659 ac_cv_path_EGREP=$EGREP
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2665 $as_echo "$ac_cv_path_EGREP" >&6; }
2666 EGREP="$ac_cv_path_EGREP"
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
2670 $as_echo_n "checking for fgrep... " >&6; }
2671 if ${ac_cv_path_FGREP+:} false; then :
2672 $as_echo_n "(cached) " >&6
2674 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2675 then ac_cv_path_FGREP="$GREP -F"
2677 if test -z "$FGREP"; then
2678 ac_path_FGREP_found=false
2679 # Loop through the user's path and test for each of PROGNAME-LIST
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2684 test -z "$as_dir" && as_dir=.
2685 for ac_prog in fgrep; do
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2688 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2689 # Check for GNU ac_path_FGREP and select it if it is found.
2690 # Check for GNU $ac_path_FGREP
2691 case `"$ac_path_FGREP" --version 2>&1` in
2693 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2696 $as_echo_n 0123456789 >"conftest.in"
2699 cat "conftest.in" "conftest.in" >"conftest.tmp"
2700 mv "conftest.tmp" "conftest.in"
2701 cp "conftest.in" "conftest.nl"
2702 $as_echo 'FGREP' >> "conftest.nl"
2703 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2705 as_fn_arith $ac_count + 1 && ac_count=$as_val
2706 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2707 # Best one so far, save it but keep looking for a better one
2708 ac_cv_path_FGREP="$ac_path_FGREP"
2709 ac_path_FGREP_max=$ac_count
2711 # 10*(2^10) chars as input seems more than enough
2712 test $ac_count -gt 10 && break
2714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2717 $ac_path_FGREP_found && break 3
2722 if test -z "$ac_cv_path_FGREP"; then
2723 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2726 ac_cv_path_FGREP=$FGREP
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
2732 $as_echo "$ac_cv_path_FGREP" >&6; }
2733 FGREP="$ac_cv_path_FGREP"
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /bin/sh has working 'set -e' with exit trap" >&5
2738 $as_echo_n "checking whether /bin/sh has working 'set -e' with exit trap... " >&6; }
2739 if ${am_cv_sh_errexit_works+:} false; then :
2740 $as_echo_n "(cached) " >&6
2742 if /bin/sh -ec "trap 'exit \$?' 0; (exit 77); exit 77"; test $? = 77
2744 am_cv_sh_errexit_works=yes
2746 am_cv_sh_errexit_works=no
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_sh_errexit_works" >&5
2751 $as_echo "$am_cv_sh_errexit_works" >&6; }
2752 if test $am_cv_sh_errexit_works = no; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&5
2754 $as_echo "$as_me: WARNING: \`${MAKE-make} check' will leave leftover directories tests/*.dir" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&5
2756 $as_echo "$as_me: WARNING: you can clean them up manually using \`${MAKE-make} clean' or" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&5
2758 $as_echo "$as_me: WARNING: \`cd tests && ${MAKE-make} clean-local-check'" >&2;}
2760 sh_errexit_works=$am_cv_sh_errexit_works
2763 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"
2765 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2767 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2770 cat >confcache <<\_ACEOF
2771 # This file is a shell script that caches the results of configure
2772 # tests run on this system so they can be shared between configure
2773 # scripts and configure runs, see configure's option --config-cache.
2774 # It is not useful on other systems. If it contains results you don't
2775 # want to keep, you may remove or edit it.
2777 # config.status only pays attention to the cache file if you give it
2778 # the --recheck option to rerun configure.
2780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2786 # The following way of writing the cache mishandles newlines in values,
2787 # but we know of no workaround that is simple, portable, and efficient.
2788 # So, we kill variables containing newlines.
2789 # Ultrix sh set writes to stderr and can't be redirected directly,
2790 # and sets the high bit in the cache file unless we assign to the vars.
2792 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2793 eval ac_val=\$$ac_var
2797 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2798 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2801 _ | IFS | as_nl) ;; #(
2802 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2803 *) { eval $ac_var=; unset $ac_var;} ;;
2809 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2810 *${as_nl}ac_space=\ *)
2811 # `set' does not quote correctly, so add quotes: double-quote
2812 # substitution turns \\\\ into \\, and sed turns \\ into \.
2815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2818 # `set' quotes correctly as required by POSIX, so do not add quotes.
2819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2830 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2832 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2833 if test -w "$cache_file"; then
2834 if test "x$cache_file" != "x/dev/null"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2836 $as_echo "$as_me: updating cache $cache_file" >&6;}
2837 if test ! -f "$cache_file" || test -h "$cache_file"; then
2838 cat confcache >"$cache_file"
2840 case $cache_file in #(
2842 mv -f confcache "$cache_file"$$ &&
2843 mv -f "$cache_file"$$ "$cache_file" ;; #(
2845 mv -f confcache "$cache_file" ;;
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2851 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2856 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2857 # Let make expand exec_prefix.
2858 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2860 # Transform confdefs.h into DEFS.
2861 # Protect against shell expansion while executing Makefile rules.
2862 # Protect against Makefile macro expansion.
2864 # If the first sed substitution is executed (which looks for macros that
2865 # take arguments), then branch to the quote section. Otherwise,
2866 # look for a macro that doesn't take arguments.
2876 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2878 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2882 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2895 DEFS=`sed -n "$ac_script" confdefs.h`
2901 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2902 # 1. Remove the extension, and $U if already installed.
2903 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2904 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2905 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2906 # will be set to the directory where LIBOBJS objects are built.
2907 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2908 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2912 LTLIBOBJS=$ac_ltlibobjs
2917 : "${CONFIG_STATUS=./config.status}"
2919 ac_clean_files_save=$ac_clean_files
2920 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2922 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2924 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2926 # Generated by $as_me.
2927 # Run this file to recreate the current configuration.
2928 # Compiler output produced by configure, useful for debugging
2929 # configure, is in config.log if it exists.
2935 SHELL=\${CONFIG_SHELL-$SHELL}
2938 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2939 ## -------------------- ##
2940 ## M4sh Initialization. ##
2941 ## -------------------- ##
2943 # Be more Bourne compatible
2944 DUALCASE=1; export DUALCASE # for MKS sh
2945 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2948 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2949 # is contrary to our usage. Disable this feature.
2950 alias -g '${1+"$@"}'='"$@"'
2951 setopt NO_GLOB_SUBST
2953 case `(set -o) 2>/dev/null` in #(
2965 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2966 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2967 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2969 # Prefer a ksh shell builtin over an external printf program on Solaris,
2970 # but without wasting forks for bash or zsh.
2971 if test -z "$BASH_VERSION$ZSH_VERSION" \
2972 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2973 as_echo='print -r --'
2974 as_echo_n='print -rn --'
2975 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2976 as_echo='printf %s\n'
2977 as_echo_n='printf %s'
2979 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2980 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2981 as_echo_n='/usr/ucb/echo -n'
2983 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2984 as_echo_n_body='eval
2988 expr "X$arg" : "X\\(.*\\)$as_nl";
2989 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2991 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2993 export as_echo_n_body
2994 as_echo_n='sh -c $as_echo_n_body as_echo'
2997 as_echo='sh -c $as_echo_body as_echo'
3000 # The user is always right.
3001 if test "${PATH_SEPARATOR+set}" != set; then
3003 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3004 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3011 # We need space, tab and new line, in precisely that order. Quoting is
3012 # there to prevent editors from complaining about space-tab.
3013 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3014 # splitting by setting IFS to empty value.)
3017 # Find who we are. Look in the path if we contain no directory separator.
3020 *[\\/]* ) as_myself=$0 ;;
3021 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3032 # We did not find ourselves, most probably we were run as `sh COMMAND'
3033 # in which case we are not to be found in the path.
3034 if test "x$as_myself" = x; then
3037 if test ! -f "$as_myself"; then
3038 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3042 # Unset variables that we do not need and which cause bugs (e.g. in
3043 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3044 # suppresses any "Segmentation fault" message there. '((' could
3045 # trigger a bug in pdksh 5.2.14.
3046 for as_var in BASH_ENV ENV MAIL MAILPATH
3047 do eval test x\${$as_var+set} = xset \
3048 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3061 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3064 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3065 # ----------------------------------------
3066 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3067 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3068 # script with STATUS, using 1 if that was 0.
3071 as_status=$1; test $as_status -eq 0 && as_status=1
3073 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3076 $as_echo "$as_me: error: $2" >&2
3077 as_fn_exit $as_status
3081 # as_fn_set_status STATUS
3082 # -----------------------
3083 # Set $? to STATUS, without forking.
3087 } # as_fn_set_status
3091 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3101 # Portably unset VAR.
3104 { eval $1=; unset $1;}
3106 as_unset=as_fn_unset
3107 # as_fn_append VAR VALUE
3108 # ----------------------
3109 # Append the text in VALUE to the end of the definition contained in VAR. Take
3110 # advantage of any shell optimizations that allow amortized linear growth over
3111 # repeated appends, instead of the typical quadratic growth present in naive
3113 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3114 eval 'as_fn_append ()
3125 # as_fn_arith ARG...
3126 # ------------------
3127 # Perform arithmetic evaluation on the ARGs, and store the result in the
3128 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3129 # must be portable across $(()) and expr.
3130 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3131 eval 'as_fn_arith ()
3138 as_val=`expr "$@" || test $? -eq 1`
3143 if expr a : '\(a\)' >/dev/null 2>&1 &&
3144 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3150 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3151 as_basename=basename
3156 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3162 as_me=`$as_basename -- "$0" ||
3163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3164 X"$0" : 'X\(//\)$' \| \
3165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3167 sed '/^.*\/\([^/][^/]*\)\/*$/{
3181 # Avoid depending upon Character Ranges.
3182 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3183 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3184 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3185 as_cr_digits='0123456789'
3186 as_cr_alnum=$as_cr_Letters$as_cr_digits
3188 ECHO_C= ECHO_N= ECHO_T=
3189 case `echo -n x` in #(((((
3191 case `echo 'xy\c'` in
3192 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3194 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3201 rm -f conf$$ conf$$.exe conf$$.file
3202 if test -d conf$$.dir; then
3203 rm -f conf$$.dir/conf$$.file
3206 mkdir conf$$.dir 2>/dev/null
3208 if (echo >conf$$.file) 2>/dev/null; then
3209 if ln -s conf$$.file conf$$ 2>/dev/null; then
3211 # ... but there are two gotchas:
3212 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3213 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3214 # In both cases, we have to default to `cp -p'.
3215 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3217 elif ln conf$$.file conf$$ 2>/dev/null; then
3225 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3226 rmdir conf$$.dir 2>/dev/null
3231 # Create "$as_dir" as a directory, including parents if necessary.
3236 -*) as_dir=./$as_dir;;
3238 test -d "$as_dir" || eval $as_mkdir_p || {
3242 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3243 *) as_qdir=$as_dir;;
3245 as_dirs="'$as_qdir' $as_dirs"
3246 as_dir=`$as_dirname -- "$as_dir" ||
3247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3248 X"$as_dir" : 'X\(//\)[^/]' \| \
3249 X"$as_dir" : 'X\(//\)$' \| \
3250 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3251 $as_echo X"$as_dir" |
3252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3269 test -d "$as_dir" && break
3271 test -z "$as_dirs" || eval "mkdir $as_dirs"
3272 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3276 if mkdir -p . 2>/dev/null; then
3277 as_mkdir_p='mkdir -p "$as_dir"'
3279 test -d ./-p && rmdir ./-p
3283 if test -x / >/dev/null 2>&1; then
3286 if ls -dL / >/dev/null 2>&1; then
3293 if test -d "$1"; then
3299 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3300 ???[sx]*):;;*)false;;esac;fi
3304 as_executable_p=$as_test_x
3306 # Sed expression to map a string onto a valid CPP name.
3307 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3309 # Sed expression to map a string onto a valid variable name.
3310 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3314 ## ----------------------------------- ##
3315 ## Main body of $CONFIG_STATUS script. ##
3316 ## ----------------------------------- ##
3318 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3321 # Save the log message, to keep $0 and so on meaningful, and to
3322 # report actual input values of CONFIG_FILES etc. instead of their
3323 # values after options handling.
3325 This file was extended by GNU Automake $as_me 1.11, which was
3326 generated by GNU Autoconf 2.68. Invocation command line was
3328 CONFIG_FILES = $CONFIG_FILES
3329 CONFIG_HEADERS = $CONFIG_HEADERS
3330 CONFIG_LINKS = $CONFIG_LINKS
3331 CONFIG_COMMANDS = $CONFIG_COMMANDS
3334 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3339 case $ac_config_files in *"
3340 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3346 # Files that config.status was made for.
3347 config_files="$ac_config_files"
3351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3353 \`$as_me' instantiates files and other configuration actions
3354 from templates according to the current configuration. Unless the files
3355 and actions are specified as TAGs, all are instantiated by default.
3357 Usage: $0 [OPTION]... [TAG]...
3359 -h, --help print this help, then exit
3360 -V, --version print version number and configuration settings, then exit
3361 --config print configuration, then exit
3362 -q, --quiet, --silent
3363 do not print progress messages
3364 -d, --debug don't remove temporary files
3365 --recheck update $as_me by reconfiguring in the same conditions
3366 --file=FILE[:TEMPLATE]
3367 instantiate the configuration file FILE
3369 Configuration files:
3372 Report bugs to <bug-automake@gnu.org>.
3373 GNU Automake home page: <http://www.gnu.org/software/automake/>.
3374 General help using GNU software: <http://www.gnu.org/gethelp/>."
3377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3380 GNU Automake config.status 1.11
3381 configured by $0, generated by GNU Autoconf 2.68,
3382 with options \\"\$ac_cs_config\\"
3384 Copyright (C) 2010 Free Software Foundation, Inc.
3385 This config.status script is free software; the Free Software Foundation
3386 gives unlimited permission to copy, distribute and modify it."
3393 test -n "\$AWK" || AWK=awk
3396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3397 # The default lists apply if the user does not specify any file.
3403 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3404 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3408 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3420 # Handling of the options.
3421 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3423 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3424 $as_echo "$ac_cs_version"; exit ;;
3425 --config | --confi | --conf | --con | --co | --c )
3426 $as_echo "$ac_cs_config"; exit ;;
3427 --debug | --debu | --deb | --de | --d | -d )
3429 --file | --fil | --fi | --f )
3432 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3433 '') as_fn_error $? "missing file argument" ;;
3435 as_fn_append CONFIG_FILES " '$ac_optarg'"
3436 ac_need_defaults=false;;
3437 --he | --h | --help | --hel | -h )
3438 $as_echo "$ac_cs_usage"; exit ;;
3439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3440 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3444 -*) as_fn_error $? "unrecognized option: \`$1'
3445 Try \`$0 --help' for more information." ;;
3447 *) as_fn_append ac_config_targets " $1"
3448 ac_need_defaults=false ;;
3454 ac_configure_extra_args=
3456 if $ac_cs_silent; then
3458 ac_configure_extra_args="$ac_configure_extra_args --silent"
3462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3463 if \$ac_cs_recheck; then
3464 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3466 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3467 CONFIG_SHELL='$SHELL'
3473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3477 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3478 ## Running $as_me. ##
3484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3488 APIVERSION=$APIVERSION
3492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3494 # Handling of arguments.
3495 for ac_config_target in $ac_config_targets
3497 case $ac_config_target in
3498 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3499 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3500 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3501 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3502 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3503 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3504 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3505 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3506 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3507 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3508 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3510 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3515 # If the user did not use the arguments to specify the items to instantiate,
3516 # then the envvar interface is used. Set only those that are not.
3517 # We use the long form for the default assignment because of an extremely
3518 # bizarre bug on SunOS 4.1.3.
3519 if $ac_need_defaults; then
3520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3523 # Have a temporary directory for convenience. Make it in the build tree
3524 # simply because there is no reason against having it here, and in addition,
3525 # creating and moving files from /tmp can sometimes cause problems.
3526 # Hook for its removal unless debugging.
3527 # Note that there is a small window in which the directory will not be cleaned:
3528 # after its creation but before its name has been assigned to `$tmp'.
3532 trap 'exit_status=$?
3534 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3536 trap 'as_fn_exit 1' 1 2 13 15
3538 # Create a (secure) tmp directory for tmp files.
3541 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3545 tmp=./conf$$-$RANDOM
3546 (umask 077 && mkdir "$tmp")
3547 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3550 # Set up the scripts for CONFIG_FILES section.
3551 # No need to generate them if there are no CONFIG_FILES.
3552 # This happens for instance with `./config.status config.h'.
3553 if test -n "$CONFIG_FILES"; then
3556 ac_cr=`echo X | tr X '\015'`
3557 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3558 # But we know of no other shell where ac_cr would be empty at this
3559 # point, so we can use a bashism as a fallback.
3560 if test "x$ac_cr" = x; then
3561 eval ac_cr=\$\'\\r\'
3563 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3564 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3570 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3575 echo "cat >conf$$subs.awk <<_ACEOF" &&
3576 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3579 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3582 for ac_last_try in false false false false false :; do
3583 . ./conf$$subs.sh ||
3584 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3586 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3587 if test $ac_delim_n = $ac_delim_num; then
3589 elif $ac_last_try; then
3590 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3592 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3598 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3602 s/^/S["/; s/!.*/"]=/
3612 s/\(.\{148\}\)..*/\1/
3614 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3626 s/\(.\{148\}\)..*/\1/
3628 s/["\\]/\\&/g; s/^/"/; s/$/"/
3632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3637 ' <conf$$subs.awk | sed '
3642 ' >>$CONFIG_STATUS || ac_write_fail=1
3643 rm -f conf$$subs.awk
3644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3646 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3647 for (key in S) S_is_set[key] = 1
3653 nfields = split(line, field, "@")
3655 len = length(field[1])
3656 for (i = 2; i < nfields; i++) {
3658 keylen = length(key)
3659 if (S_is_set[key]) {
3661 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3662 len += length(value) + length(field[++i])
3673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3674 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3675 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3678 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3679 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3682 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3683 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3684 # trailing colons and then remove the whole line if VPATH becomes empty
3685 # (actually we leave an empty line to preserve line numbers).
3686 if test "x$srcdir" = x.; then
3687 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3706 fi # test -n "$CONFIG_FILES"
3709 eval set X " :F $CONFIG_FILES "
3714 :[FHLC]) ac_mode=$ac_tag; continue;;
3716 case $ac_mode$ac_tag in
3718 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3719 :[FH]-) ac_tag=-:-;;
3720 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3737 -) ac_f="$ac_tmp/stdin";;
3738 *) # Look for the file first in the build tree, then in the source tree
3739 # (if the path is not absolute). The absolute path cannot be DOS-style,
3740 # because $ac_f cannot contain `:'.
3744 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3746 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3748 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3749 as_fn_append ac_file_inputs " '$ac_f'"
3752 # Let's still pretend it is `configure' which instantiates (i.e., don't
3753 # use $as_me), people would be surprised to read:
3754 # /* config.h. Generated by config.status. */
3755 configure_input='Generated from '`
3756 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3758 if test x"$ac_file" != x-; then
3759 configure_input="$ac_file. $configure_input"
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3761 $as_echo "$as_me: creating $ac_file" >&6;}
3763 # Neutralize special characters interpreted by sed in replacement strings.
3764 case $configure_input in #(
3765 *\&* | *\|* | *\\* )
3766 ac_sed_conf_input=`$as_echo "$configure_input" |
3767 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3768 *) ac_sed_conf_input=$configure_input;;
3772 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3778 ac_dir=`$as_dirname -- "$ac_file" ||
3779 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3780 X"$ac_file" : 'X\(//\)[^/]' \| \
3781 X"$ac_file" : 'X\(//\)$' \| \
3782 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3783 $as_echo X"$ac_file" |
3784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3801 as_dir="$ac_dir"; as_fn_mkdir_p
3805 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3807 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3808 # A ".." for each directory in $ac_dir_suffix.
3809 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3810 case $ac_top_builddir_sub in
3811 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3812 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3815 ac_abs_top_builddir=$ac_pwd
3816 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3817 # for backward compatibility:
3818 ac_top_builddir=$ac_top_build_prefix
3821 .) # We are building in place.
3823 ac_top_srcdir=$ac_top_builddir_sub
3824 ac_abs_top_srcdir=$ac_pwd ;;
3825 [\\/]* | ?:[\\/]* ) # Absolute name.
3826 ac_srcdir=$srcdir$ac_dir_suffix;
3827 ac_top_srcdir=$srcdir
3828 ac_abs_top_srcdir=$srcdir ;;
3830 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3831 ac_top_srcdir=$ac_top_build_prefix$srcdir
3832 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3834 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3844 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3845 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3849 [\\/$]* | ?:[\\/]* ) ;;
3850 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3855 # If the template does not know about datarootdir, expand it.
3856 # FIXME: This hack should be removed a few years after 2.60.
3857 ac_datarootdir_hack=; ac_datarootdir_seen=
3868 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3869 *datarootdir*) ac_datarootdir_seen=yes;;
3870 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3872 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3875 ac_datarootdir_hack='
3876 s&@datadir@&$datadir&g
3877 s&@docdir@&$docdir&g
3878 s&@infodir@&$infodir&g
3879 s&@localedir@&$localedir&g
3880 s&@mandir@&$mandir&g
3881 s&\\\${datarootdir}&$datarootdir&g' ;;
3885 # Neutralize VPATH when `$srcdir' = `.'.
3886 # Shell code in configure.ac might set extrasub.
3887 # FIXME: do we really want to maintain this feature?
3888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3889 ac_sed_extra="$ac_vpsub
3892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3894 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3895 s|@configure_input@|$ac_sed_conf_input|;t t
3896 s&@top_builddir@&$ac_top_builddir_sub&;t t
3897 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3898 s&@srcdir@&$ac_srcdir&;t t
3899 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3900 s&@top_srcdir@&$ac_top_srcdir&;t t
3901 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3902 s&@builddir@&$ac_builddir&;t t
3903 s&@abs_builddir@&$ac_abs_builddir&;t t
3904 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3905 s&@INSTALL@&$ac_INSTALL&;t t
3906 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3907 $ac_datarootdir_hack
3909 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3910 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3912 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3913 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3914 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3915 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3917 which seems to be undefined. Please make sure it is defined" >&5
3918 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3919 which seems to be undefined. Please make sure it is defined" >&2;}
3921 rm -f "$ac_tmp/stdin"
3923 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3924 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3934 case $ac_file$ac_mode in
3935 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3936 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3944 ac_clean_files=$ac_clean_files_save
3946 test $ac_write_fail = 0 ||
3947 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3950 # configure is writing to config.log, and then calls config.status.
3951 # config.status does its own redirection, appending to config.log.
3952 # Unfortunately, on DOS this fails, as config.log is still kept open
3953 # by configure, so config.status won't be able to write to it; its
3954 # output is simply discarded. So we exec the FD to /dev/null,
3955 # effectively closing config.log, so it can be properly (re)opened and
3956 # appended to by config.status. When coming back to configure, we
3957 # need to make the FD available again.
3958 if test "$no_create" != yes; then
3960 ac_config_status_args=
3961 test "$silent" = yes &&
3962 ac_config_status_args="$ac_config_status_args --quiet"
3964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3967 # would make configure fail if this is the last instruction.
3968 $ac_cs_success || as_fn_exit 1
3970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}