2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
239 SHELL=${CONFIG_SHELL-/bin/sh}
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
250 # Portably unset VAR.
253 { eval $1=; unset $1;}
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 # Create "$as_dir" as a directory, including parents if necessary.
282 -*) as_dir=./$as_dir;;
284 test -d "$as_dir" || eval $as_mkdir_p || {
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315 test -d "$as_dir" && break
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 as_val=`expr "$@" || test $? -eq 1`
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
365 as_status=$?; test $as_status -eq 0 && as_status=1
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
447 # Exit status is that of the last command.
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 elif ln conf$$.file conf$$ 2>/dev/null; then
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
494 test -d ./-p && rmdir ./-p
498 if test -x / >/dev/null 2>&1; then
501 if ls -dL / >/dev/null 2>&1; then
508 if test -d "$1"; then
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
556 ac_unique_file="gettext-tools/src/msgfmt.c"
557 enable_option_checking=no
558 ac_subst_vars='LTLIBOBJS
593 INSTALL_STRIP_PROGRAM
635 program_transform_name
648 enable_option_checking
650 enable_dependency_tracking
665 with_included_gettext
671 with_libglib_20_prefix
672 with_included_libcroco
673 with_libcroco_06_prefix
674 with_included_libunistring
675 with_libunistring_prefix
681 with_libncurses_prefix
682 with_libtermcap_prefix
683 with_libxcurses_prefix
684 with_libcurses_prefix
692 ac_precious_vars='build_alias
710 ac_subdirs_all='gettext-runtime gettext-tools'
712 # Initialize some variables set by options.
714 ac_init_version=false
715 ac_unrecognized_opts=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
726 program_transform_name=s,x,x,
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE}'
751 infodir='${datarootdir}/info'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
772 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
776 # Accept the important Cygnus configure options, so we can diagnose typos.
778 case $ac_dashdash$ac_option in
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
800 cache_file=config.cache ;;
802 -datadir | --datadir | --datadi | --datad)
804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
805 datadir=$ac_optarg ;;
807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
814 -disable-* | --disable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
821 case $ac_user_opts in
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
828 eval enable_$ac_useropt=no ;;
830 -docdir | --docdir | --docdi | --doc | --do)
832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
840 -enable-* | --enable-*)
841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 as_fn_error "invalid feature name: $ac_useropt"
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=\$ac_optarg ;;
856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858 | --exec | --exe | --ex)
859 ac_prev=exec_prefix ;;
860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862 | --exec=* | --exe=* | --ex=*)
863 exec_prefix=$ac_optarg ;;
865 -gas | --gas | --ga | --g)
866 # Obsolete; use --with-gas.
869 -help | --help | --hel | --he | -h)
871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872 ac_init_help=recursive ;;
873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874 ac_init_help=short ;;
876 -host | --host | --hos | --ho)
877 ac_prev=host_alias ;;
878 -host=* | --host=* | --hos=* | --ho=*)
879 host_alias=$ac_optarg ;;
881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885 htmldir=$ac_optarg ;;
887 -includedir | --includedir | --includedi | --included | --include \
888 | --includ | --inclu | --incl | --inc)
889 ac_prev=includedir ;;
890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891 | --includ=* | --inclu=* | --incl=* | --inc=*)
892 includedir=$ac_optarg ;;
894 -infodir | --infodir | --infodi | --infod | --info | --inf)
896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897 infodir=$ac_optarg ;;
899 -libdir | --libdir | --libdi | --libd)
901 -libdir=* | --libdir=* | --libdi=* | --libd=*)
904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905 | --libexe | --libex | --libe)
906 ac_prev=libexecdir ;;
907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908 | --libexe=* | --libex=* | --libe=*)
909 libexecdir=$ac_optarg ;;
911 -localedir | --localedir | --localedi | --localed | --locale)
913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914 localedir=$ac_optarg ;;
916 -localstatedir | --localstatedir | --localstatedi | --localstated \
917 | --localstate | --localstat | --localsta | --localst | --locals)
918 ac_prev=localstatedir ;;
919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921 localstatedir=$ac_optarg ;;
923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
929 # Obsolete; use --without-fp.
932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933 | --no-cr | --no-c | -n)
936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942 | --oldin | --oldi | --old | --ol | --o)
943 ac_prev=oldincludedir ;;
944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947 oldincludedir=$ac_optarg ;;
949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
954 -program-prefix | --program-prefix | --program-prefi | --program-pref \
955 | --program-pre | --program-pr | --program-p)
956 ac_prev=program_prefix ;;
957 -program-prefix=* | --program-prefix=* | --program-prefi=* \
958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959 program_prefix=$ac_optarg ;;
961 -program-suffix | --program-suffix | --program-suffi | --program-suff \
962 | --program-suf | --program-su | --program-s)
963 ac_prev=program_suffix ;;
964 -program-suffix=* | --program-suffix=* | --program-suffi=* \
965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966 program_suffix=$ac_optarg ;;
968 -program-transform-name | --program-transform-name \
969 | --program-transform-nam | --program-transform-na \
970 | --program-transform-n | --program-transform- \
971 | --program-transform | --program-transfor \
972 | --program-transfo | --program-transf \
973 | --program-trans | --program-tran \
974 | --progr-tra | --program-tr | --program-t)
975 ac_prev=program_transform_name ;;
976 -program-transform-name=* | --program-transform-name=* \
977 | --program-transform-nam=* | --program-transform-na=* \
978 | --program-transform-n=* | --program-transform-=* \
979 | --program-transform=* | --program-transfor=* \
980 | --program-transfo=* | --program-transf=* \
981 | --program-trans=* | --program-tran=* \
982 | --progr-tra=* | --program-tr=* | --program-t=*)
983 program_transform_name=$ac_optarg ;;
985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990 -psdir | --psdir | --psdi | --psd | --ps)
992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996 | -silent | --silent | --silen | --sile | --sil)
999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003 sbindir=$ac_optarg ;;
1005 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007 | --sharedst | --shareds | --shared | --share | --shar \
1009 ac_prev=sharedstatedir ;;
1010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014 sharedstatedir=$ac_optarg ;;
1016 -site | --site | --sit)
1018 -site=* | --site=* | --sit=*)
1021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024 srcdir=$ac_optarg ;;
1026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027 | --syscon | --sysco | --sysc | --sys | --sy)
1028 ac_prev=sysconfdir ;;
1029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031 sysconfdir=$ac_optarg ;;
1033 -target | --target | --targe | --targ | --tar | --ta | --t)
1034 ac_prev=target_alias ;;
1035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036 target_alias=$ac_optarg ;;
1038 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1041 -version | --version | --versio | --versi | --vers | -V)
1042 ac_init_version=: ;;
1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid package name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
1051 case $ac_user_opts in
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval with_$ac_useropt=\$ac_optarg ;;
1060 -without-* | --without-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error "invalid package name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
1067 case $ac_user_opts in
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1074 eval with_$ac_useropt=no ;;
1077 # Obsolete; use --with-x.
1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081 | --x-incl | --x-inc | --x-in | --x-i)
1082 ac_prev=x_includes ;;
1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085 x_includes=$ac_optarg ;;
1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089 ac_prev=x_libraries ;;
1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092 x_libraries=$ac_optarg ;;
1094 -*) as_fn_error "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information."
1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 case $ac_envvar in #(
1102 '' | [0-9]* | *[!_$as_cr_alnum]* )
1103 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1105 eval $ac_envvar=\$ac_optarg
1106 export $ac_envvar ;;
1109 # FIXME: should be removed in autoconf 3.0.
1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1119 if test -n "$ac_prev"; then
1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121 as_fn_error "missing argument to $ac_option"
1124 if test -n "$ac_unrecognized_opts"; then
1125 case $enable_option_checking in
1127 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1132 # Check all directory arguments for consistency.
1133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134 datadir sysconfdir sharedstatedir localstatedir includedir \
1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136 libdir localedir mandir
1138 eval ac_val=\$$ac_var
1139 # Remove trailing slashes.
1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143 eval $ac_var=\$ac_val;;
1145 # Be sure to have absolute directory names.
1147 [\\/$]* | ?:[\\/]* ) continue;;
1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1150 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1158 target=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162 if test "x$build_alias" = x; then
1163 cross_compiling=maybe
1164 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1165 If a cross compiler is detected then cross compile mode will be used." >&2
1166 elif test "x$build_alias" != "x$host_alias"; then
1172 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1174 test "$silent" = yes && exec 6>/dev/null
1177 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178 ac_ls_di=`ls -di .` &&
1179 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180 as_fn_error "working directory cannot be determined"
1181 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1182 as_fn_error "pwd does not report name of working directory"
1185 # Find the source files, if location was not specified.
1186 if test -z "$srcdir"; then
1187 ac_srcdir_defaulted=yes
1188 # Try the directory containing this script, then the parent directory.
1189 ac_confdir=`$as_dirname -- "$as_myself" ||
1190 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1191 X"$as_myself" : 'X\(//\)[^/]' \| \
1192 X"$as_myself" : 'X\(//\)$' \| \
1193 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1194 $as_echo X"$as_myself" |
1195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1217 ac_srcdir_defaulted=no
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1221 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1225 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1227 # When building in place, set srcdir=.
1228 if test "$ac_abs_confdir" = "$ac_pwd"; then
1231 # Remove unnecessary trailing slashes from srcdir.
1232 # Double slashes in file names in object file debugging info
1233 # mess up M-x gdb in Emacs.
1235 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1237 for ac_var in $ac_precious_vars; do
1238 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_env_${ac_var}_value=\$${ac_var}
1240 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1241 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1245 # Report the --help message.
1247 if test "$ac_init_help" = "long"; then
1248 # Omit some internal or obsolete options to make the list less imposing.
1249 # This message is too long to be a string in the A/UX 3.1 sh.
1251 \`configure' configures this package to adapt to many kinds of systems.
1253 Usage: $0 [OPTION]... [VAR=VALUE]...
1255 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1256 VAR=VALUE. See below for descriptions of some of the useful variables.
1258 Defaults for the options are specified in brackets.
1261 -h, --help display this help and exit
1262 --help=short display options specific to this package
1263 --help=recursive display the short help of all the included packages
1264 -V, --version display version information and exit
1265 -q, --quiet, --silent do not print \`checking...' messages
1266 --cache-file=FILE cache test results in FILE [disabled]
1267 -C, --config-cache alias for \`--cache-file=config.cache'
1268 -n, --no-create do not create output files
1269 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1271 Installation directories:
1272 --prefix=PREFIX install architecture-independent files in PREFIX
1273 [$ac_default_prefix]
1274 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1277 By default, \`make install' will install all the files in
1278 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1279 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1280 for instance \`--prefix=\$HOME'.
1282 For better control, use the options below.
1284 Fine tuning of the installation directories:
1285 --bindir=DIR user executables [EPREFIX/bin]
1286 --sbindir=DIR system admin executables [EPREFIX/sbin]
1287 --libexecdir=DIR program executables [EPREFIX/libexec]
1288 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1289 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1290 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1291 --libdir=DIR object code libraries [EPREFIX/lib]
1292 --includedir=DIR C header files [PREFIX/include]
1293 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1294 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1295 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1296 --infodir=DIR info documentation [DATAROOTDIR/info]
1297 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1298 --mandir=DIR man documentation [DATAROOTDIR/man]
1299 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1300 --htmldir=DIR html documentation [DOCDIR]
1301 --dvidir=DIR dvi documentation [DOCDIR]
1302 --pdfdir=DIR pdf documentation [DOCDIR]
1303 --psdir=DIR ps documentation [DOCDIR]
1309 --program-prefix=PREFIX prepend PREFIX to installed program names
1310 --program-suffix=SUFFIX append SUFFIX to installed program names
1311 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1314 --build=BUILD configure for building on BUILD [guessed]
1315 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1319 if test -n "$ac_init_help"; then
1324 --disable-option-checking ignore unrecognized --enable/--with options
1325 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1326 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1327 --enable-silent-rules less verbose build output (undo: `make V=1')
1328 --disable-silent-rules verbose build output (undo: `make V=0')
1329 --disable-dependency-tracking speeds up one-time build
1330 --enable-dependency-tracking do not reject slow dependency extractors
1331 --disable-java do not build Java sources
1332 --disable-native-java do not compile Java to native executables
1333 --enable-csharp[=IMPL] choose preferred C# implementation (pnet or mono)
1334 --enable-shared[=PKGS] build shared libraries
1335 [default=]_LT_ENABLE_SHARED_DEFAULT[]
1336 --enable-static[=PKGS] build static libraries
1337 [default=]_LT_ENABLE_STATIC_DEFAULT[]
1338 --enable-fast-install[=PKGS]
1339 optimize for fast installation
1340 [default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[]
1341 --disable-libtool-lock avoid locking (might break parallel builds)
1342 --disable-nls do not use Native Language Support
1343 --enable-threads={posix|solaris|pth|win32}
1344 specify multithreading API
1345 --disable-threads build without multithread safety
1346 --disable-rpath do not hardcode runtime library paths
1347 --enable-relocatable install a package that can be moved in the file
1349 --disable-libasprintf do not build libasprintf
1350 --disable-acl do not support ACLs
1351 --disable-openmp do not use OpenMP
1352 --disable-largefile omit support for large files
1353 --disable-curses do not use libncurses, libtermcap even if they exist
1356 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1357 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1358 --with-pic try to use only PIC/non-PIC objects [default=use
1360 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1361 --with-gnu-ld assume the C compiler uses GNU ld default=no
1362 --with-libpth-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1363 --without-libpth-prefix don't search for PACKLIBS in includedir and libdir
1364 --with-libiconv-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1365 --without-libiconv-prefix don't search for PACKLIBS in includedir and libdir
1366 --with-included-gettext use the GNU gettext library included here
1367 --with-libintl-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1368 --without-libintl-prefix don't search for PACKLIBS in includedir and libdir
1369 --with-included-glib use the glib2 included here
1370 --with-libglib-2.0-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1371 --without-libglib-2.0-prefix don't search for PACKLIBS in includedir and libdir
1372 --with-included-libcroco use the libcroco included here
1373 --with-libcroco-0.6-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1374 --without-libcroco-0.6-prefix don't search for PACKLIBS in includedir and libdir
1375 --with-included-libunistring use the libunistring parts included here
1376 --with-libunistring-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1377 --without-libunistring-prefix don't search for PACKLIBS in includedir and libdir
1378 --with-included-libxml use the libxml2 included here
1379 --with-libxml2-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1380 --without-libxml2-prefix don't search for PACKLIBS in includedir and libdir
1381 --with-libncurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1382 --without-libncurses-prefix don't search for PACKLIBS in includedir and libdir
1383 --with-libtermcap-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1384 --without-libtermcap-prefix don't search for PACKLIBS in includedir and libdir
1385 --with-libxcurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1386 --without-libxcurses-prefix don't search for PACKLIBS in includedir and libdir
1387 --with-libcurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1388 --without-libcurses-prefix don't search for PACKLIBS in includedir and libdir
1389 --without-included-regex
1390 don't compile regex; this is the default on systems
1391 with recent-enough versions of the GNU C Library
1392 (use with caution on other systems).
1393 --with-libexpat-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
1394 --without-libexpat-prefix don't search for PACKLIBS in includedir and libdir
1395 --with-lispdir override the default lisp directory
1396 --without-emacs do not use Emacs, don't install po-mode
1397 --without-git don't use git to compress the infrastructure archive
1398 --with-cvs use cvs to compress the infrastructure archive
1401 Some influential environment variables:
1402 CC C compiler command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1405 nonstandard directory <lib dir>
1406 LIBS libraries to pass to the linker, e.g. -l<library>
1407 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408 you have headers in a nonstandard directory <include dir>
1409 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1410 the first program found out of: `bison -y', `byacc', `yacc'.
1411 YFLAGS The list of arguments that will be passed by default to $YACC.
1412 This script will default YFLAGS to the empty string to avoid a
1413 default value of `-d' given by some make applications.
1415 CXX C++ compiler command
1416 CXXFLAGS C++ compiler flags
1417 GCJ Java native code compiler command
1418 GCJFLAGS Java native code compiler flags
1419 EMACS the Emacs editor command
1421 the Emacs library search path
1422 CXXCPP C++ preprocessor
1424 Use these variables to override the choices made by `configure' or to help
1425 it to find libraries and programs with nonstandard names/locations.
1427 Report bugs to the package provider.
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1457 .) # We are building in place.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1491 generated by GNU Autoconf 2.65
1493 Copyright (C) 2009 Free Software Foundation, Inc.
1494 This configure script is free software; the Free Software Foundation
1495 gives unlimited permission to copy, distribute and modify it.
1500 ## ------------------------ ##
1501 ## Autoconf initialization. ##
1502 ## ------------------------ ##
1503 cat >config.log <<_ACEOF
1504 This file contains any messages produced by compilers while
1505 running configure, to aid debugging if configure makes a mistake.
1507 It was created by $as_me, which was
1508 generated by GNU Autoconf 2.65. Invocation command line was
1520 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1521 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1522 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1523 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1524 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1526 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1527 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1529 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1530 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1531 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1532 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1533 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1534 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1535 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 $as_echo "PATH: $as_dir"
1560 # Keep a trace of the command line.
1561 # Strip out --no-create and --no-recursion so they do not pile up.
1562 # Strip out --silent because we don't want to record it for future runs.
1563 # Also quote any args containing shell meta-characters.
1564 # Make two passes to allow for proper duplicate-argument suppression.
1568 ac_must_keep_next=false
1574 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1575 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576 | -silent | --silent | --silen | --sile | --sil)
1579 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1584 as_fn_append ac_configure_args1 " '$ac_arg'"
1585 if test $ac_must_keep_next = true; then
1586 ac_must_keep_next=false # Got value, back to normal.
1589 *=* | --config-cache | -C | -disable-* | --disable-* \
1590 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1591 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1592 | -with-* | --with-* | -without-* | --without-* | --x)
1593 case "$ac_configure_args0 " in
1594 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 -* ) ac_must_keep_next=true ;;
1600 as_fn_append ac_configure_args " '$ac_arg'"
1605 { ac_configure_args0=; unset ac_configure_args0;}
1606 { ac_configure_args1=; unset ac_configure_args1;}
1608 # When interrupted or exit'd, cleanup temporary files, and complete
1609 # config.log. We remove comments because anyway the quotes in there
1610 # would cause problems or look ugly.
1611 # WARNING: Use '\'' to represent an apostrophe within the trap.
1612 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1613 trap 'exit_status=$?
1614 # Save into config.log some information that might help in debugging.
1619 ## ---------------- ##
1620 ## Cache variables. ##
1621 ## ---------------- ##
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1631 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1632 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1635 _ | IFS | as_nl) ;; #(
1636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1637 *) { eval $ac_var=; unset $ac_var;} ;;
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1666 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 $as_echo "$ac_var='\''$ac_val'\''"
1672 if test -n "$ac_subst_files"; then
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1679 for ac_var in $ac_subst_files
1681 eval ac_val=\$$ac_var
1683 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 $as_echo "$ac_var='\''$ac_val'\''"
1690 if test -s confdefs.h; then
1700 test "$ac_signal" != 0 &&
1701 $as_echo "$as_me: caught signal $ac_signal"
1702 $as_echo "$as_me: exit $exit_status"
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 for ac_signal in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1716 $as_echo "/* confdefs.h */" > confdefs.h
1718 # Predefined preprocessor variables.
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_URL "$PACKAGE_URL"
1745 # Let the site file select an alternate cache file if it wants to.
1746 # Prefer an explicitly selected file to automatically selected ones.
1749 if test -n "$CONFIG_SITE"; then
1750 ac_site_file1=$CONFIG_SITE
1751 elif test "x$prefix" != xNONE; then
1752 ac_site_file1=$prefix/share/config.site
1753 ac_site_file2=$prefix/etc/config.site
1755 ac_site_file1=$ac_default_prefix/share/config.site
1756 ac_site_file2=$ac_default_prefix/etc/config.site
1758 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1760 test "x$ac_site_file" = xNONE && continue
1761 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1769 if test -r "$cache_file"; then
1770 # Some versions of bash will fail to source /dev/null (special files
1771 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1772 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1774 $as_echo "$as_me: loading cache $cache_file" >&6;}
1776 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1777 *) . "./$cache_file";;
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1782 $as_echo "$as_me: creating cache $cache_file" >&6;}
1786 # Check that the precious variables saved in the cache have kept the same
1788 ac_cache_corrupted=false
1789 for ac_var in $ac_precious_vars; do
1790 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1791 eval ac_new_set=\$ac_env_${ac_var}_set
1792 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1793 eval ac_new_val=\$ac_env_${ac_var}_value
1794 case $ac_old_set,$ac_new_set in
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1797 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1801 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1802 ac_cache_corrupted=: ;;
1805 if test "x$ac_old_val" != "x$ac_new_val"; then
1806 # differences in whitespace do not lead to failure.
1807 ac_old_val_w=`echo x $ac_old_val`
1808 ac_new_val_w=`echo x $ac_new_val`
1809 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1811 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1812 ac_cache_corrupted=:
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1815 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1816 eval $ac_var=\$ac_old_val
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1819 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1821 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1824 # Pass precious variables to config.status.
1825 if test "$ac_new_set" = set; then
1827 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1828 *) ac_arg=$ac_var=$ac_new_val ;;
1830 case " $ac_configure_args " in
1831 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1832 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1836 if $ac_cache_corrupted; then
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1840 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1841 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1843 ## -------------------- ##
1844 ## Main body of script. ##
1845 ## -------------------- ##
1848 ac_cpp='$CPP $CPPFLAGS'
1849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1856 for ac_dir in build-aux "$srcdir"/build-aux; do
1857 for ac_t in install-sh install.sh shtool; do
1858 if test -f "$ac_dir/$ac_t"; then
1860 ac_install_sh="$ac_aux_dir/$ac_t -c"
1865 if test -z "$ac_aux_dir"; then
1866 as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1869 # These three variables are undocumented and unsupported,
1870 # and are intended to be withdrawn in a future Autoconf release.
1871 # They can cause serious problems if a builder's source tree is in a directory
1872 # whose full name contains unusual characters.
1873 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1874 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1875 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1878 . $srcdir/version.sh
1885 am__api_version='1.11'
1887 # Find a good install program. We prefer a C program (faster),
1888 # so one script is as good as another. But avoid the broken or
1889 # incompatible versions:
1890 # SysV /etc/install, /usr/sbin/install
1891 # SunOS /usr/etc/install
1892 # IRIX /sbin/install
1894 # AmigaOS /C/install, which installs bootblocks on floppy discs
1895 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1896 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1897 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1898 # OS/2's system install, which has a completely different semantic
1899 # ./install, which can be erroneously created by make from ./install.sh.
1900 # Reject install programs that cannot install multiple files.
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1902 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1903 if test -z "$INSTALL"; then
1904 if test "${ac_cv_path_install+set}" = set; then :
1905 $as_echo_n "(cached) " >&6
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 # Account for people who put trailing slashes in PATH elements.
1913 case $as_dir/ in #((
1914 ./ | .// | /[cC]/* | \
1915 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1916 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1919 # OSF1 and SCO ODT 3.0 have their own names for install.
1920 # Don't use installbsd from OSF since it installs stuff as root
1922 for ac_prog in ginstall scoinst install; do
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1925 if test $ac_prog = install &&
1926 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1927 # AIX install. It has an incompatible calling convention.
1929 elif test $ac_prog = install &&
1930 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1931 # program-specific install script used by HP pwplus--don't use.
1934 rm -rf conftest.one conftest.two conftest.dir
1935 echo one > conftest.one
1936 echo two > conftest.two
1938 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1939 test -s conftest.one && test -s conftest.two &&
1940 test -s conftest.dir/conftest.one &&
1941 test -s conftest.dir/conftest.two
1943 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1956 rm -rf conftest.one conftest.two conftest.dir
1959 if test "${ac_cv_path_install+set}" = set; then
1960 INSTALL=$ac_cv_path_install
1962 # As a last resort, use the slow shell script. Don't cache a
1963 # value for INSTALL within a source directory, because that will
1964 # break other packages using the cache if that directory is
1965 # removed, or if the value is a relative name.
1966 INSTALL=$ac_install_sh
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1970 $as_echo "$INSTALL" >&6; }
1972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1973 # It thinks the first close brace ends the variable substitution.
1974 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1976 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1978 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1981 $as_echo_n "checking whether build environment is sane... " >&6; }
1984 echo timestamp > conftest.file
1985 # Reject unsafe characters in $srcdir or the absolute working directory
1986 # name. Accept space and tab only in the latter.
1990 *[\\\"\#\$\&\'\`$am_lf]*)
1991 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1994 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1995 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1998 # Do `set' in a subshell so we don't clobber the current shell's
1999 # arguments. Must try -L first in case configure is actually a
2000 # symlink; some systems play weird games with the mod time of symlinks
2001 # (eg FreeBSD returns the mod time of the symlink's containing
2004 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2005 if test "$*" = "X"; then
2007 set X `ls -t "$srcdir/configure" conftest.file`
2010 if test "$*" != "X $srcdir/configure conftest.file" \
2011 && test "$*" != "X conftest.file $srcdir/configure"; then
2013 # If neither matched, then we have a broken ls. This can happen
2014 # if, for instance, CONFIG_SHELL is bash and it inherits a
2015 # broken ls alias from the environment. This has actually
2016 # happened. Such a system could not be considered "sane".
2017 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2018 alias in your environment" "$LINENO" 5
2021 test "$2" = conftest.file
2027 as_fn_error "newly created file is older than distributed files!
2028 Check your system clock" "$LINENO" 5
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2031 $as_echo "yes" >&6; }
2032 test "$program_prefix" != NONE &&
2033 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2034 # Use a double $ so make ignores it.
2035 test "$program_suffix" != NONE &&
2036 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2037 # Double any \ or $.
2038 # By default was `s,x,x', remove it if useless.
2039 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2040 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2042 # expand $ac_aux_dir to an absolute path
2043 am_aux_dir=`cd $ac_aux_dir && pwd`
2045 if test x"${MISSING+set}" != xset; then
2048 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2050 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2053 # Use eval to expand $SHELL
2054 if eval "$MISSING --run true"; then
2055 am_missing_run="$MISSING --run "
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2059 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2062 if test x"${install_sh}" != xset; then
2065 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2067 install_sh="\${SHELL} $am_aux_dir/install-sh"
2071 # Installed binaries are usually stripped using `strip' when the user
2072 # run `make install-strip'. However `strip' might not be the right
2073 # tool to use in cross-compilation environments, therefore Automake
2074 # will honor the `STRIP' environment variable to overrule this program.
2075 if test "$cross_compiling" != no; then
2076 if test -n "$ac_tool_prefix"; then
2077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2078 set dummy ${ac_tool_prefix}strip; ac_word=$2
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2080 $as_echo_n "checking for $ac_word... " >&6; }
2081 if test "${ac_cv_prog_STRIP+set}" = set; then :
2082 $as_echo_n "(cached) " >&6
2084 if test -n "$STRIP"; then
2085 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2094 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 STRIP=$ac_cv_prog_STRIP
2105 if test -n "$STRIP"; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2107 $as_echo "$STRIP" >&6; }
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2110 $as_echo "no" >&6; }
2115 if test -z "$ac_cv_prog_STRIP"; then
2117 # Extract the first word of "strip", so it can be a program name with args.
2118 set dummy strip; ac_word=$2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2120 $as_echo_n "checking for $ac_word... " >&6; }
2121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2122 $as_echo_n "(cached) " >&6
2124 if test -n "$ac_ct_STRIP"; then
2125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 ac_cv_prog_ac_ct_STRIP="strip"
2135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2145 if test -n "$ac_ct_STRIP"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2147 $as_echo "$ac_ct_STRIP" >&6; }
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2150 $as_echo "no" >&6; }
2153 if test "x$ac_ct_STRIP" = x; then
2156 case $cross_compiling:$ac_tool_warned in
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2160 ac_tool_warned=yes ;;
2165 STRIP="$ac_cv_prog_STRIP"
2169 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2172 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2173 if test -z "$MKDIR_P"; then
2174 if test "${ac_cv_path_mkdir+set}" = set; then :
2175 $as_echo_n "(cached) " >&6
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2181 test -z "$as_dir" && as_dir=.
2182 for ac_prog in mkdir gmkdir; do
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2185 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2186 'mkdir (GNU coreutils) '* | \
2187 'mkdir (coreutils) '* | \
2188 'mkdir (fileutils) '4.1*)
2189 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2199 test -d ./--version && rmdir ./--version
2200 if test "${ac_cv_path_mkdir+set}" = set; then
2201 MKDIR_P="$ac_cv_path_mkdir -p"
2203 # As a last resort, use the slow shell script. Don't cache a
2204 # value for MKDIR_P within a source directory, because that will
2205 # break other packages using the cache if that directory is
2206 # removed, or if the value is a relative name.
2207 MKDIR_P="$ac_install_sh -d"
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2211 $as_echo "$MKDIR_P" >&6; }
2215 [\\/$]* | ?:[\\/]*) ;;
2216 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2219 for ac_prog in gawk mawk nawk awk
2221 # Extract the first word of "$ac_prog", so it can be a program name with args.
2222 set dummy $ac_prog; ac_word=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if test "${ac_cv_prog_AWK+set}" = set; then :
2226 $as_echo_n "(cached) " >&6
2228 if test -n "$AWK"; then
2229 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238 ac_cv_prog_AWK="$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 if test -n "$AWK"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2251 $as_echo "$AWK" >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$AWK" && break
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2262 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2264 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2265 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2266 $as_echo_n "(cached) " >&6
2268 cat >conftest.make <<\_ACEOF
2271 @echo '@@@%%%=$(MAKE)=@@@%%%'
2273 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2276 eval ac_cv_prog_make_${ac_make}_set=yes;;
2278 eval ac_cv_prog_make_${ac_make}_set=no;;
2282 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2284 $as_echo "yes" >&6; }
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288 $as_echo "no" >&6; }
2289 SET_MAKE="MAKE=${MAKE-make}"
2292 rm -rf .tst 2>/dev/null
2293 mkdir .tst 2>/dev/null
2294 if test -d .tst; then
2299 rmdir .tst 2>/dev/null
2301 # Check whether --enable-silent-rules was given.
2302 if test "${enable_silent_rules+set}" = set; then :
2303 enableval=$enable_silent_rules;
2306 case $enable_silent_rules in
2307 yes) AM_DEFAULT_VERBOSITY=0;;
2308 no) AM_DEFAULT_VERBOSITY=1;;
2309 *) AM_DEFAULT_VERBOSITY=1;;
2315 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2316 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2317 # is not polluted with repeated "-I."
2318 am__isrc=' -I$(srcdir)'
2319 # test to see if srcdir already configured
2320 if test -f $srcdir/config.status; then
2321 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2325 # test whether we have cygpath
2326 if test -z "$CYGPATH_W"; then
2327 if (cygpath --version) >/dev/null 2>/dev/null; then
2328 CYGPATH_W='cygpath -w'
2335 # Define the identity of the package.
2340 # Some tools Automake needs.
2342 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2345 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2348 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2351 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2354 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2356 # We need awk for the "check" target. The system "awk" is bad on
2358 # Always define AMTAR for backward compatibility.
2360 AMTAR=${AMTAR-"${am_missing_run}tar"}
2362 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2370 VERSION=$VERSION_NUMBER
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE "$PACKAGE"
2379 cat >>confdefs.h <<_ACEOF
2380 #define VERSION "$VERSION"
2386 am__tar='${AMTAR} chof - --owner=root --group=root "$$tardir"'
2395 subdirs="$subdirs gettext-runtime gettext-tools"
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2403 $as_echo_n "checking build system type... " >&6; }
2404 if test "${ac_cv_build+set}" = set; then :
2405 $as_echo_n "(cached) " >&6
2407 ac_build_alias=$build_alias
2408 test "x$ac_build_alias" = x &&
2409 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2410 test "x$ac_build_alias" = x &&
2411 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2412 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2413 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2417 $as_echo "$ac_cv_build" >&6; }
2418 case $ac_cv_build in
2420 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2423 ac_save_IFS=$IFS; IFS='-'
2429 # Remember, the first character of IFS is used to create $*,
2430 # except with old shells:
2433 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2437 $as_echo_n "checking host system type... " >&6; }
2438 if test "${ac_cv_host+set}" = set; then :
2439 $as_echo_n "(cached) " >&6
2441 if test "x$host_alias" = x; then
2442 ac_cv_host=$ac_cv_build
2444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2445 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2450 $as_echo "$ac_cv_host" >&6; }
2453 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2456 ac_save_IFS=$IFS; IFS='-'
2462 # Remember, the first character of IFS is used to create $*,
2463 # except with old shells:
2466 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2469 # Check whether --enable-silent-rules was given.
2470 if test "${enable_silent_rules+set}" = set; then :
2471 enableval=$enable_silent_rules;
2479 # Check whether --enable-dependency-tracking was given.
2480 if test "${enable_dependency_tracking+set}" = set; then :
2481 enableval=$enable_dependency_tracking;
2486 # Check whether --enable-java was given.
2487 if test "${enable_java+set}" = set; then :
2488 enableval=$enable_java;
2491 # Check whether --enable-native-java was given.
2492 if test "${enable_native_java+set}" = set; then :
2493 enableval=$enable_native_java;
2498 # Check whether --enable-csharp was given.
2499 if test "${enable_csharp+set}" = set; then :
2500 enableval=$enable_csharp;
2503 # Check whether --enable-shared was given.
2504 if test "${enable_shared+set}" = set; then :
2505 enableval=$enable_shared;
2508 # Check whether --enable-static was given.
2509 if test "${enable_static+set}" = set; then :
2510 enableval=$enable_static;
2514 # Check whether --with-pic was given.
2515 if test "${with_pic+set}" = set; then :
2519 # Check whether --enable-fast-install was given.
2520 if test "${enable_fast_install+set}" = set; then :
2521 enableval=$enable_fast_install;
2525 # Check whether --with-gnu-ld was given.
2526 if test "${with_gnu_ld+set}" = set; then :
2527 withval=$with_gnu_ld;
2530 # Check whether --enable-libtool-lock was given.
2531 if test "${enable_libtool_lock+set}" = set; then :
2532 enableval=$enable_libtool_lock;
2535 # Check whether --enable-nls was given.
2536 if test "${enable_nls+set}" = set; then :
2537 enableval=$enable_nls;
2540 # Check whether --enable-threads was given.
2541 if test "${enable_threads+set}" = set; then :
2542 enableval=$enable_threads;
2546 # Check whether --with-gnu-ld was given.
2547 if test "${with_gnu_ld+set}" = set; then :
2548 withval=$with_gnu_ld;
2551 # Check whether --enable-rpath was given.
2552 if test "${enable_rpath+set}" = set; then :
2553 enableval=$enable_rpath;
2557 # Check whether --with-libpth-prefix was given.
2558 if test "${with_libpth_prefix+set}" = set; then :
2559 withval=$with_libpth_prefix;
2563 # Check whether --with-libiconv-prefix was given.
2564 if test "${with_libiconv_prefix+set}" = set; then :
2565 withval=$with_libiconv_prefix;
2569 # Check whether --with-included-gettext was given.
2570 if test "${with_included_gettext+set}" = set; then :
2571 withval=$with_included_gettext;
2575 # Check whether --with-libintl-prefix was given.
2576 if test "${with_libintl_prefix+set}" = set; then :
2577 withval=$with_libintl_prefix;
2580 # Check whether --enable-java was given.
2581 if test "${enable_java+set}" = set; then :
2582 enableval=$enable_java;
2585 # Check whether --enable-native-java was given.
2586 if test "${enable_native_java+set}" = set; then :
2587 enableval=$enable_native_java;
2590 # Check whether --enable-relocatable was given.
2591 if test "${enable_relocatable+set}" = set; then :
2592 enableval=$enable_relocatable;
2597 # Check whether --enable-libasprintf was given.
2598 if test "${enable_libasprintf+set}" = set; then :
2599 enableval=$enable_libasprintf;
2602 # Check whether --enable-silent-rules was given.
2603 if test "${enable_silent_rules+set}" = set; then :
2604 enableval=$enable_silent_rules;
2612 # Check whether --enable-dependency-tracking was given.
2613 if test "${enable_dependency_tracking+set}" = set; then :
2614 enableval=$enable_dependency_tracking;
2619 # Check whether --enable-java was given.
2620 if test "${enable_java+set}" = set; then :
2621 enableval=$enable_java;
2624 # Check whether --enable-native-java was given.
2625 if test "${enable_native_java+set}" = set; then :
2626 enableval=$enable_native_java;
2633 # Check whether --enable-csharp was given.
2634 if test "${enable_csharp+set}" = set; then :
2635 enableval=$enable_csharp;
2638 # Check whether --enable-threads was given.
2639 if test "${enable_threads+set}" = set; then :
2640 enableval=$enable_threads;
2643 # Check whether --enable-shared was given.
2644 if test "${enable_shared+set}" = set; then :
2645 enableval=$enable_shared;
2648 # Check whether --enable-static was given.
2649 if test "${enable_static+set}" = set; then :
2650 enableval=$enable_static;
2654 # Check whether --with-pic was given.
2655 if test "${with_pic+set}" = set; then :
2659 # Check whether --enable-fast-install was given.
2660 if test "${enable_fast_install+set}" = set; then :
2661 enableval=$enable_fast_install;
2665 # Check whether --with-gnu-ld was given.
2666 if test "${with_gnu_ld+set}" = set; then :
2667 withval=$with_gnu_ld;
2670 # Check whether --enable-libtool-lock was given.
2671 if test "${enable_libtool_lock+set}" = set; then :
2672 enableval=$enable_libtool_lock;
2675 # Check whether --enable-nls was given.
2676 if test "${enable_nls+set}" = set; then :
2677 enableval=$enable_nls;
2681 # Check whether --with-gnu-ld was given.
2682 if test "${with_gnu_ld+set}" = set; then :
2683 withval=$with_gnu_ld;
2686 # Check whether --enable-rpath was given.
2687 if test "${enable_rpath+set}" = set; then :
2688 enableval=$enable_rpath;
2692 # Check whether --with-libpth-prefix was given.
2693 if test "${with_libpth_prefix+set}" = set; then :
2694 withval=$with_libpth_prefix;
2698 # Check whether --with-libiconv-prefix was given.
2699 if test "${with_libiconv_prefix+set}" = set; then :
2700 withval=$with_libiconv_prefix;
2704 # Check whether --with-included-gettext was given.
2705 if test "${with_included_gettext+set}" = set; then :
2706 withval=$with_included_gettext;
2710 # Check whether --with-libintl-prefix was given.
2711 if test "${with_libintl_prefix+set}" = set; then :
2712 withval=$with_libintl_prefix;
2715 # Check whether --enable-acl was given.
2716 if test "${enable_acl+set}" = set; then :
2717 enableval=$enable_acl;
2722 # Check whether --enable-java was given.
2723 if test "${enable_java+set}" = set; then :
2724 enableval=$enable_java;
2727 # Check whether --enable-native-java was given.
2728 if test "${enable_native_java+set}" = set; then :
2729 enableval=$enable_native_java;
2733 # Check whether --with-included-glib was given.
2734 if test "${with_included_glib+set}" = set; then :
2735 withval=$with_included_glib;
2739 # Check whether --with-libglib-2.0-prefix was given.
2740 if test "${with_libglib_20_prefix+set}" = set; then :
2741 withval=$with_libglib_20_prefix;
2745 # Check whether --with-included-libcroco was given.
2746 if test "${with_included_libcroco+set}" = set; then :
2747 withval=$with_included_libcroco;
2751 # Check whether --with-libcroco-0.6-prefix was given.
2752 if test "${with_libcroco_06_prefix+set}" = set; then :
2753 withval=$with_libcroco_06_prefix;
2757 # Check whether --with-included-glib was given.
2758 if test "${with_included_glib+set}" = set; then :
2759 withval=$with_included_glib;
2763 # Check whether --with-libglib-2.0-prefix was given.
2764 if test "${with_libglib_20_prefix+set}" = set; then :
2765 withval=$with_libglib_20_prefix;
2769 # Check whether --with-included-libunistring was given.
2770 if test "${with_included_libunistring+set}" = set; then :
2771 withval=$with_included_libunistring;
2775 # Check whether --with-libunistring-prefix was given.
2776 if test "${with_libunistring_prefix+set}" = set; then :
2777 withval=$with_libunistring_prefix;
2781 # Check whether --with-libunistring-prefix was given.
2782 if test "${with_libunistring_prefix+set}" = set; then :
2783 withval=$with_libunistring_prefix;
2787 # Check whether --with-libunistring-prefix was given.
2788 if test "${with_libunistring_prefix+set}" = set; then :
2789 withval=$with_libunistring_prefix;
2793 # Check whether --with-included-libxml was given.
2794 if test "${with_included_libxml+set}" = set; then :
2795 withval=$with_included_libxml;
2799 # Check whether --with-libxml2-prefix was given.
2800 if test "${with_libxml2_prefix+set}" = set; then :
2801 withval=$with_libxml2_prefix;
2804 # Check whether --enable-openmp was given.
2805 if test "${enable_openmp+set}" = set; then :
2806 enableval=$enable_openmp;
2809 # Check whether --enable-relocatable was given.
2810 if test "${enable_relocatable+set}" = set; then :
2811 enableval=$enable_relocatable;
2814 # Check whether --enable-largefile was given.
2815 if test "${enable_largefile+set}" = set; then :
2816 enableval=$enable_largefile;
2819 # Check whether --enable-curses was given.
2820 if test "${enable_curses+set}" = set; then :
2821 enableval=$enable_curses;
2825 # Check whether --with-libncurses-prefix was given.
2826 if test "${with_libncurses_prefix+set}" = set; then :
2827 withval=$with_libncurses_prefix;
2831 # Check whether --with-libtermcap-prefix was given.
2832 if test "${with_libtermcap_prefix+set}" = set; then :
2833 withval=$with_libtermcap_prefix;
2837 # Check whether --with-libxcurses-prefix was given.
2838 if test "${with_libxcurses_prefix+set}" = set; then :
2839 withval=$with_libxcurses_prefix;
2843 # Check whether --with-libcurses-prefix was given.
2844 if test "${with_libcurses_prefix+set}" = set; then :
2845 withval=$with_libcurses_prefix;
2849 # Check whether --with-included-regex was given.
2850 if test "${with_included_regex+set}" = set; then :
2851 withval=$with_included_regex;
2855 # Check whether --with-libexpat-prefix was given.
2856 if test "${with_libexpat_prefix+set}" = set; then :
2857 withval=$with_libexpat_prefix;
2863 # Check whether --with-lispdir was given.
2864 if test "${with_lispdir+set}" = set; then :
2865 withval=$with_lispdir;
2869 # Check whether --with-emacs was given.
2870 if test "${with_emacs+set}" = set; then :
2871 withval=$with_emacs;
2875 # Check whether --with-git was given.
2876 if test "${with_git+set}" = set; then :
2881 # Check whether --with-cvs was given.
2882 if test "${with_cvs+set}" = set; then :
2896 # Check whether --with-gnu-ld was given.
2897 if test "${with_gnu_ld+set}" = set; then :
2898 withval=$with_gnu_ld;
2903 ac_config_files="$ac_config_files Makefile"
2906 ac_config_files="$ac_config_files gnulib-local/Makefile"
2909 cat >confcache <<\_ACEOF
2910 # This file is a shell script that caches the results of configure
2911 # tests run on this system so they can be shared between configure
2912 # scripts and configure runs, see configure's option --config-cache.
2913 # It is not useful on other systems. If it contains results you don't
2914 # want to keep, you may remove or edit it.
2916 # config.status only pays attention to the cache file if you give it
2917 # the --recheck option to rerun configure.
2919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2925 # The following way of writing the cache mishandles newlines in values,
2926 # but we know of no workaround that is simple, portable, and efficient.
2927 # So, we kill variables containing newlines.
2928 # Ultrix sh set writes to stderr and can't be redirected directly,
2929 # and sets the high bit in the cache file unless we assign to the vars.
2931 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2932 eval ac_val=\$$ac_var
2936 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2937 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2940 _ | IFS | as_nl) ;; #(
2941 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2942 *) { eval $ac_var=; unset $ac_var;} ;;
2948 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2949 *${as_nl}ac_space=\ *)
2950 # `set' does not quote correctly, so add quotes: double-quote
2951 # substitution turns \\\\ into \\, and sed turns \\ into \.
2954 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2957 # `set' quotes correctly as required by POSIX, so do not add quotes.
2958 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2967 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2969 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2971 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2972 if test -w "$cache_file"; then
2973 test "x$cache_file" != "x/dev/null" &&
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2975 $as_echo "$as_me: updating cache $cache_file" >&6;}
2976 cat confcache >$cache_file
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2979 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2984 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2985 # Let make expand exec_prefix.
2986 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2988 # Transform confdefs.h into DEFS.
2989 # Protect against shell expansion while executing Makefile rules.
2990 # Protect against Makefile macro expansion.
2992 # If the first sed substitution is executed (which looks for macros that
2993 # take arguments), then branch to the quote section. Otherwise,
2994 # look for a macro that doesn't take arguments.
3004 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3006 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3010 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3023 DEFS=`sed -n "$ac_script" confdefs.h`
3028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3029 # 1. Remove the extension, and $U if already installed.
3030 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3031 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3032 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3033 # will be set to the directory where LIBOBJS objects are built.
3034 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3035 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3039 LTLIBOBJS=$ac_ltlibobjs
3044 : ${CONFIG_STATUS=./config.status}
3046 ac_clean_files_save=$ac_clean_files
3047 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3049 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3051 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3053 # Generated by $as_me.
3054 # Run this file to recreate the current configuration.
3055 # Compiler output produced by configure, useful for debugging
3056 # configure, is in config.log if it exists.
3062 SHELL=\${CONFIG_SHELL-$SHELL}
3065 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3066 ## -------------------- ##
3067 ## M4sh Initialization. ##
3068 ## -------------------- ##
3070 # Be more Bourne compatible
3071 DUALCASE=1; export DUALCASE # for MKS sh
3072 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3075 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3076 # is contrary to our usage. Disable this feature.
3077 alias -g '${1+"$@"}'='"$@"'
3078 setopt NO_GLOB_SUBST
3080 case `(set -o) 2>/dev/null` in #(
3092 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3093 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3096 # Prefer a ksh shell builtin over an external printf program on Solaris,
3097 # but without wasting forks for bash or zsh.
3098 if test -z "$BASH_VERSION$ZSH_VERSION" \
3099 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3100 as_echo='print -r --'
3101 as_echo_n='print -rn --'
3102 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3103 as_echo='printf %s\n'
3104 as_echo_n='printf %s'
3106 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3107 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3108 as_echo_n='/usr/ucb/echo -n'
3110 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3111 as_echo_n_body='eval
3115 expr "X$arg" : "X\\(.*\\)$as_nl";
3116 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3118 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3120 export as_echo_n_body
3121 as_echo_n='sh -c $as_echo_n_body as_echo'
3124 as_echo='sh -c $as_echo_body as_echo'
3127 # The user is always right.
3128 if test "${PATH_SEPARATOR+set}" != set; then
3130 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3131 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3138 # We need space, tab and new line, in precisely that order. Quoting is
3139 # there to prevent editors from complaining about space-tab.
3140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3141 # splitting by setting IFS to empty value.)
3144 # Find who we are. Look in the path if we contain no directory separator.
3146 *[\\/]* ) as_myself=$0 ;;
3147 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir=.
3152 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3158 # We did not find ourselves, most probably we were run as `sh COMMAND'
3159 # in which case we are not to be found in the path.
3160 if test "x$as_myself" = x; then
3163 if test ! -f "$as_myself"; then
3164 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3168 # Unset variables that we do not need and which cause bugs (e.g. in
3169 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3170 # suppresses any "Segmentation fault" message there. '((' could
3171 # trigger a bug in pdksh 5.2.14.
3172 for as_var in BASH_ENV ENV MAIL MAILPATH
3173 do eval test x\${$as_var+set} = xset \
3174 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3187 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3190 # as_fn_error ERROR [LINENO LOG_FD]
3191 # ---------------------------------
3192 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3193 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3194 # script with status $?, using 1 if that was 0.
3197 as_status=$?; test $as_status -eq 0 && as_status=1
3199 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3200 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3202 $as_echo "$as_me: error: $1" >&2
3203 as_fn_exit $as_status
3207 # as_fn_set_status STATUS
3208 # -----------------------
3209 # Set $? to STATUS, without forking.
3213 } # as_fn_set_status
3217 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3227 # Portably unset VAR.
3230 { eval $1=; unset $1;}
3232 as_unset=as_fn_unset
3233 # as_fn_append VAR VALUE
3234 # ----------------------
3235 # Append the text in VALUE to the end of the definition contained in VAR. Take
3236 # advantage of any shell optimizations that allow amortized linear growth over
3237 # repeated appends, instead of the typical quadratic growth present in naive
3239 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3240 eval 'as_fn_append ()
3251 # as_fn_arith ARG...
3252 # ------------------
3253 # Perform arithmetic evaluation on the ARGs, and store the result in the
3254 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3255 # must be portable across $(()) and expr.
3256 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3257 eval 'as_fn_arith ()
3264 as_val=`expr "$@" || test $? -eq 1`
3269 if expr a : '\(a\)' >/dev/null 2>&1 &&
3270 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3276 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3277 as_basename=basename
3282 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3288 as_me=`$as_basename -- "$0" ||
3289 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3290 X"$0" : 'X\(//\)$' \| \
3291 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3293 sed '/^.*\/\([^/][^/]*\)\/*$/{
3307 # Avoid depending upon Character Ranges.
3308 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3309 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3310 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3311 as_cr_digits='0123456789'
3312 as_cr_alnum=$as_cr_Letters$as_cr_digits
3314 ECHO_C= ECHO_N= ECHO_T=
3315 case `echo -n x` in #(((((
3317 case `echo 'xy\c'` in
3318 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3320 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3327 rm -f conf$$ conf$$.exe conf$$.file
3328 if test -d conf$$.dir; then
3329 rm -f conf$$.dir/conf$$.file
3332 mkdir conf$$.dir 2>/dev/null
3334 if (echo >conf$$.file) 2>/dev/null; then
3335 if ln -s conf$$.file conf$$ 2>/dev/null; then
3337 # ... but there are two gotchas:
3338 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3339 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3340 # In both cases, we have to default to `cp -p'.
3341 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3343 elif ln conf$$.file conf$$ 2>/dev/null; then
3351 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3352 rmdir conf$$.dir 2>/dev/null
3357 # Create "$as_dir" as a directory, including parents if necessary.
3362 -*) as_dir=./$as_dir;;
3364 test -d "$as_dir" || eval $as_mkdir_p || {
3368 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3369 *) as_qdir=$as_dir;;
3371 as_dirs="'$as_qdir' $as_dirs"
3372 as_dir=`$as_dirname -- "$as_dir" ||
3373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3374 X"$as_dir" : 'X\(//\)[^/]' \| \
3375 X"$as_dir" : 'X\(//\)$' \| \
3376 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3377 $as_echo X"$as_dir" |
3378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3395 test -d "$as_dir" && break
3397 test -z "$as_dirs" || eval "mkdir $as_dirs"
3398 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3402 if mkdir -p . 2>/dev/null; then
3403 as_mkdir_p='mkdir -p "$as_dir"'
3405 test -d ./-p && rmdir ./-p
3409 if test -x / >/dev/null 2>&1; then
3412 if ls -dL / >/dev/null 2>&1; then
3419 if test -d "$1"; then
3425 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3426 ???[sx]*):;;*)false;;esac;fi
3430 as_executable_p=$as_test_x
3432 # Sed expression to map a string onto a valid CPP name.
3433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3435 # Sed expression to map a string onto a valid variable name.
3436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3440 ## ----------------------------------- ##
3441 ## Main body of $CONFIG_STATUS script. ##
3442 ## ----------------------------------- ##
3444 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3447 # Save the log message, to keep $0 and so on meaningful, and to
3448 # report actual input values of CONFIG_FILES etc. instead of their
3449 # values after options handling.
3451 This file was extended by gettext $as_me, which was
3452 generated by GNU Autoconf 2.65. Invocation command line was
3454 CONFIG_FILES = $CONFIG_FILES
3455 CONFIG_HEADERS = $CONFIG_HEADERS
3456 CONFIG_LINKS = $CONFIG_LINKS
3457 CONFIG_COMMANDS = $CONFIG_COMMANDS
3460 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3465 case $ac_config_files in *"
3466 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3472 # Files that config.status was made for.
3473 config_files="$ac_config_files"
3477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3479 \`$as_me' instantiates files and other configuration actions
3480 from templates according to the current configuration. Unless the files
3481 and actions are specified as TAGs, all are instantiated by default.
3483 Usage: $0 [OPTION]... [TAG]...
3485 -h, --help print this help, then exit
3486 -V, --version print version number and configuration settings, then exit
3487 --config print configuration, then exit
3488 -q, --quiet, --silent
3489 do not print progress messages
3490 -d, --debug don't remove temporary files
3491 --recheck update $as_me by reconfiguring in the same conditions
3492 --file=FILE[:TEMPLATE]
3493 instantiate the configuration file FILE
3495 Configuration files:
3498 Report bugs to the package provider."
3501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3502 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3504 gettext config.status
3505 configured by $0, generated by GNU Autoconf 2.65,
3506 with options \\"\$ac_cs_config\\"
3508 Copyright (C) 2009 Free Software Foundation, Inc.
3509 This config.status script is free software; the Free Software Foundation
3510 gives unlimited permission to copy, distribute and modify it."
3517 test -n "\$AWK" || AWK=awk
3520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3521 # The default lists apply if the user does not specify any file.
3527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3528 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3539 # Handling of the options.
3540 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3542 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3543 $as_echo "$ac_cs_version"; exit ;;
3544 --config | --confi | --conf | --con | --co | --c )
3545 $as_echo "$ac_cs_config"; exit ;;
3546 --debug | --debu | --deb | --de | --d | -d )
3548 --file | --fil | --fi | --f )
3551 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3553 as_fn_append CONFIG_FILES " '$ac_optarg'"
3554 ac_need_defaults=false;;
3555 --he | --h | --help | --hel | -h )
3556 $as_echo "$ac_cs_usage"; exit ;;
3557 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3558 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3562 -*) as_fn_error "unrecognized option: \`$1'
3563 Try \`$0 --help' for more information." ;;
3565 *) as_fn_append ac_config_targets " $1"
3566 ac_need_defaults=false ;;
3572 ac_configure_extra_args=
3574 if $ac_cs_silent; then
3576 ac_configure_extra_args="$ac_configure_extra_args --silent"
3580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3581 if \$ac_cs_recheck; then
3582 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3584 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3585 CONFIG_SHELL='$SHELL'
3591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3595 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3596 ## Running $as_me. ##
3602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3607 # Handling of arguments.
3608 for ac_config_target in $ac_config_targets
3610 case $ac_config_target in
3611 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3612 "gnulib-local/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib-local/Makefile" ;;
3614 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3619 # If the user did not use the arguments to specify the items to instantiate,
3620 # then the envvar interface is used. Set only those that are not.
3621 # We use the long form for the default assignment because of an extremely
3622 # bizarre bug on SunOS 4.1.3.
3623 if $ac_need_defaults; then
3624 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3627 # Have a temporary directory for convenience. Make it in the build tree
3628 # simply because there is no reason against having it here, and in addition,
3629 # creating and moving files from /tmp can sometimes cause problems.
3630 # Hook for its removal unless debugging.
3631 # Note that there is a small window in which the directory will not be cleaned:
3632 # after its creation but before its name has been assigned to `$tmp'.
3636 trap 'exit_status=$?
3637 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3639 trap 'as_fn_exit 1' 1 2 13 15
3641 # Create a (secure) tmp directory for tmp files.
3644 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3645 test -n "$tmp" && test -d "$tmp"
3648 tmp=./conf$$-$RANDOM
3649 (umask 077 && mkdir "$tmp")
3650 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3652 # Set up the scripts for CONFIG_FILES section.
3653 # No need to generate them if there are no CONFIG_FILES.
3654 # This happens for instance with `./config.status config.h'.
3655 if test -n "$CONFIG_FILES"; then
3658 ac_cr=`echo X | tr X '\015'`
3659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3660 # But we know of no other shell where ac_cr would be empty at this
3661 # point, so we can use a bashism as a fallback.
3662 if test "x$ac_cr" = x; then
3663 eval ac_cr=\$\'\\r\'
3665 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3672 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3677 echo "cat >conf$$subs.awk <<_ACEOF" &&
3678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3681 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3682 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3684 for ac_last_try in false false false false false :; do
3685 . ./conf$$subs.sh ||
3686 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3688 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3689 if test $ac_delim_n = $ac_delim_num; then
3691 elif $ac_last_try; then
3692 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3700 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3704 s/^/S["/; s/!.*/"]=/
3714 s/\(.\{148\}\)..*/\1/
3716 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3721 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3728 s/\(.\{148\}\)..*/\1/
3730 s/["\\]/\\&/g; s/^/"/; s/$/"/
3734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3739 ' <conf$$subs.awk | sed '
3744 ' >>$CONFIG_STATUS || ac_write_fail=1
3745 rm -f conf$$subs.awk
3746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3748 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3749 for (key in S) S_is_set[key] = 1
3755 nfields = split(line, field, "@")
3757 len = length(field[1])
3758 for (i = 2; i < nfields; i++) {
3760 keylen = length(key)
3761 if (S_is_set[key]) {
3763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3764 len += length(value) + length(field[++i])
3775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3776 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3777 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3780 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3781 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3784 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3785 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3786 # trailing colons and then remove the whole line if VPATH becomes empty
3787 # (actually we leave an empty line to preserve line numbers).
3788 if test "x$srcdir" = x.; then
3789 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3793 s/^\([^=]*=[ ]*\):*/\1/
3799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3800 fi # test -n "$CONFIG_FILES"
3803 eval set X " :F $CONFIG_FILES "
3808 :[FHLC]) ac_mode=$ac_tag; continue;;
3810 case $ac_mode$ac_tag in
3812 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3813 :[FH]-) ac_tag=-:-;;
3814 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3831 -) ac_f="$tmp/stdin";;
3832 *) # Look for the file first in the build tree, then in the source tree
3833 # (if the path is not absolute). The absolute path cannot be DOS-style,
3834 # because $ac_f cannot contain `:'.
3838 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3840 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3842 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3843 as_fn_append ac_file_inputs " '$ac_f'"
3846 # Let's still pretend it is `configure' which instantiates (i.e., don't
3847 # use $as_me), people would be surprised to read:
3848 # /* config.h. Generated by config.status. */
3849 configure_input='Generated from '`
3850 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3852 if test x"$ac_file" != x-; then
3853 configure_input="$ac_file. $configure_input"
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3855 $as_echo "$as_me: creating $ac_file" >&6;}
3857 # Neutralize special characters interpreted by sed in replacement strings.
3858 case $configure_input in #(
3859 *\&* | *\|* | *\\* )
3860 ac_sed_conf_input=`$as_echo "$configure_input" |
3861 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3862 *) ac_sed_conf_input=$configure_input;;
3866 *:-:* | *:-) cat >"$tmp/stdin" \
3867 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3872 ac_dir=`$as_dirname -- "$ac_file" ||
3873 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3874 X"$ac_file" : 'X\(//\)[^/]' \| \
3875 X"$ac_file" : 'X\(//\)$' \| \
3876 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3877 $as_echo X"$ac_file" |
3878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3895 as_dir="$ac_dir"; as_fn_mkdir_p
3899 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3901 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3902 # A ".." for each directory in $ac_dir_suffix.
3903 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3904 case $ac_top_builddir_sub in
3905 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3906 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3909 ac_abs_top_builddir=$ac_pwd
3910 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3911 # for backward compatibility:
3912 ac_top_builddir=$ac_top_build_prefix
3915 .) # We are building in place.
3917 ac_top_srcdir=$ac_top_builddir_sub
3918 ac_abs_top_srcdir=$ac_pwd ;;
3919 [\\/]* | ?:[\\/]* ) # Absolute name.
3920 ac_srcdir=$srcdir$ac_dir_suffix;
3921 ac_top_srcdir=$srcdir
3922 ac_abs_top_srcdir=$srcdir ;;
3924 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3925 ac_top_srcdir=$ac_top_build_prefix$srcdir
3926 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3928 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3938 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3939 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3943 [\\/$]* | ?:[\\/]* ) ;;
3944 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3949 # If the template does not know about datarootdir, expand it.
3950 # FIXME: This hack should be removed a few years after 2.60.
3951 ac_datarootdir_hack=; ac_datarootdir_seen=
3962 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3963 *datarootdir*) ac_datarootdir_seen=yes;;
3964 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3966 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3969 ac_datarootdir_hack='
3970 s&@datadir@&$datadir&g
3971 s&@docdir@&$docdir&g
3972 s&@infodir@&$infodir&g
3973 s&@localedir@&$localedir&g
3974 s&@mandir@&$mandir&g
3975 s&\\\${datarootdir}&$datarootdir&g' ;;
3979 # Neutralize VPATH when `$srcdir' = `.'.
3980 # Shell code in configure.ac might set extrasub.
3981 # FIXME: do we really want to maintain this feature?
3982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3983 ac_sed_extra="$ac_vpsub
3986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3988 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3989 s|@configure_input@|$ac_sed_conf_input|;t t
3990 s&@top_builddir@&$ac_top_builddir_sub&;t t
3991 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3992 s&@srcdir@&$ac_srcdir&;t t
3993 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3994 s&@top_srcdir@&$ac_top_srcdir&;t t
3995 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3996 s&@builddir@&$ac_builddir&;t t
3997 s&@abs_builddir@&$ac_abs_builddir&;t t
3998 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3999 s&@INSTALL@&$ac_INSTALL&;t t
4000 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4001 $ac_datarootdir_hack
4003 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4004 || as_fn_error "could not create $ac_file" "$LINENO" 5
4006 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4007 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4008 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4010 which seems to be undefined. Please make sure it is defined." >&5
4011 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4012 which seems to be undefined. Please make sure it is defined." >&2;}
4016 -) cat "$tmp/out" && rm -f "$tmp/out";;
4017 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4019 || as_fn_error "could not create $ac_file" "$LINENO" 5
4031 ac_clean_files=$ac_clean_files_save
4033 test $ac_write_fail = 0 ||
4034 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4037 # configure is writing to config.log, and then calls config.status.
4038 # config.status does its own redirection, appending to config.log.
4039 # Unfortunately, on DOS this fails, as config.log is still kept open
4040 # by configure, so config.status won't be able to write to it; its
4041 # output is simply discarded. So we exec the FD to /dev/null,
4042 # effectively closing config.log, so it can be properly (re)opened and
4043 # appended to by config.status. When coming back to configure, we
4044 # need to make the FD available again.
4045 if test "$no_create" != yes; then
4047 ac_config_status_args=
4048 test "$silent" = yes &&
4049 ac_config_status_args="$ac_config_status_args --quiet"
4051 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4053 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4054 # would make configure fail if this is the last instruction.
4055 $ac_cs_success || as_fn_exit $?
4059 # CONFIG_SUBDIRS section.
4061 if test "$no_recursion" != yes; then
4063 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4064 # so they do not pile up.
4065 ac_sub_configure_args=
4067 eval "set x $ac_configure_args"
4071 if test -n "$ac_prev"; then
4076 -cache-file | --cache-file | --cache-fil | --cache-fi \
4077 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4078 ac_prev=cache_file ;;
4079 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4080 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4083 --config-cache | -C)
4085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4093 --disable-option-checking)
4097 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4099 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4103 # Always prepend --prefix to ensure using the same prefix
4104 # in subdir configurations.
4105 ac_arg="--prefix=$prefix"
4107 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4109 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4112 if test "$silent" = yes; then
4113 ac_sub_configure_args="--silent $ac_sub_configure_args"
4116 # Always prepend --disable-option-checking to silence warnings, since
4117 # different subdirs can have different --enable and --with options.
4118 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4121 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4123 # Do not complain, so a configure script can configure whichever
4124 # parts of a large source tree are present.
4125 test -d "$srcdir/$ac_dir" || continue
4127 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4128 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4129 $as_echo "$ac_msg" >&6
4130 as_dir="$ac_dir"; as_fn_mkdir_p
4134 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4136 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4137 # A ".." for each directory in $ac_dir_suffix.
4138 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4139 case $ac_top_builddir_sub in
4140 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4141 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4144 ac_abs_top_builddir=$ac_pwd
4145 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4146 # for backward compatibility:
4147 ac_top_builddir=$ac_top_build_prefix
4150 .) # We are building in place.
4152 ac_top_srcdir=$ac_top_builddir_sub
4153 ac_abs_top_srcdir=$ac_pwd ;;
4154 [\\/]* | ?:[\\/]* ) # Absolute name.
4155 ac_srcdir=$srcdir$ac_dir_suffix;
4156 ac_top_srcdir=$srcdir
4157 ac_abs_top_srcdir=$srcdir ;;
4159 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4160 ac_top_srcdir=$ac_top_build_prefix$srcdir
4161 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4163 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4168 # Check for guested configure; otherwise get Cygnus style configure.
4169 if test -f "$ac_srcdir/configure.gnu"; then
4170 ac_sub_configure=$ac_srcdir/configure.gnu
4171 elif test -f "$ac_srcdir/configure"; then
4172 ac_sub_configure=$ac_srcdir/configure
4173 elif test -f "$ac_srcdir/configure.in"; then
4174 # This should be Cygnus configure.
4175 ac_sub_configure=$ac_aux_dir/configure
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4178 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4182 # The recursion is here.
4183 if test -n "$ac_sub_configure"; then
4184 # Make the cache file name correct relative to the subdirectory.
4186 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4188 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4192 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4193 # The eval makes quoting arguments work.
4194 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4195 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4196 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4202 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4204 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}