2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Moonshot 0.0.1.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 # Use only awk features that work with 7th edition Unix awk (1978).
533 # My, what an old awk you have, Mr. Solaris!
535 while (length(v1) && length(v2)) {
536 # Set d1 to be the next thing to compare from v1, and likewise for d2.
537 # Normally this is a single character, but if v1 and v2 contain digits,
538 # compare them as integers and fractions as strverscmp does.
539 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
540 # Split v1 and v2 into their leading digit string components d1 and d2,
541 # and advance v1 and v2 past the leading digit strings.
542 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
543 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
544 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
545 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
548 # Compare two fractions.
549 while (d1 ~ /^0/ && d2 ~ /^0/) {
550 d1 = substr(d1, 2); len1--
551 d2 = substr(d2, 2); len2--
553 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
554 # The two components differ in length, and the common prefix
555 # contains only leading zeros. Consider the longer to be less.
559 # Otherwise, compare as strings.
564 # A fraction is less than an integer.
569 # An integer is greater than a fraction.
572 # Compare two integers.
578 # The normal case, without worrying about digits.
579 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
580 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
585 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
586 # which mishandles some comparisons of empty strings to integers.
587 if (length(v2)) exit 1
588 if (length(v1)) exit 2
592 test -n "$DJDIR" || exec 7<&0 </dev/null
596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597 # so uname gets run too.
598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
603 ac_default_prefix=/usr/local
605 ac_config_libobj_dir=.
612 # Identity of this package.
613 PACKAGE_NAME='Moonshot'
614 PACKAGE_TARNAME='moonshot'
615 PACKAGE_VERSION='0.0.1'
616 PACKAGE_STRING='Moonshot 0.0.1'
617 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
620 ac_unique_file="configure.ac"
622 ac_subst_vars='am__EXEEXT_FALSE
645 XGETTEXT_EXTRA_OPTIONS
653 GETTEXT_MACRO_VERSION
687 INSTALL_STRIP_PROGRAM
729 program_transform_name
742 enable_option_checking
744 enable_dependency_tracking
751 ac_precious_vars='build_alias
767 # Initialize some variables set by options.
769 ac_init_version=false
770 ac_unrecognized_opts=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name=s,x,x,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir='${exec_prefix}/bin'
796 sbindir='${exec_prefix}/sbin'
797 libexecdir='${exec_prefix}/libexec'
798 datarootdir='${prefix}/share'
799 datadir='${datarootdir}'
800 sysconfdir='${prefix}/etc'
801 sharedstatedir='${prefix}/com'
802 localstatedir='${prefix}/var'
803 includedir='${prefix}/include'
804 oldincludedir='/usr/include'
805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir='${datarootdir}/info'
811 libdir='${exec_prefix}/lib'
812 localedir='${datarootdir}/locale'
813 mandir='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\$ac_option
827 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843 -build | --build | --buil | --bui | --bu)
844 ac_prev=build_alias ;;
845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
846 build_alias=$ac_optarg ;;
848 -cache-file | --cache-file | --cache-fil | --cache-fi \
849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
850 ac_prev=cache_file ;;
851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
853 cache_file=$ac_optarg ;;
856 cache_file=config.cache ;;
858 -datadir | --datadir | --datadi | --datad)
860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
861 datadir=$ac_optarg ;;
863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
864 | --dataroo | --dataro | --datar)
865 ac_prev=datarootdir ;;
866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
868 datarootdir=$ac_optarg ;;
870 -disable-* | --disable-*)
871 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874 as_fn_error $? "invalid feature name: $ac_useropt"
875 ac_useropt_orig=$ac_useropt
876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep=', ';;
884 eval enable_$ac_useropt=no ;;
886 -docdir | --docdir | --docdi | --doc | --do)
888 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
891 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
893 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
896 -enable-* | --enable-*)
897 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900 as_fn_error $? "invalid feature name: $ac_useropt"
901 ac_useropt_orig=$ac_useropt
902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep=', ';;
910 eval enable_$ac_useropt=\$ac_optarg ;;
912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
914 | --exec | --exe | --ex)
915 ac_prev=exec_prefix ;;
916 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
917 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
918 | --exec=* | --exe=* | --ex=*)
919 exec_prefix=$ac_optarg ;;
921 -gas | --gas | --ga | --g)
922 # Obsolete; use --with-gas.
925 -help | --help | --hel | --he | -h)
927 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
928 ac_init_help=recursive ;;
929 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
930 ac_init_help=short ;;
932 -host | --host | --hos | --ho)
933 ac_prev=host_alias ;;
934 -host=* | --host=* | --hos=* | --ho=*)
935 host_alias=$ac_optarg ;;
937 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
939 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
941 htmldir=$ac_optarg ;;
943 -includedir | --includedir | --includedi | --included | --include \
944 | --includ | --inclu | --incl | --inc)
945 ac_prev=includedir ;;
946 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
947 | --includ=* | --inclu=* | --incl=* | --inc=*)
948 includedir=$ac_optarg ;;
950 -infodir | --infodir | --infodi | --infod | --info | --inf)
952 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
953 infodir=$ac_optarg ;;
955 -libdir | --libdir | --libdi | --libd)
957 -libdir=* | --libdir=* | --libdi=* | --libd=*)
960 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
961 | --libexe | --libex | --libe)
962 ac_prev=libexecdir ;;
963 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
964 | --libexe=* | --libex=* | --libe=*)
965 libexecdir=$ac_optarg ;;
967 -localedir | --localedir | --localedi | --localed | --locale)
969 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
970 localedir=$ac_optarg ;;
972 -localstatedir | --localstatedir | --localstatedi | --localstated \
973 | --localstate | --localstat | --localsta | --localst | --locals)
974 ac_prev=localstatedir ;;
975 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
976 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
977 localstatedir=$ac_optarg ;;
979 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
981 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
985 # Obsolete; use --without-fp.
988 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
989 | --no-cr | --no-c | -n)
992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
997 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
998 | --oldin | --oldi | --old | --ol | --o)
999 ac_prev=oldincludedir ;;
1000 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1001 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1002 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1003 oldincludedir=$ac_optarg ;;
1005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1008 prefix=$ac_optarg ;;
1010 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1011 | --program-pre | --program-pr | --program-p)
1012 ac_prev=program_prefix ;;
1013 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1014 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1015 program_prefix=$ac_optarg ;;
1017 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1018 | --program-suf | --program-su | --program-s)
1019 ac_prev=program_suffix ;;
1020 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1021 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1022 program_suffix=$ac_optarg ;;
1024 -program-transform-name | --program-transform-name \
1025 | --program-transform-nam | --program-transform-na \
1026 | --program-transform-n | --program-transform- \
1027 | --program-transform | --program-transfor \
1028 | --program-transfo | --program-transf \
1029 | --program-trans | --program-tran \
1030 | --progr-tra | --program-tr | --program-t)
1031 ac_prev=program_transform_name ;;
1032 -program-transform-name=* | --program-transform-name=* \
1033 | --program-transform-nam=* | --program-transform-na=* \
1034 | --program-transform-n=* | --program-transform-=* \
1035 | --program-transform=* | --program-transfor=* \
1036 | --program-transfo=* | --program-transf=* \
1037 | --program-trans=* | --program-tran=* \
1038 | --progr-tra=* | --program-tr=* | --program-t=*)
1039 program_transform_name=$ac_optarg ;;
1041 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1043 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1044 pdfdir=$ac_optarg ;;
1046 -psdir | --psdir | --psdi | --psd | --ps)
1048 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1057 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1059 sbindir=$ac_optarg ;;
1061 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1062 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1063 | --sharedst | --shareds | --shared | --share | --shar \
1065 ac_prev=sharedstatedir ;;
1066 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1067 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1068 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1070 sharedstatedir=$ac_optarg ;;
1072 -site | --site | --sit)
1074 -site=* | --site=* | --sit=*)
1077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1080 srcdir=$ac_optarg ;;
1082 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1083 | --syscon | --sysco | --sysc | --sys | --sy)
1084 ac_prev=sysconfdir ;;
1085 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1086 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1087 sysconfdir=$ac_optarg ;;
1089 -target | --target | --targe | --targ | --tar | --ta | --t)
1090 ac_prev=target_alias ;;
1091 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1092 target_alias=$ac_optarg ;;
1094 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1097 -version | --version | --versio | --versi | --vers | -V)
1098 ac_init_version=: ;;
1101 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid package name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1114 eval with_$ac_useropt=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid package name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval with_$ac_useropt=no ;;
1133 # Obsolete; use --with-x.
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information"
1155 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' | [0-9]* | *[!_$as_cr_alnum]* )
1159 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error $? "missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 # Check all directory arguments for consistency.
1189 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val=\$$ac_var
1195 # Remove trailing slashes.
1198 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\$ac_val;;
1201 # Be sure to have absolute directory names.
1203 [\\/$]* | ?:[\\/]* ) continue;;
1204 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1206 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x; then
1218 if test "x$build_alias" = x; then
1219 cross_compiling=maybe
1220 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used" >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1230 test "$silent" = yes && exec 6>/dev/null
1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di=`ls -di .` &&
1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error $? "working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error $? "pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1273 ac_srcdir_defaulted=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1291 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 for ac_var in $ac_precious_vars; do
1294 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_${ac_var}_value=\$${ac_var}
1296 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1307 \`configure' configures Moonshot 0.0.1 to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking ...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1370 --build=BUILD configure for building on BUILD [guessed]
1371 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive ) echo "Configuration of Moonshot 0.0.1:";;
1382 --disable-option-checking ignore unrecognized --enable/--with options
1383 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1384 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1385 --enable-silent-rules less verbose build output (undo: `make V=1')
1386 --disable-silent-rules verbose build output (undo: `make V=0')
1387 --disable-dependency-tracking speeds up one-time build
1388 --enable-dependency-tracking do not reject slow dependency extractors
1389 --disable-nls do not use Native Language Support
1390 --disable-rpath do not hardcode runtime library paths
1393 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1394 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1395 --with-gnu-ld assume the C compiler uses GNU ld default=no
1396 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1397 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1398 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1399 --without-libintl-prefix don't search for libintl in includedir and libdir
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 PKG_CONFIG path to pkg-config utility
1411 directories to add to pkg-config's search path
1413 path overriding pkg-config's built-in search path
1415 C compiler flags for moonshot, overriding pkg-config
1417 linker flags for moonshot, overriding pkg-config
1420 Use these variables to override the choices made by `configure' or to help
1421 it to find libraries and programs with nonstandard names/locations.
1423 Report bugs to <BUG-REPORT-ADDRESS>.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1453 .) # We are building in place.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1486 Moonshot configure 0.0.1
1487 generated by GNU Autoconf 2.67
1489 Copyright (C) 2010 Free Software Foundation, Inc.
1490 This configure script is free software; the Free Software Foundation
1491 gives unlimited permission to copy, distribute and modify it.
1496 ## ------------------------ ##
1497 ## Autoconf initialization. ##
1498 ## ------------------------ ##
1500 # ac_fn_c_try_compile LINENO
1501 # --------------------------
1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1503 ac_fn_c_try_compile ()
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 rm -f conftest.$ac_objext
1507 if { { ac_try="$ac_compile"
1509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510 *) ac_try_echo=$ac_try;;
1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_compile") 2>conftest.err
1516 if test -s conftest.err; then
1517 grep -v '^ *+' conftest.err >conftest.er1
1518 cat conftest.er1 >&5
1519 mv -f conftest.er1 conftest.err
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && {
1523 test -z "$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1525 } && test -s conftest.$ac_objext; then :
1528 $as_echo "$as_me: failed program was:" >&5
1529 sed 's/^/| /' conftest.$ac_ext >&5
1533 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1534 as_fn_set_status $ac_retval
1536 } # ac_fn_c_try_compile
1538 # ac_fn_c_try_cpp LINENO
1539 # ----------------------
1540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 if { { ac_try="$ac_cpp conftest.$ac_ext"
1546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1547 *) ac_try_echo=$ac_try;;
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1553 if test -s conftest.err; then
1554 grep -v '^ *+' conftest.err >conftest.er1
1555 cat conftest.er1 >&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } > conftest.i && {
1560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571 as_fn_set_status $ac_retval
1575 # ac_fn_c_try_link LINENO
1576 # -----------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded.
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext conftest$ac_exeext
1582 if { { ac_try="$ac_link"
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_link") 2>conftest.err
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1593 cat conftest.er1 >&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && {
1598 test -z "$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest$ac_exeext && {
1601 test "$cross_compiling" = yes ||
1602 $as_test_x conftest$ac_exeext
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1612 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1613 # interfere with the next link command; also delete a directory that is
1614 # left behind by Apple's compiler. We do this before executing the actions.
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1616 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 as_fn_set_status $ac_retval
1619 } # ac_fn_c_try_link
1621 # ac_fn_c_try_run LINENO
1622 # ----------------------
1623 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1624 # that executables *can* be run.
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 if { { ac_try="$ac_link"
1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_link") 2>&5
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1639 { { case "(($ac_try" in
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_try") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; }; }; then :
1651 $as_echo "$as_me: program exited with status $ac_status" >&5
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1655 ac_retval=$ac_status
1657 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1658 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659 as_fn_set_status $ac_retval
1662 cat >config.log <<_ACEOF
1663 This file contains any messages produced by compilers while
1664 running configure, to aid debugging if configure makes a mistake.
1666 It was created by Moonshot $as_me 0.0.1, which was
1667 generated by GNU Autoconf 2.67. Invocation command line was
1679 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1680 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1681 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1682 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1683 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1685 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1686 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1688 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1689 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1690 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1691 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1692 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1693 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1694 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 $as_echo "PATH: $as_dir"
1719 # Keep a trace of the command line.
1720 # Strip out --no-create and --no-recursion so they do not pile up.
1721 # Strip out --silent because we don't want to record it for future runs.
1722 # Also quote any args containing shell meta-characters.
1723 # Make two passes to allow for proper duplicate-argument suppression.
1727 ac_must_keep_next=false
1733 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735 | -silent | --silent | --silen | --sile | --sil)
1738 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1741 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1743 as_fn_append ac_configure_args1 " '$ac_arg'"
1744 if test $ac_must_keep_next = true; then
1745 ac_must_keep_next=false # Got value, back to normal.
1748 *=* | --config-cache | -C | -disable-* | --disable-* \
1749 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1750 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1751 | -with-* | --with-* | -without-* | --without-* | --x)
1752 case "$ac_configure_args0 " in
1753 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1756 -* ) ac_must_keep_next=true ;;
1759 as_fn_append ac_configure_args " '$ac_arg'"
1764 { ac_configure_args0=; unset ac_configure_args0;}
1765 { ac_configure_args1=; unset ac_configure_args1;}
1767 # When interrupted or exit'd, cleanup temporary files, and complete
1768 # config.log. We remove comments because anyway the quotes in there
1769 # would cause problems or look ugly.
1770 # WARNING: Use '\'' to represent an apostrophe within the trap.
1771 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1772 trap 'exit_status=$?
1773 # Save into config.log some information that might help in debugging.
1777 $as_echo "## ---------------- ##
1778 ## Cache variables. ##
1779 ## ---------------- ##"
1781 # The following way of writing the cache mishandles newlines in values,
1783 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1784 eval ac_val=\$$ac_var
1788 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1789 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1792 _ | IFS | as_nl) ;; #(
1793 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1794 *) { eval $ac_var=; unset $ac_var;} ;;
1799 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1800 *${as_nl}ac_space=\ *)
1802 "s/'\''/'\''\\\\'\'''\''/g;
1803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1813 $as_echo "## ----------------- ##
1814 ## Output variables. ##
1815 ## ----------------- ##"
1817 for ac_var in $ac_subst_vars
1819 eval ac_val=\$$ac_var
1821 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823 $as_echo "$ac_var='\''$ac_val'\''"
1827 if test -n "$ac_subst_files"; then
1828 $as_echo "## ------------------- ##
1829 ## File substitutions. ##
1830 ## ------------------- ##"
1832 for ac_var in $ac_subst_files
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 $as_echo "$ac_var='\''$ac_val'\''"
1843 if test -s confdefs.h; then
1844 $as_echo "## ----------- ##
1851 test "$ac_signal" != 0 &&
1852 $as_echo "$as_me: caught signal $ac_signal"
1853 $as_echo "$as_me: exit $exit_status"
1855 rm -f core *.core core.conftest.* &&
1856 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1859 for ac_signal in 1 2 13 15; do
1860 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1864 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1865 rm -f -r conftest* confdefs.h
1867 $as_echo "/* confdefs.h */" > confdefs.h
1869 # Predefined preprocessor variables.
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_NAME "$PACKAGE_NAME"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_STRING "$PACKAGE_STRING"
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1891 cat >>confdefs.h <<_ACEOF
1892 #define PACKAGE_URL "$PACKAGE_URL"
1896 # Let the site file select an alternate cache file if it wants to.
1897 # Prefer an explicitly selected file to automatically selected ones.
1900 if test -n "$CONFIG_SITE"; then
1901 # We do not want a PATH search for config.site.
1902 case $CONFIG_SITE in #((
1903 -*) ac_site_file1=./$CONFIG_SITE;;
1904 */*) ac_site_file1=$CONFIG_SITE;;
1905 *) ac_site_file1=./$CONFIG_SITE;;
1907 elif test "x$prefix" != xNONE; then
1908 ac_site_file1=$prefix/share/config.site
1909 ac_site_file2=$prefix/etc/config.site
1911 ac_site_file1=$ac_default_prefix/share/config.site
1912 ac_site_file2=$ac_default_prefix/etc/config.site
1914 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1916 test "x$ac_site_file" = xNONE && continue
1917 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1919 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1920 sed 's/^/| /' "$ac_site_file" >&5
1922 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1924 as_fn_error $? "failed to load site script $ac_site_file
1925 See \`config.log' for more details" "$LINENO" 5 ; }
1929 if test -r "$cache_file"; then
1930 # Some versions of bash will fail to source /dev/null (special files
1931 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1932 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1934 $as_echo "$as_me: loading cache $cache_file" >&6;}
1936 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1937 *) . "./$cache_file";;
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1942 $as_echo "$as_me: creating cache $cache_file" >&6;}
1946 gt_needs="$gt_needs "
1947 # Check that the precious variables saved in the cache have kept the same
1949 ac_cache_corrupted=false
1950 for ac_var in $ac_precious_vars; do
1951 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1952 eval ac_new_set=\$ac_env_${ac_var}_set
1953 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1954 eval ac_new_val=\$ac_env_${ac_var}_value
1955 case $ac_old_set,$ac_new_set in
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1958 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1959 ac_cache_corrupted=: ;;
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1962 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1963 ac_cache_corrupted=: ;;
1966 if test "x$ac_old_val" != "x$ac_new_val"; then
1967 # differences in whitespace do not lead to failure.
1968 ac_old_val_w=`echo x $ac_old_val`
1969 ac_new_val_w=`echo x $ac_new_val`
1970 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1972 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1973 ac_cache_corrupted=:
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1976 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1977 eval $ac_var=\$ac_old_val
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1980 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1982 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1985 # Pass precious variables to config.status.
1986 if test "$ac_new_set" = set; then
1988 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1989 *) ac_arg=$ac_var=$ac_new_val ;;
1991 case " $ac_configure_args " in
1992 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1993 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1997 if $ac_cache_corrupted; then
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2001 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2002 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2004 ## -------------------- ##
2005 ## Main body of script. ##
2006 ## -------------------- ##
2009 ac_cpp='$CPP $CPPFLAGS'
2010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2016 ac_config_headers="$ac_config_headers config.h"
2021 for ac_dir in build-aux "$srcdir"/build-aux; do
2022 if test -f "$ac_dir/install-sh"; then
2024 ac_install_sh="$ac_aux_dir/install-sh -c"
2026 elif test -f "$ac_dir/install.sh"; then
2028 ac_install_sh="$ac_aux_dir/install.sh -c"
2030 elif test -f "$ac_dir/shtool"; then
2032 ac_install_sh="$ac_aux_dir/shtool install -c"
2036 if test -z "$ac_aux_dir"; then
2037 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2040 # These three variables are undocumented and unsupported,
2041 # and are intended to be withdrawn in a future Autoconf release.
2042 # They can cause serious problems if a builder's source tree is in a directory
2043 # whose full name contains unusual characters.
2044 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2045 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2046 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2050 am__api_version='1.11'
2052 # Find a good install program. We prefer a C program (faster),
2053 # so one script is as good as another. But avoid the broken or
2054 # incompatible versions:
2055 # SysV /etc/install, /usr/sbin/install
2056 # SunOS /usr/etc/install
2057 # IRIX /sbin/install
2059 # AmigaOS /C/install, which installs bootblocks on floppy discs
2060 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2061 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2062 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2063 # OS/2's system install, which has a completely different semantic
2064 # ./install, which can be erroneously created by make from ./install.sh.
2065 # Reject install programs that cannot install multiple files.
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2067 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2068 if test -z "$INSTALL"; then
2069 if test "${ac_cv_path_install+set}" = set; then :
2070 $as_echo_n "(cached) " >&6
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir=.
2077 # Account for people who put trailing slashes in PATH elements.
2078 case $as_dir/ in #((
2079 ./ | .// | /[cC]/* | \
2080 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2081 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2084 # OSF1 and SCO ODT 3.0 have their own names for install.
2085 # Don't use installbsd from OSF since it installs stuff as root
2087 for ac_prog in ginstall scoinst install; do
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2090 if test $ac_prog = install &&
2091 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2092 # AIX install. It has an incompatible calling convention.
2094 elif test $ac_prog = install &&
2095 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2096 # program-specific install script used by HP pwplus--don't use.
2099 rm -rf conftest.one conftest.two conftest.dir
2100 echo one > conftest.one
2101 echo two > conftest.two
2103 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2104 test -s conftest.one && test -s conftest.two &&
2105 test -s conftest.dir/conftest.one &&
2106 test -s conftest.dir/conftest.two
2108 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2121 rm -rf conftest.one conftest.two conftest.dir
2124 if test "${ac_cv_path_install+set}" = set; then
2125 INSTALL=$ac_cv_path_install
2127 # As a last resort, use the slow shell script. Don't cache a
2128 # value for INSTALL within a source directory, because that will
2129 # break other packages using the cache if that directory is
2130 # removed, or if the value is a relative name.
2131 INSTALL=$ac_install_sh
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2135 $as_echo "$INSTALL" >&6; }
2137 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2138 # It thinks the first close brace ends the variable substitution.
2139 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2141 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2143 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2146 $as_echo_n "checking whether build environment is sane... " >&6; }
2149 echo timestamp > conftest.file
2150 # Reject unsafe characters in $srcdir or the absolute working directory
2151 # name. Accept space and tab only in the latter.
2155 *[\\\"\#\$\&\'\`$am_lf]*)
2156 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2159 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2160 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2163 # Do `set' in a subshell so we don't clobber the current shell's
2164 # arguments. Must try -L first in case configure is actually a
2165 # symlink; some systems play weird games with the mod time of symlinks
2166 # (eg FreeBSD returns the mod time of the symlink's containing
2169 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2170 if test "$*" = "X"; then
2172 set X `ls -t "$srcdir/configure" conftest.file`
2175 if test "$*" != "X $srcdir/configure conftest.file" \
2176 && test "$*" != "X conftest.file $srcdir/configure"; then
2178 # If neither matched, then we have a broken ls. This can happen
2179 # if, for instance, CONFIG_SHELL is bash and it inherits a
2180 # broken ls alias from the environment. This has actually
2181 # happened. Such a system could not be considered "sane".
2182 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2183 alias in your environment" "$LINENO" 5
2186 test "$2" = conftest.file
2192 as_fn_error $? "newly created file is older than distributed files!
2193 Check your system clock" "$LINENO" 5
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2196 $as_echo "yes" >&6; }
2197 test "$program_prefix" != NONE &&
2198 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2199 # Use a double $ so make ignores it.
2200 test "$program_suffix" != NONE &&
2201 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2202 # Double any \ or $.
2203 # By default was `s,x,x', remove it if useless.
2204 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2205 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2207 # expand $ac_aux_dir to an absolute path
2208 am_aux_dir=`cd $ac_aux_dir && pwd`
2210 if test x"${MISSING+set}" != xset; then
2213 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2215 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2218 # Use eval to expand $SHELL
2219 if eval "$MISSING --run true"; then
2220 am_missing_run="$MISSING --run "
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2224 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2227 if test x"${install_sh}" != xset; then
2230 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2232 install_sh="\${SHELL} $am_aux_dir/install-sh"
2236 # Installed binaries are usually stripped using `strip' when the user
2237 # run `make install-strip'. However `strip' might not be the right
2238 # tool to use in cross-compilation environments, therefore Automake
2239 # will honor the `STRIP' environment variable to overrule this program.
2240 if test "$cross_compiling" != no; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}strip; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if test "${ac_cv_prog_STRIP+set}" = set; then :
2247 $as_echo_n "(cached) " >&6
2249 if test -n "$STRIP"; then
2250 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 STRIP=$ac_cv_prog_STRIP
2270 if test -n "$STRIP"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2272 $as_echo "$STRIP" >&6; }
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2280 if test -z "$ac_cv_prog_STRIP"; then
2282 # Extract the first word of "strip", so it can be a program name with args.
2283 set dummy strip; ac_word=$2
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2285 $as_echo_n "checking for $ac_word... " >&6; }
2286 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2287 $as_echo_n "(cached) " >&6
2289 if test -n "$ac_ct_STRIP"; then
2290 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_ac_ct_STRIP="strip"
2300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2310 if test -n "$ac_ct_STRIP"; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2312 $as_echo "$ac_ct_STRIP" >&6; }
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2315 $as_echo "no" >&6; }
2318 if test "x$ac_ct_STRIP" = x; then
2321 case $cross_compiling:$ac_tool_warned in
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2325 ac_tool_warned=yes ;;
2330 STRIP="$ac_cv_prog_STRIP"
2334 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2337 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2338 if test -z "$MKDIR_P"; then
2339 if test "${ac_cv_path_mkdir+set}" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2346 test -z "$as_dir" && as_dir=.
2347 for ac_prog in mkdir gmkdir; do
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2350 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2351 'mkdir (GNU coreutils) '* | \
2352 'mkdir (coreutils) '* | \
2353 'mkdir (fileutils) '4.1*)
2354 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2364 test -d ./--version && rmdir ./--version
2365 if test "${ac_cv_path_mkdir+set}" = set; then
2366 MKDIR_P="$ac_cv_path_mkdir -p"
2368 # As a last resort, use the slow shell script. Don't cache a
2369 # value for MKDIR_P within a source directory, because that will
2370 # break other packages using the cache if that directory is
2371 # removed, or if the value is a relative name.
2372 MKDIR_P="$ac_install_sh -d"
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2376 $as_echo "$MKDIR_P" >&6; }
2380 [\\/$]* | ?:[\\/]*) ;;
2381 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2384 for ac_prog in gawk mawk nawk awk
2386 # Extract the first word of "$ac_prog", so it can be a program name with args.
2387 set dummy $ac_prog; ac_word=$2
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389 $as_echo_n "checking for $ac_word... " >&6; }
2390 if test "${ac_cv_prog_AWK+set}" = set; then :
2391 $as_echo_n "(cached) " >&6
2393 if test -n "$AWK"; then
2394 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_AWK="$ac_prog"
2404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test -n "$AWK"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2416 $as_echo "$AWK" >&6; }
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419 $as_echo "no" >&6; }
2423 test -n "$AWK" && break
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2427 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2429 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2430 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2431 $as_echo_n "(cached) " >&6
2433 cat >conftest.make <<\_ACEOF
2436 @echo '@@@%%%=$(MAKE)=@@@%%%'
2438 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2439 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2441 eval ac_cv_prog_make_${ac_make}_set=yes;;
2443 eval ac_cv_prog_make_${ac_make}_set=no;;
2447 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2449 $as_echo "yes" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2454 SET_MAKE="MAKE=${MAKE-make}"
2457 rm -rf .tst 2>/dev/null
2458 mkdir .tst 2>/dev/null
2459 if test -d .tst; then
2464 rmdir .tst 2>/dev/null
2466 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2467 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2468 # is not polluted with repeated "-I."
2469 am__isrc=' -I$(srcdir)'
2470 # test to see if srcdir already configured
2471 if test -f $srcdir/config.status; then
2472 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2476 # test whether we have cygpath
2477 if test -z "$CYGPATH_W"; then
2478 if (cygpath --version) >/dev/null 2>/dev/null; then
2479 CYGPATH_W='cygpath -w'
2486 # Define the identity of the package.
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE "$PACKAGE"
2496 cat >>confdefs.h <<_ACEOF
2497 #define VERSION "$VERSION"
2500 # Some tools Automake needs.
2502 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2505 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2508 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2511 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2514 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2516 # We need awk for the "check" target. The system "awk" is bad on
2518 # Always define AMTAR for backward compatibility.
2520 AMTAR=${AMTAR-"${am_missing_run}tar"}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2524 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2525 # Loop over all known methods to create a tar archive until one works.
2526 _am_tools='gnutar pax cpio none'
2527 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2528 # Do not fold the above two line into one, because Tru64 sh and
2529 # Solaris sh will not grok spaces in the rhs of `-'.
2530 for _am_tool in $_am_tools
2534 for _am_tar in tar gnutar gtar;
2536 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2537 ($_am_tar --version) >&5 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } && break
2542 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2543 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2544 am__untar="$_am_tar -xf -"
2547 # Must skip GNU tar: if it does not support --format= it doesn't create
2548 # ustar tarball either.
2549 (tar --version) >/dev/null 2>&1 && continue
2550 am__tar='tar chf - "$$tardir"'
2551 am__tar_='tar chf - "$tardir"'
2552 am__untar='tar xf -'
2555 am__tar='pax -L -x pax -w "$$tardir"'
2556 am__tar_='pax -L -x pax -w "$tardir"'
2560 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2561 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2562 am__untar='cpio -i -H pax -d'
2571 # If the value was cached, stop now. We just wanted to have am__tar
2572 # and am__untar set.
2573 test -n "${am_cv_prog_tar_pax}" && break
2575 # tar/untar a dummy directory, and stop if the command works
2578 echo GrepMe > conftest.dir/file
2579 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2580 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }
2585 if test -s conftest.tar; then
2586 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2587 ($am__untar <conftest.tar) >&5 2>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }
2591 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2596 if test "${am_cv_prog_tar_pax+set}" = set; then :
2597 $as_echo_n "(cached) " >&6
2599 am_cv_prog_tar_pax=$_am_tool
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2603 $as_echo "$am_cv_prog_tar_pax" >&6; }
2609 # Check whether --enable-silent-rules was given.
2610 if test "${enable_silent_rules+set}" = set; then :
2611 enableval=$enable_silent_rules;
2614 case $enable_silent_rules in
2615 yes) AM_DEFAULT_VERBOSITY=0;;
2616 no) AM_DEFAULT_VERBOSITY=1;;
2617 *) AM_DEFAULT_VERBOSITY=0;;
2622 # Checks for programs.
2624 ac_cpp='$CPP $CPPFLAGS'
2625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2630 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if test "${ac_cv_prog_CC+set}" = set; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC="$CC" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2659 $as_echo "$CC" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2667 if test -z "$ac_cv_prog_CC"; then
2669 # Extract the first word of "gcc", so it can be a program name with args.
2670 set dummy gcc; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686 ac_cv_prog_ac_ct_CC="gcc"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2697 if test -n "$ac_ct_CC"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2699 $as_echo "$ac_ct_CC" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2705 if test "x$ac_ct_CC" = x; then
2708 case $cross_compiling:$ac_tool_warned in
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2712 ac_tool_warned=yes ;;
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2723 set dummy ${ac_tool_prefix}cc; ac_word=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if test "${ac_cv_prog_CC+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$CC"; then
2730 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_CC="${ac_tool_prefix}cc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2761 if test -z "$CC"; then
2762 # Extract the first word of "cc", so it can be a program name with args.
2763 set dummy cc; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2781 ac_prog_rejected=yes
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test $ac_prog_rejected = yes; then
2793 # We found a bogon in the path, so make sure we never use it.
2794 set dummy $ac_cv_prog_CC
2796 if test $# != 0; then
2797 # We chose a different compiler from the bogus one.
2798 # However, it has the same basename, so the bogon will be chosen
2799 # first if we set CC to just the basename; use the full file name.
2801 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2817 if test -z "$CC"; then
2818 if test -n "$ac_tool_prefix"; then
2819 for ac_prog in cl.exe
2821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if test "${ac_cv_prog_CC+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2858 test -n "$CC" && break
2861 if test -z "$CC"; then
2863 for ac_prog in cl.exe
2865 # Extract the first word of "$ac_prog", so it can be a program name with args.
2866 set dummy $ac_prog; ac_word=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$ac_ct_CC"; then
2873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2882 ac_cv_prog_ac_ct_CC="$ac_prog"
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2893 if test -n "$ac_ct_CC"; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2895 $as_echo "$ac_ct_CC" >&6; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2902 test -n "$ac_ct_CC" && break
2905 if test "x$ac_ct_CC" = x; then
2908 case $cross_compiling:$ac_tool_warned in
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2912 ac_tool_warned=yes ;;
2921 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2923 as_fn_error $? "no acceptable C compiler found in \$PATH
2924 See \`config.log' for more details" "$LINENO" 5 ; }
2926 # Provide some information about the compiler.
2927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2930 for ac_option in --version -v -V -qversion; do
2931 { { ac_try="$ac_compiler $ac_option >&5"
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2940 if test -s conftest.err; then
2942 ... rest of stderr output deleted ...
2943 10q' conftest.err >conftest.er1
2944 cat conftest.er1 >&5
2946 rm -f conftest.er1 conftest.err
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; }
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2962 ac_clean_files_save=$ac_clean_files
2963 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2964 # Try to create an executable without -o first, disregard a.out.
2965 # It will help us diagnose broken compilers, and finding out an intuition
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2968 $as_echo_n "checking whether the C compiler works... " >&6; }
2969 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2971 # The possible output files:
2972 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2975 for ac_file in $ac_files
2978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2979 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2984 if { { ac_try="$ac_link_default"
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_link_default") 2>&5
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }; then :
2995 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2996 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2997 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2998 # so that the user can short-circuit this test for compilers unknown to
3000 for ac_file in $ac_files ''
3002 test -f "$ac_file" || continue
3004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3007 # We found the default executable, but exeext='' is most
3011 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3013 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3015 # We set ac_cv_exeext here because the later test for it is not
3016 # safe: cross compilers may not add the suffix if given an `-o'
3017 # argument, so we may need to know it at that point already.
3018 # Even if this section looks crufty: it has the advantage of
3025 test "$ac_cv_exeext" = no && ac_cv_exeext=
3030 if test -z "$ac_file"; then :
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3033 $as_echo "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.$ac_ext >&5
3036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3038 as_fn_error 77 "C compiler cannot create executables
3039 See \`config.log' for more details" "$LINENO" 5 ; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3042 $as_echo "yes" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3045 $as_echo_n "checking for C compiler default output file name... " >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3047 $as_echo "$ac_file" >&6; }
3048 ac_exeext=$ac_cv_exeext
3050 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3051 ac_clean_files=$ac_clean_files_save
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3053 $as_echo_n "checking for suffix of executables... " >&6; }
3054 if { { ac_try="$ac_link"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link") 2>&5
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; }; then :
3065 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3066 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3067 # work properly (i.e., refer to `conftest.exe'), while it won't with
3069 for ac_file in conftest.exe conftest conftest.*; do
3070 test -f "$ac_file" || continue
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3073 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3082 See \`config.log' for more details" "$LINENO" 5 ; }
3084 rm -f conftest conftest$ac_cv_exeext
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3086 $as_echo "$ac_cv_exeext" >&6; }
3088 rm -f conftest.$ac_ext
3089 EXEEXT=$ac_cv_exeext
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3097 FILE *f = fopen ("conftest.out", "w");
3098 return ferror (f) || fclose (f) != 0;
3104 ac_clean_files="$ac_clean_files conftest.out"
3105 # Check that the compiler produces executables we can run. If not, either
3106 # the compiler is broken, or we cross compile.
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3108 $as_echo_n "checking whether we are cross compiling... " >&6; }
3109 if test "$cross_compiling" != yes; then
3110 { { ac_try="$ac_link"
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_link") 2>&5
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }
3121 if { ac_try='./conftest$ac_cv_exeext'
3122 { { case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_try") 2>&5
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }; }; then
3134 if test "$cross_compiling" = maybe; then
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $? "cannot run C compiled programs.
3140 If you meant to cross compile, use \`--host'.
3141 See \`config.log' for more details" "$LINENO" 5 ; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3146 $as_echo "$cross_compiling" >&6; }
3148 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3149 ac_clean_files=$ac_clean_files_save
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3151 $as_echo_n "checking for suffix of object files... " >&6; }
3152 if test "${ac_cv_objext+set}" = set; then :
3153 $as_echo_n "(cached) " >&6
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3166 rm -f conftest.o conftest.obj
3167 if { { ac_try="$ac_compile"
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173 $as_echo "$ac_try_echo"; } >&5
3174 (eval "$ac_compile") 2>&5
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }; then :
3178 for ac_file in conftest.o conftest.obj conftest.*; do
3179 test -f "$ac_file" || continue;
3181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3187 $as_echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $? "cannot compute suffix of object files: cannot compile
3193 See \`config.log' for more details" "$LINENO" 5 ; }
3195 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3198 $as_echo "$ac_cv_objext" >&6; }
3199 OBJEXT=$ac_cv_objext
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3202 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3203 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3204 $as_echo_n "(cached) " >&6
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3220 if ac_fn_c_try_compile "$LINENO"; then :
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3230 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3231 if test $ac_compiler_gnu = yes; then
3236 ac_test_CFLAGS=${CFLAGS+set}
3237 ac_save_CFLAGS=$CFLAGS
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3239 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3240 if test "${ac_cv_prog_cc_g+set}" = set; then :
3241 $as_echo_n "(cached) " >&6
3243 ac_save_c_werror_flag=$ac_c_werror_flag
3244 ac_c_werror_flag=yes
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3258 if ac_fn_c_try_compile "$LINENO"; then :
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3276 ac_c_werror_flag=$ac_save_c_werror_flag
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 if ac_fn_c_try_compile "$LINENO"; then :
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_c_werror_flag=$ac_save_c_werror_flag
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3300 $as_echo "$ac_cv_prog_cc_g" >&6; }
3301 if test "$ac_test_CFLAGS" = set; then
3302 CFLAGS=$ac_save_CFLAGS
3303 elif test $ac_cv_prog_cc_g = yes; then
3304 if test "$GCC" = yes; then
3310 if test "$GCC" = yes; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3317 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3318 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3319 $as_echo_n "(cached) " >&6
3321 ac_cv_prog_cc_c89=no
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3327 #include <sys/types.h>
3328 #include <sys/stat.h>
3329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3330 struct buf { int x; };
3331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3332 static char *e (p, i)
3338 static char *f (char * (*g) (char **, int), char **p, ...)
3343 s = g (p, va_arg (v,int));
3348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3349 function prototypes and stuff, but not '\xHH' hex character constants.
3350 These don't provoke an error unfortunately, instead are silently treated
3351 as 'x'. The following induces an error, until -std is added to get
3352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3353 array size at least. It's necessary to write '\x00'==0 to get something
3354 that's true only with -std. */
3355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3358 inside strings and character constants. */
3360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3362 int test (int i, double x);
3363 struct s1 {int (*f) (int a);};
3364 struct s2 {int (*f) (double a);};
3365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3379 CC="$ac_save_CC $ac_arg"
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381 ac_cv_prog_cc_c89=$ac_arg
3383 rm -f core conftest.err conftest.$ac_objext
3384 test "x$ac_cv_prog_cc_c89" != "xno" && break
3386 rm -f conftest.$ac_ext
3391 case "x$ac_cv_prog_cc_c89" in
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3394 $as_echo "none needed" >&6; } ;;
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3397 $as_echo "unsupported" >&6; } ;;
3399 CC="$CC $ac_cv_prog_cc_c89"
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3401 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3403 if test "x$ac_cv_prog_cc_c89" != xno; then :
3408 ac_cpp='$CPP $CPPFLAGS'
3409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412 DEPDIR="${am__leading_dot}deps"
3414 ac_config_commands="$ac_config_commands depfiles"
3417 am_make=${MAKE-make}
3418 cat > confinc << 'END'
3420 @echo this is the am__doit target
3423 # If we don't find an include directive, just comment out the code.
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3425 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3429 # First try GNU make style include.
3430 echo "include confinc" > confmf
3431 # Ignore all kinds of additional output from `make'.
3432 case `$am_make -s -f confmf 2> /dev/null` in #(
3433 *the\ am__doit\ target*)
3439 # Now try BSD make style include.
3440 if test "$am__include" = "#"; then
3441 echo '.include "confinc"' > confmf
3442 case `$am_make -s -f confmf 2> /dev/null` in #(
3443 *the\ am__doit\ target*)
3444 am__include=.include
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3453 $as_echo "$_am_result" >&6; }
3454 rm -f confinc confmf
3456 # Check whether --enable-dependency-tracking was given.
3457 if test "${enable_dependency_tracking+set}" = set; then :
3458 enableval=$enable_dependency_tracking;
3461 if test "x$enable_dependency_tracking" != xno; then
3462 am_depcomp="$ac_aux_dir/depcomp"
3465 if test "x$enable_dependency_tracking" != xno; then
3475 depcc="$CC" am_compiler_list=
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3478 $as_echo_n "checking dependency style of $depcc... " >&6; }
3479 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3480 $as_echo_n "(cached) " >&6
3482 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3483 # We make a subdir and do the tests there. Otherwise we can end up
3484 # making bogus files that we don't know about and never remove. For
3485 # instance it was reported that on HP-UX the gcc test will end up
3486 # making a dummy file named `D' -- because `-MD' means `put the output
3489 # Copy depcomp to subdir because otherwise we won't find it if we're
3490 # using a relative directory.
3491 cp "$am_depcomp" conftest.dir
3493 # We will build objects and dependencies in a subdirectory because
3494 # it helps to detect inapplicable dependency modes. For instance
3495 # both Tru64's cc and ICC support -MD to output dependencies as a
3496 # side effect of compilation, but ICC will put the dependencies in
3497 # the current directory while Tru64 will put them in the object
3501 am_cv_CC_dependencies_compiler_type=none
3502 if test "$am_compiler_list" = ""; then
3503 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3506 case " $depcc " in #(
3507 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3510 for depmode in $am_compiler_list; do
3511 # Setup a source with many dependencies, because some compilers
3512 # like to wrap large dependency lists on column 80 (with \), and
3513 # we should not choose a depcomp mode which is confused by this.
3515 # We need to recreate these files for each test, as the compiler may
3516 # overwrite some of them when testing with obscure command lines.
3517 # This happens at least with the AIX C compiler.
3519 for i in 1 2 3 4 5 6; do
3520 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3521 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3522 # Solaris 8's {/usr,}/bin/sh.
3523 touch sub/conftst$i.h
3525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3527 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3528 # mode. It turns out that the SunPro C++ compiler does not properly
3529 # handle `-M -o', and we need to detect this. Also, some Intel
3530 # versions had trouble with output in subdirs
3531 am__obj=sub/conftest.${OBJEXT-o}
3532 am__minus_obj="-o $am__obj"
3535 # This depmode causes a compiler race in universal mode.
3536 test "$am__universal" = false || continue
3539 # after this tag, mechanisms are not by side-effect, so they'll
3540 # only be used when explicitly requested
3541 if test "x$enable_dependency_tracking" = xyes; then
3547 msvisualcpp | msvcmsys)
3548 # This compiler won't grok `-c -o', but also, the minuso test has
3549 # not run yet. These depmodes are late enough in the game, and
3550 # so weak that their functioning should not be impacted.
3551 am__obj=conftest.${OBJEXT-o}
3556 if depmode=$depmode \
3557 source=sub/conftest.c object=$am__obj \
3558 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3559 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3560 >/dev/null 2>conftest.err &&
3561 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3562 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3563 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3564 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3565 # icc doesn't choke on unknown options, it will just issue warnings
3566 # or remarks (even with -Werror). So we grep stderr for any message
3567 # that says an option was ignored or not supported.
3568 # When given -MP, icc 7.0 and 7.1 complain thusly:
3569 # icc: Command line warning: ignoring option '-M'; no argument required
3570 # The diagnosis changed in icc 8.0:
3571 # icc: Command line remark: option '-MP' not supported
3572 if (grep 'ignoring option' conftest.err ||
3573 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3574 am_cv_CC_dependencies_compiler_type=$depmode
3583 am_cv_CC_dependencies_compiler_type=none
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3589 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3592 test "x$enable_dependency_tracking" != xno \
3593 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3595 am__fastdepCC_FALSE='#'
3597 am__fastdepCC_TRUE='#'
3598 am__fastdepCC_FALSE=
3602 if test "x$CC" != xcc; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3604 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3607 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3609 set dummy $CC; ac_cc=`$as_echo "$2" |
3610 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3611 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3612 $as_echo_n "(cached) " >&6
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3625 # Make sure it works both with $CC and with simple cc.
3626 # We do the test twice because some compilers refuse to overwrite an
3627 # existing .o file with -o, though they will create one.
3628 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3630 if { { case "(($ac_try" in
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_try") 2>&5
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; } &&
3640 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_try") 2>&5
3648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3649 test $ac_status = 0; };
3651 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3652 if test "x$CC" != xcc; then
3653 # Test first that cc exists at all.
3654 if { ac_try='cc -c conftest.$ac_ext >&5'
3655 { { case "(($ac_try" in
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_try") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }; }; then
3665 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3667 if { { case "(($ac_try" in
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_try") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; } &&
3677 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_try") 2>&5
3685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686 test $ac_status = 0; };
3691 # cc exists but doesn't like -o.
3692 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3697 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3699 rm -f core conftest*
3702 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3704 $as_echo "yes" >&6; }
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3709 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3713 # FIXME: we rely on the cache variable name because
3714 # there is no other way.
3716 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3717 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3718 if test "$am_t" != yes; then
3719 # Losing compiler, so override with the script.
3720 # FIXME: It is wrong to rewrite CC.
3721 # But if we don't then we get into trouble of one sort or another.
3722 # A longer-term fix would be to have automake use am__CC in this case,
3723 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3724 CC="$am_aux_dir/compile $CC"
3728 # Extract the first word of "valac", so it can be a program name with args.
3729 set dummy valac; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_path_VALAC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3737 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 VALAC=$ac_cv_path_VALAC
3759 if test -n "$VALAC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
3761 $as_echo "$VALAC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3768 if test -z "$VALAC"; then :
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
3770 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
3772 if test -n "0.9"; then :
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
3774 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
3775 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
3777 as_arg_v2="$am__vala_version"
3778 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3782 $as_echo "yes" >&6; } ;; #(
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3785 $as_echo "yes" >&6; } ;; #(
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3789 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
3804 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3805 if test -n "$ac_tool_prefix"; then
3806 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3807 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3809 $as_echo_n "checking for $ac_word... " >&6; }
3810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3811 $as_echo_n "(cached) " >&6
3815 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 test -z "$as_dir" && as_dir=.
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3837 if test -n "$PKG_CONFIG"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3839 $as_echo "$PKG_CONFIG" >&6; }
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3847 if test -z "$ac_cv_path_PKG_CONFIG"; then
3848 ac_pt_PKG_CONFIG=$PKG_CONFIG
3849 # Extract the first word of "pkg-config", so it can be a program name with args.
3850 set dummy pkg-config; ac_word=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3854 $as_echo_n "(cached) " >&6
3856 case $ac_pt_PKG_CONFIG in
3858 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3868 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3880 if test -n "$ac_pt_PKG_CONFIG"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3882 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3888 if test "x$ac_pt_PKG_CONFIG" = x; then
3891 case $cross_compiling:$ac_tool_warned in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned=yes ;;
3897 PKG_CONFIG=$ac_pt_PKG_CONFIG
3900 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3904 if test -n "$PKG_CONFIG"; then
3905 _pkg_min_version=0.9.0
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3907 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3908 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910 $as_echo "yes" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
3920 $as_echo_n "checking for moonshot... " >&6; }
3922 if test -n "$moonshot_CFLAGS"; then
3923 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
3924 elif test -n "$PKG_CONFIG"; then
3925 if test -n "$PKG_CONFIG" && \
3926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
3932 ($PKG_CONFIG --exists --print-errors "
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then
3941 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
3953 if test -n "$moonshot_LIBS"; then
3954 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
3955 elif test -n "$PKG_CONFIG"; then
3956 if test -n "$PKG_CONFIG" && \
3957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
3963 ($PKG_CONFIG --exists --print-errors "
3970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971 test $ac_status = 0; }; then
3972 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
3987 if test $pkg_failed = yes; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3992 _pkg_short_errors_supported=yes
3994 _pkg_short_errors_supported=no
3996 if test $_pkg_short_errors_supported = yes; then
3997 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
4004 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors "
4011 # Put the nasty error message in config.log where it belongs
4012 echo "$moonshot_PKG_ERRORS" >&5
4014 as_fn_error $? "Package requirements (
4021 $moonshot_PKG_ERRORS
4023 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4024 installed software in a non-standard prefix.
4026 Alternatively, you may set the environment variables moonshot_CFLAGS
4027 and moonshot_LIBS to avoid the need to call pkg-config.
4028 See the pkg-config man page for more details." "$LINENO" 5
4029 elif test $pkg_failed = untried; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4034 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4035 is in your PATH or set the PKG_CONFIG environment variable to the full
4038 Alternatively, you may set the environment variables moonshot_CFLAGS
4039 and moonshot_LIBS to avoid the need to call pkg-config.
4040 See the pkg-config man page for more details.
4042 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4043 See \`config.log' for more details" "$LINENO" 5 ; }
4045 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
4046 moonshot_LIBS=$pkg_cv_moonshot_LIBS
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4048 $as_echo "yes" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4055 $as_echo_n "checking whether NLS is requested... " >&6; }
4056 # Check whether --enable-nls was given.
4057 if test "${enable_nls+set}" = set; then :
4058 enableval=$enable_nls; USE_NLS=$enableval
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4064 $as_echo "$USE_NLS" >&6; }
4069 GETTEXT_MACRO_VERSION=0.18
4074 # Prepare PATH_SEPARATOR.
4075 # The user is always right.
4076 if test "${PATH_SEPARATOR+set}" != set; then
4077 echo "#! /bin/sh" >conf$$.sh
4078 echo "exit 0" >>conf$$.sh
4080 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4088 # Find out how to test for executable files. Don't use a zero-byte file,
4089 # as systems may use methods other than mode bits to determine executability.
4090 cat >conf$$.file <<_ASEOF
4094 chmod +x conf$$.file
4095 if test -x conf$$.file >/dev/null 2>&1; then
4096 ac_executable_p="test -x"
4098 ac_executable_p="test -f"
4102 # Extract the first word of "msgfmt", so it can be a program name with args.
4103 set dummy msgfmt; ac_word=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4107 $as_echo_n "(cached) " >&6
4111 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4114 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4115 for ac_dir in $PATH; do
4117 test -z "$ac_dir" && ac_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4120 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4121 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4122 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4123 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4130 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4134 MSGFMT="$ac_cv_path_MSGFMT"
4135 if test "$MSGFMT" != ":"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4137 $as_echo "$MSGFMT" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4143 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4144 set dummy gmsgfmt; ac_word=$2
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146 $as_echo_n "checking for $ac_word... " >&6; }
4147 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4152 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir=.
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4174 GMSGFMT=$ac_cv_path_GMSGFMT
4175 if test -n "$GMSGFMT"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4177 $as_echo "$GMSGFMT" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4185 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4186 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4187 *) MSGFMT_015=$MSGFMT ;;
4190 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4191 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4192 *) GMSGFMT_015=$GMSGFMT ;;
4197 # Prepare PATH_SEPARATOR.
4198 # The user is always right.
4199 if test "${PATH_SEPARATOR+set}" != set; then
4200 echo "#! /bin/sh" >conf$$.sh
4201 echo "exit 0" >>conf$$.sh
4203 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4211 # Find out how to test for executable files. Don't use a zero-byte file,
4212 # as systems may use methods other than mode bits to determine executability.
4213 cat >conf$$.file <<_ASEOF
4217 chmod +x conf$$.file
4218 if test -x conf$$.file >/dev/null 2>&1; then
4219 ac_executable_p="test -x"
4221 ac_executable_p="test -f"
4225 # Extract the first word of "xgettext", so it can be a program name with args.
4226 set dummy xgettext; ac_word=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4234 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4237 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4238 for ac_dir in $PATH; do
4240 test -z "$ac_dir" && ac_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4243 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4244 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4245 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4246 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4253 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4257 XGETTEXT="$ac_cv_path_XGETTEXT"
4258 if test "$XGETTEXT" != ":"; then
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4260 $as_echo "$XGETTEXT" >&6; }
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4268 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4269 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4270 *) XGETTEXT_015=$XGETTEXT ;;
4275 # Prepare PATH_SEPARATOR.
4276 # The user is always right.
4277 if test "${PATH_SEPARATOR+set}" != set; then
4278 echo "#! /bin/sh" >conf$$.sh
4279 echo "exit 0" >>conf$$.sh
4281 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4289 # Find out how to test for executable files. Don't use a zero-byte file,
4290 # as systems may use methods other than mode bits to determine executability.
4291 cat >conf$$.file <<_ASEOF
4295 chmod +x conf$$.file
4296 if test -x conf$$.file >/dev/null 2>&1; then
4297 ac_executable_p="test -x"
4299 ac_executable_p="test -f"
4303 # Extract the first word of "msgmerge", so it can be a program name with args.
4304 set dummy msgmerge; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4312 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4315 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4316 for ac_dir in $PATH; do
4318 test -z "$ac_dir" && ac_dir=.
4319 for ac_exec_ext in '' $ac_executable_extensions; do
4320 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4321 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4322 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4323 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4330 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4334 MSGMERGE="$ac_cv_path_MSGMERGE"
4335 if test "$MSGMERGE" != ":"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4337 $as_echo "$MSGMERGE" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$localedir" || localedir='${datadir}/locale'
4347 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4350 ac_config_commands="$ac_config_commands po-directories"
4354 if test "X$prefix" = "XNONE"; then
4355 acl_final_prefix="$ac_default_prefix"
4357 acl_final_prefix="$prefix"
4359 if test "X$exec_prefix" = "XNONE"; then
4360 acl_final_exec_prefix='${prefix}'
4362 acl_final_exec_prefix="$exec_prefix"
4364 acl_save_prefix="$prefix"
4365 prefix="$acl_final_prefix"
4366 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4367 prefix="$acl_save_prefix"
4369 # Make sure we can run config.sub.
4370 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4371 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4374 $as_echo_n "checking build system type... " >&6; }
4375 if test "${ac_cv_build+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 ac_build_alias=$build_alias
4379 test "x$ac_build_alias" = x &&
4380 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4381 test "x$ac_build_alias" = x &&
4382 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4383 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4384 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4388 $as_echo "$ac_cv_build" >&6; }
4389 case $ac_cv_build in
4391 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4394 ac_save_IFS=$IFS; IFS='-'
4400 # Remember, the first character of IFS is used to create $*,
4401 # except with old shells:
4404 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4408 $as_echo_n "checking host system type... " >&6; }
4409 if test "${ac_cv_host+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4412 if test "x$host_alias" = x; then
4413 ac_cv_host=$ac_cv_build
4415 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4416 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4421 $as_echo "$ac_cv_host" >&6; }
4424 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4427 ac_save_IFS=$IFS; IFS='-'
4433 # Remember, the first character of IFS is used to create $*,
4434 # except with old shells:
4437 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4441 # Check whether --with-gnu-ld was given.
4442 if test "${with_gnu_ld+set}" = set; then :
4443 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4448 # Prepare PATH_SEPARATOR.
4449 # The user is always right.
4450 if test "${PATH_SEPARATOR+set}" != set; then
4451 echo "#! /bin/sh" >conf$$.sh
4452 echo "exit 0" >>conf$$.sh
4454 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4462 if test "$GCC" = yes; then
4463 # Check if gcc -print-prog-name=ld gives a path.
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4465 $as_echo_n "checking for ld used by GCC... " >&6; }
4468 # gcc leaves a trailing carriage return which upsets mingw
4469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4474 # Accept absolute paths.
4475 [\\/]* | [A-Za-z]:[\\/]*)
4476 re_direlt='/[^/][^/]*/\.\./'
4477 # Canonicalize the path of ld
4478 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4479 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4480 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4482 test -z "$LD" && LD="$ac_prog"
4485 # If it fails, then pretend we aren't using GCC.
4489 # If it is relative, then search for the first ld in PATH.
4493 elif test "$with_gnu_ld" = yes; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4495 $as_echo_n "checking for GNU ld... " >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4498 $as_echo_n "checking for non-GNU ld... " >&6; }
4500 if test "${acl_cv_path_LD+set}" = set; then :
4501 $as_echo_n "(cached) " >&6
4503 if test -z "$LD"; then
4504 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4505 for ac_dir in $PATH; do
4506 test -z "$ac_dir" && ac_dir=.
4507 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4508 acl_cv_path_LD="$ac_dir/$ac_prog"
4509 # Check to see if the program is GNU ld. I'd rather use --version,
4510 # but apparently some GNU ld's only accept -v.
4511 # Break only if it was the GNU/non-GNU ld that we prefer.
4512 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4513 *GNU* | *'with BFD'*)
4514 test "$with_gnu_ld" != no && break ;;
4516 test "$with_gnu_ld" != yes && break ;;
4522 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4526 LD="$acl_cv_path_LD"
4527 if test -n "$LD"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4529 $as_echo "$LD" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4534 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4536 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4537 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4538 $as_echo_n "(cached) " >&6
4540 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4541 case `$LD -v 2>&1 </dev/null` in
4542 *GNU* | *'with BFD'*)
4543 acl_cv_prog_gnu_ld=yes ;;
4545 acl_cv_prog_gnu_ld=no ;;
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4549 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4550 with_gnu_ld=$acl_cv_prog_gnu_ld
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4556 $as_echo_n "checking for shared library run path origin... " >&6; }
4557 if test "${acl_cv_rpath+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4561 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4562 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4569 $as_echo "$acl_cv_rpath" >&6; }
4571 acl_libext="$acl_cv_libext"
4572 acl_shlibext="$acl_cv_shlibext"
4573 acl_libname_spec="$acl_cv_libname_spec"
4574 acl_library_names_spec="$acl_cv_library_names_spec"
4575 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4576 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4577 acl_hardcode_direct="$acl_cv_hardcode_direct"
4578 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4579 # Check whether --enable-rpath was given.
4580 if test "${enable_rpath+set}" = set; then :
4581 enableval=$enable_rpath; :
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4594 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4595 # On Suns, sometimes $CPP names a directory.
4596 if test -n "$CPP" && test -d "$CPP"; then
4599 if test -z "$CPP"; then
4600 if test "${ac_cv_prog_CPP+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4603 # Double quotes because CPP needs to be expanded
4604 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4607 for ac_c_preproc_warn_flag in '' yes
4609 # Use a header file that comes with gcc, so configuring glibc
4610 # with a fresh cross-compiler works.
4611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4612 # <limits.h> exists even on freestanding compilers.
4613 # On the NeXT, cc -E runs the code through the compiler's parser,
4614 # not just through cpp. "Syntax error" is here to catch this case.
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4618 # include <limits.h>
4620 # include <assert.h>
4624 if ac_fn_c_try_cpp "$LINENO"; then :
4627 # Broken: fails on valid input.
4630 rm -f conftest.err conftest.i conftest.$ac_ext
4632 # OK, works on sane cases. Now check whether nonexistent headers
4633 # can be detected and how.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #include <ac_nonexistent.h>
4638 if ac_fn_c_try_cpp "$LINENO"; then :
4639 # Broken: success on invalid input.
4642 # Passes both tests.
4646 rm -f conftest.err conftest.i conftest.$ac_ext
4649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4650 rm -f conftest.i conftest.err conftest.$ac_ext
4651 if $ac_preproc_ok; then :
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4664 $as_echo "$CPP" >&6; }
4666 for ac_c_preproc_warn_flag in '' yes
4668 # Use a header file that comes with gcc, so configuring glibc
4669 # with a fresh cross-compiler works.
4670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4671 # <limits.h> exists even on freestanding compilers.
4672 # On the NeXT, cc -E runs the code through the compiler's parser,
4673 # not just through cpp. "Syntax error" is here to catch this case.
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4677 # include <limits.h>
4679 # include <assert.h>
4683 if ac_fn_c_try_cpp "$LINENO"; then :
4686 # Broken: fails on valid input.
4689 rm -f conftest.err conftest.i conftest.$ac_ext
4691 # OK, works on sane cases. Now check whether nonexistent headers
4692 # can be detected and how.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #include <ac_nonexistent.h>
4697 if ac_fn_c_try_cpp "$LINENO"; then :
4698 # Broken: success on invalid input.
4701 # Passes both tests.
4705 rm -f conftest.err conftest.i conftest.$ac_ext
4708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4709 rm -f conftest.i conftest.err conftest.$ac_ext
4710 if $ac_preproc_ok; then :
4713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4715 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4716 See \`config.log' for more details" "$LINENO" 5 ; }
4720 ac_cpp='$CPP $CPPFLAGS'
4721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4727 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4728 if test "${ac_cv_path_GREP+set}" = set; then :
4729 $as_echo_n "(cached) " >&6
4731 if test -z "$GREP"; then
4732 ac_path_GREP_found=false
4733 # Loop through the user's path and test for each of PROGNAME-LIST
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4738 test -z "$as_dir" && as_dir=.
4739 for ac_prog in grep ggrep; do
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4742 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4743 # Check for GNU ac_path_GREP and select it if it is found.
4744 # Check for GNU $ac_path_GREP
4745 case `"$ac_path_GREP" --version 2>&1` in
4747 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4750 $as_echo_n 0123456789 >"conftest.in"
4753 cat "conftest.in" "conftest.in" >"conftest.tmp"
4754 mv "conftest.tmp" "conftest.in"
4755 cp "conftest.in" "conftest.nl"
4756 $as_echo 'GREP' >> "conftest.nl"
4757 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4758 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4759 as_fn_arith $ac_count + 1 && ac_count=$as_val
4760 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4761 # Best one so far, save it but keep looking for a better one
4762 ac_cv_path_GREP="$ac_path_GREP"
4763 ac_path_GREP_max=$ac_count
4765 # 10*(2^10) chars as input seems more than enough
4766 test $ac_count -gt 10 && break
4768 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4771 $ac_path_GREP_found && break 3
4776 if test -z "$ac_cv_path_GREP"; then
4777 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4780 ac_cv_path_GREP=$GREP
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4785 $as_echo "$ac_cv_path_GREP" >&6; }
4786 GREP="$ac_cv_path_GREP"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4790 $as_echo_n "checking for egrep... " >&6; }
4791 if test "${ac_cv_path_EGREP+set}" = set; then :
4792 $as_echo_n "(cached) " >&6
4794 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4795 then ac_cv_path_EGREP="$GREP -E"
4797 if test -z "$EGREP"; then
4798 ac_path_EGREP_found=false
4799 # Loop through the user's path and test for each of PROGNAME-LIST
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4804 test -z "$as_dir" && as_dir=.
4805 for ac_prog in egrep; do
4806 for ac_exec_ext in '' $ac_executable_extensions; do
4807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4809 # Check for GNU ac_path_EGREP and select it if it is found.
4810 # Check for GNU $ac_path_EGREP
4811 case `"$ac_path_EGREP" --version 2>&1` in
4813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4816 $as_echo_n 0123456789 >"conftest.in"
4819 cat "conftest.in" "conftest.in" >"conftest.tmp"
4820 mv "conftest.tmp" "conftest.in"
4821 cp "conftest.in" "conftest.nl"
4822 $as_echo 'EGREP' >> "conftest.nl"
4823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4825 as_fn_arith $ac_count + 1 && ac_count=$as_val
4826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4827 # Best one so far, save it but keep looking for a better one
4828 ac_cv_path_EGREP="$ac_path_EGREP"
4829 ac_path_EGREP_max=$ac_count
4831 # 10*(2^10) chars as input seems more than enough
4832 test $ac_count -gt 10 && break
4834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4837 $ac_path_EGREP_found && break 3
4842 if test -z "$ac_cv_path_EGREP"; then
4843 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4846 ac_cv_path_EGREP=$EGREP
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4852 $as_echo "$ac_cv_path_EGREP" >&6; }
4853 EGREP="$ac_cv_path_EGREP"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4863 $as_echo_n "checking for 64-bit host... " >&6; }
4864 if test "${gl_cv_solaris_64bit+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4876 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4877 gl_cv_solaris_64bit=yes
4879 gl_cv_solaris_64bit=no
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4886 $as_echo "$gl_cv_solaris_64bit" >&6; }
4887 if test $gl_cv_solaris_64bit = yes; then
4888 acl_libdirstem=lib/64
4890 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4891 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4896 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4897 if test -n "$searchpath"; then
4898 acl_save_IFS="${IFS= }"; IFS=":"
4899 for searchdir in $searchpath; do
4900 if test -d "$searchdir"; then
4901 case "$searchdir" in
4902 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4904 # Better ignore directories of this form. They are misleading.
4906 *) searchdir=`cd "$searchdir" && pwd`
4907 case "$searchdir" in
4908 */lib64 ) acl_libdirstem=lib64 ;;
4917 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4932 acl_save_prefix="$prefix"
4933 prefix="$acl_final_prefix"
4934 acl_save_exec_prefix="$exec_prefix"
4935 exec_prefix="$acl_final_exec_prefix"
4937 eval additional_includedir=\"$includedir\"
4938 eval additional_libdir=\"$libdir\"
4940 exec_prefix="$acl_save_exec_prefix"
4941 prefix="$acl_save_prefix"
4944 # Check whether --with-libiconv-prefix was given.
4945 if test "${with_libiconv_prefix+set}" = set; then :
4946 withval=$with_libiconv_prefix;
4947 if test "X$withval" = "Xno"; then
4950 if test "X$withval" = "X"; then
4952 acl_save_prefix="$prefix"
4953 prefix="$acl_final_prefix"
4954 acl_save_exec_prefix="$exec_prefix"
4955 exec_prefix="$acl_final_exec_prefix"
4957 eval additional_includedir=\"$includedir\"
4958 eval additional_libdir=\"$libdir\"
4960 exec_prefix="$acl_save_exec_prefix"
4961 prefix="$acl_save_prefix"
4964 additional_includedir="$withval/include"
4965 additional_libdir="$withval/$acl_libdirstem"
4966 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4967 && ! test -d "$withval/$acl_libdirstem"; then
4968 additional_libdir="$withval/$acl_libdirstem2"
4982 names_already_handled=
4983 names_next_round='iconv '
4984 while test -n "$names_next_round"; do
4985 names_this_round="$names_next_round"
4987 for name in $names_this_round; do
4989 for n in $names_already_handled; do
4990 if test "$n" = "$name"; then
4995 if test -z "$already_handled"; then
4996 names_already_handled="$names_already_handled $name"
4997 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4998 eval value=\"\$HAVE_LIB$uppername\"
4999 if test -n "$value"; then
5000 if test "$value" = yes; then
5001 eval value=\"\$LIB$uppername\"
5002 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5003 eval value=\"\$LTLIB$uppername\"
5004 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5013 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5014 if test -n "$acl_shlibext"; then
5015 shrext=".$acl_shlibext" # typically: shrext=.so
5019 if test $use_additional = yes; then
5020 dir="$additional_libdir"
5021 if test -n "$acl_shlibext"; then
5022 if test -f "$dir/$libname$shrext"; then
5024 found_so="$dir/$libname$shrext"
5026 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5027 ver=`(cd "$dir" && \
5028 for f in "$libname$shrext".*; do echo "$f"; done \
5029 | sed -e "s,^$libname$shrext\\\\.,," \
5030 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5031 | sed 1q ) 2>/dev/null`
5032 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5034 found_so="$dir/$libname$shrext.$ver"
5037 eval library_names=\"$acl_library_names_spec\"
5038 for f in $library_names; do
5039 if test -f "$dir/$f"; then
5048 if test "X$found_dir" = "X"; then
5049 if test -f "$dir/$libname.$acl_libext"; then
5051 found_a="$dir/$libname.$acl_libext"
5054 if test "X$found_dir" != "X"; then
5055 if test -f "$dir/$libname.la"; then
5056 found_la="$dir/$libname.la"
5060 if test "X$found_dir" = "X"; then
5061 for x in $LDFLAGS $LTLIBICONV; do
5063 acl_save_prefix="$prefix"
5064 prefix="$acl_final_prefix"
5065 acl_save_exec_prefix="$exec_prefix"
5066 exec_prefix="$acl_final_exec_prefix"
5068 exec_prefix="$acl_save_exec_prefix"
5069 prefix="$acl_save_prefix"
5073 dir=`echo "X$x" | sed -e 's/^X-L//'`
5074 if test -n "$acl_shlibext"; then
5075 if test -f "$dir/$libname$shrext"; then
5077 found_so="$dir/$libname$shrext"
5079 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5080 ver=`(cd "$dir" && \
5081 for f in "$libname$shrext".*; do echo "$f"; done \
5082 | sed -e "s,^$libname$shrext\\\\.,," \
5083 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5084 | sed 1q ) 2>/dev/null`
5085 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5087 found_so="$dir/$libname$shrext.$ver"
5090 eval library_names=\"$acl_library_names_spec\"
5091 for f in $library_names; do
5092 if test -f "$dir/$f"; then
5101 if test "X$found_dir" = "X"; then
5102 if test -f "$dir/$libname.$acl_libext"; then
5104 found_a="$dir/$libname.$acl_libext"
5107 if test "X$found_dir" != "X"; then
5108 if test -f "$dir/$libname.la"; then
5109 found_la="$dir/$libname.la"
5114 if test "X$found_dir" != "X"; then
5119 if test "X$found_dir" != "X"; then
5120 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5121 if test "X$found_so" != "X"; then
5122 if test "$enable_rpath" = no \
5123 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5124 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5125 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5128 for x in $ltrpathdirs; do
5129 if test "X$x" = "X$found_dir"; then
5134 if test -z "$haveit"; then
5135 ltrpathdirs="$ltrpathdirs $found_dir"
5137 if test "$acl_hardcode_direct" = yes; then
5138 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5140 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5141 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5143 for x in $rpathdirs; do
5144 if test "X$x" = "X$found_dir"; then
5149 if test -z "$haveit"; then
5150 rpathdirs="$rpathdirs $found_dir"
5154 for x in $LDFLAGS $LIBICONV; do
5156 acl_save_prefix="$prefix"
5157 prefix="$acl_final_prefix"
5158 acl_save_exec_prefix="$exec_prefix"
5159 exec_prefix="$acl_final_exec_prefix"
5161 exec_prefix="$acl_save_exec_prefix"
5162 prefix="$acl_save_prefix"
5164 if test "X$x" = "X-L$found_dir"; then
5169 if test -z "$haveit"; then
5170 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5172 if test "$acl_hardcode_minus_L" != no; then
5173 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5175 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5181 if test "X$found_a" != "X"; then
5182 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5184 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5187 additional_includedir=
5188 case "$found_dir" in
5189 */$acl_libdirstem | */$acl_libdirstem/)
5190 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5191 if test "$name" = 'iconv'; then
5192 LIBICONV_PREFIX="$basedir"
5194 additional_includedir="$basedir/include"
5196 */$acl_libdirstem2 | */$acl_libdirstem2/)
5197 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5198 if test "$name" = 'iconv'; then
5199 LIBICONV_PREFIX="$basedir"
5201 additional_includedir="$basedir/include"
5204 if test "X$additional_includedir" != "X"; then
5205 if test "X$additional_includedir" != "X/usr/include"; then
5207 if test "X$additional_includedir" = "X/usr/local/include"; then
5208 if test -n "$GCC"; then
5210 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5214 if test -z "$haveit"; then
5215 for x in $CPPFLAGS $INCICONV; do
5217 acl_save_prefix="$prefix"
5218 prefix="$acl_final_prefix"
5219 acl_save_exec_prefix="$exec_prefix"
5220 exec_prefix="$acl_final_exec_prefix"
5222 exec_prefix="$acl_save_exec_prefix"
5223 prefix="$acl_save_prefix"
5225 if test "X$x" = "X-I$additional_includedir"; then
5230 if test -z "$haveit"; then
5231 if test -d "$additional_includedir"; then
5232 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5238 if test -n "$found_la"; then
5239 save_libdir="$libdir"
5241 */* | *\\*) . "$found_la" ;;
5242 *) . "./$found_la" ;;
5244 libdir="$save_libdir"
5245 for dep in $dependency_libs; do
5248 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5249 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5250 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5252 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5253 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5254 if test -n "$GCC"; then
5256 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5260 if test -z "$haveit"; then
5262 for x in $LDFLAGS $LIBICONV; do
5264 acl_save_prefix="$prefix"
5265 prefix="$acl_final_prefix"
5266 acl_save_exec_prefix="$exec_prefix"
5267 exec_prefix="$acl_final_exec_prefix"
5269 exec_prefix="$acl_save_exec_prefix"
5270 prefix="$acl_save_prefix"
5272 if test "X$x" = "X-L$additional_libdir"; then
5277 if test -z "$haveit"; then
5278 if test -d "$additional_libdir"; then
5279 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5283 for x in $LDFLAGS $LTLIBICONV; do
5285 acl_save_prefix="$prefix"
5286 prefix="$acl_final_prefix"
5287 acl_save_exec_prefix="$exec_prefix"
5288 exec_prefix="$acl_final_exec_prefix"
5290 exec_prefix="$acl_save_exec_prefix"
5291 prefix="$acl_save_prefix"
5293 if test "X$x" = "X-L$additional_libdir"; then
5298 if test -z "$haveit"; then
5299 if test -d "$additional_libdir"; then
5300 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5307 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5308 if test "$enable_rpath" != no; then
5310 for x in $rpathdirs; do
5311 if test "X$x" = "X$dir"; then
5316 if test -z "$haveit"; then
5317 rpathdirs="$rpathdirs $dir"
5320 for x in $ltrpathdirs; do
5321 if test "X$x" = "X$dir"; then
5326 if test -z "$haveit"; then
5327 ltrpathdirs="$ltrpathdirs $dir"
5332 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5335 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5338 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5345 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5346 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5352 if test "X$rpathdirs" != "X"; then
5353 if test -n "$acl_hardcode_libdir_separator"; then
5355 for found_dir in $rpathdirs; do
5356 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5358 acl_save_libdir="$libdir"
5360 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5361 libdir="$acl_save_libdir"
5362 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5364 for found_dir in $rpathdirs; do
5365 acl_save_libdir="$libdir"
5367 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5368 libdir="$acl_save_libdir"
5369 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5373 if test "X$ltrpathdirs" != "X"; then
5374 for found_dir in $ltrpathdirs; do
5375 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5410 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5411 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
5412 $as_echo_n "(cached) " >&6
5414 gt_save_LIBS="$LIBS"
5415 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5418 #include <CoreFoundation/CFPreferences.h>
5422 CFPreferencesCopyAppValue(NULL, NULL)
5427 if ac_fn_c_try_link "$LINENO"; then :
5428 gt_cv_func_CFPreferencesCopyAppValue=yes
5430 gt_cv_func_CFPreferencesCopyAppValue=no
5432 rm -f core conftest.err conftest.$ac_objext \
5433 conftest$ac_exeext conftest.$ac_ext
5434 LIBS="$gt_save_LIBS"
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5437 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5438 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5440 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5444 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5445 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5446 $as_echo_n "(cached) " >&6
5448 gt_save_LIBS="$LIBS"
5449 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5452 #include <CoreFoundation/CFLocale.h>
5456 CFLocaleCopyCurrent();
5461 if ac_fn_c_try_link "$LINENO"; then :
5462 gt_cv_func_CFLocaleCopyCurrent=yes
5464 gt_cv_func_CFLocaleCopyCurrent=no
5466 rm -f core conftest.err conftest.$ac_objext \
5467 conftest$ac_exeext conftest.$ac_ext
5468 LIBS="$gt_save_LIBS"
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5471 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5472 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5474 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5478 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5479 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5491 case " $gt_needs " in
5492 *" need-formatstring-macros "*) gt_api_version=3 ;;
5493 *" need-ngettext "*) gt_api_version=2 ;;
5494 *) gt_api_version=1 ;;
5496 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5497 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5499 if test "$USE_NLS" = "yes"; then
5500 gt_use_preinstalled_gnugettext=no
5503 if test $gt_api_version -ge 3; then
5504 gt_revision_test_code='
5505 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5506 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5508 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5511 gt_revision_test_code=
5513 if test $gt_api_version -ge 2; then
5514 gt_expression_test_code=' + * ngettext ("", "", 0)'
5516 gt_expression_test_code=
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5520 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5521 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5526 #include <libintl.h>
5527 $gt_revision_test_code
5528 extern int _nl_msg_cat_cntr;
5529 extern int *_nl_domain_bindings;
5533 bindtextdomain ("", "");
5534 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5539 if ac_fn_c_try_link "$LINENO"; then :
5540 eval "$gt_func_gnugettext_libc=yes"
5542 eval "$gt_func_gnugettext_libc=no"
5544 rm -f core conftest.err conftest.$ac_objext \
5545 conftest$ac_exeext conftest.$ac_ext
5547 eval ac_res=\$$gt_func_gnugettext_libc
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5549 $as_echo "$ac_res" >&6; }
5551 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5557 am_save_CPPFLAGS="$CPPFLAGS"
5559 for element in $INCICONV; do
5561 for x in $CPPFLAGS; do
5563 acl_save_prefix="$prefix"
5564 prefix="$acl_final_prefix"
5565 acl_save_exec_prefix="$exec_prefix"
5566 exec_prefix="$acl_final_exec_prefix"
5568 exec_prefix="$acl_save_exec_prefix"
5569 prefix="$acl_save_prefix"
5571 if test "X$x" = "X$element"; then
5576 if test -z "$haveit"; then
5577 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5583 $as_echo_n "checking for iconv... " >&6; }
5584 if test "${am_cv_func_iconv+set}" = set; then :
5585 $as_echo_n "(cached) " >&6
5588 am_cv_func_iconv="no, consider installing GNU libiconv"
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5597 iconv_t cd = iconv_open("","");
5598 iconv(cd,NULL,NULL,NULL,NULL);
5604 if ac_fn_c_try_link "$LINENO"; then :
5605 am_cv_func_iconv=yes
5607 rm -f core conftest.err conftest.$ac_objext \
5608 conftest$ac_exeext conftest.$ac_ext
5609 if test "$am_cv_func_iconv" != yes; then
5610 am_save_LIBS="$LIBS"
5611 LIBS="$LIBS $LIBICONV"
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5619 iconv_t cd = iconv_open("","");
5620 iconv(cd,NULL,NULL,NULL,NULL);
5626 if ac_fn_c_try_link "$LINENO"; then :
5628 am_cv_func_iconv=yes
5630 rm -f core conftest.err conftest.$ac_objext \
5631 conftest$ac_exeext conftest.$ac_ext
5632 LIBS="$am_save_LIBS"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5637 $as_echo "$am_cv_func_iconv" >&6; }
5638 if test "$am_cv_func_iconv" = yes; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5640 $as_echo_n "checking for working iconv... " >&6; }
5641 if test "${am_cv_func_iconv_works+set}" = set; then :
5642 $as_echo_n "(cached) " >&6
5645 am_save_LIBS="$LIBS"
5646 if test $am_cv_lib_iconv = yes; then
5647 LIBS="$LIBS $LIBICONV"
5649 if test "$cross_compiling" = yes; then :
5651 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5652 *) am_cv_func_iconv_works="guessing yes" ;;
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5662 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5665 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5666 if (cd_utf8_to_88591 != (iconv_t)(-1))
5668 static const char input[] = "\342\202\254"; /* EURO SIGN */
5670 const char *inptr = input;
5671 size_t inbytesleft = strlen (input);
5673 size_t outbytesleft = sizeof (buf);
5674 size_t res = iconv (cd_utf8_to_88591,
5675 (char **) &inptr, &inbytesleft,
5676 &outptr, &outbytesleft);
5681 /* Test against Solaris 10 bug: Failures are not distinguishable from
5682 successful returns. */
5684 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5685 if (cd_ascii_to_88591 != (iconv_t)(-1))
5687 static const char input[] = "\263";
5689 const char *inptr = input;
5690 size_t inbytesleft = strlen (input);
5692 size_t outbytesleft = sizeof (buf);
5693 size_t res = iconv (cd_ascii_to_88591,
5694 (char **) &inptr, &inbytesleft,
5695 &outptr, &outbytesleft);
5700 #if 0 /* This bug could be worked around by the caller. */
5701 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5703 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5704 if (cd_88591_to_utf8 != (iconv_t)(-1))
5706 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5708 const char *inptr = input;
5709 size_t inbytesleft = strlen (input);
5711 size_t outbytesleft = sizeof (buf);
5712 size_t res = iconv (cd_88591_to_utf8,
5713 (char **) &inptr, &inbytesleft,
5714 &outptr, &outbytesleft);
5720 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5722 if (/* Try standardized names. */
5723 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5724 /* Try IRIX, OSF/1 names. */
5725 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5726 /* Try AIX names. */
5727 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5728 /* Try HP-UX names. */
5729 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5734 if ac_fn_c_try_run "$LINENO"; then :
5735 am_cv_func_iconv_works=yes
5737 am_cv_func_iconv_works=no
5739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5740 conftest.$ac_objext conftest.beam conftest.$ac_ext
5743 LIBS="$am_save_LIBS"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5747 $as_echo "$am_cv_func_iconv_works" >&6; }
5748 case "$am_cv_func_iconv_works" in
5749 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5750 *) am_func_iconv=yes ;;
5753 am_func_iconv=no am_cv_lib_iconv=no
5755 if test "$am_func_iconv" = yes; then
5757 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5760 if test "$am_cv_lib_iconv" = yes; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5762 $as_echo_n "checking how to link with libiconv... " >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5764 $as_echo "$LIBICONV" >&6; }
5766 CPPFLAGS="$am_save_CPPFLAGS"
5783 acl_save_prefix="$prefix"
5784 prefix="$acl_final_prefix"
5785 acl_save_exec_prefix="$exec_prefix"
5786 exec_prefix="$acl_final_exec_prefix"
5788 eval additional_includedir=\"$includedir\"
5789 eval additional_libdir=\"$libdir\"
5791 exec_prefix="$acl_save_exec_prefix"
5792 prefix="$acl_save_prefix"
5795 # Check whether --with-libintl-prefix was given.
5796 if test "${with_libintl_prefix+set}" = set; then :
5797 withval=$with_libintl_prefix;
5798 if test "X$withval" = "Xno"; then
5801 if test "X$withval" = "X"; then
5803 acl_save_prefix="$prefix"
5804 prefix="$acl_final_prefix"
5805 acl_save_exec_prefix="$exec_prefix"
5806 exec_prefix="$acl_final_exec_prefix"
5808 eval additional_includedir=\"$includedir\"
5809 eval additional_libdir=\"$libdir\"
5811 exec_prefix="$acl_save_exec_prefix"
5812 prefix="$acl_save_prefix"
5815 additional_includedir="$withval/include"
5816 additional_libdir="$withval/$acl_libdirstem"
5817 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5818 && ! test -d "$withval/$acl_libdirstem"; then
5819 additional_libdir="$withval/$acl_libdirstem2"
5833 names_already_handled=
5834 names_next_round='intl '
5835 while test -n "$names_next_round"; do
5836 names_this_round="$names_next_round"
5838 for name in $names_this_round; do
5840 for n in $names_already_handled; do
5841 if test "$n" = "$name"; then
5846 if test -z "$already_handled"; then
5847 names_already_handled="$names_already_handled $name"
5848 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5849 eval value=\"\$HAVE_LIB$uppername\"
5850 if test -n "$value"; then
5851 if test "$value" = yes; then
5852 eval value=\"\$LIB$uppername\"
5853 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5854 eval value=\"\$LTLIB$uppername\"
5855 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5864 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5865 if test -n "$acl_shlibext"; then
5866 shrext=".$acl_shlibext" # typically: shrext=.so
5870 if test $use_additional = yes; then
5871 dir="$additional_libdir"
5872 if test -n "$acl_shlibext"; then
5873 if test -f "$dir/$libname$shrext"; then
5875 found_so="$dir/$libname$shrext"
5877 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5878 ver=`(cd "$dir" && \
5879 for f in "$libname$shrext".*; do echo "$f"; done \
5880 | sed -e "s,^$libname$shrext\\\\.,," \
5881 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5882 | sed 1q ) 2>/dev/null`
5883 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5885 found_so="$dir/$libname$shrext.$ver"
5888 eval library_names=\"$acl_library_names_spec\"
5889 for f in $library_names; do
5890 if test -f "$dir/$f"; then
5899 if test "X$found_dir" = "X"; then
5900 if test -f "$dir/$libname.$acl_libext"; then
5902 found_a="$dir/$libname.$acl_libext"
5905 if test "X$found_dir" != "X"; then
5906 if test -f "$dir/$libname.la"; then
5907 found_la="$dir/$libname.la"
5911 if test "X$found_dir" = "X"; then
5912 for x in $LDFLAGS $LTLIBINTL; do
5914 acl_save_prefix="$prefix"
5915 prefix="$acl_final_prefix"
5916 acl_save_exec_prefix="$exec_prefix"
5917 exec_prefix="$acl_final_exec_prefix"
5919 exec_prefix="$acl_save_exec_prefix"
5920 prefix="$acl_save_prefix"
5924 dir=`echo "X$x" | sed -e 's/^X-L//'`
5925 if test -n "$acl_shlibext"; then
5926 if test -f "$dir/$libname$shrext"; then
5928 found_so="$dir/$libname$shrext"
5930 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5931 ver=`(cd "$dir" && \
5932 for f in "$libname$shrext".*; do echo "$f"; done \
5933 | sed -e "s,^$libname$shrext\\\\.,," \
5934 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5935 | sed 1q ) 2>/dev/null`
5936 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5938 found_so="$dir/$libname$shrext.$ver"
5941 eval library_names=\"$acl_library_names_spec\"
5942 for f in $library_names; do
5943 if test -f "$dir/$f"; then
5952 if test "X$found_dir" = "X"; then
5953 if test -f "$dir/$libname.$acl_libext"; then
5955 found_a="$dir/$libname.$acl_libext"
5958 if test "X$found_dir" != "X"; then
5959 if test -f "$dir/$libname.la"; then
5960 found_la="$dir/$libname.la"
5965 if test "X$found_dir" != "X"; then
5970 if test "X$found_dir" != "X"; then
5971 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5972 if test "X$found_so" != "X"; then
5973 if test "$enable_rpath" = no \
5974 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5975 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5976 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5979 for x in $ltrpathdirs; do
5980 if test "X$x" = "X$found_dir"; then
5985 if test -z "$haveit"; then
5986 ltrpathdirs="$ltrpathdirs $found_dir"
5988 if test "$acl_hardcode_direct" = yes; then
5989 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5991 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5992 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5994 for x in $rpathdirs; do
5995 if test "X$x" = "X$found_dir"; then
6000 if test -z "$haveit"; then
6001 rpathdirs="$rpathdirs $found_dir"
6005 for x in $LDFLAGS $LIBINTL; do
6007 acl_save_prefix="$prefix"
6008 prefix="$acl_final_prefix"
6009 acl_save_exec_prefix="$exec_prefix"
6010 exec_prefix="$acl_final_exec_prefix"
6012 exec_prefix="$acl_save_exec_prefix"
6013 prefix="$acl_save_prefix"
6015 if test "X$x" = "X-L$found_dir"; then
6020 if test -z "$haveit"; then
6021 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6023 if test "$acl_hardcode_minus_L" != no; then
6024 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6026 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6032 if test "X$found_a" != "X"; then
6033 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6035 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6038 additional_includedir=
6039 case "$found_dir" in
6040 */$acl_libdirstem | */$acl_libdirstem/)
6041 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6042 if test "$name" = 'intl'; then
6043 LIBINTL_PREFIX="$basedir"
6045 additional_includedir="$basedir/include"
6047 */$acl_libdirstem2 | */$acl_libdirstem2/)
6048 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6049 if test "$name" = 'intl'; then
6050 LIBINTL_PREFIX="$basedir"
6052 additional_includedir="$basedir/include"
6055 if test "X$additional_includedir" != "X"; then
6056 if test "X$additional_includedir" != "X/usr/include"; then
6058 if test "X$additional_includedir" = "X/usr/local/include"; then
6059 if test -n "$GCC"; then
6061 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6065 if test -z "$haveit"; then
6066 for x in $CPPFLAGS $INCINTL; do
6068 acl_save_prefix="$prefix"
6069 prefix="$acl_final_prefix"
6070 acl_save_exec_prefix="$exec_prefix"
6071 exec_prefix="$acl_final_exec_prefix"
6073 exec_prefix="$acl_save_exec_prefix"
6074 prefix="$acl_save_prefix"
6076 if test "X$x" = "X-I$additional_includedir"; then
6081 if test -z "$haveit"; then
6082 if test -d "$additional_includedir"; then
6083 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6089 if test -n "$found_la"; then
6090 save_libdir="$libdir"
6092 */* | *\\*) . "$found_la" ;;
6093 *) . "./$found_la" ;;
6095 libdir="$save_libdir"
6096 for dep in $dependency_libs; do
6099 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6100 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6101 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6103 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6104 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6105 if test -n "$GCC"; then
6107 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6111 if test -z "$haveit"; then
6113 for x in $LDFLAGS $LIBINTL; do
6115 acl_save_prefix="$prefix"
6116 prefix="$acl_final_prefix"
6117 acl_save_exec_prefix="$exec_prefix"
6118 exec_prefix="$acl_final_exec_prefix"
6120 exec_prefix="$acl_save_exec_prefix"
6121 prefix="$acl_save_prefix"
6123 if test "X$x" = "X-L$additional_libdir"; then
6128 if test -z "$haveit"; then
6129 if test -d "$additional_libdir"; then
6130 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6134 for x in $LDFLAGS $LTLIBINTL; do
6136 acl_save_prefix="$prefix"
6137 prefix="$acl_final_prefix"
6138 acl_save_exec_prefix="$exec_prefix"
6139 exec_prefix="$acl_final_exec_prefix"
6141 exec_prefix="$acl_save_exec_prefix"
6142 prefix="$acl_save_prefix"
6144 if test "X$x" = "X-L$additional_libdir"; then
6149 if test -z "$haveit"; then
6150 if test -d "$additional_libdir"; then
6151 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6158 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6159 if test "$enable_rpath" != no; then
6161 for x in $rpathdirs; do
6162 if test "X$x" = "X$dir"; then
6167 if test -z "$haveit"; then
6168 rpathdirs="$rpathdirs $dir"
6171 for x in $ltrpathdirs; do
6172 if test "X$x" = "X$dir"; then
6177 if test -z "$haveit"; then
6178 ltrpathdirs="$ltrpathdirs $dir"
6183 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6186 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6189 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6190 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6196 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6197 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6203 if test "X$rpathdirs" != "X"; then
6204 if test -n "$acl_hardcode_libdir_separator"; then
6206 for found_dir in $rpathdirs; do
6207 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6209 acl_save_libdir="$libdir"
6211 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6212 libdir="$acl_save_libdir"
6213 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6215 for found_dir in $rpathdirs; do
6216 acl_save_libdir="$libdir"
6218 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6219 libdir="$acl_save_libdir"
6220 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6224 if test "X$ltrpathdirs" != "X"; then
6225 for found_dir in $ltrpathdirs; do
6226 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6236 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6237 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
6238 $as_echo_n "(cached) " >&6
6240 gt_save_CPPFLAGS="$CPPFLAGS"
6241 CPPFLAGS="$CPPFLAGS $INCINTL"
6242 gt_save_LIBS="$LIBS"
6243 LIBS="$LIBS $LIBINTL"
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #include <libintl.h>
6247 $gt_revision_test_code
6248 extern int _nl_msg_cat_cntr;
6253 const char *_nl_expand_alias (const char *);
6257 bindtextdomain ("", "");
6258 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6263 if ac_fn_c_try_link "$LINENO"; then :
6264 eval "$gt_func_gnugettext_libintl=yes"
6266 eval "$gt_func_gnugettext_libintl=no"
6268 rm -f core conftest.err conftest.$ac_objext \
6269 conftest$ac_exeext conftest.$ac_ext
6270 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6271 LIBS="$LIBS $LIBICONV"
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6274 #include <libintl.h>
6275 $gt_revision_test_code
6276 extern int _nl_msg_cat_cntr;
6281 const char *_nl_expand_alias (const char *);
6285 bindtextdomain ("", "");
6286 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6291 if ac_fn_c_try_link "$LINENO"; then :
6292 LIBINTL="$LIBINTL $LIBICONV"
6293 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6294 eval "$gt_func_gnugettext_libintl=yes"
6297 rm -f core conftest.err conftest.$ac_objext \
6298 conftest$ac_exeext conftest.$ac_ext
6300 CPPFLAGS="$gt_save_CPPFLAGS"
6301 LIBS="$gt_save_LIBS"
6303 eval ac_res=\$$gt_func_gnugettext_libintl
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6305 $as_echo "$ac_res" >&6; }
6308 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6309 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6310 && test "$PACKAGE" != gettext-runtime \
6311 && test "$PACKAGE" != gettext-tools; }; then
6312 gt_use_preinstalled_gnugettext=yes
6321 if test -n "$INTL_MACOSX_LIBS"; then
6322 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6323 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6324 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6325 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6329 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6330 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6332 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6340 $as_echo_n "checking whether to use NLS... " >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6342 $as_echo "$USE_NLS" >&6; }
6343 if test "$USE_NLS" = "yes"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6345 $as_echo_n "checking where the gettext function comes from... " >&6; }
6346 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6347 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6348 gt_source="external libintl"
6353 gt_source="included intl directory"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6356 $as_echo "$gt_source" >&6; }
6359 if test "$USE_NLS" = "yes"; then
6361 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6362 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6364 $as_echo_n "checking how to link with libintl... " >&6; }
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6366 $as_echo "$LIBINTL" >&6; }
6368 for element in $INCINTL; do
6370 for x in $CPPFLAGS; do
6372 acl_save_prefix="$prefix"
6373 prefix="$acl_final_prefix"
6374 acl_save_exec_prefix="$exec_prefix"
6375 exec_prefix="$acl_final_exec_prefix"
6377 exec_prefix="$acl_save_exec_prefix"
6378 prefix="$acl_save_prefix"
6380 if test "X$x" = "X$element"; then
6385 if test -z "$haveit"; then
6386 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6393 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6396 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6414 GETTEXT_PACKAGE=PACKAGE_TARNAME
6417 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
6420 ac_config_files="$ac_config_files Makefile po/Makefile.in"
6423 cat >confcache <<\_ACEOF
6424 # This file is a shell script that caches the results of configure
6425 # tests run on this system so they can be shared between configure
6426 # scripts and configure runs, see configure's option --config-cache.
6427 # It is not useful on other systems. If it contains results you don't
6428 # want to keep, you may remove or edit it.
6430 # config.status only pays attention to the cache file if you give it
6431 # the --recheck option to rerun configure.
6433 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6434 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6439 # The following way of writing the cache mishandles newlines in values,
6440 # but we know of no workaround that is simple, portable, and efficient.
6441 # So, we kill variables containing newlines.
6442 # Ultrix sh set writes to stderr and can't be redirected directly,
6443 # and sets the high bit in the cache file unless we assign to the vars.
6445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6446 eval ac_val=\$$ac_var
6450 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6451 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6454 _ | IFS | as_nl) ;; #(
6455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6456 *) { eval $ac_var=; unset $ac_var;} ;;
6462 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6463 *${as_nl}ac_space=\ *)
6464 # `set' does not quote correctly, so add quotes: double-quote
6465 # substitution turns \\\\ into \\, and sed turns \\ into \.
6468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6471 # `set' quotes correctly as required by POSIX, so do not add quotes.
6472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6481 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6483 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6485 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6486 if test -w "$cache_file"; then
6487 test "x$cache_file" != "x/dev/null" &&
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6489 $as_echo "$as_me: updating cache $cache_file" >&6;}
6490 cat confcache >$cache_file
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6493 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6498 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6499 # Let make expand exec_prefix.
6500 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6502 DEFS=-DHAVE_CONFIG_H
6507 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6508 # 1. Remove the extension, and $U if already installed.
6509 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6510 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6511 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6512 # will be set to the directory where LIBOBJS objects are built.
6513 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6514 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6518 LTLIBOBJS=$ac_ltlibobjs
6521 if test -n "$EXEEXT"; then
6523 am__EXEEXT_FALSE='#'
6529 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6530 as_fn_error $? "conditional \"AMDEP\" was never defined.
6531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6533 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6534 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6538 : ${CONFIG_STATUS=./config.status}
6540 ac_clean_files_save=$ac_clean_files
6541 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6543 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6545 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6547 # Generated by $as_me.
6548 # Run this file to recreate the current configuration.
6549 # Compiler output produced by configure, useful for debugging
6550 # configure, is in config.log if it exists.
6556 SHELL=\${CONFIG_SHELL-$SHELL}
6559 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6560 ## -------------------- ##
6561 ## M4sh Initialization. ##
6562 ## -------------------- ##
6564 # Be more Bourne compatible
6565 DUALCASE=1; export DUALCASE # for MKS sh
6566 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6570 # is contrary to our usage. Disable this feature.
6571 alias -g '${1+"$@"}'='"$@"'
6572 setopt NO_GLOB_SUBST
6574 case `(set -o) 2>/dev/null` in #(
6586 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6587 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6590 # Prefer a ksh shell builtin over an external printf program on Solaris,
6591 # but without wasting forks for bash or zsh.
6592 if test -z "$BASH_VERSION$ZSH_VERSION" \
6593 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6594 as_echo='print -r --'
6595 as_echo_n='print -rn --'
6596 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6597 as_echo='printf %s\n'
6598 as_echo_n='printf %s'
6600 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6601 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6602 as_echo_n='/usr/ucb/echo -n'
6604 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6605 as_echo_n_body='eval
6609 expr "X$arg" : "X\\(.*\\)$as_nl";
6610 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6612 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6614 export as_echo_n_body
6615 as_echo_n='sh -c $as_echo_n_body as_echo'
6618 as_echo='sh -c $as_echo_body as_echo'
6621 # The user is always right.
6622 if test "${PATH_SEPARATOR+set}" != set; then
6624 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6625 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6632 # We need space, tab and new line, in precisely that order. Quoting is
6633 # there to prevent editors from complaining about space-tab.
6634 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6635 # splitting by setting IFS to empty value.)
6638 # Find who we are. Look in the path if we contain no directory separator.
6640 *[\\/]* ) as_myself=$0 ;;
6641 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6652 # We did not find ourselves, most probably we were run as `sh COMMAND'
6653 # in which case we are not to be found in the path.
6654 if test "x$as_myself" = x; then
6657 if test ! -f "$as_myself"; then
6658 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6662 # Unset variables that we do not need and which cause bugs (e.g. in
6663 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6664 # suppresses any "Segmentation fault" message there. '((' could
6665 # trigger a bug in pdksh 5.2.14.
6666 for as_var in BASH_ENV ENV MAIL MAILPATH
6667 do eval test x\${$as_var+set} = xset \
6668 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6681 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6684 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6685 # ----------------------------------------
6686 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6687 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6688 # script with STATUS, using 1 if that was 0.
6691 as_status=$1; test $as_status -eq 0 && as_status=1
6693 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6694 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6696 $as_echo "$as_me: error: $2" >&2
6697 as_fn_exit $as_status
6701 # as_fn_set_status STATUS
6702 # -----------------------
6703 # Set $? to STATUS, without forking.
6707 } # as_fn_set_status
6711 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6721 # Portably unset VAR.
6724 { eval $1=; unset $1;}
6726 as_unset=as_fn_unset
6727 # as_fn_append VAR VALUE
6728 # ----------------------
6729 # Append the text in VALUE to the end of the definition contained in VAR. Take
6730 # advantage of any shell optimizations that allow amortized linear growth over
6731 # repeated appends, instead of the typical quadratic growth present in naive
6733 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6734 eval 'as_fn_append ()
6745 # as_fn_arith ARG...
6746 # ------------------
6747 # Perform arithmetic evaluation on the ARGs, and store the result in the
6748 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6749 # must be portable across $(()) and expr.
6750 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6751 eval 'as_fn_arith ()
6758 as_val=`expr "$@" || test $? -eq 1`
6763 if expr a : '\(a\)' >/dev/null 2>&1 &&
6764 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6770 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6771 as_basename=basename
6776 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6782 as_me=`$as_basename -- "$0" ||
6783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6784 X"$0" : 'X\(//\)$' \| \
6785 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6787 sed '/^.*\/\([^/][^/]*\)\/*$/{
6801 # Avoid depending upon Character Ranges.
6802 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6803 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6804 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6805 as_cr_digits='0123456789'
6806 as_cr_alnum=$as_cr_Letters$as_cr_digits
6808 ECHO_C= ECHO_N= ECHO_T=
6809 case `echo -n x` in #(((((
6811 case `echo 'xy\c'` in
6812 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6814 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6821 rm -f conf$$ conf$$.exe conf$$.file
6822 if test -d conf$$.dir; then
6823 rm -f conf$$.dir/conf$$.file
6826 mkdir conf$$.dir 2>/dev/null
6828 if (echo >conf$$.file) 2>/dev/null; then
6829 if ln -s conf$$.file conf$$ 2>/dev/null; then
6831 # ... but there are two gotchas:
6832 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6833 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6834 # In both cases, we have to default to `cp -p'.
6835 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6837 elif ln conf$$.file conf$$ 2>/dev/null; then
6845 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6846 rmdir conf$$.dir 2>/dev/null
6851 # Create "$as_dir" as a directory, including parents if necessary.
6856 -*) as_dir=./$as_dir;;
6858 test -d "$as_dir" || eval $as_mkdir_p || {
6862 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6863 *) as_qdir=$as_dir;;
6865 as_dirs="'$as_qdir' $as_dirs"
6866 as_dir=`$as_dirname -- "$as_dir" ||
6867 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6868 X"$as_dir" : 'X\(//\)[^/]' \| \
6869 X"$as_dir" : 'X\(//\)$' \| \
6870 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6871 $as_echo X"$as_dir" |
6872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6889 test -d "$as_dir" && break
6891 test -z "$as_dirs" || eval "mkdir $as_dirs"
6892 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6896 if mkdir -p . 2>/dev/null; then
6897 as_mkdir_p='mkdir -p "$as_dir"'
6899 test -d ./-p && rmdir ./-p
6903 if test -x / >/dev/null 2>&1; then
6906 if ls -dL / >/dev/null 2>&1; then
6913 if test -d "$1"; then
6919 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6920 ???[sx]*):;;*)false;;esac;fi
6924 as_executable_p=$as_test_x
6926 # Sed expression to map a string onto a valid CPP name.
6927 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6929 # Sed expression to map a string onto a valid variable name.
6930 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6934 ## ----------------------------------- ##
6935 ## Main body of $CONFIG_STATUS script. ##
6936 ## ----------------------------------- ##
6938 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6941 # Save the log message, to keep $0 and so on meaningful, and to
6942 # report actual input values of CONFIG_FILES etc. instead of their
6943 # values after options handling.
6945 This file was extended by Moonshot $as_me 0.0.1, which was
6946 generated by GNU Autoconf 2.67. Invocation command line was
6948 CONFIG_FILES = $CONFIG_FILES
6949 CONFIG_HEADERS = $CONFIG_HEADERS
6950 CONFIG_LINKS = $CONFIG_LINKS
6951 CONFIG_COMMANDS = $CONFIG_COMMANDS
6954 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6959 case $ac_config_files in *"
6960 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6963 case $ac_config_headers in *"
6964 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6969 # Files that config.status was made for.
6970 config_files="$ac_config_files"
6971 config_headers="$ac_config_headers"
6972 config_commands="$ac_config_commands"
6976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6978 \`$as_me' instantiates files and other configuration actions
6979 from templates according to the current configuration. Unless the files
6980 and actions are specified as TAGs, all are instantiated by default.
6982 Usage: $0 [OPTION]... [TAG]...
6984 -h, --help print this help, then exit
6985 -V, --version print version number and configuration settings, then exit
6986 --config print configuration, then exit
6987 -q, --quiet, --silent
6988 do not print progress messages
6989 -d, --debug don't remove temporary files
6990 --recheck update $as_me by reconfiguring in the same conditions
6991 --file=FILE[:TEMPLATE]
6992 instantiate the configuration file FILE
6993 --header=FILE[:TEMPLATE]
6994 instantiate the configuration header FILE
6996 Configuration files:
6999 Configuration headers:
7002 Configuration commands:
7005 Report bugs to <BUG-REPORT-ADDRESS>."
7008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7009 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7011 Moonshot config.status 0.0.1
7012 configured by $0, generated by GNU Autoconf 2.67,
7013 with options \\"\$ac_cs_config\\"
7015 Copyright (C) 2010 Free Software Foundation, Inc.
7016 This config.status script is free software; the Free Software Foundation
7017 gives unlimited permission to copy, distribute and modify it."
7024 test -n "\$AWK" || AWK=awk
7027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7028 # The default lists apply if the user does not specify any file.
7034 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7035 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7039 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7051 # Handling of the options.
7052 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7054 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7055 $as_echo "$ac_cs_version"; exit ;;
7056 --config | --confi | --conf | --con | --co | --c )
7057 $as_echo "$ac_cs_config"; exit ;;
7058 --debug | --debu | --deb | --de | --d | -d )
7060 --file | --fil | --fi | --f )
7063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7064 '') as_fn_error $? "missing file argument" ;;
7066 as_fn_append CONFIG_FILES " '$ac_optarg'"
7067 ac_need_defaults=false;;
7068 --header | --heade | --head | --hea )
7071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7073 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7074 ac_need_defaults=false;;
7076 # Conflict between --help and --header
7077 as_fn_error $? "ambiguous option: \`$1'
7078 Try \`$0 --help' for more information.";;
7079 --help | --hel | -h )
7080 $as_echo "$ac_cs_usage"; exit ;;
7081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7082 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7086 -*) as_fn_error $? "unrecognized option: \`$1'
7087 Try \`$0 --help' for more information." ;;
7089 *) as_fn_append ac_config_targets " $1"
7090 ac_need_defaults=false ;;
7096 ac_configure_extra_args=
7098 if $ac_cs_silent; then
7100 ac_configure_extra_args="$ac_configure_extra_args --silent"
7104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7105 if \$ac_cs_recheck; then
7106 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7108 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7109 CONFIG_SHELL='$SHELL'
7115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7120 ## Running $as_me. ##
7126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7130 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7131 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7132 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7133 # from automake < 1.5.
7134 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7135 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7136 LINGUAS="${LINGUAS-%UNSET%}"
7141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7143 # Handling of arguments.
7144 for ac_config_target in $ac_config_targets
7146 case $ac_config_target in
7147 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7148 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7149 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7150 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7151 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7153 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
7158 # If the user did not use the arguments to specify the items to instantiate,
7159 # then the envvar interface is used. Set only those that are not.
7160 # We use the long form for the default assignment because of an extremely
7161 # bizarre bug on SunOS 4.1.3.
7162 if $ac_need_defaults; then
7163 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7164 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7165 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7168 # Have a temporary directory for convenience. Make it in the build tree
7169 # simply because there is no reason against having it here, and in addition,
7170 # creating and moving files from /tmp can sometimes cause problems.
7171 # Hook for its removal unless debugging.
7172 # Note that there is a small window in which the directory will not be cleaned:
7173 # after its creation but before its name has been assigned to `$tmp'.
7177 trap 'exit_status=$?
7178 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7180 trap 'as_fn_exit 1' 1 2 13 15
7182 # Create a (secure) tmp directory for tmp files.
7185 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7186 test -n "$tmp" && test -d "$tmp"
7189 tmp=./conf$$-$RANDOM
7190 (umask 077 && mkdir "$tmp")
7191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7193 # Set up the scripts for CONFIG_FILES section.
7194 # No need to generate them if there are no CONFIG_FILES.
7195 # This happens for instance with `./config.status config.h'.
7196 if test -n "$CONFIG_FILES"; then
7199 ac_cr=`echo X | tr X '\015'`
7200 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7201 # But we know of no other shell where ac_cr would be empty at this
7202 # point, so we can use a bashism as a fallback.
7203 if test "x$ac_cr" = x; then
7204 eval ac_cr=\$\'\\r\'
7206 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7213 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7218 echo "cat >conf$$subs.awk <<_ACEOF" &&
7219 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7222 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7223 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7225 for ac_last_try in false false false false false :; do
7226 . ./conf$$subs.sh ||
7227 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7229 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7230 if test $ac_delim_n = $ac_delim_num; then
7232 elif $ac_last_try; then
7233 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7235 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7241 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7245 s/^/S["/; s/!.*/"]=/
7255 s/\(.\{148\}\)..*/\1/
7257 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7262 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7269 s/\(.\{148\}\)..*/\1/
7271 s/["\\]/\\&/g; s/^/"/; s/$/"/
7275 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7280 ' <conf$$subs.awk | sed '
7285 ' >>$CONFIG_STATUS || ac_write_fail=1
7286 rm -f conf$$subs.awk
7287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7289 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7290 for (key in S) S_is_set[key] = 1
7296 nfields = split(line, field, "@")
7298 len = length(field[1])
7299 for (i = 2; i < nfields; i++) {
7301 keylen = length(key)
7302 if (S_is_set[key]) {
7304 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7305 len += length(value) + length(field[++i])
7316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7317 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7318 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7321 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7322 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7325 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7326 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7327 # trailing colons and then remove the whole line if VPATH becomes empty
7328 # (actually we leave an empty line to preserve line numbers).
7329 if test "x$srcdir" = x.; then
7330 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7349 fi # test -n "$CONFIG_FILES"
7351 # Set up the scripts for CONFIG_HEADERS section.
7352 # No need to generate them if there are no CONFIG_HEADERS.
7353 # This happens for instance with `./config.status Makefile'.
7354 if test -n "$CONFIG_HEADERS"; then
7355 cat >"$tmp/defines.awk" <<\_ACAWK ||
7359 # Transform confdefs.h into an awk script `defines.awk', embedded as
7360 # here-document in config.status, that substitutes the proper values into
7361 # config.h.in to produce config.h.
7363 # Create a delimiter string that does not exist in confdefs.h, to ease
7364 # handling of long lines.
7366 for ac_last_try in false false :; do
7367 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7368 if test -z "$ac_t"; then
7370 elif $ac_last_try; then
7371 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7377 # For the awk script, D is an array of macro values keyed by name,
7378 # likewise P contains macro parameters if any. Preserve backslash
7379 # newline sequences.
7381 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7383 s/.\{148\}/&'"$ac_delim"'/g
7386 s/^[ ]*#[ ]*define[ ][ ]*/ /
7393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7400 D["\1"]=" \3\\\\\\n"\\/p
7402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7407 s/.\{148\}/&'"$ac_delim"'/g
7412 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7415 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7417 ' <confdefs.h | sed '
7418 s/'"$ac_delim"'/"\\\
7419 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7422 for (key in D) D_is_set[key] = 1
7425 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7427 split(line, arg, " ")
7428 if (arg[1] == "#") {
7432 defundef = substr(arg[1], 2)
7435 split(mac1, mac2, "(") #)
7437 prefix = substr(line, 1, index(line, defundef) - 1)
7438 if (D_is_set[macro]) {
7439 # Preserve the white space surrounding the "#".
7440 print prefix "define", macro P[macro] D[macro]
7443 # Replace #undef with comments. This is necessary, for example,
7444 # in the case of _POSIX_SOURCE, which is predefined and required
7445 # on some systems where configure will not decide to define it.
7446 if (defundef == "undef") {
7447 print "/*", prefix defundef, macro, "*/"
7455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7456 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7457 fi # test -n "$CONFIG_HEADERS"
7460 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7465 :[FHLC]) ac_mode=$ac_tag; continue;;
7467 case $ac_mode$ac_tag in
7469 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
7470 :[FH]-) ac_tag=-:-;;
7471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7488 -) ac_f="$tmp/stdin";;
7489 *) # Look for the file first in the build tree, then in the source tree
7490 # (if the path is not absolute). The absolute path cannot be DOS-style,
7491 # because $ac_f cannot contain `:'.
7495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7497 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
7499 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7500 as_fn_append ac_file_inputs " '$ac_f'"
7503 # Let's still pretend it is `configure' which instantiates (i.e., don't
7504 # use $as_me), people would be surprised to read:
7505 # /* config.h. Generated by config.status. */
7506 configure_input='Generated from '`
7507 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7509 if test x"$ac_file" != x-; then
7510 configure_input="$ac_file. $configure_input"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7512 $as_echo "$as_me: creating $ac_file" >&6;}
7514 # Neutralize special characters interpreted by sed in replacement strings.
7515 case $configure_input in #(
7516 *\&* | *\|* | *\\* )
7517 ac_sed_conf_input=`$as_echo "$configure_input" |
7518 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7519 *) ac_sed_conf_input=$configure_input;;
7523 *:-:* | *:-) cat >"$tmp/stdin" \
7524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7529 ac_dir=`$as_dirname -- "$ac_file" ||
7530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7531 X"$ac_file" : 'X\(//\)[^/]' \| \
7532 X"$ac_file" : 'X\(//\)$' \| \
7533 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7534 $as_echo X"$ac_file" |
7535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7552 as_dir="$ac_dir"; as_fn_mkdir_p
7556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7558 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7559 # A ".." for each directory in $ac_dir_suffix.
7560 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7561 case $ac_top_builddir_sub in
7562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7566 ac_abs_top_builddir=$ac_pwd
7567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7568 # for backward compatibility:
7569 ac_top_builddir=$ac_top_build_prefix
7572 .) # We are building in place.
7574 ac_top_srcdir=$ac_top_builddir_sub
7575 ac_abs_top_srcdir=$ac_pwd ;;
7576 [\\/]* | ?:[\\/]* ) # Absolute name.
7577 ac_srcdir=$srcdir$ac_dir_suffix;
7578 ac_top_srcdir=$srcdir
7579 ac_abs_top_srcdir=$srcdir ;;
7581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7582 ac_top_srcdir=$ac_top_build_prefix$srcdir
7583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7595 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7596 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7600 [\\/$]* | ?:[\\/]* ) ;;
7601 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7606 # If the template does not know about datarootdir, expand it.
7607 # FIXME: This hack should be removed a few years after 2.60.
7608 ac_datarootdir_hack=; ac_datarootdir_seen=
7619 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7620 *datarootdir*) ac_datarootdir_seen=yes;;
7621 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7623 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7626 ac_datarootdir_hack='
7627 s&@datadir@&$datadir&g
7628 s&@docdir@&$docdir&g
7629 s&@infodir@&$infodir&g
7630 s&@localedir@&$localedir&g
7631 s&@mandir@&$mandir&g
7632 s&\\\${datarootdir}&$datarootdir&g' ;;
7636 # Neutralize VPATH when `$srcdir' = `.'.
7637 # Shell code in configure.ac might set extrasub.
7638 # FIXME: do we really want to maintain this feature?
7639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7640 ac_sed_extra="$ac_vpsub
7643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7646 s|@configure_input@|$ac_sed_conf_input|;t t
7647 s&@top_builddir@&$ac_top_builddir_sub&;t t
7648 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7649 s&@srcdir@&$ac_srcdir&;t t
7650 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7651 s&@top_srcdir@&$ac_top_srcdir&;t t
7652 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7653 s&@builddir@&$ac_builddir&;t t
7654 s&@abs_builddir@&$ac_abs_builddir&;t t
7655 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7656 s&@INSTALL@&$ac_INSTALL&;t t
7657 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7658 $ac_datarootdir_hack
7660 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7663 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7664 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7665 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7667 which seems to be undefined. Please make sure it is defined" >&5
7668 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7669 which seems to be undefined. Please make sure it is defined" >&2;}
7673 -) cat "$tmp/out" && rm -f "$tmp/out";;
7674 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7682 if test x"$ac_file" != x-; then
7684 $as_echo "/* $configure_input */" \
7685 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7686 } >"$tmp/config.h" \
7687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7688 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7690 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7693 mv "$tmp/config.h" "$ac_file" \
7694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7697 $as_echo "/* $configure_input */" \
7698 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7699 || as_fn_error $? "could not create -" "$LINENO" 5
7701 # Compute "$ac_file"'s index in $config_headers.
7704 for _am_header in $config_headers :; do
7706 $_am_arg | $_am_arg:* )
7709 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7712 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7713 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7714 X"$_am_arg" : 'X\(//\)[^/]' \| \
7715 X"$_am_arg" : 'X\(//\)$' \| \
7716 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7717 $as_echo X"$_am_arg" |
7718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7734 s/.*/./; q'`/stamp-h$_am_stamp_count
7737 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7738 $as_echo "$as_me: executing $ac_file commands" >&6;}
7743 case $ac_file$ac_mode in
7744 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7745 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7746 # are listed without --file. Let's play safe and only enable the eval
7747 # if we detect the quoting.
7748 case $CONFIG_FILES in
7749 *\'*) eval set x "$CONFIG_FILES" ;;
7750 *) set x $CONFIG_FILES ;;
7755 # Strip MF so we end up with the name of the file.
7756 mf=`echo "$mf" | sed -e 's/:.*$//'`
7757 # Check whether this is an Automake generated Makefile or not.
7758 # We used to match only the files named `Makefile.in', but
7759 # some people rename them; so instead we look at the file content.
7760 # Grep'ing the first line is not enough: some people post-process
7761 # each Makefile.in and add a new line on top of each file to say so.
7762 # Grep'ing the whole file is not good either: AIX grep has a line
7763 # limit of 2048, but all sed's we know have understand at least 4000.
7764 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7765 dirpart=`$as_dirname -- "$mf" ||
7766 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7767 X"$mf" : 'X\(//\)[^/]' \| \
7768 X"$mf" : 'X\(//\)$' \| \
7769 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7791 # Extract the definition of DEPDIR, am__include, and am__quote
7792 # from the Makefile without running `make'.
7793 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7794 test -z "$DEPDIR" && continue
7795 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7796 test -z "am__include" && continue
7797 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7798 # When using ansi2knr, U may be empty or an underscore; expand it
7799 U=`sed -n 's/^U = //p' < "$mf"`
7800 # Find all dependency output files, they are included files with
7801 # $(DEPDIR) in their names. We invoke sed twice because it is the
7802 # simplest approach to changing $(DEPDIR) to its actual value in the
7804 for file in `sed -n "
7805 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7806 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7807 # Make sure the directory exists.
7808 test -f "$dirpart/$file" && continue
7809 fdir=`$as_dirname -- "$file" ||
7810 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7811 X"$file" : 'X\(//\)[^/]' \| \
7812 X"$file" : 'X\(//\)$' \| \
7813 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7832 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7833 # echo "creating $dirpart/$file"
7834 echo '# dummy' > "$dirpart/$file"
7840 for ac_file in $CONFIG_FILES; do
7841 # Support "outfile[:infile[:infile...]]"
7843 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7845 # PO directories have a Makefile.in generated from Makefile.in.in.
7846 case "$ac_file" in */Makefile.in)
7847 # Adjust a relative srcdir.
7848 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7849 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7850 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7851 # In autoconf-2.13 it is called $ac_given_srcdir.
7852 # In autoconf-2.50 it is called $srcdir.
7853 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7854 case "$ac_given_srcdir" in
7855 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7856 /*) top_srcdir="$ac_given_srcdir" ;;
7857 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7859 # Treat a directory as a PO directory if and only if it has a
7860 # POTFILES.in file. This allows packages to have multiple PO
7861 # directories under different names or in different locations.
7862 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7863 rm -f "$ac_dir/POTFILES"
7864 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7865 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7866 POMAKEFILEDEPS="POTFILES.in"
7867 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7868 # on $ac_dir but don't depend on user-specified configuration
7870 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7871 # The LINGUAS file contains the set of available languages.
7872 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7873 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7875 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7876 # Hide the ALL_LINGUAS assigment from automake < 1.5.
7877 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7878 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7880 # The set of available languages was given in configure.in.
7881 # Hide the ALL_LINGUAS assigment from automake < 1.5.
7882 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7885 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7886 # Compute UPDATEPOFILES
7887 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7888 # Compute DUMMYPOFILES
7889 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7891 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7892 case "$ac_given_srcdir" in
7894 *) srcdirpre='$(srcdir)/' ;;
7900 for lang in $ALL_LINGUAS; do
7901 POFILES="$POFILES $srcdirpre$lang.po"
7902 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7903 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7904 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7906 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7907 # environment variable.
7909 if test -n "$ALL_LINGUAS"; then
7910 for presentlang in $ALL_LINGUAS; do
7912 if test "%UNSET%" != "$LINGUAS"; then
7913 desiredlanguages="$LINGUAS"
7915 desiredlanguages="$ALL_LINGUAS"
7917 for desiredlang in $desiredlanguages; do
7918 # Use the presentlang catalog if desiredlang is
7919 # a. equal to presentlang, or
7920 # b. a variant of presentlang (because in this case,
7921 # presentlang can be used as a fallback for messages
7922 # which are not translated in the desiredlang catalog).
7923 case "$desiredlang" in
7924 "$presentlang"*) useit=yes;;
7927 if test $useit = yes; then
7928 INST_LINGUAS="$INST_LINGUAS $presentlang"
7933 if test -n "$INST_LINGUAS"; then
7934 for lang in $INST_LINGUAS; do
7935 CATALOGS="$CATALOGS $lang.gmo"
7938 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7939 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7940 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7941 if test -f "$f"; then
7943 *.orig | *.bak | *~) ;;
7944 *) cat "$f" >> "$ac_dir/Makefile" ;;
7959 ac_clean_files=$ac_clean_files_save
7961 test $ac_write_fail = 0 ||
7962 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7965 # configure is writing to config.log, and then calls config.status.
7966 # config.status does its own redirection, appending to config.log.
7967 # Unfortunately, on DOS this fails, as config.log is still kept open
7968 # by configure, so config.status won't be able to write to it; its
7969 # output is simply discarded. So we exec the FD to /dev/null,
7970 # effectively closing config.log, so it can be properly (re)opened and
7971 # appended to by config.status. When coming back to configure, we
7972 # need to make the FD available again.
7973 if test "$no_create" != yes; then
7975 ac_config_status_args=
7976 test "$silent" = yes &&
7977 ac_config_status_args="$ac_config_status_args --quiet"
7979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7982 # would make configure fail if this is the last instruction.
7983 $ac_cs_success || as_fn_exit 1
7985 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7987 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}