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
637 XGETTEXT_EXTRA_OPTIONS
645 GETTEXT_MACRO_VERSION
691 MAINTAINER_MODE_FALSE
703 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
760 enable_maintainer_mode
761 enable_dependency_tracking
768 ac_precious_vars='build_alias
784 # Initialize some variables set by options.
786 ac_init_version=false
787 ac_unrecognized_opts=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name=s,x,x,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir='${datarootdir}/info'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\$ac_option
844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860 -build | --build | --buil | --bui | --bu)
861 ac_prev=build_alias ;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias=$ac_optarg ;;
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev=cache_file ;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file=$ac_optarg ;;
873 cache_file=config.cache ;;
875 -datadir | --datadir | --datadi | --datad)
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir=$ac_optarg ;;
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev=datarootdir ;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir=$ac_optarg ;;
887 -disable-* | --disable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
901 eval enable_$ac_useropt=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 -enable-* | --enable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
942 -help | --help | --hel | --he | -h)
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1091 -site=* | --site=* | --sit=*)
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1131 eval with_$ac_useropt=\$ac_optarg ;;
1133 -without-* | --without-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval with_$ac_useropt=no ;;
1150 # Obsolete; use --with-x.
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev=x_includes ;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes=$ac_optarg ;;
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev=x_libraries ;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries=$ac_optarg ;;
1167 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1192 if test -n "$ac_prev"; then
1193 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $? "missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1212 # Remove trailing slashes.
1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$]* | ?:[\\/]* ) continue;;
1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1223 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235 if test "x$build_alias" = x; then
1236 cross_compiling=maybe
1237 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1238 If a cross compiler is detected then cross compile mode will be used" >&2
1239 elif test "x$build_alias" != "x$host_alias"; then
1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1247 test "$silent" = yes && exec 6>/dev/null
1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251 ac_ls_di=`ls -di .` &&
1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253 as_fn_error $? "working directory cannot be determined"
1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255 as_fn_error $? "pwd does not report name of working directory"
1258 # Find the source files, if location was not specified.
1259 if test -z "$srcdir"; then
1260 ac_srcdir_defaulted=yes
1261 # Try the directory containing this script, then the parent directory.
1262 ac_confdir=`$as_dirname -- "$as_myself" ||
1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264 X"$as_myself" : 'X\(//\)[^/]' \| \
1265 X"$as_myself" : 'X\(//\)$' \| \
1266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267 $as_echo X"$as_myself" |
1268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1290 ac_srcdir_defaulted=no
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var in $ac_precious_vars; do
1311 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_${ac_var}_value=\$${ac_var}
1313 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures Moonshot 0.0.1 to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking ...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1387 --build=BUILD configure for building on BUILD [guessed]
1388 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1392 if test -n "$ac_init_help"; then
1393 case $ac_init_help in
1394 short | recursive ) echo "Configuration of Moonshot 0.0.1:";;
1399 --disable-option-checking ignore unrecognized --enable/--with options
1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1402 --enable-silent-rules less verbose build output (undo: `make V=1')
1403 --disable-silent-rules verbose build output (undo: `make V=0')
1404 --disable-maintainer-mode disable make rules and dependencies not useful
1405 (and sometimes confusing) to the casual installer
1406 --disable-dependency-tracking speeds up one-time build
1407 --enable-dependency-tracking do not reject slow dependency extractors
1408 --disable-nls do not use Native Language Support
1409 --disable-rpath do not hardcode runtime library paths
1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1414 --with-gnu-ld assume the C compiler uses GNU ld default=no
1415 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1416 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1417 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1418 --without-libintl-prefix don't search for libintl in includedir and libdir
1420 Some influential environment variables:
1421 PKG_CONFIG path to pkg-config utility
1423 directories to add to pkg-config's search path
1425 path overriding pkg-config's built-in search path
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 LIBS libraries to pass to the linker, e.g. -l<library>
1431 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1432 you have headers in a nonstandard directory <include dir>
1434 C compiler flags for moonshot, overriding pkg-config
1436 linker flags for moonshot, overriding pkg-config
1439 Use these variables to override the choices made by `configure' or to help
1440 it to find libraries and programs with nonstandard names/locations.
1442 Report bugs to <BUG-REPORT-ADDRESS>.
1447 if test "$ac_init_help" = "recursive"; then
1448 # If there are subdirs, report their specific --help.
1449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1450 test -d "$ac_dir" ||
1451 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1459 # A ".." for each directory in $ac_dir_suffix.
1460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1461 case $ac_top_builddir_sub in
1462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1466 ac_abs_top_builddir=$ac_pwd
1467 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1468 # for backward compatibility:
1469 ac_top_builddir=$ac_top_build_prefix
1472 .) # We are building in place.
1474 ac_top_srcdir=$ac_top_builddir_sub
1475 ac_abs_top_srcdir=$ac_pwd ;;
1476 [\\/]* | ?:[\\/]* ) # Absolute name.
1477 ac_srcdir=$srcdir$ac_dir_suffix;
1478 ac_top_srcdir=$srcdir
1479 ac_abs_top_srcdir=$srcdir ;;
1481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1482 ac_top_srcdir=$ac_top_build_prefix$srcdir
1483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1487 cd "$ac_dir" || { ac_status=$?; continue; }
1488 # Check for guested configure.
1489 if test -f "$ac_srcdir/configure.gnu"; then
1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1492 elif test -f "$ac_srcdir/configure"; then
1494 $SHELL "$ac_srcdir/configure" --help=recursive
1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498 cd "$ac_pwd" || { ac_status=$?; break; }
1502 test -n "$ac_init_help" && exit $ac_status
1503 if $ac_init_version; then
1505 Moonshot configure 0.0.1
1506 generated by GNU Autoconf 2.67
1508 Copyright (C) 2010 Free Software Foundation, Inc.
1509 This configure script is free software; the Free Software Foundation
1510 gives unlimited permission to copy, distribute and modify it.
1515 ## ------------------------ ##
1516 ## Autoconf initialization. ##
1517 ## ------------------------ ##
1519 # ac_fn_c_try_compile LINENO
1520 # --------------------------
1521 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1522 ac_fn_c_try_compile ()
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 rm -f conftest.$ac_objext
1526 if { { ac_try="$ac_compile"
1528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_compile") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest.$ac_objext; then :
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1553 as_fn_set_status $ac_retval
1555 } # ac_fn_c_try_compile
1557 # ac_fn_c_try_cpp LINENO
1558 # ----------------------
1559 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if { { ac_try="$ac_cpp conftest.$ac_ext"
1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572 if test -s conftest.err; then
1573 grep -v '^ *+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } > conftest.i && {
1579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1589 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1590 as_fn_set_status $ac_retval
1594 # ac_fn_c_try_link LINENO
1595 # -----------------------
1596 # Try to link conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 rm -f conftest.$ac_objext conftest$ac_exeext
1601 if { { ac_try="$ac_link"
1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_link") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest$ac_exeext && {
1620 test "$cross_compiling" = yes ||
1621 $as_test_x conftest$ac_exeext
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1631 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1632 # interfere with the next link command; also delete a directory that is
1633 # left behind by Apple's compiler. We do this before executing the actions.
1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1636 as_fn_set_status $ac_retval
1638 } # ac_fn_c_try_link
1640 # ac_fn_c_try_run LINENO
1641 # ----------------------
1642 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1643 # that executables *can* be run.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_link"
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_link") 2>&5
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1658 { { case "(($ac_try" in
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_try") 2>&5
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; }; }; then :
1670 $as_echo "$as_me: program exited with status $ac_status" >&5
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1674 ac_retval=$ac_status
1676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1678 as_fn_set_status $ac_retval
1681 cat >config.log <<_ACEOF
1682 This file contains any messages produced by compilers while
1683 running configure, to aid debugging if configure makes a mistake.
1685 It was created by Moonshot $as_me 0.0.1, which was
1686 generated by GNU Autoconf 2.67. Invocation command line was
1698 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1699 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1700 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1701 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1702 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1704 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1705 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1707 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1708 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1709 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1710 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1711 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1712 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1713 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721 test -z "$as_dir" && as_dir=.
1722 $as_echo "PATH: $as_dir"
1738 # Keep a trace of the command line.
1739 # Strip out --no-create and --no-recursion so they do not pile up.
1740 # Strip out --silent because we don't want to record it for future runs.
1741 # Also quote any args containing shell meta-characters.
1742 # Make two passes to allow for proper duplicate-argument suppression.
1746 ac_must_keep_next=false
1752 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1753 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1754 | -silent | --silent | --silen | --sile | --sil)
1757 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1760 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1762 as_fn_append ac_configure_args1 " '$ac_arg'"
1763 if test $ac_must_keep_next = true; then
1764 ac_must_keep_next=false # Got value, back to normal.
1767 *=* | --config-cache | -C | -disable-* | --disable-* \
1768 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1769 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1770 | -with-* | --with-* | -without-* | --without-* | --x)
1771 case "$ac_configure_args0 " in
1772 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1775 -* ) ac_must_keep_next=true ;;
1778 as_fn_append ac_configure_args " '$ac_arg'"
1783 { ac_configure_args0=; unset ac_configure_args0;}
1784 { ac_configure_args1=; unset ac_configure_args1;}
1786 # When interrupted or exit'd, cleanup temporary files, and complete
1787 # config.log. We remove comments because anyway the quotes in there
1788 # would cause problems or look ugly.
1789 # WARNING: Use '\'' to represent an apostrophe within the trap.
1790 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1791 trap 'exit_status=$?
1792 # Save into config.log some information that might help in debugging.
1796 $as_echo "## ---------------- ##
1797 ## Cache variables. ##
1798 ## ---------------- ##"
1800 # The following way of writing the cache mishandles newlines in values,
1802 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1803 eval ac_val=\$$ac_var
1807 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1808 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1811 _ | IFS | as_nl) ;; #(
1812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1813 *) { eval $ac_var=; unset $ac_var;} ;;
1818 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1819 *${as_nl}ac_space=\ *)
1821 "s/'\''/'\''\\\\'\'''\''/g;
1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1832 $as_echo "## ----------------- ##
1833 ## Output variables. ##
1834 ## ----------------- ##"
1836 for ac_var in $ac_subst_vars
1838 eval ac_val=\$$ac_var
1840 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 $as_echo "$ac_var='\''$ac_val'\''"
1846 if test -n "$ac_subst_files"; then
1847 $as_echo "## ------------------- ##
1848 ## File substitutions. ##
1849 ## ------------------- ##"
1851 for ac_var in $ac_subst_files
1853 eval ac_val=\$$ac_var
1855 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1857 $as_echo "$ac_var='\''$ac_val'\''"
1862 if test -s confdefs.h; then
1863 $as_echo "## ----------- ##
1870 test "$ac_signal" != 0 &&
1871 $as_echo "$as_me: caught signal $ac_signal"
1872 $as_echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest* confdefs.h
1886 $as_echo "/* confdefs.h */" > confdefs.h
1888 # Predefined preprocessor variables.
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_NAME "$PACKAGE_NAME"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1902 cat >>confdefs.h <<_ACEOF
1903 #define PACKAGE_STRING "$PACKAGE_STRING"
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1910 cat >>confdefs.h <<_ACEOF
1911 #define PACKAGE_URL "$PACKAGE_URL"
1915 # Let the site file select an alternate cache file if it wants to.
1916 # Prefer an explicitly selected file to automatically selected ones.
1919 if test -n "$CONFIG_SITE"; then
1920 # We do not want a PATH search for config.site.
1921 case $CONFIG_SITE in #((
1922 -*) ac_site_file1=./$CONFIG_SITE;;
1923 */*) ac_site_file1=$CONFIG_SITE;;
1924 *) ac_site_file1=./$CONFIG_SITE;;
1926 elif test "x$prefix" != xNONE; then
1927 ac_site_file1=$prefix/share/config.site
1928 ac_site_file2=$prefix/etc/config.site
1930 ac_site_file1=$ac_default_prefix/share/config.site
1931 ac_site_file2=$ac_default_prefix/etc/config.site
1933 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1935 test "x$ac_site_file" = xNONE && continue
1936 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1938 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1939 sed 's/^/| /' "$ac_site_file" >&5
1941 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1943 as_fn_error $? "failed to load site script $ac_site_file
1944 See \`config.log' for more details" "$LINENO" 5 ; }
1948 if test -r "$cache_file"; then
1949 # Some versions of bash will fail to source /dev/null (special files
1950 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1951 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1953 $as_echo "$as_me: loading cache $cache_file" >&6;}
1955 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1956 *) . "./$cache_file";;
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1961 $as_echo "$as_me: creating cache $cache_file" >&6;}
1965 gt_needs="$gt_needs "
1966 # Check that the precious variables saved in the cache have kept the same
1968 ac_cache_corrupted=false
1969 for ac_var in $ac_precious_vars; do
1970 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1971 eval ac_new_set=\$ac_env_${ac_var}_set
1972 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1973 eval ac_new_val=\$ac_env_${ac_var}_value
1974 case $ac_old_set,$ac_new_set in
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1977 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1978 ac_cache_corrupted=: ;;
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1981 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1982 ac_cache_corrupted=: ;;
1985 if test "x$ac_old_val" != "x$ac_new_val"; then
1986 # differences in whitespace do not lead to failure.
1987 ac_old_val_w=`echo x $ac_old_val`
1988 ac_new_val_w=`echo x $ac_new_val`
1989 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1991 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1992 ac_cache_corrupted=:
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1995 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1996 eval $ac_var=\$ac_old_val
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1999 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2001 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2004 # Pass precious variables to config.status.
2005 if test "$ac_new_set" = set; then
2007 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2008 *) ac_arg=$ac_var=$ac_new_val ;;
2010 case " $ac_configure_args " in
2011 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2012 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2016 if $ac_cache_corrupted; then
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2020 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2021 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2023 ## -------------------- ##
2024 ## Main body of script. ##
2025 ## -------------------- ##
2028 ac_cpp='$CPP $CPPFLAGS'
2029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2035 ac_config_headers="$ac_config_headers config.h"
2040 for ac_dir in build-aux "$srcdir"/build-aux; do
2041 if test -f "$ac_dir/install-sh"; then
2043 ac_install_sh="$ac_aux_dir/install-sh -c"
2045 elif test -f "$ac_dir/install.sh"; then
2047 ac_install_sh="$ac_aux_dir/install.sh -c"
2049 elif test -f "$ac_dir/shtool"; then
2051 ac_install_sh="$ac_aux_dir/shtool install -c"
2055 if test -z "$ac_aux_dir"; then
2056 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2059 # These three variables are undocumented and unsupported,
2060 # and are intended to be withdrawn in a future Autoconf release.
2061 # They can cause serious problems if a builder's source tree is in a directory
2062 # whose full name contains unusual characters.
2063 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2064 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2065 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2069 am__api_version='1.11'
2071 # Find a good install program. We prefer a C program (faster),
2072 # so one script is as good as another. But avoid the broken or
2073 # incompatible versions:
2074 # SysV /etc/install, /usr/sbin/install
2075 # SunOS /usr/etc/install
2076 # IRIX /sbin/install
2078 # AmigaOS /C/install, which installs bootblocks on floppy discs
2079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2082 # OS/2's system install, which has a completely different semantic
2083 # ./install, which can be erroneously created by make from ./install.sh.
2084 # Reject install programs that cannot install multiple files.
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2086 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2087 if test -z "$INSTALL"; then
2088 if test "${ac_cv_path_install+set}" = set; then :
2089 $as_echo_n "(cached) " >&6
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 # Account for people who put trailing slashes in PATH elements.
2097 case $as_dir/ in #((
2098 ./ | .// | /[cC]/* | \
2099 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2100 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2103 # OSF1 and SCO ODT 3.0 have their own names for install.
2104 # Don't use installbsd from OSF since it installs stuff as root
2106 for ac_prog in ginstall scoinst install; do
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2109 if test $ac_prog = install &&
2110 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2111 # AIX install. It has an incompatible calling convention.
2113 elif test $ac_prog = install &&
2114 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2115 # program-specific install script used by HP pwplus--don't use.
2118 rm -rf conftest.one conftest.two conftest.dir
2119 echo one > conftest.one
2120 echo two > conftest.two
2122 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2123 test -s conftest.one && test -s conftest.two &&
2124 test -s conftest.dir/conftest.one &&
2125 test -s conftest.dir/conftest.two
2127 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2140 rm -rf conftest.one conftest.two conftest.dir
2143 if test "${ac_cv_path_install+set}" = set; then
2144 INSTALL=$ac_cv_path_install
2146 # As a last resort, use the slow shell script. Don't cache a
2147 # value for INSTALL within a source directory, because that will
2148 # break other packages using the cache if that directory is
2149 # removed, or if the value is a relative name.
2150 INSTALL=$ac_install_sh
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2154 $as_echo "$INSTALL" >&6; }
2156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2157 # It thinks the first close brace ends the variable substitution.
2158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2165 $as_echo_n "checking whether build environment is sane... " >&6; }
2168 echo timestamp > conftest.file
2169 # Reject unsafe characters in $srcdir or the absolute working directory
2170 # name. Accept space and tab only in the latter.
2174 *[\\\"\#\$\&\'\`$am_lf]*)
2175 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2178 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2179 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2182 # Do `set' in a subshell so we don't clobber the current shell's
2183 # arguments. Must try -L first in case configure is actually a
2184 # symlink; some systems play weird games with the mod time of symlinks
2185 # (eg FreeBSD returns the mod time of the symlink's containing
2188 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2189 if test "$*" = "X"; then
2191 set X `ls -t "$srcdir/configure" conftest.file`
2194 if test "$*" != "X $srcdir/configure conftest.file" \
2195 && test "$*" != "X conftest.file $srcdir/configure"; then
2197 # If neither matched, then we have a broken ls. This can happen
2198 # if, for instance, CONFIG_SHELL is bash and it inherits a
2199 # broken ls alias from the environment. This has actually
2200 # happened. Such a system could not be considered "sane".
2201 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2202 alias in your environment" "$LINENO" 5
2205 test "$2" = conftest.file
2211 as_fn_error $? "newly created file is older than distributed files!
2212 Check your system clock" "$LINENO" 5
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2215 $as_echo "yes" >&6; }
2216 test "$program_prefix" != NONE &&
2217 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2218 # Use a double $ so make ignores it.
2219 test "$program_suffix" != NONE &&
2220 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2221 # Double any \ or $.
2222 # By default was `s,x,x', remove it if useless.
2223 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2224 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2226 # expand $ac_aux_dir to an absolute path
2227 am_aux_dir=`cd $ac_aux_dir && pwd`
2229 if test x"${MISSING+set}" != xset; then
2232 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2234 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2237 # Use eval to expand $SHELL
2238 if eval "$MISSING --run true"; then
2239 am_missing_run="$MISSING --run "
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2243 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2246 if test x"${install_sh}" != xset; then
2249 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2251 install_sh="\${SHELL} $am_aux_dir/install-sh"
2255 # Installed binaries are usually stripped using `strip' when the user
2256 # run `make install-strip'. However `strip' might not be the right
2257 # tool to use in cross-compilation environments, therefore Automake
2258 # will honor the `STRIP' environment variable to overrule this program.
2259 if test "$cross_compiling" != no; then
2260 if test -n "$ac_tool_prefix"; then
2261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2262 set dummy ${ac_tool_prefix}strip; ac_word=$2
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if test "${ac_cv_prog_STRIP+set}" = set; then :
2266 $as_echo_n "(cached) " >&6
2268 if test -n "$STRIP"; then
2269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 STRIP=$ac_cv_prog_STRIP
2289 if test -n "$STRIP"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2291 $as_echo "$STRIP" >&6; }
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294 $as_echo "no" >&6; }
2299 if test -z "$ac_cv_prog_STRIP"; then
2301 # Extract the first word of "strip", so it can be a program name with args.
2302 set dummy strip; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$ac_ct_STRIP"; then
2309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_ac_ct_STRIP="strip"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2329 if test -n "$ac_ct_STRIP"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2331 $as_echo "$ac_ct_STRIP" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2337 if test "x$ac_ct_STRIP" = x; then
2340 case $cross_compiling:$ac_tool_warned in
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2344 ac_tool_warned=yes ;;
2349 STRIP="$ac_cv_prog_STRIP"
2353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2357 if test -z "$MKDIR_P"; then
2358 if test "${ac_cv_path_mkdir+set}" = set; then :
2359 $as_echo_n "(cached) " >&6
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2365 test -z "$as_dir" && as_dir=.
2366 for ac_prog in mkdir gmkdir; do
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2370 'mkdir (GNU coreutils) '* | \
2371 'mkdir (coreutils) '* | \
2372 'mkdir (fileutils) '4.1*)
2373 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2383 test -d ./--version && rmdir ./--version
2384 if test "${ac_cv_path_mkdir+set}" = set; then
2385 MKDIR_P="$ac_cv_path_mkdir -p"
2387 # As a last resort, use the slow shell script. Don't cache a
2388 # value for MKDIR_P within a source directory, because that will
2389 # break other packages using the cache if that directory is
2390 # removed, or if the value is a relative name.
2391 MKDIR_P="$ac_install_sh -d"
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2395 $as_echo "$MKDIR_P" >&6; }
2399 [\\/$]* | ?:[\\/]*) ;;
2400 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2403 for ac_prog in gawk mawk nawk awk
2405 # Extract the first word of "$ac_prog", so it can be a program name with args.
2406 set dummy $ac_prog; ac_word=$2
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2408 $as_echo_n "checking for $ac_word... " >&6; }
2409 if test "${ac_cv_prog_AWK+set}" = set; then :
2410 $as_echo_n "(cached) " >&6
2412 if test -n "$AWK"; then
2413 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir=.
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2422 ac_cv_prog_AWK="$ac_prog"
2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 if test -n "$AWK"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2435 $as_echo "$AWK" >&6; }
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438 $as_echo "no" >&6; }
2442 test -n "$AWK" && break
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2446 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2448 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2449 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2450 $as_echo_n "(cached) " >&6
2452 cat >conftest.make <<\_ACEOF
2455 @echo '@@@%%%=$(MAKE)=@@@%%%'
2457 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2460 eval ac_cv_prog_make_${ac_make}_set=yes;;
2462 eval ac_cv_prog_make_${ac_make}_set=no;;
2466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2468 $as_echo "yes" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2473 SET_MAKE="MAKE=${MAKE-make}"
2476 rm -rf .tst 2>/dev/null
2477 mkdir .tst 2>/dev/null
2478 if test -d .tst; then
2483 rmdir .tst 2>/dev/null
2485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2486 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2487 # is not polluted with repeated "-I."
2488 am__isrc=' -I$(srcdir)'
2489 # test to see if srcdir already configured
2490 if test -f $srcdir/config.status; then
2491 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2495 # test whether we have cygpath
2496 if test -z "$CYGPATH_W"; then
2497 if (cygpath --version) >/dev/null 2>/dev/null; then
2498 CYGPATH_W='cygpath -w'
2505 # Define the identity of the package.
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE "$PACKAGE"
2515 cat >>confdefs.h <<_ACEOF
2516 #define VERSION "$VERSION"
2519 # Some tools Automake needs.
2521 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2524 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2527 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2530 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2533 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2535 # We need awk for the "check" target. The system "awk" is bad on
2537 # Always define AMTAR for backward compatibility.
2539 AMTAR=${AMTAR-"${am_missing_run}tar"}
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2543 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2544 # Loop over all known methods to create a tar archive until one works.
2545 _am_tools='gnutar pax cpio none'
2546 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2547 # Do not fold the above two line into one, because Tru64 sh and
2548 # Solaris sh will not grok spaces in the rhs of `-'.
2549 for _am_tool in $_am_tools
2553 for _am_tar in tar gnutar gtar;
2555 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2556 ($_am_tar --version) >&5 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } && break
2561 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2562 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2563 am__untar="$_am_tar -xf -"
2566 # Must skip GNU tar: if it does not support --format= it doesn't create
2567 # ustar tarball either.
2568 (tar --version) >/dev/null 2>&1 && continue
2569 am__tar='tar chf - "$$tardir"'
2570 am__tar_='tar chf - "$tardir"'
2571 am__untar='tar xf -'
2574 am__tar='pax -L -x pax -w "$$tardir"'
2575 am__tar_='pax -L -x pax -w "$tardir"'
2579 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2580 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2581 am__untar='cpio -i -H pax -d'
2590 # If the value was cached, stop now. We just wanted to have am__tar
2591 # and am__untar set.
2592 test -n "${am_cv_prog_tar_pax}" && break
2594 # tar/untar a dummy directory, and stop if the command works
2597 echo GrepMe > conftest.dir/file
2598 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2599 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }
2604 if test -s conftest.tar; then
2605 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2606 ($am__untar <conftest.tar) >&5 2>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }
2610 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2615 if test "${am_cv_prog_tar_pax+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2618 am_cv_prog_tar_pax=$_am_tool
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2622 $as_echo "$am_cv_prog_tar_pax" >&6; }
2628 # Check whether --enable-silent-rules was given.
2629 if test "${enable_silent_rules+set}" = set; then :
2630 enableval=$enable_silent_rules;
2633 case $enable_silent_rules in
2634 yes) AM_DEFAULT_VERBOSITY=0;;
2635 no) AM_DEFAULT_VERBOSITY=1;;
2636 *) AM_DEFAULT_VERBOSITY=0;;
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2642 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2643 # Check whether --enable-maintainer-mode was given.
2644 if test "${enable_maintainer_mode+set}" = set; then :
2645 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2647 USE_MAINTAINER_MODE=yes
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2651 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2652 if test $USE_MAINTAINER_MODE = yes; then
2653 MAINTAINER_MODE_TRUE=
2654 MAINTAINER_MODE_FALSE='#'
2656 MAINTAINER_MODE_TRUE='#'
2657 MAINTAINER_MODE_FALSE=
2660 MAINT=$MAINTAINER_MODE_TRUE
2670 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2671 if test -n "$ac_tool_prefix"; then
2672 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2673 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2681 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2703 if test -n "$PKG_CONFIG"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2705 $as_echo "$PKG_CONFIG" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2713 if test -z "$ac_cv_path_PKG_CONFIG"; then
2714 ac_pt_PKG_CONFIG=$PKG_CONFIG
2715 # Extract the first word of "pkg-config", so it can be a program name with args.
2716 set dummy pkg-config; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
2720 $as_echo_n "(cached) " >&6
2722 case $ac_pt_PKG_CONFIG in
2724 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2746 if test -n "$ac_pt_PKG_CONFIG"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2748 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_pt_PKG_CONFIG" = x; then
2757 case $cross_compiling:$ac_tool_warned in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned=yes ;;
2763 PKG_CONFIG=$ac_pt_PKG_CONFIG
2766 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2770 if test -n "$PKG_CONFIG"; then
2771 _pkg_min_version=0.24
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2773 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2774 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2776 $as_echo "yes" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2785 # Make sure we can run config.sub.
2786 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2787 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2790 $as_echo_n "checking build system type... " >&6; }
2791 if test "${ac_cv_build+set}" = set; then :
2792 $as_echo_n "(cached) " >&6
2794 ac_build_alias=$build_alias
2795 test "x$ac_build_alias" = x &&
2796 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2797 test "x$ac_build_alias" = x &&
2798 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2799 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2800 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2804 $as_echo "$ac_cv_build" >&6; }
2805 case $ac_cv_build in
2807 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2810 ac_save_IFS=$IFS; IFS='-'
2816 # Remember, the first character of IFS is used to create $*,
2817 # except with old shells:
2820 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2824 $as_echo_n "checking host system type... " >&6; }
2825 if test "${ac_cv_host+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test "x$host_alias" = x; then
2829 ac_cv_host=$ac_cv_build
2831 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2832 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2837 $as_echo "$ac_cv_host" >&6; }
2840 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2843 ac_save_IFS=$IFS; IFS='-'
2849 # Remember, the first character of IFS is used to create $*,
2850 # except with old shells:
2853 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2860 IPC_MODULE="msrpc-glib2-1.0"
2864 IPC_MODULE="dbus-glib-1"
2868 if test "$win32" = "yes"; then
2876 if test "$IPC_MODULE" = "msrpc-glib2-1.0"; then
2884 if test "$IPC_MODULE" = "dbus-glib-1"; then
2893 # Checks for programs.
2895 ac_cpp='$CPP $CPPFLAGS'
2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2901 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if test "${ac_cv_prog_CC+set}" = set; then :
2905 $as_echo_n "(cached) " >&6
2907 if test -n "$CC"; then
2908 ac_cv_prog_CC="$CC" # Let the user override the test.
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2917 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930 $as_echo "$CC" >&6; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2938 if test -z "$ac_cv_prog_CC"; then
2940 # Extract the first word of "gcc", so it can be a program name with args.
2941 set dummy gcc; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2947 if test -n "$ac_ct_CC"; then
2948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2957 ac_cv_prog_ac_ct_CC="gcc"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2968 if test -n "$ac_ct_CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2970 $as_echo "$ac_ct_CC" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2976 if test "x$ac_ct_CC" = x; then
2979 case $cross_compiling:$ac_tool_warned in
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2991 if test -z "$CC"; then
2992 if test -n "$ac_tool_prefix"; then
2993 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2994 set dummy ${ac_tool_prefix}cc; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if test "${ac_cv_prog_CC+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$CC"; then
3001 ac_cv_prog_CC="$CC" # Let the user override the test.
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3010 ac_cv_prog_CC="${ac_tool_prefix}cc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 if test -n "$CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023 $as_echo "$CC" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3032 if test -z "$CC"; then
3033 # Extract the first word of "cc", so it can be a program name with args.
3034 set dummy cc; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if test "${ac_cv_prog_CC+set}" = set; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC="$CC" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3052 ac_prog_rejected=yes
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 if test $ac_prog_rejected = yes; then
3064 # We found a bogon in the path, so make sure we never use it.
3065 set dummy $ac_cv_prog_CC
3067 if test $# != 0; then
3068 # We chose a different compiler from the bogus one.
3069 # However, it has the same basename, so the bogon will be chosen
3070 # first if we set CC to just the basename; use the full file name.
3072 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3088 if test -z "$CC"; then
3089 if test -n "$ac_tool_prefix"; then
3090 for ac_prog in cl.exe
3092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if test "${ac_cv_prog_CC+set}" = set; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$CC"; then
3100 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122 $as_echo "$CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3129 test -n "$CC" && break
3132 if test -z "$CC"; then
3134 for ac_prog in cl.exe
3136 # Extract the first word of "$ac_prog", so it can be a program name with args.
3137 set dummy $ac_prog; ac_word=$2
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3141 $as_echo_n "(cached) " >&6
3143 if test -n "$ac_ct_CC"; then
3144 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir=.
3151 for ac_exec_ext in '' $ac_executable_extensions; do
3152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153 ac_cv_prog_ac_ct_CC="$ac_prog"
3154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3164 if test -n "$ac_ct_CC"; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3166 $as_echo "$ac_ct_CC" >&6; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3173 test -n "$ac_ct_CC" && break
3176 if test "x$ac_ct_CC" = x; then
3179 case $cross_compiling:$ac_tool_warned in
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3183 ac_tool_warned=yes ;;
3192 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error $? "no acceptable C compiler found in \$PATH
3195 See \`config.log' for more details" "$LINENO" 5 ; }
3197 # Provide some information about the compiler.
3198 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3201 for ac_option in --version -v -V -qversion; do
3202 { { ac_try="$ac_compiler $ac_option >&5"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3211 if test -s conftest.err; then
3213 ... rest of stderr output deleted ...
3214 10q' conftest.err >conftest.er1
3215 cat conftest.er1 >&5
3217 rm -f conftest.er1 conftest.err
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3233 ac_clean_files_save=$ac_clean_files
3234 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3235 # Try to create an executable without -o first, disregard a.out.
3236 # It will help us diagnose broken compilers, and finding out an intuition
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3239 $as_echo_n "checking whether the C compiler works... " >&6; }
3240 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3242 # The possible output files:
3243 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3246 for ac_file in $ac_files
3249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3250 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3255 if { { ac_try="$ac_link_default"
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_link_default") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }; then :
3266 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3267 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3268 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3269 # so that the user can short-circuit this test for compilers unknown to
3271 for ac_file in $ac_files ''
3273 test -f "$ac_file" || continue
3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3278 # We found the default executable, but exeext='' is most
3282 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3284 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3286 # We set ac_cv_exeext here because the later test for it is not
3287 # safe: cross compilers may not add the suffix if given an `-o'
3288 # argument, so we may need to know it at that point already.
3289 # Even if this section looks crufty: it has the advantage of
3296 test "$ac_cv_exeext" = no && ac_cv_exeext=
3301 if test -z "$ac_file"; then :
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 $as_echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error 77 "C compiler cannot create executables
3310 See \`config.log' for more details" "$LINENO" 5 ; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313 $as_echo "yes" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3316 $as_echo_n "checking for C compiler default output file name... " >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3318 $as_echo "$ac_file" >&6; }
3319 ac_exeext=$ac_cv_exeext
3321 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3322 ac_clean_files=$ac_clean_files_save
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3324 $as_echo_n "checking for suffix of executables... " >&6; }
3325 if { { ac_try="$ac_link"
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3337 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3338 # work properly (i.e., refer to `conftest.exe'), while it won't with
3340 for ac_file in conftest.exe conftest conftest.*; do
3341 test -f "$ac_file" || continue
3343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3344 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3352 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3353 See \`config.log' for more details" "$LINENO" 5 ; }
3355 rm -f conftest conftest$ac_cv_exeext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3357 $as_echo "$ac_cv_exeext" >&6; }
3359 rm -f conftest.$ac_ext
3360 EXEEXT=$ac_cv_exeext
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3368 FILE *f = fopen ("conftest.out", "w");
3369 return ferror (f) || fclose (f) != 0;
3375 ac_clean_files="$ac_clean_files conftest.out"
3376 # Check that the compiler produces executables we can run. If not, either
3377 # the compiler is broken, or we cross compile.
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3379 $as_echo_n "checking whether we are cross compiling... " >&6; }
3380 if test "$cross_compiling" != yes; then
3381 { { ac_try="$ac_link"
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387 $as_echo "$ac_try_echo"; } >&5
3388 (eval "$ac_link") 2>&5
3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391 test $ac_status = 0; }
3392 if { ac_try='./conftest$ac_cv_exeext'
3393 { { case "(($ac_try" in
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_try") 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; }; then
3405 if test "$cross_compiling" = maybe; then
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error $? "cannot run C compiled programs.
3411 If you meant to cross compile, use \`--host'.
3412 See \`config.log' for more details" "$LINENO" 5 ; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3417 $as_echo "$cross_compiling" >&6; }
3419 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3420 ac_clean_files=$ac_clean_files_save
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3422 $as_echo_n "checking for suffix of object files... " >&6; }
3423 if test "${ac_cv_objext+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3437 rm -f conftest.o conftest.obj
3438 if { { ac_try="$ac_compile"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 $as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_compile") 2>&5
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }; then :
3449 for ac_file in conftest.o conftest.obj conftest.*; do
3450 test -f "$ac_file" || continue;
3452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3453 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $? "cannot compute suffix of object files: cannot compile
3464 See \`config.log' for more details" "$LINENO" 5 ; }
3466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3469 $as_echo "$ac_cv_objext" >&6; }
3470 OBJEXT=$ac_cv_objext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3474 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3501 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3502 if test $ac_compiler_gnu = yes; then
3507 ac_test_CFLAGS=${CFLAGS+set}
3508 ac_save_CFLAGS=$CFLAGS
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3510 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3511 if test "${ac_cv_prog_cc_g+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 ac_save_c_werror_flag=$ac_c_werror_flag
3515 ac_c_werror_flag=yes
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 if ac_fn_c_try_compile "$LINENO"; then :
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3571 $as_echo "$ac_cv_prog_cc_g" >&6; }
3572 if test "$ac_test_CFLAGS" = set; then
3573 CFLAGS=$ac_save_CFLAGS
3574 elif test $ac_cv_prog_cc_g = yes; then
3575 if test "$GCC" = yes; then
3581 if test "$GCC" = yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3588 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3589 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 ac_cv_prog_cc_c89=no
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3598 #include <sys/types.h>
3599 #include <sys/stat.h>
3600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3601 struct buf { int x; };
3602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3603 static char *e (p, i)
3609 static char *f (char * (*g) (char **, int), char **p, ...)
3614 s = g (p, va_arg (v,int));
3619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3620 function prototypes and stuff, but not '\xHH' hex character constants.
3621 These don't provoke an error unfortunately, instead are silently treated
3622 as 'x'. The following induces an error, until -std is added to get
3623 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3624 array size at least. It's necessary to write '\x00'==0 to get something
3625 that's true only with -std. */
3626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3629 inside strings and character constants. */
3631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3633 int test (int i, double x);
3634 struct s1 {int (*f) (int a);};
3635 struct s2 {int (*f) (double a);};
3636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3642 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3648 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3650 CC="$ac_save_CC $ac_arg"
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 ac_cv_prog_cc_c89=$ac_arg
3654 rm -f core conftest.err conftest.$ac_objext
3655 test "x$ac_cv_prog_cc_c89" != "xno" && break
3657 rm -f conftest.$ac_ext
3662 case "x$ac_cv_prog_cc_c89" in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3665 $as_echo "none needed" >&6; } ;;
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3668 $as_echo "unsupported" >&6; } ;;
3670 CC="$CC $ac_cv_prog_cc_c89"
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3674 if test "x$ac_cv_prog_cc_c89" != xno; then :
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 DEPDIR="${am__leading_dot}deps"
3685 ac_config_commands="$ac_config_commands depfiles"
3688 am_make=${MAKE-make}
3689 cat > confinc << 'END'
3691 @echo this is the am__doit target
3694 # If we don't find an include directive, just comment out the code.
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3696 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3700 # First try GNU make style include.
3701 echo "include confinc" > confmf
3702 # Ignore all kinds of additional output from `make'.
3703 case `$am_make -s -f confmf 2> /dev/null` in #(
3704 *the\ am__doit\ target*)
3710 # Now try BSD make style include.
3711 if test "$am__include" = "#"; then
3712 echo '.include "confinc"' > confmf
3713 case `$am_make -s -f confmf 2> /dev/null` in #(
3714 *the\ am__doit\ target*)
3715 am__include=.include
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3724 $as_echo "$_am_result" >&6; }
3725 rm -f confinc confmf
3727 # Check whether --enable-dependency-tracking was given.
3728 if test "${enable_dependency_tracking+set}" = set; then :
3729 enableval=$enable_dependency_tracking;
3732 if test "x$enable_dependency_tracking" != xno; then
3733 am_depcomp="$ac_aux_dir/depcomp"
3736 if test "x$enable_dependency_tracking" != xno; then
3746 depcc="$CC" am_compiler_list=
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3749 $as_echo_n "checking dependency style of $depcc... " >&6; }
3750 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3754 # We make a subdir and do the tests there. Otherwise we can end up
3755 # making bogus files that we don't know about and never remove. For
3756 # instance it was reported that on HP-UX the gcc test will end up
3757 # making a dummy file named `D' -- because `-MD' means `put the output
3760 # Copy depcomp to subdir because otherwise we won't find it if we're
3761 # using a relative directory.
3762 cp "$am_depcomp" conftest.dir
3764 # We will build objects and dependencies in a subdirectory because
3765 # it helps to detect inapplicable dependency modes. For instance
3766 # both Tru64's cc and ICC support -MD to output dependencies as a
3767 # side effect of compilation, but ICC will put the dependencies in
3768 # the current directory while Tru64 will put them in the object
3772 am_cv_CC_dependencies_compiler_type=none
3773 if test "$am_compiler_list" = ""; then
3774 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3777 case " $depcc " in #(
3778 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3781 for depmode in $am_compiler_list; do
3782 # Setup a source with many dependencies, because some compilers
3783 # like to wrap large dependency lists on column 80 (with \), and
3784 # we should not choose a depcomp mode which is confused by this.
3786 # We need to recreate these files for each test, as the compiler may
3787 # overwrite some of them when testing with obscure command lines.
3788 # This happens at least with the AIX C compiler.
3790 for i in 1 2 3 4 5 6; do
3791 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3792 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3793 # Solaris 8's {/usr,}/bin/sh.
3794 touch sub/conftst$i.h
3796 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3798 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3799 # mode. It turns out that the SunPro C++ compiler does not properly
3800 # handle `-M -o', and we need to detect this. Also, some Intel
3801 # versions had trouble with output in subdirs
3802 am__obj=sub/conftest.${OBJEXT-o}
3803 am__minus_obj="-o $am__obj"
3806 # This depmode causes a compiler race in universal mode.
3807 test "$am__universal" = false || continue
3810 # after this tag, mechanisms are not by side-effect, so they'll
3811 # only be used when explicitly requested
3812 if test "x$enable_dependency_tracking" = xyes; then
3818 msvisualcpp | msvcmsys)
3819 # This compiler won't grok `-c -o', but also, the minuso test has
3820 # not run yet. These depmodes are late enough in the game, and
3821 # so weak that their functioning should not be impacted.
3822 am__obj=conftest.${OBJEXT-o}
3827 if depmode=$depmode \
3828 source=sub/conftest.c object=$am__obj \
3829 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3830 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3831 >/dev/null 2>conftest.err &&
3832 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3833 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3834 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3835 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3836 # icc doesn't choke on unknown options, it will just issue warnings
3837 # or remarks (even with -Werror). So we grep stderr for any message
3838 # that says an option was ignored or not supported.
3839 # When given -MP, icc 7.0 and 7.1 complain thusly:
3840 # icc: Command line warning: ignoring option '-M'; no argument required
3841 # The diagnosis changed in icc 8.0:
3842 # icc: Command line remark: option '-MP' not supported
3843 if (grep 'ignoring option' conftest.err ||
3844 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3845 am_cv_CC_dependencies_compiler_type=$depmode
3854 am_cv_CC_dependencies_compiler_type=none
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3859 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3860 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3863 test "x$enable_dependency_tracking" != xno \
3864 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3866 am__fastdepCC_FALSE='#'
3868 am__fastdepCC_TRUE='#'
3869 am__fastdepCC_FALSE=
3873 if test "x$CC" != xcc; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3875 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3878 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3880 set dummy $CC; ac_cc=`$as_echo "$2" |
3881 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3882 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3896 # Make sure it works both with $CC and with simple cc.
3897 # We do the test twice because some compilers refuse to overwrite an
3898 # existing .o file with -o, though they will create one.
3899 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3901 if { { case "(($ac_try" in
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_try") 2>&5
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 test $ac_status = 0; } &&
3911 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_try") 2>&5
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; };
3922 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3923 if test "x$CC" != xcc; then
3924 # Test first that cc exists at all.
3925 if { ac_try='cc -c conftest.$ac_ext >&5'
3926 { { case "(($ac_try" in
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932 (eval "$ac_try") 2>&5
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }; }; then
3936 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3938 if { { case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_try") 2>&5
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; } &&
3948 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_try") 2>&5
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; };
3962 # cc exists but doesn't like -o.
3963 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3968 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3970 rm -f core conftest*
3973 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3975 $as_echo "yes" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3980 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3984 # FIXME: we rely on the cache variable name because
3985 # there is no other way.
3987 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3988 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3989 if test "$am_t" != yes; then
3990 # Losing compiler, so override with the script.
3991 # FIXME: It is wrong to rewrite CC.
3992 # But if we don't then we get into trouble of one sort or another.
3993 # A longer-term fix would be to have automake use am__CC in this case,
3994 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3995 CC="$am_aux_dir/compile $CC"
3999 # Extract the first word of "valac", so it can be a program name with args.
4000 set dummy valac; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if test "${ac_cv_path_VALAC+set}" = set; then :
4004 $as_echo_n "(cached) " >&6
4008 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4018 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 VALAC=$ac_cv_path_VALAC
4030 if test -n "$VALAC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4032 $as_echo "$VALAC" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4039 if test -z "$VALAC"; then :
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
4041 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
4043 if test -n "0.9"; then :
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
4045 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
4046 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
4048 as_arg_v2="$am__vala_version"
4049 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4053 $as_echo "yes" >&6; } ;; #(
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4056 $as_echo "yes" >&6; } ;; #(
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4060 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
4068 if test "$IPC_MODULE" = "msrpc-glib2-1.0"; then
4071 pkg_config_args="msrpc-mingw-1.0"
4079 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4080 if test -n "$ac_tool_prefix"; then
4081 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4082 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4090 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4112 if test -n "$PKG_CONFIG"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4114 $as_echo "$PKG_CONFIG" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4122 if test -z "$ac_cv_path_PKG_CONFIG"; then
4123 ac_pt_PKG_CONFIG=$PKG_CONFIG
4124 # Extract the first word of "pkg-config", so it can be a program name with args.
4125 set dummy pkg-config; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 case $ac_pt_PKG_CONFIG in
4133 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4143 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4155 if test -n "$ac_pt_PKG_CONFIG"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4157 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4163 if test "x$ac_pt_PKG_CONFIG" = x; then
4166 case $cross_compiling:$ac_tool_warned in
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4170 ac_tool_warned=yes ;;
4172 PKG_CONFIG=$ac_pt_PKG_CONFIG
4175 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4179 if test -n "$PKG_CONFIG"; then
4180 _pkg_min_version=0.16
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4182 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4183 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4185 $as_echo "yes" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4195 if test "x$PKG_CONFIG" = x ; then
4200 min_msrpc_mingw_version=0.1.0
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
4202 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
4204 if test x$PKG_CONFIG != xno ; then
4205 if $PKG_CONFIG --uninstalled $pkg_config_args; then
4206 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
4209 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
4216 if test x"$no_msrpc" = x ; then
4217 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
4218 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
4219 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
4222 if test "x$no_msrpc" = x ; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4229 if test "$PKG_CONFIG" = "no" ; then
4230 echo "*** A new enough version of pkg-config was not found."
4231 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
4239 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
4246 # Extract the first word of "midl", so it can be a program name with args.
4247 set dummy midl; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if test "${ac_cv_path_MIDL+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4255 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4265 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
4266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
4277 MIDL=$ac_cv_path_MIDL
4278 if test -n "$MIDL"; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
4280 $as_echo "$MIDL" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
4287 if test "$MIDL" = "no"; then
4289 *** Could not find the Microsoft interface compiler MIDL.EXE.
4290 *** This program is available as part of the MS Windows SDK, in
4291 *** the Win32 Development Tools package. If it is not in the PATH
4292 *** or its default location you may set the 'MIDL' environment
4293 *** variable to point to its location and rerun configure." "$LINENO" 5
4297 if test "$win32" = "yes"; then
4298 # Other Windows-specific tools
4300 # ImageMagick for the 'make icons' target. Watch that it doesn't pick up
4301 # c:/windows/system32/convert.exe, which is nothing to do with ImageMagick
4302 # Extract the first word of "convert", so it can be a program name with args.
4303 set dummy convert; ac_word=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if test "${ac_cv_path_IMAGEMAGICK_CONVERT+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 case $IMAGEMAGICK_CONVERT in
4311 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR$PATH
4318 test -z "$as_dir" && as_dir=.
4319 for ac_exec_ext in '' $ac_executable_extensions; do
4320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4321 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
4322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
4333 if test -n "$IMAGEMAGICK_CONVERT"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
4335 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4343 # Windows Installer XML tools
4344 # Extract the first word of "candle", so it can be a program name with args.
4345 set dummy candle; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if test "${ac_cv_path_WIX_CANDLE+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4353 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4363 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
4375 if test -n "$WIX_CANDLE"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
4377 $as_echo "$WIX_CANDLE" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 # Extract the first word of "light", so it can be a program name with args.
4385 set dummy light; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_path_WIX_LIGHT+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4393 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
4404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
4415 if test -n "$WIX_LIGHT"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
4417 $as_echo "$WIX_LIGHT" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
4435 $as_echo_n "checking for moonshot... " >&6; }
4437 if test -n "$moonshot_CFLAGS"; then
4438 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
4439 elif test -n "$PKG_CONFIG"; then
4440 if test -n "$PKG_CONFIG" && \
4441 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
4448 ($PKG_CONFIG --exists --print-errors "
4456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4457 test $ac_status = 0; }; then
4458 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
4471 if test -n "$moonshot_LIBS"; then
4472 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
4473 elif test -n "$PKG_CONFIG"; then
4474 if test -n "$PKG_CONFIG" && \
4475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
4482 ($PKG_CONFIG --exists --print-errors "
4490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4491 test $ac_status = 0; }; then
4492 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
4508 if test $pkg_failed = yes; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4513 _pkg_short_errors_supported=yes
4515 _pkg_short_errors_supported=no
4517 if test $_pkg_short_errors_supported = yes; then
4518 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
4526 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors "
4534 # Put the nasty error message in config.log where it belongs
4535 echo "$moonshot_PKG_ERRORS" >&5
4537 as_fn_error $? "Package requirements (
4545 $moonshot_PKG_ERRORS
4547 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4548 installed software in a non-standard prefix.
4550 Alternatively, you may set the environment variables moonshot_CFLAGS
4551 and moonshot_LIBS to avoid the need to call pkg-config.
4552 See the pkg-config man page for more details." "$LINENO" 5
4553 elif test $pkg_failed = untried; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4558 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4559 is in your PATH or set the PKG_CONFIG environment variable to the full
4562 Alternatively, you may set the environment variables moonshot_CFLAGS
4563 and moonshot_LIBS to avoid the need to call pkg-config.
4564 See the pkg-config man page for more details.
4566 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4567 See \`config.log' for more details" "$LINENO" 5 ; }
4569 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
4570 moonshot_LIBS=$pkg_cv_moonshot_LIBS
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4572 $as_echo "yes" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4579 $as_echo_n "checking whether NLS is requested... " >&6; }
4580 # Check whether --enable-nls was given.
4581 if test "${enable_nls+set}" = set; then :
4582 enableval=$enable_nls; USE_NLS=$enableval
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4588 $as_echo "$USE_NLS" >&6; }
4593 GETTEXT_MACRO_VERSION=0.18
4598 # Prepare PATH_SEPARATOR.
4599 # The user is always right.
4600 if test "${PATH_SEPARATOR+set}" != set; then
4601 echo "#! /bin/sh" >conf$$.sh
4602 echo "exit 0" >>conf$$.sh
4604 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4612 # Find out how to test for executable files. Don't use a zero-byte file,
4613 # as systems may use methods other than mode bits to determine executability.
4614 cat >conf$$.file <<_ASEOF
4618 chmod +x conf$$.file
4619 if test -x conf$$.file >/dev/null 2>&1; then
4620 ac_executable_p="test -x"
4622 ac_executable_p="test -f"
4626 # Extract the first word of "msgfmt", so it can be a program name with args.
4627 set dummy msgfmt; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4631 $as_echo_n "(cached) " >&6
4635 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4638 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4639 for ac_dir in $PATH; do
4641 test -z "$ac_dir" && ac_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4644 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4645 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4646 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4647 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4654 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4658 MSGFMT="$ac_cv_path_MSGFMT"
4659 if test "$MSGFMT" != ":"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4661 $as_echo "$MSGFMT" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4667 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4668 set dummy gmsgfmt; ac_word=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4672 $as_echo_n "(cached) " >&6
4676 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4686 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4698 GMSGFMT=$ac_cv_path_GMSGFMT
4699 if test -n "$GMSGFMT"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4701 $as_echo "$GMSGFMT" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4709 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4710 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4711 *) MSGFMT_015=$MSGFMT ;;
4714 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4715 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4716 *) GMSGFMT_015=$GMSGFMT ;;
4721 # Prepare PATH_SEPARATOR.
4722 # The user is always right.
4723 if test "${PATH_SEPARATOR+set}" != set; then
4724 echo "#! /bin/sh" >conf$$.sh
4725 echo "exit 0" >>conf$$.sh
4727 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4735 # Find out how to test for executable files. Don't use a zero-byte file,
4736 # as systems may use methods other than mode bits to determine executability.
4737 cat >conf$$.file <<_ASEOF
4741 chmod +x conf$$.file
4742 if test -x conf$$.file >/dev/null 2>&1; then
4743 ac_executable_p="test -x"
4745 ac_executable_p="test -f"
4749 # Extract the first word of "xgettext", so it can be a program name with args.
4750 set dummy xgettext; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4754 $as_echo_n "(cached) " >&6
4758 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4761 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4762 for ac_dir in $PATH; do
4764 test -z "$ac_dir" && ac_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4767 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4768 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4769 (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
4770 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4777 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4781 XGETTEXT="$ac_cv_path_XGETTEXT"
4782 if test "$XGETTEXT" != ":"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4784 $as_echo "$XGETTEXT" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4793 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4794 *) XGETTEXT_015=$XGETTEXT ;;
4799 # Prepare PATH_SEPARATOR.
4800 # The user is always right.
4801 if test "${PATH_SEPARATOR+set}" != set; then
4802 echo "#! /bin/sh" >conf$$.sh
4803 echo "exit 0" >>conf$$.sh
4805 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4813 # Find out how to test for executable files. Don't use a zero-byte file,
4814 # as systems may use methods other than mode bits to determine executability.
4815 cat >conf$$.file <<_ASEOF
4819 chmod +x conf$$.file
4820 if test -x conf$$.file >/dev/null 2>&1; then
4821 ac_executable_p="test -x"
4823 ac_executable_p="test -f"
4827 # Extract the first word of "msgmerge", so it can be a program name with args.
4828 set dummy msgmerge; ac_word=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4832 $as_echo_n "(cached) " >&6
4836 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4839 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4840 for ac_dir in $PATH; do
4842 test -z "$ac_dir" && ac_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4845 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4846 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4847 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4854 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4858 MSGMERGE="$ac_cv_path_MSGMERGE"
4859 if test "$MSGMERGE" != ":"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4861 $as_echo "$MSGMERGE" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4868 test -n "$localedir" || localedir='${datadir}/locale'
4871 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4874 ac_config_commands="$ac_config_commands po-directories"
4878 if test "X$prefix" = "XNONE"; then
4879 acl_final_prefix="$ac_default_prefix"
4881 acl_final_prefix="$prefix"
4883 if test "X$exec_prefix" = "XNONE"; then
4884 acl_final_exec_prefix='${prefix}'
4886 acl_final_exec_prefix="$exec_prefix"
4888 acl_save_prefix="$prefix"
4889 prefix="$acl_final_prefix"
4890 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4891 prefix="$acl_save_prefix"
4894 # Check whether --with-gnu-ld was given.
4895 if test "${with_gnu_ld+set}" = set; then :
4896 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4901 # Prepare PATH_SEPARATOR.
4902 # The user is always right.
4903 if test "${PATH_SEPARATOR+set}" != set; then
4904 echo "#! /bin/sh" >conf$$.sh
4905 echo "exit 0" >>conf$$.sh
4907 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4915 if test "$GCC" = yes; then
4916 # Check if gcc -print-prog-name=ld gives a path.
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4918 $as_echo_n "checking for ld used by GCC... " >&6; }
4921 # gcc leaves a trailing carriage return which upsets mingw
4922 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4924 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4927 # Accept absolute paths.
4928 [\\/]* | [A-Za-z]:[\\/]*)
4929 re_direlt='/[^/][^/]*/\.\./'
4930 # Canonicalize the path of ld
4931 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4932 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4933 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4935 test -z "$LD" && LD="$ac_prog"
4938 # If it fails, then pretend we aren't using GCC.
4942 # If it is relative, then search for the first ld in PATH.
4946 elif test "$with_gnu_ld" = yes; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4948 $as_echo_n "checking for GNU ld... " >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4951 $as_echo_n "checking for non-GNU ld... " >&6; }
4953 if test "${acl_cv_path_LD+set}" = set; then :
4954 $as_echo_n "(cached) " >&6
4956 if test -z "$LD"; then
4957 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4958 for ac_dir in $PATH; do
4959 test -z "$ac_dir" && ac_dir=.
4960 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4961 acl_cv_path_LD="$ac_dir/$ac_prog"
4962 # Check to see if the program is GNU ld. I'd rather use --version,
4963 # but apparently some GNU ld's only accept -v.
4964 # Break only if it was the GNU/non-GNU ld that we prefer.
4965 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4966 *GNU* | *'with BFD'*)
4967 test "$with_gnu_ld" != no && break ;;
4969 test "$with_gnu_ld" != yes && break ;;
4975 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4979 LD="$acl_cv_path_LD"
4980 if test -n "$LD"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4982 $as_echo "$LD" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4987 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4989 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4990 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4993 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4994 case `$LD -v 2>&1 </dev/null` in
4995 *GNU* | *'with BFD'*)
4996 acl_cv_prog_gnu_ld=yes ;;
4998 acl_cv_prog_gnu_ld=no ;;
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5002 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5003 with_gnu_ld=$acl_cv_prog_gnu_ld
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5009 $as_echo_n "checking for shared library run path origin... " >&6; }
5010 if test "${acl_cv_rpath+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5014 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5015 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5022 $as_echo "$acl_cv_rpath" >&6; }
5024 acl_libext="$acl_cv_libext"
5025 acl_shlibext="$acl_cv_shlibext"
5026 acl_libname_spec="$acl_cv_libname_spec"
5027 acl_library_names_spec="$acl_cv_library_names_spec"
5028 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5029 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5030 acl_hardcode_direct="$acl_cv_hardcode_direct"
5031 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5032 # Check whether --enable-rpath was given.
5033 if test "${enable_rpath+set}" = set; then :
5034 enableval=$enable_rpath; :
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5047 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5048 # On Suns, sometimes $CPP names a directory.
5049 if test -n "$CPP" && test -d "$CPP"; then
5052 if test -z "$CPP"; then
5053 if test "${ac_cv_prog_CPP+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 # Double quotes because CPP needs to be expanded
5057 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5060 for ac_c_preproc_warn_flag in '' yes
5062 # Use a header file that comes with gcc, so configuring glibc
5063 # with a fresh cross-compiler works.
5064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5065 # <limits.h> exists even on freestanding compilers.
5066 # On the NeXT, cc -E runs the code through the compiler's parser,
5067 # not just through cpp. "Syntax error" is here to catch this case.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5071 # include <limits.h>
5073 # include <assert.h>
5077 if ac_fn_c_try_cpp "$LINENO"; then :
5080 # Broken: fails on valid input.
5083 rm -f conftest.err conftest.i conftest.$ac_ext
5085 # OK, works on sane cases. Now check whether nonexistent headers
5086 # can be detected and how.
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5089 #include <ac_nonexistent.h>
5091 if ac_fn_c_try_cpp "$LINENO"; then :
5092 # Broken: success on invalid input.
5095 # Passes both tests.
5099 rm -f conftest.err conftest.i conftest.$ac_ext
5102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5103 rm -f conftest.i conftest.err conftest.$ac_ext
5104 if $ac_preproc_ok; then :
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5117 $as_echo "$CPP" >&6; }
5119 for ac_c_preproc_warn_flag in '' yes
5121 # Use a header file that comes with gcc, so configuring glibc
5122 # with a fresh cross-compiler works.
5123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5124 # <limits.h> exists even on freestanding compilers.
5125 # On the NeXT, cc -E runs the code through the compiler's parser,
5126 # not just through cpp. "Syntax error" is here to catch this case.
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5130 # include <limits.h>
5132 # include <assert.h>
5136 if ac_fn_c_try_cpp "$LINENO"; then :
5139 # Broken: fails on valid input.
5142 rm -f conftest.err conftest.i conftest.$ac_ext
5144 # OK, works on sane cases. Now check whether nonexistent headers
5145 # can be detected and how.
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 #include <ac_nonexistent.h>
5150 if ac_fn_c_try_cpp "$LINENO"; then :
5151 # Broken: success on invalid input.
5154 # Passes both tests.
5158 rm -f conftest.err conftest.i conftest.$ac_ext
5161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5162 rm -f conftest.i conftest.err conftest.$ac_ext
5163 if $ac_preproc_ok; then :
5166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5168 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5169 See \`config.log' for more details" "$LINENO" 5 ; }
5173 ac_cpp='$CPP $CPPFLAGS'
5174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5180 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5181 if test "${ac_cv_path_GREP+set}" = set; then :
5182 $as_echo_n "(cached) " >&6
5184 if test -z "$GREP"; then
5185 ac_path_GREP_found=false
5186 # Loop through the user's path and test for each of PROGNAME-LIST
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5191 test -z "$as_dir" && as_dir=.
5192 for ac_prog in grep ggrep; do
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5195 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5196 # Check for GNU ac_path_GREP and select it if it is found.
5197 # Check for GNU $ac_path_GREP
5198 case `"$ac_path_GREP" --version 2>&1` in
5200 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5203 $as_echo_n 0123456789 >"conftest.in"
5206 cat "conftest.in" "conftest.in" >"conftest.tmp"
5207 mv "conftest.tmp" "conftest.in"
5208 cp "conftest.in" "conftest.nl"
5209 $as_echo 'GREP' >> "conftest.nl"
5210 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5211 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5212 as_fn_arith $ac_count + 1 && ac_count=$as_val
5213 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5214 # Best one so far, save it but keep looking for a better one
5215 ac_cv_path_GREP="$ac_path_GREP"
5216 ac_path_GREP_max=$ac_count
5218 # 10*(2^10) chars as input seems more than enough
5219 test $ac_count -gt 10 && break
5221 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5224 $ac_path_GREP_found && break 3
5229 if test -z "$ac_cv_path_GREP"; then
5230 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5233 ac_cv_path_GREP=$GREP
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5238 $as_echo "$ac_cv_path_GREP" >&6; }
5239 GREP="$ac_cv_path_GREP"
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5243 $as_echo_n "checking for egrep... " >&6; }
5244 if test "${ac_cv_path_EGREP+set}" = set; then :
5245 $as_echo_n "(cached) " >&6
5247 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5248 then ac_cv_path_EGREP="$GREP -E"
5250 if test -z "$EGREP"; then
5251 ac_path_EGREP_found=false
5252 # Loop through the user's path and test for each of PROGNAME-LIST
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5257 test -z "$as_dir" && as_dir=.
5258 for ac_prog in egrep; do
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5261 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5262 # Check for GNU ac_path_EGREP and select it if it is found.
5263 # Check for GNU $ac_path_EGREP
5264 case `"$ac_path_EGREP" --version 2>&1` in
5266 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5269 $as_echo_n 0123456789 >"conftest.in"
5272 cat "conftest.in" "conftest.in" >"conftest.tmp"
5273 mv "conftest.tmp" "conftest.in"
5274 cp "conftest.in" "conftest.nl"
5275 $as_echo 'EGREP' >> "conftest.nl"
5276 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5277 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5278 as_fn_arith $ac_count + 1 && ac_count=$as_val
5279 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5280 # Best one so far, save it but keep looking for a better one
5281 ac_cv_path_EGREP="$ac_path_EGREP"
5282 ac_path_EGREP_max=$ac_count
5284 # 10*(2^10) chars as input seems more than enough
5285 test $ac_count -gt 10 && break
5287 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5290 $ac_path_EGREP_found && break 3
5295 if test -z "$ac_cv_path_EGREP"; then
5296 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5299 ac_cv_path_EGREP=$EGREP
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5305 $as_echo "$ac_cv_path_EGREP" >&6; }
5306 EGREP="$ac_cv_path_EGREP"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5316 $as_echo_n "checking for 64-bit host... " >&6; }
5317 if test "${gl_cv_solaris_64bit+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5329 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5330 gl_cv_solaris_64bit=yes
5332 gl_cv_solaris_64bit=no
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5339 $as_echo "$gl_cv_solaris_64bit" >&6; }
5340 if test $gl_cv_solaris_64bit = yes; then
5341 acl_libdirstem=lib/64
5343 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5344 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5349 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5350 if test -n "$searchpath"; then
5351 acl_save_IFS="${IFS= }"; IFS=":"
5352 for searchdir in $searchpath; do
5353 if test -d "$searchdir"; then
5354 case "$searchdir" in
5355 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5357 # Better ignore directories of this form. They are misleading.
5359 *) searchdir=`cd "$searchdir" && pwd`
5360 case "$searchdir" in
5361 */lib64 ) acl_libdirstem=lib64 ;;
5370 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5385 acl_save_prefix="$prefix"
5386 prefix="$acl_final_prefix"
5387 acl_save_exec_prefix="$exec_prefix"
5388 exec_prefix="$acl_final_exec_prefix"
5390 eval additional_includedir=\"$includedir\"
5391 eval additional_libdir=\"$libdir\"
5393 exec_prefix="$acl_save_exec_prefix"
5394 prefix="$acl_save_prefix"
5397 # Check whether --with-libiconv-prefix was given.
5398 if test "${with_libiconv_prefix+set}" = set; then :
5399 withval=$with_libiconv_prefix;
5400 if test "X$withval" = "Xno"; then
5403 if test "X$withval" = "X"; then
5405 acl_save_prefix="$prefix"
5406 prefix="$acl_final_prefix"
5407 acl_save_exec_prefix="$exec_prefix"
5408 exec_prefix="$acl_final_exec_prefix"
5410 eval additional_includedir=\"$includedir\"
5411 eval additional_libdir=\"$libdir\"
5413 exec_prefix="$acl_save_exec_prefix"
5414 prefix="$acl_save_prefix"
5417 additional_includedir="$withval/include"
5418 additional_libdir="$withval/$acl_libdirstem"
5419 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5420 && ! test -d "$withval/$acl_libdirstem"; then
5421 additional_libdir="$withval/$acl_libdirstem2"
5435 names_already_handled=
5436 names_next_round='iconv '
5437 while test -n "$names_next_round"; do
5438 names_this_round="$names_next_round"
5440 for name in $names_this_round; do
5442 for n in $names_already_handled; do
5443 if test "$n" = "$name"; then
5448 if test -z "$already_handled"; then
5449 names_already_handled="$names_already_handled $name"
5450 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5451 eval value=\"\$HAVE_LIB$uppername\"
5452 if test -n "$value"; then
5453 if test "$value" = yes; then
5454 eval value=\"\$LIB$uppername\"
5455 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5456 eval value=\"\$LTLIB$uppername\"
5457 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5466 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5467 if test -n "$acl_shlibext"; then
5468 shrext=".$acl_shlibext" # typically: shrext=.so
5472 if test $use_additional = yes; then
5473 dir="$additional_libdir"
5474 if test -n "$acl_shlibext"; then
5475 if test -f "$dir/$libname$shrext"; then
5477 found_so="$dir/$libname$shrext"
5479 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5480 ver=`(cd "$dir" && \
5481 for f in "$libname$shrext".*; do echo "$f"; done \
5482 | sed -e "s,^$libname$shrext\\\\.,," \
5483 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5484 | sed 1q ) 2>/dev/null`
5485 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5487 found_so="$dir/$libname$shrext.$ver"
5490 eval library_names=\"$acl_library_names_spec\"
5491 for f in $library_names; do
5492 if test -f "$dir/$f"; then
5501 if test "X$found_dir" = "X"; then
5502 if test -f "$dir/$libname.$acl_libext"; then
5504 found_a="$dir/$libname.$acl_libext"
5507 if test "X$found_dir" != "X"; then
5508 if test -f "$dir/$libname.la"; then
5509 found_la="$dir/$libname.la"
5513 if test "X$found_dir" = "X"; then
5514 for x in $LDFLAGS $LTLIBICONV; do
5516 acl_save_prefix="$prefix"
5517 prefix="$acl_final_prefix"
5518 acl_save_exec_prefix="$exec_prefix"
5519 exec_prefix="$acl_final_exec_prefix"
5521 exec_prefix="$acl_save_exec_prefix"
5522 prefix="$acl_save_prefix"
5526 dir=`echo "X$x" | sed -e 's/^X-L//'`
5527 if test -n "$acl_shlibext"; then
5528 if test -f "$dir/$libname$shrext"; then
5530 found_so="$dir/$libname$shrext"
5532 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5533 ver=`(cd "$dir" && \
5534 for f in "$libname$shrext".*; do echo "$f"; done \
5535 | sed -e "s,^$libname$shrext\\\\.,," \
5536 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5537 | sed 1q ) 2>/dev/null`
5538 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5540 found_so="$dir/$libname$shrext.$ver"
5543 eval library_names=\"$acl_library_names_spec\"
5544 for f in $library_names; do
5545 if test -f "$dir/$f"; then
5554 if test "X$found_dir" = "X"; then
5555 if test -f "$dir/$libname.$acl_libext"; then
5557 found_a="$dir/$libname.$acl_libext"
5560 if test "X$found_dir" != "X"; then
5561 if test -f "$dir/$libname.la"; then
5562 found_la="$dir/$libname.la"
5567 if test "X$found_dir" != "X"; then
5572 if test "X$found_dir" != "X"; then
5573 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5574 if test "X$found_so" != "X"; then
5575 if test "$enable_rpath" = no \
5576 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5577 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5578 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5581 for x in $ltrpathdirs; do
5582 if test "X$x" = "X$found_dir"; then
5587 if test -z "$haveit"; then
5588 ltrpathdirs="$ltrpathdirs $found_dir"
5590 if test "$acl_hardcode_direct" = yes; then
5591 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5593 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5594 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5596 for x in $rpathdirs; do
5597 if test "X$x" = "X$found_dir"; then
5602 if test -z "$haveit"; then
5603 rpathdirs="$rpathdirs $found_dir"
5607 for x in $LDFLAGS $LIBICONV; do
5609 acl_save_prefix="$prefix"
5610 prefix="$acl_final_prefix"
5611 acl_save_exec_prefix="$exec_prefix"
5612 exec_prefix="$acl_final_exec_prefix"
5614 exec_prefix="$acl_save_exec_prefix"
5615 prefix="$acl_save_prefix"
5617 if test "X$x" = "X-L$found_dir"; then
5622 if test -z "$haveit"; then
5623 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5625 if test "$acl_hardcode_minus_L" != no; then
5626 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5628 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5634 if test "X$found_a" != "X"; then
5635 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5637 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5640 additional_includedir=
5641 case "$found_dir" in
5642 */$acl_libdirstem | */$acl_libdirstem/)
5643 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5644 if test "$name" = 'iconv'; then
5645 LIBICONV_PREFIX="$basedir"
5647 additional_includedir="$basedir/include"
5649 */$acl_libdirstem2 | */$acl_libdirstem2/)
5650 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5651 if test "$name" = 'iconv'; then
5652 LIBICONV_PREFIX="$basedir"
5654 additional_includedir="$basedir/include"
5657 if test "X$additional_includedir" != "X"; then
5658 if test "X$additional_includedir" != "X/usr/include"; then
5660 if test "X$additional_includedir" = "X/usr/local/include"; then
5661 if test -n "$GCC"; then
5663 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5667 if test -z "$haveit"; then
5668 for x in $CPPFLAGS $INCICONV; do
5670 acl_save_prefix="$prefix"
5671 prefix="$acl_final_prefix"
5672 acl_save_exec_prefix="$exec_prefix"
5673 exec_prefix="$acl_final_exec_prefix"
5675 exec_prefix="$acl_save_exec_prefix"
5676 prefix="$acl_save_prefix"
5678 if test "X$x" = "X-I$additional_includedir"; then
5683 if test -z "$haveit"; then
5684 if test -d "$additional_includedir"; then
5685 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5691 if test -n "$found_la"; then
5692 save_libdir="$libdir"
5694 */* | *\\*) . "$found_la" ;;
5695 *) . "./$found_la" ;;
5697 libdir="$save_libdir"
5698 for dep in $dependency_libs; do
5701 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5702 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5703 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5705 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5706 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5707 if test -n "$GCC"; then
5709 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5713 if test -z "$haveit"; then
5715 for x in $LDFLAGS $LIBICONV; do
5717 acl_save_prefix="$prefix"
5718 prefix="$acl_final_prefix"
5719 acl_save_exec_prefix="$exec_prefix"
5720 exec_prefix="$acl_final_exec_prefix"
5722 exec_prefix="$acl_save_exec_prefix"
5723 prefix="$acl_save_prefix"
5725 if test "X$x" = "X-L$additional_libdir"; then
5730 if test -z "$haveit"; then
5731 if test -d "$additional_libdir"; then
5732 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5736 for x in $LDFLAGS $LTLIBICONV; do
5738 acl_save_prefix="$prefix"
5739 prefix="$acl_final_prefix"
5740 acl_save_exec_prefix="$exec_prefix"
5741 exec_prefix="$acl_final_exec_prefix"
5743 exec_prefix="$acl_save_exec_prefix"
5744 prefix="$acl_save_prefix"
5746 if test "X$x" = "X-L$additional_libdir"; then
5751 if test -z "$haveit"; then
5752 if test -d "$additional_libdir"; then
5753 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5760 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5761 if test "$enable_rpath" != no; then
5763 for x in $rpathdirs; do
5764 if test "X$x" = "X$dir"; then
5769 if test -z "$haveit"; then
5770 rpathdirs="$rpathdirs $dir"
5773 for x in $ltrpathdirs; do
5774 if test "X$x" = "X$dir"; then
5779 if test -z "$haveit"; then
5780 ltrpathdirs="$ltrpathdirs $dir"
5785 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5788 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5791 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5792 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5798 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5799 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5805 if test "X$rpathdirs" != "X"; then
5806 if test -n "$acl_hardcode_libdir_separator"; then
5808 for found_dir in $rpathdirs; do
5809 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5811 acl_save_libdir="$libdir"
5813 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5814 libdir="$acl_save_libdir"
5815 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5817 for found_dir in $rpathdirs; do
5818 acl_save_libdir="$libdir"
5820 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5821 libdir="$acl_save_libdir"
5822 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5826 if test "X$ltrpathdirs" != "X"; then
5827 for found_dir in $ltrpathdirs; do
5828 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5863 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5864 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5867 gt_save_LIBS="$LIBS"
5868 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 #include <CoreFoundation/CFPreferences.h>
5875 CFPreferencesCopyAppValue(NULL, NULL)
5880 if ac_fn_c_try_link "$LINENO"; then :
5881 gt_cv_func_CFPreferencesCopyAppValue=yes
5883 gt_cv_func_CFPreferencesCopyAppValue=no
5885 rm -f core conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5887 LIBS="$gt_save_LIBS"
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5890 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5891 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5893 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5897 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5898 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5899 $as_echo_n "(cached) " >&6
5901 gt_save_LIBS="$LIBS"
5902 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5905 #include <CoreFoundation/CFLocale.h>
5909 CFLocaleCopyCurrent();
5914 if ac_fn_c_try_link "$LINENO"; then :
5915 gt_cv_func_CFLocaleCopyCurrent=yes
5917 gt_cv_func_CFLocaleCopyCurrent=no
5919 rm -f core conftest.err conftest.$ac_objext \
5920 conftest$ac_exeext conftest.$ac_ext
5921 LIBS="$gt_save_LIBS"
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5924 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5925 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5927 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5931 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5932 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5944 case " $gt_needs " in
5945 *" need-formatstring-macros "*) gt_api_version=3 ;;
5946 *" need-ngettext "*) gt_api_version=2 ;;
5947 *) gt_api_version=1 ;;
5949 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5950 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5952 if test "$USE_NLS" = "yes"; then
5953 gt_use_preinstalled_gnugettext=no
5956 if test $gt_api_version -ge 3; then
5957 gt_revision_test_code='
5958 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5959 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5961 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5964 gt_revision_test_code=
5966 if test $gt_api_version -ge 2; then
5967 gt_expression_test_code=' + * ngettext ("", "", 0)'
5969 gt_expression_test_code=
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5973 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5974 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
5975 $as_echo_n "(cached) " >&6
5977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5979 #include <libintl.h>
5980 $gt_revision_test_code
5981 extern int _nl_msg_cat_cntr;
5982 extern int *_nl_domain_bindings;
5986 bindtextdomain ("", "");
5987 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5992 if ac_fn_c_try_link "$LINENO"; then :
5993 eval "$gt_func_gnugettext_libc=yes"
5995 eval "$gt_func_gnugettext_libc=no"
5997 rm -f core conftest.err conftest.$ac_objext \
5998 conftest$ac_exeext conftest.$ac_ext
6000 eval ac_res=\$$gt_func_gnugettext_libc
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6002 $as_echo "$ac_res" >&6; }
6004 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6010 am_save_CPPFLAGS="$CPPFLAGS"
6012 for element in $INCICONV; do
6014 for x in $CPPFLAGS; do
6016 acl_save_prefix="$prefix"
6017 prefix="$acl_final_prefix"
6018 acl_save_exec_prefix="$exec_prefix"
6019 exec_prefix="$acl_final_exec_prefix"
6021 exec_prefix="$acl_save_exec_prefix"
6022 prefix="$acl_save_prefix"
6024 if test "X$x" = "X$element"; then
6029 if test -z "$haveit"; then
6030 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6036 $as_echo_n "checking for iconv... " >&6; }
6037 if test "${am_cv_func_iconv+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6041 am_cv_func_iconv="no, consider installing GNU libiconv"
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6050 iconv_t cd = iconv_open("","");
6051 iconv(cd,NULL,NULL,NULL,NULL);
6057 if ac_fn_c_try_link "$LINENO"; then :
6058 am_cv_func_iconv=yes
6060 rm -f core conftest.err conftest.$ac_objext \
6061 conftest$ac_exeext conftest.$ac_ext
6062 if test "$am_cv_func_iconv" != yes; then
6063 am_save_LIBS="$LIBS"
6064 LIBS="$LIBS $LIBICONV"
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6072 iconv_t cd = iconv_open("","");
6073 iconv(cd,NULL,NULL,NULL,NULL);
6079 if ac_fn_c_try_link "$LINENO"; then :
6081 am_cv_func_iconv=yes
6083 rm -f core conftest.err conftest.$ac_objext \
6084 conftest$ac_exeext conftest.$ac_ext
6085 LIBS="$am_save_LIBS"
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6090 $as_echo "$am_cv_func_iconv" >&6; }
6091 if test "$am_cv_func_iconv" = yes; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6093 $as_echo_n "checking for working iconv... " >&6; }
6094 if test "${am_cv_func_iconv_works+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6098 am_save_LIBS="$LIBS"
6099 if test $am_cv_lib_iconv = yes; then
6100 LIBS="$LIBS $LIBICONV"
6102 if test "$cross_compiling" = yes; then :
6104 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6105 *) am_cv_func_iconv_works="guessing yes" ;;
6108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6115 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6118 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6119 if (cd_utf8_to_88591 != (iconv_t)(-1))
6121 static const char input[] = "\342\202\254"; /* EURO SIGN */
6123 const char *inptr = input;
6124 size_t inbytesleft = strlen (input);
6126 size_t outbytesleft = sizeof (buf);
6127 size_t res = iconv (cd_utf8_to_88591,
6128 (char **) &inptr, &inbytesleft,
6129 &outptr, &outbytesleft);
6134 /* Test against Solaris 10 bug: Failures are not distinguishable from
6135 successful returns. */
6137 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6138 if (cd_ascii_to_88591 != (iconv_t)(-1))
6140 static const char input[] = "\263";
6142 const char *inptr = input;
6143 size_t inbytesleft = strlen (input);
6145 size_t outbytesleft = sizeof (buf);
6146 size_t res = iconv (cd_ascii_to_88591,
6147 (char **) &inptr, &inbytesleft,
6148 &outptr, &outbytesleft);
6153 #if 0 /* This bug could be worked around by the caller. */
6154 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6156 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6157 if (cd_88591_to_utf8 != (iconv_t)(-1))
6159 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6161 const char *inptr = input;
6162 size_t inbytesleft = strlen (input);
6164 size_t outbytesleft = sizeof (buf);
6165 size_t res = iconv (cd_88591_to_utf8,
6166 (char **) &inptr, &inbytesleft,
6167 &outptr, &outbytesleft);
6173 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6175 if (/* Try standardized names. */
6176 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6177 /* Try IRIX, OSF/1 names. */
6178 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6179 /* Try AIX names. */
6180 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6181 /* Try HP-UX names. */
6182 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6187 if ac_fn_c_try_run "$LINENO"; then :
6188 am_cv_func_iconv_works=yes
6190 am_cv_func_iconv_works=no
6192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6193 conftest.$ac_objext conftest.beam conftest.$ac_ext
6196 LIBS="$am_save_LIBS"
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6200 $as_echo "$am_cv_func_iconv_works" >&6; }
6201 case "$am_cv_func_iconv_works" in
6202 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6203 *) am_func_iconv=yes ;;
6206 am_func_iconv=no am_cv_lib_iconv=no
6208 if test "$am_func_iconv" = yes; then
6210 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6213 if test "$am_cv_lib_iconv" = yes; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6215 $as_echo_n "checking how to link with libiconv... " >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6217 $as_echo "$LIBICONV" >&6; }
6219 CPPFLAGS="$am_save_CPPFLAGS"
6236 acl_save_prefix="$prefix"
6237 prefix="$acl_final_prefix"
6238 acl_save_exec_prefix="$exec_prefix"
6239 exec_prefix="$acl_final_exec_prefix"
6241 eval additional_includedir=\"$includedir\"
6242 eval additional_libdir=\"$libdir\"
6244 exec_prefix="$acl_save_exec_prefix"
6245 prefix="$acl_save_prefix"
6248 # Check whether --with-libintl-prefix was given.
6249 if test "${with_libintl_prefix+set}" = set; then :
6250 withval=$with_libintl_prefix;
6251 if test "X$withval" = "Xno"; then
6254 if test "X$withval" = "X"; then
6256 acl_save_prefix="$prefix"
6257 prefix="$acl_final_prefix"
6258 acl_save_exec_prefix="$exec_prefix"
6259 exec_prefix="$acl_final_exec_prefix"
6261 eval additional_includedir=\"$includedir\"
6262 eval additional_libdir=\"$libdir\"
6264 exec_prefix="$acl_save_exec_prefix"
6265 prefix="$acl_save_prefix"
6268 additional_includedir="$withval/include"
6269 additional_libdir="$withval/$acl_libdirstem"
6270 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6271 && ! test -d "$withval/$acl_libdirstem"; then
6272 additional_libdir="$withval/$acl_libdirstem2"
6286 names_already_handled=
6287 names_next_round='intl '
6288 while test -n "$names_next_round"; do
6289 names_this_round="$names_next_round"
6291 for name in $names_this_round; do
6293 for n in $names_already_handled; do
6294 if test "$n" = "$name"; then
6299 if test -z "$already_handled"; then
6300 names_already_handled="$names_already_handled $name"
6301 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6302 eval value=\"\$HAVE_LIB$uppername\"
6303 if test -n "$value"; then
6304 if test "$value" = yes; then
6305 eval value=\"\$LIB$uppername\"
6306 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6307 eval value=\"\$LTLIB$uppername\"
6308 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6317 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6318 if test -n "$acl_shlibext"; then
6319 shrext=".$acl_shlibext" # typically: shrext=.so
6323 if test $use_additional = yes; then
6324 dir="$additional_libdir"
6325 if test -n "$acl_shlibext"; then
6326 if test -f "$dir/$libname$shrext"; then
6328 found_so="$dir/$libname$shrext"
6330 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6331 ver=`(cd "$dir" && \
6332 for f in "$libname$shrext".*; do echo "$f"; done \
6333 | sed -e "s,^$libname$shrext\\\\.,," \
6334 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6335 | sed 1q ) 2>/dev/null`
6336 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6338 found_so="$dir/$libname$shrext.$ver"
6341 eval library_names=\"$acl_library_names_spec\"
6342 for f in $library_names; do
6343 if test -f "$dir/$f"; then
6352 if test "X$found_dir" = "X"; then
6353 if test -f "$dir/$libname.$acl_libext"; then
6355 found_a="$dir/$libname.$acl_libext"
6358 if test "X$found_dir" != "X"; then
6359 if test -f "$dir/$libname.la"; then
6360 found_la="$dir/$libname.la"
6364 if test "X$found_dir" = "X"; then
6365 for x in $LDFLAGS $LTLIBINTL; do
6367 acl_save_prefix="$prefix"
6368 prefix="$acl_final_prefix"
6369 acl_save_exec_prefix="$exec_prefix"
6370 exec_prefix="$acl_final_exec_prefix"
6372 exec_prefix="$acl_save_exec_prefix"
6373 prefix="$acl_save_prefix"
6377 dir=`echo "X$x" | sed -e 's/^X-L//'`
6378 if test -n "$acl_shlibext"; then
6379 if test -f "$dir/$libname$shrext"; then
6381 found_so="$dir/$libname$shrext"
6383 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6384 ver=`(cd "$dir" && \
6385 for f in "$libname$shrext".*; do echo "$f"; done \
6386 | sed -e "s,^$libname$shrext\\\\.,," \
6387 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6388 | sed 1q ) 2>/dev/null`
6389 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6391 found_so="$dir/$libname$shrext.$ver"
6394 eval library_names=\"$acl_library_names_spec\"
6395 for f in $library_names; do
6396 if test -f "$dir/$f"; then
6405 if test "X$found_dir" = "X"; then
6406 if test -f "$dir/$libname.$acl_libext"; then
6408 found_a="$dir/$libname.$acl_libext"
6411 if test "X$found_dir" != "X"; then
6412 if test -f "$dir/$libname.la"; then
6413 found_la="$dir/$libname.la"
6418 if test "X$found_dir" != "X"; then
6423 if test "X$found_dir" != "X"; then
6424 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6425 if test "X$found_so" != "X"; then
6426 if test "$enable_rpath" = no \
6427 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6428 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6429 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6432 for x in $ltrpathdirs; do
6433 if test "X$x" = "X$found_dir"; then
6438 if test -z "$haveit"; then
6439 ltrpathdirs="$ltrpathdirs $found_dir"
6441 if test "$acl_hardcode_direct" = yes; then
6442 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6444 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6445 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6447 for x in $rpathdirs; do
6448 if test "X$x" = "X$found_dir"; then
6453 if test -z "$haveit"; then
6454 rpathdirs="$rpathdirs $found_dir"
6458 for x in $LDFLAGS $LIBINTL; do
6460 acl_save_prefix="$prefix"
6461 prefix="$acl_final_prefix"
6462 acl_save_exec_prefix="$exec_prefix"
6463 exec_prefix="$acl_final_exec_prefix"
6465 exec_prefix="$acl_save_exec_prefix"
6466 prefix="$acl_save_prefix"
6468 if test "X$x" = "X-L$found_dir"; then
6473 if test -z "$haveit"; then
6474 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6476 if test "$acl_hardcode_minus_L" != no; then
6477 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6479 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6485 if test "X$found_a" != "X"; then
6486 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6488 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6491 additional_includedir=
6492 case "$found_dir" in
6493 */$acl_libdirstem | */$acl_libdirstem/)
6494 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6495 if test "$name" = 'intl'; then
6496 LIBINTL_PREFIX="$basedir"
6498 additional_includedir="$basedir/include"
6500 */$acl_libdirstem2 | */$acl_libdirstem2/)
6501 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6502 if test "$name" = 'intl'; then
6503 LIBINTL_PREFIX="$basedir"
6505 additional_includedir="$basedir/include"
6508 if test "X$additional_includedir" != "X"; then
6509 if test "X$additional_includedir" != "X/usr/include"; then
6511 if test "X$additional_includedir" = "X/usr/local/include"; then
6512 if test -n "$GCC"; then
6514 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6518 if test -z "$haveit"; then
6519 for x in $CPPFLAGS $INCINTL; do
6521 acl_save_prefix="$prefix"
6522 prefix="$acl_final_prefix"
6523 acl_save_exec_prefix="$exec_prefix"
6524 exec_prefix="$acl_final_exec_prefix"
6526 exec_prefix="$acl_save_exec_prefix"
6527 prefix="$acl_save_prefix"
6529 if test "X$x" = "X-I$additional_includedir"; then
6534 if test -z "$haveit"; then
6535 if test -d "$additional_includedir"; then
6536 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6542 if test -n "$found_la"; then
6543 save_libdir="$libdir"
6545 */* | *\\*) . "$found_la" ;;
6546 *) . "./$found_la" ;;
6548 libdir="$save_libdir"
6549 for dep in $dependency_libs; do
6552 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6553 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6554 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6556 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6557 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6558 if test -n "$GCC"; then
6560 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6564 if test -z "$haveit"; then
6566 for x in $LDFLAGS $LIBINTL; do
6568 acl_save_prefix="$prefix"
6569 prefix="$acl_final_prefix"
6570 acl_save_exec_prefix="$exec_prefix"
6571 exec_prefix="$acl_final_exec_prefix"
6573 exec_prefix="$acl_save_exec_prefix"
6574 prefix="$acl_save_prefix"
6576 if test "X$x" = "X-L$additional_libdir"; then
6581 if test -z "$haveit"; then
6582 if test -d "$additional_libdir"; then
6583 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6587 for x in $LDFLAGS $LTLIBINTL; do
6589 acl_save_prefix="$prefix"
6590 prefix="$acl_final_prefix"
6591 acl_save_exec_prefix="$exec_prefix"
6592 exec_prefix="$acl_final_exec_prefix"
6594 exec_prefix="$acl_save_exec_prefix"
6595 prefix="$acl_save_prefix"
6597 if test "X$x" = "X-L$additional_libdir"; then
6602 if test -z "$haveit"; then
6603 if test -d "$additional_libdir"; then
6604 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6611 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6612 if test "$enable_rpath" != no; then
6614 for x in $rpathdirs; do
6615 if test "X$x" = "X$dir"; then
6620 if test -z "$haveit"; then
6621 rpathdirs="$rpathdirs $dir"
6624 for x in $ltrpathdirs; do
6625 if test "X$x" = "X$dir"; then
6630 if test -z "$haveit"; then
6631 ltrpathdirs="$ltrpathdirs $dir"
6636 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6639 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6642 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6643 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6649 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6650 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6656 if test "X$rpathdirs" != "X"; then
6657 if test -n "$acl_hardcode_libdir_separator"; then
6659 for found_dir in $rpathdirs; do
6660 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6662 acl_save_libdir="$libdir"
6664 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6665 libdir="$acl_save_libdir"
6666 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6668 for found_dir in $rpathdirs; do
6669 acl_save_libdir="$libdir"
6671 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6672 libdir="$acl_save_libdir"
6673 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6677 if test "X$ltrpathdirs" != "X"; then
6678 for found_dir in $ltrpathdirs; do
6679 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6689 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6690 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
6691 $as_echo_n "(cached) " >&6
6693 gt_save_CPPFLAGS="$CPPFLAGS"
6694 CPPFLAGS="$CPPFLAGS $INCINTL"
6695 gt_save_LIBS="$LIBS"
6696 LIBS="$LIBS $LIBINTL"
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <libintl.h>
6700 $gt_revision_test_code
6701 extern int _nl_msg_cat_cntr;
6706 const char *_nl_expand_alias (const char *);
6710 bindtextdomain ("", "");
6711 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6716 if ac_fn_c_try_link "$LINENO"; then :
6717 eval "$gt_func_gnugettext_libintl=yes"
6719 eval "$gt_func_gnugettext_libintl=no"
6721 rm -f core conftest.err conftest.$ac_objext \
6722 conftest$ac_exeext conftest.$ac_ext
6723 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6724 LIBS="$LIBS $LIBICONV"
6725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6726 /* end confdefs.h. */
6727 #include <libintl.h>
6728 $gt_revision_test_code
6729 extern int _nl_msg_cat_cntr;
6734 const char *_nl_expand_alias (const char *);
6738 bindtextdomain ("", "");
6739 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6744 if ac_fn_c_try_link "$LINENO"; then :
6745 LIBINTL="$LIBINTL $LIBICONV"
6746 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6747 eval "$gt_func_gnugettext_libintl=yes"
6750 rm -f core conftest.err conftest.$ac_objext \
6751 conftest$ac_exeext conftest.$ac_ext
6753 CPPFLAGS="$gt_save_CPPFLAGS"
6754 LIBS="$gt_save_LIBS"
6756 eval ac_res=\$$gt_func_gnugettext_libintl
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6758 $as_echo "$ac_res" >&6; }
6761 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6762 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6763 && test "$PACKAGE" != gettext-runtime \
6764 && test "$PACKAGE" != gettext-tools; }; then
6765 gt_use_preinstalled_gnugettext=yes
6774 if test -n "$INTL_MACOSX_LIBS"; then
6775 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6776 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6777 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6778 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6782 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6783 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6785 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6793 $as_echo_n "checking whether to use NLS... " >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6795 $as_echo "$USE_NLS" >&6; }
6796 if test "$USE_NLS" = "yes"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6798 $as_echo_n "checking where the gettext function comes from... " >&6; }
6799 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6800 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6801 gt_source="external libintl"
6806 gt_source="included intl directory"
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6809 $as_echo "$gt_source" >&6; }
6812 if test "$USE_NLS" = "yes"; then
6814 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6815 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6817 $as_echo_n "checking how to link with libintl... " >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6819 $as_echo "$LIBINTL" >&6; }
6821 for element in $INCINTL; do
6823 for x in $CPPFLAGS; do
6825 acl_save_prefix="$prefix"
6826 prefix="$acl_final_prefix"
6827 acl_save_exec_prefix="$exec_prefix"
6828 exec_prefix="$acl_final_exec_prefix"
6830 exec_prefix="$acl_save_exec_prefix"
6831 prefix="$acl_save_prefix"
6833 if test "X$x" = "X$element"; then
6838 if test -z "$haveit"; then
6839 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6846 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6849 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6867 GETTEXT_PACKAGE=PACKAGE_TARNAME
6870 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
6873 ac_config_files="$ac_config_files Makefile po/Makefile.in"
6876 cat >confcache <<\_ACEOF
6877 # This file is a shell script that caches the results of configure
6878 # tests run on this system so they can be shared between configure
6879 # scripts and configure runs, see configure's option --config-cache.
6880 # It is not useful on other systems. If it contains results you don't
6881 # want to keep, you may remove or edit it.
6883 # config.status only pays attention to the cache file if you give it
6884 # the --recheck option to rerun configure.
6886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6892 # The following way of writing the cache mishandles newlines in values,
6893 # but we know of no workaround that is simple, portable, and efficient.
6894 # So, we kill variables containing newlines.
6895 # Ultrix sh set writes to stderr and can't be redirected directly,
6896 # and sets the high bit in the cache file unless we assign to the vars.
6898 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6899 eval ac_val=\$$ac_var
6903 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6907 _ | IFS | as_nl) ;; #(
6908 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6909 *) { eval $ac_var=; unset $ac_var;} ;;
6915 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6916 *${as_nl}ac_space=\ *)
6917 # `set' does not quote correctly, so add quotes: double-quote
6918 # substitution turns \\\\ into \\, and sed turns \\ into \.
6921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6924 # `set' quotes correctly as required by POSIX, so do not add quotes.
6925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6939 if test -w "$cache_file"; then
6940 test "x$cache_file" != "x/dev/null" &&
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6942 $as_echo "$as_me: updating cache $cache_file" >&6;}
6943 cat confcache >$cache_file
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6946 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6951 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6952 # Let make expand exec_prefix.
6953 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6955 DEFS=-DHAVE_CONFIG_H
6960 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6961 # 1. Remove the extension, and $U if already installed.
6962 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6963 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6964 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6965 # will be set to the directory where LIBOBJS objects are built.
6966 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6967 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6971 LTLIBOBJS=$ac_ltlibobjs
6974 if test -n "$EXEEXT"; then
6976 am__EXEEXT_FALSE='#'
6982 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6983 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6986 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
6987 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
6988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6990 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
6991 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
6992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6994 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
6995 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
6996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6998 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6999 as_fn_error $? "conditional \"AMDEP\" was never defined.
7000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7002 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7003 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7007 : ${CONFIG_STATUS=./config.status}
7009 ac_clean_files_save=$ac_clean_files
7010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7012 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7014 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7016 # Generated by $as_me.
7017 # Run this file to recreate the current configuration.
7018 # Compiler output produced by configure, useful for debugging
7019 # configure, is in config.log if it exists.
7025 SHELL=\${CONFIG_SHELL-$SHELL}
7028 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7029 ## -------------------- ##
7030 ## M4sh Initialization. ##
7031 ## -------------------- ##
7033 # Be more Bourne compatible
7034 DUALCASE=1; export DUALCASE # for MKS sh
7035 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7038 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7039 # is contrary to our usage. Disable this feature.
7040 alias -g '${1+"$@"}'='"$@"'
7041 setopt NO_GLOB_SUBST
7043 case `(set -o) 2>/dev/null` in #(
7055 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7056 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7057 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7058 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7059 # Prefer a ksh shell builtin over an external printf program on Solaris,
7060 # but without wasting forks for bash or zsh.
7061 if test -z "$BASH_VERSION$ZSH_VERSION" \
7062 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7063 as_echo='print -r --'
7064 as_echo_n='print -rn --'
7065 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7066 as_echo='printf %s\n'
7067 as_echo_n='printf %s'
7069 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7070 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7071 as_echo_n='/usr/ucb/echo -n'
7073 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7074 as_echo_n_body='eval
7078 expr "X$arg" : "X\\(.*\\)$as_nl";
7079 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7081 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7083 export as_echo_n_body
7084 as_echo_n='sh -c $as_echo_n_body as_echo'
7087 as_echo='sh -c $as_echo_body as_echo'
7090 # The user is always right.
7091 if test "${PATH_SEPARATOR+set}" != set; then
7093 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7094 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7101 # We need space, tab and new line, in precisely that order. Quoting is
7102 # there to prevent editors from complaining about space-tab.
7103 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7104 # splitting by setting IFS to empty value.)
7107 # Find who we are. Look in the path if we contain no directory separator.
7109 *[\\/]* ) as_myself=$0 ;;
7110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir=.
7115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7121 # We did not find ourselves, most probably we were run as `sh COMMAND'
7122 # in which case we are not to be found in the path.
7123 if test "x$as_myself" = x; then
7126 if test ! -f "$as_myself"; then
7127 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7131 # Unset variables that we do not need and which cause bugs (e.g. in
7132 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7133 # suppresses any "Segmentation fault" message there. '((' could
7134 # trigger a bug in pdksh 5.2.14.
7135 for as_var in BASH_ENV ENV MAIL MAILPATH
7136 do eval test x\${$as_var+set} = xset \
7137 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7150 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7153 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7154 # ----------------------------------------
7155 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7156 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7157 # script with STATUS, using 1 if that was 0.
7160 as_status=$1; test $as_status -eq 0 && as_status=1
7162 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7163 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7165 $as_echo "$as_me: error: $2" >&2
7166 as_fn_exit $as_status
7170 # as_fn_set_status STATUS
7171 # -----------------------
7172 # Set $? to STATUS, without forking.
7176 } # as_fn_set_status
7180 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7190 # Portably unset VAR.
7193 { eval $1=; unset $1;}
7195 as_unset=as_fn_unset
7196 # as_fn_append VAR VALUE
7197 # ----------------------
7198 # Append the text in VALUE to the end of the definition contained in VAR. Take
7199 # advantage of any shell optimizations that allow amortized linear growth over
7200 # repeated appends, instead of the typical quadratic growth present in naive
7202 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7203 eval 'as_fn_append ()
7214 # as_fn_arith ARG...
7215 # ------------------
7216 # Perform arithmetic evaluation on the ARGs, and store the result in the
7217 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7218 # must be portable across $(()) and expr.
7219 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7220 eval 'as_fn_arith ()
7227 as_val=`expr "$@" || test $? -eq 1`
7232 if expr a : '\(a\)' >/dev/null 2>&1 &&
7233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7240 as_basename=basename
7245 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7251 as_me=`$as_basename -- "$0" ||
7252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7253 X"$0" : 'X\(//\)$' \| \
7254 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7256 sed '/^.*\/\([^/][^/]*\)\/*$/{
7270 # Avoid depending upon Character Ranges.
7271 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7272 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7273 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7274 as_cr_digits='0123456789'
7275 as_cr_alnum=$as_cr_Letters$as_cr_digits
7277 ECHO_C= ECHO_N= ECHO_T=
7278 case `echo -n x` in #(((((
7280 case `echo 'xy\c'` in
7281 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7283 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7290 rm -f conf$$ conf$$.exe conf$$.file
7291 if test -d conf$$.dir; then
7292 rm -f conf$$.dir/conf$$.file
7295 mkdir conf$$.dir 2>/dev/null
7297 if (echo >conf$$.file) 2>/dev/null; then
7298 if ln -s conf$$.file conf$$ 2>/dev/null; then
7300 # ... but there are two gotchas:
7301 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7302 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7303 # In both cases, we have to default to `cp -p'.
7304 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7306 elif ln conf$$.file conf$$ 2>/dev/null; then
7314 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7315 rmdir conf$$.dir 2>/dev/null
7320 # Create "$as_dir" as a directory, including parents if necessary.
7325 -*) as_dir=./$as_dir;;
7327 test -d "$as_dir" || eval $as_mkdir_p || {
7331 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7332 *) as_qdir=$as_dir;;
7334 as_dirs="'$as_qdir' $as_dirs"
7335 as_dir=`$as_dirname -- "$as_dir" ||
7336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7337 X"$as_dir" : 'X\(//\)[^/]' \| \
7338 X"$as_dir" : 'X\(//\)$' \| \
7339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7340 $as_echo X"$as_dir" |
7341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7358 test -d "$as_dir" && break
7360 test -z "$as_dirs" || eval "mkdir $as_dirs"
7361 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7365 if mkdir -p . 2>/dev/null; then
7366 as_mkdir_p='mkdir -p "$as_dir"'
7368 test -d ./-p && rmdir ./-p
7372 if test -x / >/dev/null 2>&1; then
7375 if ls -dL / >/dev/null 2>&1; then
7382 if test -d "$1"; then
7388 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7389 ???[sx]*):;;*)false;;esac;fi
7393 as_executable_p=$as_test_x
7395 # Sed expression to map a string onto a valid CPP name.
7396 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7398 # Sed expression to map a string onto a valid variable name.
7399 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7403 ## ----------------------------------- ##
7404 ## Main body of $CONFIG_STATUS script. ##
7405 ## ----------------------------------- ##
7407 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7410 # Save the log message, to keep $0 and so on meaningful, and to
7411 # report actual input values of CONFIG_FILES etc. instead of their
7412 # values after options handling.
7414 This file was extended by Moonshot $as_me 0.0.1, which was
7415 generated by GNU Autoconf 2.67. Invocation command line was
7417 CONFIG_FILES = $CONFIG_FILES
7418 CONFIG_HEADERS = $CONFIG_HEADERS
7419 CONFIG_LINKS = $CONFIG_LINKS
7420 CONFIG_COMMANDS = $CONFIG_COMMANDS
7423 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7428 case $ac_config_files in *"
7429 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7432 case $ac_config_headers in *"
7433 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7438 # Files that config.status was made for.
7439 config_files="$ac_config_files"
7440 config_headers="$ac_config_headers"
7441 config_commands="$ac_config_commands"
7445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7447 \`$as_me' instantiates files and other configuration actions
7448 from templates according to the current configuration. Unless the files
7449 and actions are specified as TAGs, all are instantiated by default.
7451 Usage: $0 [OPTION]... [TAG]...
7453 -h, --help print this help, then exit
7454 -V, --version print version number and configuration settings, then exit
7455 --config print configuration, then exit
7456 -q, --quiet, --silent
7457 do not print progress messages
7458 -d, --debug don't remove temporary files
7459 --recheck update $as_me by reconfiguring in the same conditions
7460 --file=FILE[:TEMPLATE]
7461 instantiate the configuration file FILE
7462 --header=FILE[:TEMPLATE]
7463 instantiate the configuration header FILE
7465 Configuration files:
7468 Configuration headers:
7471 Configuration commands:
7474 Report bugs to <BUG-REPORT-ADDRESS>."
7477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7478 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7480 Moonshot config.status 0.0.1
7481 configured by $0, generated by GNU Autoconf 2.67,
7482 with options \\"\$ac_cs_config\\"
7484 Copyright (C) 2010 Free Software Foundation, Inc.
7485 This config.status script is free software; the Free Software Foundation
7486 gives unlimited permission to copy, distribute and modify it."
7493 test -n "\$AWK" || AWK=awk
7496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7497 # The default lists apply if the user does not specify any file.
7503 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7504 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7508 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7520 # Handling of the options.
7521 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7523 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7524 $as_echo "$ac_cs_version"; exit ;;
7525 --config | --confi | --conf | --con | --co | --c )
7526 $as_echo "$ac_cs_config"; exit ;;
7527 --debug | --debu | --deb | --de | --d | -d )
7529 --file | --fil | --fi | --f )
7532 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7533 '') as_fn_error $? "missing file argument" ;;
7535 as_fn_append CONFIG_FILES " '$ac_optarg'"
7536 ac_need_defaults=false;;
7537 --header | --heade | --head | --hea )
7540 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7542 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7543 ac_need_defaults=false;;
7545 # Conflict between --help and --header
7546 as_fn_error $? "ambiguous option: \`$1'
7547 Try \`$0 --help' for more information.";;
7548 --help | --hel | -h )
7549 $as_echo "$ac_cs_usage"; exit ;;
7550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7551 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7555 -*) as_fn_error $? "unrecognized option: \`$1'
7556 Try \`$0 --help' for more information." ;;
7558 *) as_fn_append ac_config_targets " $1"
7559 ac_need_defaults=false ;;
7565 ac_configure_extra_args=
7567 if $ac_cs_silent; then
7569 ac_configure_extra_args="$ac_configure_extra_args --silent"
7573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7574 if \$ac_cs_recheck; then
7575 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7577 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7578 CONFIG_SHELL='$SHELL'
7584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7588 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7589 ## Running $as_me. ##
7595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7599 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7600 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7601 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7602 # from automake < 1.5.
7603 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7604 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7605 LINGUAS="${LINGUAS-%UNSET%}"
7610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7612 # Handling of arguments.
7613 for ac_config_target in $ac_config_targets
7615 case $ac_config_target in
7616 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7617 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7618 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7619 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7620 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7622 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
7627 # If the user did not use the arguments to specify the items to instantiate,
7628 # then the envvar interface is used. Set only those that are not.
7629 # We use the long form for the default assignment because of an extremely
7630 # bizarre bug on SunOS 4.1.3.
7631 if $ac_need_defaults; then
7632 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7633 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7634 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7637 # Have a temporary directory for convenience. Make it in the build tree
7638 # simply because there is no reason against having it here, and in addition,
7639 # creating and moving files from /tmp can sometimes cause problems.
7640 # Hook for its removal unless debugging.
7641 # Note that there is a small window in which the directory will not be cleaned:
7642 # after its creation but before its name has been assigned to `$tmp'.
7646 trap 'exit_status=$?
7647 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7649 trap 'as_fn_exit 1' 1 2 13 15
7651 # Create a (secure) tmp directory for tmp files.
7654 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7655 test -n "$tmp" && test -d "$tmp"
7658 tmp=./conf$$-$RANDOM
7659 (umask 077 && mkdir "$tmp")
7660 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7662 # Set up the scripts for CONFIG_FILES section.
7663 # No need to generate them if there are no CONFIG_FILES.
7664 # This happens for instance with `./config.status config.h'.
7665 if test -n "$CONFIG_FILES"; then
7668 ac_cr=`echo X | tr X '\015'`
7669 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7670 # But we know of no other shell where ac_cr would be empty at this
7671 # point, so we can use a bashism as a fallback.
7672 if test "x$ac_cr" = x; then
7673 eval ac_cr=\$\'\\r\'
7675 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7676 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7682 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7687 echo "cat >conf$$subs.awk <<_ACEOF" &&
7688 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7691 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7692 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7694 for ac_last_try in false false false false false :; do
7695 . ./conf$$subs.sh ||
7696 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7698 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7699 if test $ac_delim_n = $ac_delim_num; then
7701 elif $ac_last_try; then
7702 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7704 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7710 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7714 s/^/S["/; s/!.*/"]=/
7724 s/\(.\{148\}\)..*/\1/
7726 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7731 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7738 s/\(.\{148\}\)..*/\1/
7740 s/["\\]/\\&/g; s/^/"/; s/$/"/
7744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7749 ' <conf$$subs.awk | sed '
7754 ' >>$CONFIG_STATUS || ac_write_fail=1
7755 rm -f conf$$subs.awk
7756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7758 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7759 for (key in S) S_is_set[key] = 1
7765 nfields = split(line, field, "@")
7767 len = length(field[1])
7768 for (i = 2; i < nfields; i++) {
7770 keylen = length(key)
7771 if (S_is_set[key]) {
7773 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7774 len += length(value) + length(field[++i])
7785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7786 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7787 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7790 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7791 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7794 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7795 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7796 # trailing colons and then remove the whole line if VPATH becomes empty
7797 # (actually we leave an empty line to preserve line numbers).
7798 if test "x$srcdir" = x.; then
7799 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7818 fi # test -n "$CONFIG_FILES"
7820 # Set up the scripts for CONFIG_HEADERS section.
7821 # No need to generate them if there are no CONFIG_HEADERS.
7822 # This happens for instance with `./config.status Makefile'.
7823 if test -n "$CONFIG_HEADERS"; then
7824 cat >"$tmp/defines.awk" <<\_ACAWK ||
7828 # Transform confdefs.h into an awk script `defines.awk', embedded as
7829 # here-document in config.status, that substitutes the proper values into
7830 # config.h.in to produce config.h.
7832 # Create a delimiter string that does not exist in confdefs.h, to ease
7833 # handling of long lines.
7835 for ac_last_try in false false :; do
7836 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7837 if test -z "$ac_t"; then
7839 elif $ac_last_try; then
7840 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7846 # For the awk script, D is an array of macro values keyed by name,
7847 # likewise P contains macro parameters if any. Preserve backslash
7848 # newline sequences.
7850 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7852 s/.\{148\}/&'"$ac_delim"'/g
7855 s/^[ ]*#[ ]*define[ ][ ]*/ /
7862 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7864 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7868 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7869 D["\1"]=" \3\\\\\\n"\\/p
7871 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7876 s/.\{148\}/&'"$ac_delim"'/g
7881 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7884 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7886 ' <confdefs.h | sed '
7887 s/'"$ac_delim"'/"\\\
7888 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7891 for (key in D) D_is_set[key] = 1
7894 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7896 split(line, arg, " ")
7897 if (arg[1] == "#") {
7901 defundef = substr(arg[1], 2)
7904 split(mac1, mac2, "(") #)
7906 prefix = substr(line, 1, index(line, defundef) - 1)
7907 if (D_is_set[macro]) {
7908 # Preserve the white space surrounding the "#".
7909 print prefix "define", macro P[macro] D[macro]
7912 # Replace #undef with comments. This is necessary, for example,
7913 # in the case of _POSIX_SOURCE, which is predefined and required
7914 # on some systems where configure will not decide to define it.
7915 if (defundef == "undef") {
7916 print "/*", prefix defundef, macro, "*/"
7924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7925 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7926 fi # test -n "$CONFIG_HEADERS"
7929 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7934 :[FHLC]) ac_mode=$ac_tag; continue;;
7936 case $ac_mode$ac_tag in
7938 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
7939 :[FH]-) ac_tag=-:-;;
7940 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7957 -) ac_f="$tmp/stdin";;
7958 *) # Look for the file first in the build tree, then in the source tree
7959 # (if the path is not absolute). The absolute path cannot be DOS-style,
7960 # because $ac_f cannot contain `:'.
7964 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7966 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
7968 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7969 as_fn_append ac_file_inputs " '$ac_f'"
7972 # Let's still pretend it is `configure' which instantiates (i.e., don't
7973 # use $as_me), people would be surprised to read:
7974 # /* config.h. Generated by config.status. */
7975 configure_input='Generated from '`
7976 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7978 if test x"$ac_file" != x-; then
7979 configure_input="$ac_file. $configure_input"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7981 $as_echo "$as_me: creating $ac_file" >&6;}
7983 # Neutralize special characters interpreted by sed in replacement strings.
7984 case $configure_input in #(
7985 *\&* | *\|* | *\\* )
7986 ac_sed_conf_input=`$as_echo "$configure_input" |
7987 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7988 *) ac_sed_conf_input=$configure_input;;
7992 *:-:* | *:-) cat >"$tmp/stdin" \
7993 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7998 ac_dir=`$as_dirname -- "$ac_file" ||
7999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8000 X"$ac_file" : 'X\(//\)[^/]' \| \
8001 X"$ac_file" : 'X\(//\)$' \| \
8002 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8003 $as_echo X"$ac_file" |
8004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8021 as_dir="$ac_dir"; as_fn_mkdir_p
8025 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8027 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8028 # A ".." for each directory in $ac_dir_suffix.
8029 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8030 case $ac_top_builddir_sub in
8031 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8032 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8035 ac_abs_top_builddir=$ac_pwd
8036 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8037 # for backward compatibility:
8038 ac_top_builddir=$ac_top_build_prefix
8041 .) # We are building in place.
8043 ac_top_srcdir=$ac_top_builddir_sub
8044 ac_abs_top_srcdir=$ac_pwd ;;
8045 [\\/]* | ?:[\\/]* ) # Absolute name.
8046 ac_srcdir=$srcdir$ac_dir_suffix;
8047 ac_top_srcdir=$srcdir
8048 ac_abs_top_srcdir=$srcdir ;;
8050 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8051 ac_top_srcdir=$ac_top_build_prefix$srcdir
8052 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8054 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8064 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8065 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8069 [\\/$]* | ?:[\\/]* ) ;;
8070 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8075 # If the template does not know about datarootdir, expand it.
8076 # FIXME: This hack should be removed a few years after 2.60.
8077 ac_datarootdir_hack=; ac_datarootdir_seen=
8088 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8089 *datarootdir*) ac_datarootdir_seen=yes;;
8090 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8092 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8095 ac_datarootdir_hack='
8096 s&@datadir@&$datadir&g
8097 s&@docdir@&$docdir&g
8098 s&@infodir@&$infodir&g
8099 s&@localedir@&$localedir&g
8100 s&@mandir@&$mandir&g
8101 s&\\\${datarootdir}&$datarootdir&g' ;;
8105 # Neutralize VPATH when `$srcdir' = `.'.
8106 # Shell code in configure.ac might set extrasub.
8107 # FIXME: do we really want to maintain this feature?
8108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8109 ac_sed_extra="$ac_vpsub
8112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8115 s|@configure_input@|$ac_sed_conf_input|;t t
8116 s&@top_builddir@&$ac_top_builddir_sub&;t t
8117 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8118 s&@srcdir@&$ac_srcdir&;t t
8119 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8120 s&@top_srcdir@&$ac_top_srcdir&;t t
8121 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8122 s&@builddir@&$ac_builddir&;t t
8123 s&@abs_builddir@&$ac_abs_builddir&;t t
8124 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8125 s&@INSTALL@&$ac_INSTALL&;t t
8126 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8127 $ac_datarootdir_hack
8129 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8132 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8133 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8134 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8136 which seems to be undefined. Please make sure it is defined" >&5
8137 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8138 which seems to be undefined. Please make sure it is defined" >&2;}
8142 -) cat "$tmp/out" && rm -f "$tmp/out";;
8143 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8151 if test x"$ac_file" != x-; then
8153 $as_echo "/* $configure_input */" \
8154 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8155 } >"$tmp/config.h" \
8156 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8157 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8159 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8162 mv "$tmp/config.h" "$ac_file" \
8163 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8166 $as_echo "/* $configure_input */" \
8167 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8168 || as_fn_error $? "could not create -" "$LINENO" 5
8170 # Compute "$ac_file"'s index in $config_headers.
8173 for _am_header in $config_headers :; do
8175 $_am_arg | $_am_arg:* )
8178 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8181 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8182 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8183 X"$_am_arg" : 'X\(//\)[^/]' \| \
8184 X"$_am_arg" : 'X\(//\)$' \| \
8185 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8186 $as_echo X"$_am_arg" |
8187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8203 s/.*/./; q'`/stamp-h$_am_stamp_count
8206 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8207 $as_echo "$as_me: executing $ac_file commands" >&6;}
8212 case $ac_file$ac_mode in
8213 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8214 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8215 # are listed without --file. Let's play safe and only enable the eval
8216 # if we detect the quoting.
8217 case $CONFIG_FILES in
8218 *\'*) eval set x "$CONFIG_FILES" ;;
8219 *) set x $CONFIG_FILES ;;
8224 # Strip MF so we end up with the name of the file.
8225 mf=`echo "$mf" | sed -e 's/:.*$//'`
8226 # Check whether this is an Automake generated Makefile or not.
8227 # We used to match only the files named `Makefile.in', but
8228 # some people rename them; so instead we look at the file content.
8229 # Grep'ing the first line is not enough: some people post-process
8230 # each Makefile.in and add a new line on top of each file to say so.
8231 # Grep'ing the whole file is not good either: AIX grep has a line
8232 # limit of 2048, but all sed's we know have understand at least 4000.
8233 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8234 dirpart=`$as_dirname -- "$mf" ||
8235 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8236 X"$mf" : 'X\(//\)[^/]' \| \
8237 X"$mf" : 'X\(//\)$' \| \
8238 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8260 # Extract the definition of DEPDIR, am__include, and am__quote
8261 # from the Makefile without running `make'.
8262 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8263 test -z "$DEPDIR" && continue
8264 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8265 test -z "am__include" && continue
8266 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8267 # When using ansi2knr, U may be empty or an underscore; expand it
8268 U=`sed -n 's/^U = //p' < "$mf"`
8269 # Find all dependency output files, they are included files with
8270 # $(DEPDIR) in their names. We invoke sed twice because it is the
8271 # simplest approach to changing $(DEPDIR) to its actual value in the
8273 for file in `sed -n "
8274 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8275 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8276 # Make sure the directory exists.
8277 test -f "$dirpart/$file" && continue
8278 fdir=`$as_dirname -- "$file" ||
8279 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8280 X"$file" : 'X\(//\)[^/]' \| \
8281 X"$file" : 'X\(//\)$' \| \
8282 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8301 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8302 # echo "creating $dirpart/$file"
8303 echo '# dummy' > "$dirpart/$file"
8309 for ac_file in $CONFIG_FILES; do
8310 # Support "outfile[:infile[:infile...]]"
8312 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8314 # PO directories have a Makefile.in generated from Makefile.in.in.
8315 case "$ac_file" in */Makefile.in)
8316 # Adjust a relative srcdir.
8317 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8318 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8319 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8320 # In autoconf-2.13 it is called $ac_given_srcdir.
8321 # In autoconf-2.50 it is called $srcdir.
8322 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8323 case "$ac_given_srcdir" in
8324 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8325 /*) top_srcdir="$ac_given_srcdir" ;;
8326 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8328 # Treat a directory as a PO directory if and only if it has a
8329 # POTFILES.in file. This allows packages to have multiple PO
8330 # directories under different names or in different locations.
8331 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8332 rm -f "$ac_dir/POTFILES"
8333 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8334 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8335 POMAKEFILEDEPS="POTFILES.in"
8336 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8337 # on $ac_dir but don't depend on user-specified configuration
8339 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8340 # The LINGUAS file contains the set of available languages.
8341 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8342 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8344 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8345 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8346 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8347 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8349 # The set of available languages was given in configure.in.
8350 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8351 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8354 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8355 # Compute UPDATEPOFILES
8356 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8357 # Compute DUMMYPOFILES
8358 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8360 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8361 case "$ac_given_srcdir" in
8363 *) srcdirpre='$(srcdir)/' ;;
8369 for lang in $ALL_LINGUAS; do
8370 POFILES="$POFILES $srcdirpre$lang.po"
8371 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8372 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8373 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8375 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8376 # environment variable.
8378 if test -n "$ALL_LINGUAS"; then
8379 for presentlang in $ALL_LINGUAS; do
8381 if test "%UNSET%" != "$LINGUAS"; then
8382 desiredlanguages="$LINGUAS"
8384 desiredlanguages="$ALL_LINGUAS"
8386 for desiredlang in $desiredlanguages; do
8387 # Use the presentlang catalog if desiredlang is
8388 # a. equal to presentlang, or
8389 # b. a variant of presentlang (because in this case,
8390 # presentlang can be used as a fallback for messages
8391 # which are not translated in the desiredlang catalog).
8392 case "$desiredlang" in
8393 "$presentlang"*) useit=yes;;
8396 if test $useit = yes; then
8397 INST_LINGUAS="$INST_LINGUAS $presentlang"
8402 if test -n "$INST_LINGUAS"; then
8403 for lang in $INST_LINGUAS; do
8404 CATALOGS="$CATALOGS $lang.gmo"
8407 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8408 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"
8409 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8410 if test -f "$f"; then
8412 *.orig | *.bak | *~) ;;
8413 *) cat "$f" >> "$ac_dir/Makefile" ;;
8428 ac_clean_files=$ac_clean_files_save
8430 test $ac_write_fail = 0 ||
8431 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8434 # configure is writing to config.log, and then calls config.status.
8435 # config.status does its own redirection, appending to config.log.
8436 # Unfortunately, on DOS this fails, as config.log is still kept open
8437 # by configure, so config.status won't be able to write to it; its
8438 # output is simply discarded. So we exec the FD to /dev/null,
8439 # effectively closing config.log, so it can be properly (re)opened and
8440 # appended to by config.status. When coming back to configure, we
8441 # need to make the FD available again.
8442 if test "$no_create" != yes; then
8444 ac_config_status_args=
8445 test "$silent" = yes &&
8446 ac_config_status_args="$ac_config_status_args --quiet"
8448 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8451 # would make configure fail if this is the last instruction.
8452 $ac_cs_success || as_fn_exit 1
8454 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8456 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}