2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Moonshot-ui 0.1.
5 # Report bugs to <moonshot-community@jiscmail.ac.uk>.
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
234 $0: moonshot-community@jiscmail.ac.uk about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
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'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 # Use only awk features that work with 7th edition Unix awk (1978).
682 # My, what an old awk you have, Mr. Solaris!
684 while (length(v1) && length(v2)) {
685 # Set d1 to be the next thing to compare from v1, and likewise for d2.
686 # Normally this is a single character, but if v1 and v2 contain digits,
687 # compare them as integers and fractions as strverscmp does.
688 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
689 # Split v1 and v2 into their leading digit string components d1 and d2,
690 # and advance v1 and v2 past the leading digit strings.
691 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
692 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
693 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
694 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
697 # Compare two fractions.
698 while (d1 ~ /^0/ && d2 ~ /^0/) {
699 d1 = substr(d1, 2); len1--
700 d2 = substr(d2, 2); len2--
702 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
703 # The two components differ in length, and the common prefix
704 # contains only leading zeros. Consider the longer to be less.
708 # Otherwise, compare as strings.
713 # A fraction is less than an integer.
718 # An integer is greater than a fraction.
721 # Compare two integers.
727 # The normal case, without worrying about digits.
728 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
729 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
734 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
735 # which mishandles some comparisons of empty strings to integers.
736 if (length(v2)) exit 1
737 if (length(v1)) exit 2
741 test -n "$DJDIR" || exec 7<&0 </dev/null
745 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
746 # so uname gets run too.
747 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
752 ac_default_prefix=/usr/local
754 ac_config_libobj_dir=.
761 # Identity of this package.
762 PACKAGE_NAME='Moonshot-ui'
763 PACKAGE_TARNAME='moonshot-ui'
764 PACKAGE_VERSION='0.1'
765 PACKAGE_STRING='Moonshot-ui 0.1'
766 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
769 ac_unique_file="configure.ac"
770 # Factoring default headers for most tests.
771 ac_includes_default="\
773 #ifdef HAVE_SYS_TYPES_H
774 # include <sys/types.h>
776 #ifdef HAVE_SYS_STAT_H
777 # include <sys/stat.h>
783 # ifdef HAVE_STDLIB_H
788 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
793 #ifdef HAVE_STRINGS_H
794 # include <strings.h>
796 #ifdef HAVE_INTTYPES_H
797 # include <inttypes.h>
807 ac_subst_vars='am__EXEEXT_FALSE
819 XGETTEXT_EXTRA_OPTIONS
827 GETTEXT_MACRO_VERSION
835 UPDATE_DESKTOP_DATABASE
916 MAINTAINER_MODE_FALSE
928 INSTALL_STRIP_PROGRAM
970 program_transform_name
983 enable_option_checking
985 enable_maintainer_mode
990 enable_dependency_tracking
998 ac_precious_vars='build_alias
1022 # Initialize some variables set by options.
1024 ac_init_version=false
1025 ac_unrecognized_opts=
1026 ac_unrecognized_sep=
1027 # The variables have the same names as the options, with
1028 # dashes changed to underlines.
1029 cache_file=/dev/null
1036 program_transform_name=s,x,x,
1044 # Installation directory options.
1045 # These are left unexpanded so users can "make install exec_prefix=/foo"
1046 # and all the variables that are supposed to be based on exec_prefix
1047 # by default will actually change.
1048 # Use braces instead of parens because sh, perl, etc. also accept them.
1049 # (The list follows the same order as the GNU Coding Standards.)
1050 bindir='${exec_prefix}/bin'
1051 sbindir='${exec_prefix}/sbin'
1052 libexecdir='${exec_prefix}/libexec'
1053 datarootdir='${prefix}/share'
1054 datadir='${datarootdir}'
1055 sysconfdir='${prefix}/etc'
1056 sharedstatedir='${prefix}/com'
1057 localstatedir='${prefix}/var'
1058 includedir='${prefix}/include'
1059 oldincludedir='/usr/include'
1060 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1061 infodir='${datarootdir}/info'
1066 libdir='${exec_prefix}/lib'
1067 localedir='${datarootdir}/locale'
1068 mandir='${datarootdir}/man'
1074 # If the previous option needs an argument, assign it.
1075 if test -n "$ac_prev"; then
1076 eval $ac_prev=\$ac_option
1082 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1087 # Accept the important Cygnus configure options, so we can diagnose typos.
1089 case $ac_dashdash$ac_option in
1093 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1095 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1096 bindir=$ac_optarg ;;
1098 -build | --build | --buil | --bui | --bu)
1099 ac_prev=build_alias ;;
1100 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1101 build_alias=$ac_optarg ;;
1103 -cache-file | --cache-file | --cache-fil | --cache-fi \
1104 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1105 ac_prev=cache_file ;;
1106 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1107 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1108 cache_file=$ac_optarg ;;
1110 --config-cache | -C)
1111 cache_file=config.cache ;;
1113 -datadir | --datadir | --datadi | --datad)
1115 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1116 datadir=$ac_optarg ;;
1118 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1119 | --dataroo | --dataro | --datar)
1120 ac_prev=datarootdir ;;
1121 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1122 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1123 datarootdir=$ac_optarg ;;
1125 -disable-* | --disable-*)
1126 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129 as_fn_error $? "invalid feature name: $ac_useropt"
1130 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1134 "enable_$ac_useropt"
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1139 eval enable_$ac_useropt=no ;;
1141 -docdir | --docdir | --docdi | --doc | --do)
1143 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1144 docdir=$ac_optarg ;;
1146 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1148 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1149 dvidir=$ac_optarg ;;
1151 -enable-* | --enable-*)
1152 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 as_fn_error $? "invalid feature name: $ac_useropt"
1156 ac_useropt_orig=$ac_useropt
1157 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1160 "enable_$ac_useropt"
1162 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1163 ac_unrecognized_sep=', ';;
1165 eval enable_$ac_useropt=\$ac_optarg ;;
1167 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1168 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1169 | --exec | --exe | --ex)
1170 ac_prev=exec_prefix ;;
1171 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1172 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1173 | --exec=* | --exe=* | --ex=*)
1174 exec_prefix=$ac_optarg ;;
1176 -gas | --gas | --ga | --g)
1177 # Obsolete; use --with-gas.
1180 -help | --help | --hel | --he | -h)
1181 ac_init_help=long ;;
1182 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1183 ac_init_help=recursive ;;
1184 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1185 ac_init_help=short ;;
1187 -host | --host | --hos | --ho)
1188 ac_prev=host_alias ;;
1189 -host=* | --host=* | --hos=* | --ho=*)
1190 host_alias=$ac_optarg ;;
1192 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1194 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1196 htmldir=$ac_optarg ;;
1198 -includedir | --includedir | --includedi | --included | --include \
1199 | --includ | --inclu | --incl | --inc)
1200 ac_prev=includedir ;;
1201 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1202 | --includ=* | --inclu=* | --incl=* | --inc=*)
1203 includedir=$ac_optarg ;;
1205 -infodir | --infodir | --infodi | --infod | --info | --inf)
1207 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1208 infodir=$ac_optarg ;;
1210 -libdir | --libdir | --libdi | --libd)
1212 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1213 libdir=$ac_optarg ;;
1215 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1216 | --libexe | --libex | --libe)
1217 ac_prev=libexecdir ;;
1218 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1219 | --libexe=* | --libex=* | --libe=*)
1220 libexecdir=$ac_optarg ;;
1222 -localedir | --localedir | --localedi | --localed | --locale)
1223 ac_prev=localedir ;;
1224 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1225 localedir=$ac_optarg ;;
1227 -localstatedir | --localstatedir | --localstatedi | --localstated \
1228 | --localstate | --localstat | --localsta | --localst | --locals)
1229 ac_prev=localstatedir ;;
1230 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1231 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1232 localstatedir=$ac_optarg ;;
1234 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1236 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1237 mandir=$ac_optarg ;;
1239 -nfp | --nfp | --nf)
1240 # Obsolete; use --without-fp.
1243 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1244 | --no-cr | --no-c | -n)
1247 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1248 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1251 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1252 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1253 | --oldin | --oldi | --old | --ol | --o)
1254 ac_prev=oldincludedir ;;
1255 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1256 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1257 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1258 oldincludedir=$ac_optarg ;;
1260 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1262 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1263 prefix=$ac_optarg ;;
1265 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1266 | --program-pre | --program-pr | --program-p)
1267 ac_prev=program_prefix ;;
1268 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1269 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1270 program_prefix=$ac_optarg ;;
1272 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1273 | --program-suf | --program-su | --program-s)
1274 ac_prev=program_suffix ;;
1275 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1276 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1277 program_suffix=$ac_optarg ;;
1279 -program-transform-name | --program-transform-name \
1280 | --program-transform-nam | --program-transform-na \
1281 | --program-transform-n | --program-transform- \
1282 | --program-transform | --program-transfor \
1283 | --program-transfo | --program-transf \
1284 | --program-trans | --program-tran \
1285 | --progr-tra | --program-tr | --program-t)
1286 ac_prev=program_transform_name ;;
1287 -program-transform-name=* | --program-transform-name=* \
1288 | --program-transform-nam=* | --program-transform-na=* \
1289 | --program-transform-n=* | --program-transform-=* \
1290 | --program-transform=* | --program-transfor=* \
1291 | --program-transfo=* | --program-transf=* \
1292 | --program-trans=* | --program-tran=* \
1293 | --progr-tra=* | --program-tr=* | --program-t=*)
1294 program_transform_name=$ac_optarg ;;
1296 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1298 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1299 pdfdir=$ac_optarg ;;
1301 -psdir | --psdir | --psdi | --psd | --ps)
1303 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1307 | -silent | --silent | --silen | --sile | --sil)
1310 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1312 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1314 sbindir=$ac_optarg ;;
1316 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1317 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1318 | --sharedst | --shareds | --shared | --share | --shar \
1320 ac_prev=sharedstatedir ;;
1321 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1322 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1323 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1325 sharedstatedir=$ac_optarg ;;
1327 -site | --site | --sit)
1329 -site=* | --site=* | --sit=*)
1332 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1334 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1335 srcdir=$ac_optarg ;;
1337 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1338 | --syscon | --sysco | --sysc | --sys | --sy)
1339 ac_prev=sysconfdir ;;
1340 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1341 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1342 sysconfdir=$ac_optarg ;;
1344 -target | --target | --targe | --targ | --tar | --ta | --t)
1345 ac_prev=target_alias ;;
1346 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1347 target_alias=$ac_optarg ;;
1349 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1352 -version | --version | --versio | --versi | --vers | -V)
1353 ac_init_version=: ;;
1356 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1357 # Reject names that are not valid shell variable names.
1358 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1359 as_fn_error $? "invalid package name: $ac_useropt"
1360 ac_useropt_orig=$ac_useropt
1361 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1362 case $ac_user_opts in
1366 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1367 ac_unrecognized_sep=', ';;
1369 eval with_$ac_useropt=\$ac_optarg ;;
1371 -without-* | --without-*)
1372 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1375 as_fn_error $? "invalid package name: $ac_useropt"
1376 ac_useropt_orig=$ac_useropt
1377 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1378 case $ac_user_opts in
1382 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1383 ac_unrecognized_sep=', ';;
1385 eval with_$ac_useropt=no ;;
1388 # Obsolete; use --with-x.
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev=x_includes ;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes=$ac_optarg ;;
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev=x_libraries ;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries=$ac_optarg ;;
1405 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1406 Try \`$0 --help' for more information"
1410 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1411 # Reject names that are not valid shell variable names.
1412 case $ac_envvar in #(
1413 '' | [0-9]* | *[!_$as_cr_alnum]* )
1414 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1416 eval $ac_envvar=\$ac_optarg
1417 export $ac_envvar ;;
1420 # FIXME: should be removed in autoconf 3.0.
1421 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1423 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1430 if test -n "$ac_prev"; then
1431 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432 as_fn_error $? "missing argument to $ac_option"
1435 if test -n "$ac_unrecognized_opts"; then
1436 case $enable_option_checking in
1438 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1439 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1443 # Check all directory arguments for consistency.
1444 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1445 datadir sysconfdir sharedstatedir localstatedir includedir \
1446 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1447 libdir localedir mandir
1449 eval ac_val=\$$ac_var
1450 # Remove trailing slashes.
1453 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1454 eval $ac_var=\$ac_val;;
1456 # Be sure to have absolute directory names.
1458 [\\/$]* | ?:[\\/]* ) continue;;
1459 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1461 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1464 # There might be people who depend on the old broken behavior: `$host'
1465 # used to hold the argument of --host etc.
1466 # FIXME: To remove some day.
1469 target=$target_alias
1471 # FIXME: To remove some day.
1472 if test "x$host_alias" != x; then
1473 if test "x$build_alias" = x; then
1474 cross_compiling=maybe
1475 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1476 If a cross compiler is detected then cross compile mode will be used" >&2
1477 elif test "x$build_alias" != "x$host_alias"; then
1483 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1485 test "$silent" = yes && exec 6>/dev/null
1488 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1489 ac_ls_di=`ls -di .` &&
1490 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1491 as_fn_error $? "working directory cannot be determined"
1492 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1493 as_fn_error $? "pwd does not report name of working directory"
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir=`$as_dirname -- "$as_myself" ||
1501 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$as_myself" : 'X\(//\)[^/]' \| \
1503 X"$as_myself" : 'X\(//\)$' \| \
1504 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1505 $as_echo X"$as_myself" |
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1528 ac_srcdir_defaulted=no
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1532 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1534 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1536 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1538 # When building in place, set srcdir=.
1539 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 # Remove unnecessary trailing slashes from srcdir.
1543 # Double slashes in file names in object file debugging info
1544 # mess up M-x gdb in Emacs.
1546 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1548 for ac_var in $ac_precious_vars; do
1549 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1550 eval ac_env_${ac_var}_value=\$${ac_var}
1551 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1552 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1556 # Report the --help message.
1558 if test "$ac_init_help" = "long"; then
1559 # Omit some internal or obsolete options to make the list less imposing.
1560 # This message is too long to be a string in the A/UX 3.1 sh.
1562 \`configure' configures Moonshot-ui 0.1 to adapt to many kinds of systems.
1564 Usage: $0 [OPTION]... [VAR=VALUE]...
1566 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1567 VAR=VALUE. See below for descriptions of some of the useful variables.
1569 Defaults for the options are specified in brackets.
1572 -h, --help display this help and exit
1573 --help=short display options specific to this package
1574 --help=recursive display the short help of all the included packages
1575 -V, --version display version information and exit
1576 -q, --quiet, --silent do not print \`checking ...' messages
1577 --cache-file=FILE cache test results in FILE [disabled]
1578 -C, --config-cache alias for \`--cache-file=config.cache'
1579 -n, --no-create do not create output files
1580 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1582 Installation directories:
1583 --prefix=PREFIX install architecture-independent files in PREFIX
1584 [$ac_default_prefix]
1585 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 By default, \`make install' will install all the files in
1589 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1590 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1591 for instance \`--prefix=\$HOME'.
1593 For better control, use the options below.
1595 Fine tuning of the installation directories:
1596 --bindir=DIR user executables [EPREFIX/bin]
1597 --sbindir=DIR system admin executables [EPREFIX/sbin]
1598 --libexecdir=DIR program executables [EPREFIX/libexec]
1599 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1600 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1601 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1602 --libdir=DIR object code libraries [EPREFIX/lib]
1603 --includedir=DIR C header files [PREFIX/include]
1604 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1605 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1606 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1607 --infodir=DIR info documentation [DATAROOTDIR/info]
1608 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1609 --mandir=DIR man documentation [DATAROOTDIR/man]
1610 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot-ui]
1611 --htmldir=DIR html documentation [DOCDIR]
1612 --dvidir=DIR dvi documentation [DOCDIR]
1613 --pdfdir=DIR pdf documentation [DOCDIR]
1614 --psdir=DIR ps documentation [DOCDIR]
1620 --program-prefix=PREFIX prepend PREFIX to installed program names
1621 --program-suffix=SUFFIX append SUFFIX to installed program names
1622 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1625 --build=BUILD configure for building on BUILD [guessed]
1626 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1630 if test -n "$ac_init_help"; then
1631 case $ac_init_help in
1632 short | recursive ) echo "Configuration of Moonshot-ui 0.1:";;
1637 --disable-option-checking ignore unrecognized --enable/--with options
1638 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1639 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1640 --enable-silent-rules less verbose build output (undo: `make V=1')
1641 --disable-silent-rules verbose build output (undo: `make V=0')
1642 --disable-maintainer-mode disable make rules and dependencies not useful
1643 (and sometimes confusing) to the casual installer
1644 --enable-shared[=PKGS] build shared libraries [default=yes]
1645 --enable-static[=PKGS] build static libraries [default=yes]
1646 --enable-fast-install[=PKGS]
1647 optimize for fast installation [default=yes]
1648 --disable-dependency-tracking speeds up one-time build
1649 --enable-dependency-tracking do not reject slow dependency extractors
1650 --disable-libtool-lock avoid locking (might break parallel builds)
1651 --disable-nls do not use Native Language Support
1652 --disable-rpath do not hardcode runtime library paths
1655 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1656 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1657 --with-pic try to use only PIC/non-PIC objects [default=use
1659 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1660 --with-gnu-ld assume the C compiler uses GNU ld default=no
1661 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1662 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1663 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1664 --without-libintl-prefix don't search for libintl in includedir and libdir
1666 Some influential environment variables:
1667 CC C compiler command
1668 CFLAGS C compiler flags
1669 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1670 nonstandard directory <lib dir>
1671 LIBS libraries to pass to the linker, e.g. -l<library>
1672 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1673 you have headers in a nonstandard directory <include dir>
1675 PKG_CONFIG path to pkg-config utility
1677 directories to add to pkg-config's search path
1679 path overriding pkg-config's built-in search path
1680 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1681 GTK_LIBS linker flags for GTK, overriding pkg-config
1683 C compiler flags for GDBUS, overriding pkg-config
1684 GDBUS_LIBS linker flags for GDBUS, overriding pkg-config
1685 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1686 MAC_LIBS linker flags for MAC, overriding pkg-config
1688 C compiler flags for moonshot, overriding pkg-config
1690 linker flags for moonshot, overriding pkg-config
1692 C compiler flags for libmoonshot, overriding pkg-config
1694 linker flags for libmoonshot, overriding pkg-config
1696 Use these variables to override the choices made by `configure' or to help
1697 it to find libraries and programs with nonstandard names/locations.
1699 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1704 if test "$ac_init_help" = "recursive"; then
1705 # If there are subdirs, report their specific --help.
1706 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707 test -d "$ac_dir" ||
1708 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1716 # A ".." for each directory in $ac_dir_suffix.
1717 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1718 case $ac_top_builddir_sub in
1719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1723 ac_abs_top_builddir=$ac_pwd
1724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1725 # for backward compatibility:
1726 ac_top_builddir=$ac_top_build_prefix
1729 .) # We are building in place.
1731 ac_top_srcdir=$ac_top_builddir_sub
1732 ac_abs_top_srcdir=$ac_pwd ;;
1733 [\\/]* | ?:[\\/]* ) # Absolute name.
1734 ac_srcdir=$srcdir$ac_dir_suffix;
1735 ac_top_srcdir=$srcdir
1736 ac_abs_top_srcdir=$srcdir ;;
1738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1739 ac_top_srcdir=$ac_top_build_prefix$srcdir
1740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1744 cd "$ac_dir" || { ac_status=$?; continue; }
1745 # Check for guested configure.
1746 if test -f "$ac_srcdir/configure.gnu"; then
1748 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1749 elif test -f "$ac_srcdir/configure"; then
1751 $SHELL "$ac_srcdir/configure" --help=recursive
1753 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1755 cd "$ac_pwd" || { ac_status=$?; break; }
1759 test -n "$ac_init_help" && exit $ac_status
1760 if $ac_init_version; then
1762 Moonshot-ui configure 0.1
1763 generated by GNU Autoconf 2.67
1765 Copyright (C) 2010 Free Software Foundation, Inc.
1766 This configure script is free software; the Free Software Foundation
1767 gives unlimited permission to copy, distribute and modify it.
1772 ## ------------------------ ##
1773 ## Autoconf initialization. ##
1774 ## ------------------------ ##
1776 # ac_fn_c_try_compile LINENO
1777 # --------------------------
1778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_c_try_compile ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext
1783 if { { ac_try="$ac_compile"
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_compile") 2>conftest.err
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest.$ac_objext; then :
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810 as_fn_set_status $ac_retval
1812 } # ac_fn_c_try_compile
1814 # ac_fn_c_try_link LINENO
1815 # -----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext conftest$ac_exeext
1821 if { { ac_try="$ac_link"
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>conftest.err
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest$ac_exeext && {
1840 test "$cross_compiling" = yes ||
1841 $as_test_x conftest$ac_exeext
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1850 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852 # interfere with the next link command; also delete a directory that is
1853 # left behind by Apple's compiler. We do this before executing the actions.
1854 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 as_fn_set_status $ac_retval
1858 } # ac_fn_c_try_link
1860 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1861 # -------------------------------------------------------
1862 # Tests whether HEADER exists and can be compiled using the include files in
1863 # INCLUDES, setting the cache variable VAR accordingly.
1864 ac_fn_c_check_header_compile ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval "test \"\${$3+set}\"" = set; then :
1870 $as_echo_n "(cached) " >&6
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1877 if ac_fn_c_try_compile "$LINENO"; then :
1882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1889 } # ac_fn_c_check_header_compile
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 as_fn_set_status $ac_retval
1928 # ac_fn_c_try_run LINENO
1929 # ----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1931 # that executables *can* be run.
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 if { { ac_try="$ac_link"
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>&5
1944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1946 { { case "(($ac_try" in
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_try") 2>&5
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; }; }; then :
1958 $as_echo "$as_me: program exited with status $ac_status" >&5
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1962 ac_retval=$ac_status
1964 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1965 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1966 as_fn_set_status $ac_retval
1970 # ac_fn_c_check_func LINENO FUNC VAR
1971 # ----------------------------------
1972 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1973 ac_fn_c_check_func ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval "test \"\${$3+set}\"" = set; then :
1979 $as_echo_n "(cached) " >&6
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1983 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1985 #define $2 innocuous_$2
1987 /* System header to define __stub macros and hopefully few prototypes,
1988 which can conflict with char $2 (); below.
1989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1990 <limits.h> exists even on freestanding compilers. */
1993 # include <limits.h>
1995 # include <assert.h>
2000 /* Override any GCC internal prototype to avoid an error.
2001 Use char because int might match the return type of a GCC
2002 builtin and then its argument prototype would still apply. */
2007 /* The GNU C library defines this for functions which it implements
2008 to always fail with ENOSYS. Some functions are actually named
2009 something starting with __ and the normal name is an alias. */
2010 #if defined __stub_$2 || defined __stub___$2
2022 if ac_fn_c_try_link "$LINENO"; then :
2027 rm -f core conftest.err conftest.$ac_objext \
2028 conftest$ac_exeext conftest.$ac_ext
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2033 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2035 } # ac_fn_c_check_func
2036 cat >config.log <<_ACEOF
2037 This file contains any messages produced by compilers while
2038 running configure, to aid debugging if configure makes a mistake.
2040 It was created by Moonshot-ui $as_me 0.1, which was
2041 generated by GNU Autoconf 2.67. Invocation command line was
2053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2062 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2063 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2066 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2067 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2068 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir=.
2077 $as_echo "PATH: $as_dir"
2093 # Keep a trace of the command line.
2094 # Strip out --no-create and --no-recursion so they do not pile up.
2095 # Strip out --silent because we don't want to record it for future runs.
2096 # Also quote any args containing shell meta-characters.
2097 # Make two passes to allow for proper duplicate-argument suppression.
2101 ac_must_keep_next=false
2107 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109 | -silent | --silent | --silen | --sile | --sil)
2112 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2115 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2117 as_fn_append ac_configure_args1 " '$ac_arg'"
2118 if test $ac_must_keep_next = true; then
2119 ac_must_keep_next=false # Got value, back to normal.
2122 *=* | --config-cache | -C | -disable-* | --disable-* \
2123 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125 | -with-* | --with-* | -without-* | --without-* | --x)
2126 case "$ac_configure_args0 " in
2127 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2130 -* ) ac_must_keep_next=true ;;
2133 as_fn_append ac_configure_args " '$ac_arg'"
2138 { ac_configure_args0=; unset ac_configure_args0;}
2139 { ac_configure_args1=; unset ac_configure_args1;}
2141 # When interrupted or exit'd, cleanup temporary files, and complete
2142 # config.log. We remove comments because anyway the quotes in there
2143 # would cause problems or look ugly.
2144 # WARNING: Use '\'' to represent an apostrophe within the trap.
2145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146 trap 'exit_status=$?
2147 # Save into config.log some information that might help in debugging.
2151 $as_echo "## ---------------- ##
2152 ## Cache variables. ##
2153 ## ---------------- ##"
2155 # The following way of writing the cache mishandles newlines in values,
2157 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2158 eval ac_val=\$$ac_var
2162 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2163 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2166 _ | IFS | as_nl) ;; #(
2167 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2168 *) { eval $ac_var=; unset $ac_var;} ;;
2173 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2174 *${as_nl}ac_space=\ *)
2176 "s/'\''/'\''\\\\'\'''\''/g;
2177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187 $as_echo "## ----------------- ##
2188 ## Output variables. ##
2189 ## ----------------- ##"
2191 for ac_var in $ac_subst_vars
2193 eval ac_val=\$$ac_var
2195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 $as_echo "$ac_var='\''$ac_val'\''"
2201 if test -n "$ac_subst_files"; then
2202 $as_echo "## ------------------- ##
2203 ## File substitutions. ##
2204 ## ------------------- ##"
2206 for ac_var in $ac_subst_files
2208 eval ac_val=\$$ac_var
2210 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 $as_echo "$ac_var='\''$ac_val'\''"
2217 if test -s confdefs.h; then
2218 $as_echo "## ----------- ##
2225 test "$ac_signal" != 0 &&
2226 $as_echo "$as_me: caught signal $ac_signal"
2227 $as_echo "$as_me: exit $exit_status"
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2241 $as_echo "/* confdefs.h */" > confdefs.h
2243 # Predefined preprocessor variables.
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_NAME "$PACKAGE_NAME"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_URL "$PACKAGE_URL"
2270 # Let the site file select an alternate cache file if it wants to.
2271 # Prefer an explicitly selected file to automatically selected ones.
2274 if test -n "$CONFIG_SITE"; then
2275 # We do not want a PATH search for config.site.
2276 case $CONFIG_SITE in #((
2277 -*) ac_site_file1=./$CONFIG_SITE;;
2278 */*) ac_site_file1=$CONFIG_SITE;;
2279 *) ac_site_file1=./$CONFIG_SITE;;
2281 elif test "x$prefix" != xNONE; then
2282 ac_site_file1=$prefix/share/config.site
2283 ac_site_file2=$prefix/etc/config.site
2285 ac_site_file1=$ac_default_prefix/share/config.site
2286 ac_site_file2=$ac_default_prefix/etc/config.site
2288 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2290 test "x$ac_site_file" = xNONE && continue
2291 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2293 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2294 sed 's/^/| /' "$ac_site_file" >&5
2296 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298 as_fn_error $? "failed to load site script $ac_site_file
2299 See \`config.log' for more details" "$LINENO" 5 ; }
2303 if test -r "$cache_file"; then
2304 # Some versions of bash will fail to source /dev/null (special files
2305 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2306 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2308 $as_echo "$as_me: loading cache $cache_file" >&6;}
2310 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2311 *) . "./$cache_file";;
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2316 $as_echo "$as_me: creating cache $cache_file" >&6;}
2320 gt_needs="$gt_needs "
2321 # Check that the precious variables saved in the cache have kept the same
2323 ac_cache_corrupted=false
2324 for ac_var in $ac_precious_vars; do
2325 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2326 eval ac_new_set=\$ac_env_${ac_var}_set
2327 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2328 eval ac_new_val=\$ac_env_${ac_var}_value
2329 case $ac_old_set,$ac_new_set in
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2332 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2333 ac_cache_corrupted=: ;;
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2336 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2337 ac_cache_corrupted=: ;;
2340 if test "x$ac_old_val" != "x$ac_new_val"; then
2341 # differences in whitespace do not lead to failure.
2342 ac_old_val_w=`echo x $ac_old_val`
2343 ac_new_val_w=`echo x $ac_new_val`
2344 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2346 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2347 ac_cache_corrupted=:
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2350 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2351 eval $ac_var=\$ac_old_val
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2354 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2356 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2359 # Pass precious variables to config.status.
2360 if test "$ac_new_set" = set; then
2362 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2363 *) ac_arg=$ac_var=$ac_new_val ;;
2365 case " $ac_configure_args " in
2366 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2367 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2371 if $ac_cache_corrupted; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2375 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2376 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2378 ## -------------------- ##
2379 ## Main body of script. ##
2380 ## -------------------- ##
2383 ac_cpp='$CPP $CPPFLAGS'
2384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390 ac_config_headers="$ac_config_headers config.h"
2395 for ac_dir in build-aux "$srcdir"/build-aux; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2424 am__api_version='1.11'
2426 # Find a good install program. We prefer a C program (faster),
2427 # so one script is as good as another. But avoid the broken or
2428 # incompatible versions:
2429 # SysV /etc/install, /usr/sbin/install
2430 # SunOS /usr/etc/install
2431 # IRIX /sbin/install
2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2437 # OS/2's system install, which has a completely different semantic
2438 # ./install, which can be erroneously created by make from ./install.sh.
2439 # Reject install programs that cannot install multiple files.
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442 if test -z "$INSTALL"; then
2443 if test "${ac_cv_path_install+set}" = set; then :
2444 $as_echo_n "(cached) " >&6
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 # Account for people who put trailing slashes in PATH elements.
2452 case $as_dir/ in #((
2453 ./ | .// | /[cC]/* | \
2454 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2455 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2458 # OSF1 and SCO ODT 3.0 have their own names for install.
2459 # Don't use installbsd from OSF since it installs stuff as root
2461 for ac_prog in ginstall scoinst install; do
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2464 if test $ac_prog = install &&
2465 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466 # AIX install. It has an incompatible calling convention.
2468 elif test $ac_prog = install &&
2469 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2470 # program-specific install script used by HP pwplus--don't use.
2473 rm -rf conftest.one conftest.two conftest.dir
2474 echo one > conftest.one
2475 echo two > conftest.two
2477 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2478 test -s conftest.one && test -s conftest.two &&
2479 test -s conftest.dir/conftest.one &&
2480 test -s conftest.dir/conftest.two
2482 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2495 rm -rf conftest.one conftest.two conftest.dir
2498 if test "${ac_cv_path_install+set}" = set; then
2499 INSTALL=$ac_cv_path_install
2501 # As a last resort, use the slow shell script. Don't cache a
2502 # value for INSTALL within a source directory, because that will
2503 # break other packages using the cache if that directory is
2504 # removed, or if the value is a relative name.
2505 INSTALL=$ac_install_sh
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2509 $as_echo "$INSTALL" >&6; }
2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2512 # It thinks the first close brace ends the variable substitution.
2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2517 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520 $as_echo_n "checking whether build environment is sane... " >&6; }
2523 echo timestamp > conftest.file
2524 # Reject unsafe characters in $srcdir or the absolute working directory
2525 # name. Accept space and tab only in the latter.
2529 *[\\\"\#\$\&\'\`$am_lf]*)
2530 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2533 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2534 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2537 # Do `set' in a subshell so we don't clobber the current shell's
2538 # arguments. Must try -L first in case configure is actually a
2539 # symlink; some systems play weird games with the mod time of symlinks
2540 # (eg FreeBSD returns the mod time of the symlink's containing
2543 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544 if test "$*" = "X"; then
2546 set X `ls -t "$srcdir/configure" conftest.file`
2549 if test "$*" != "X $srcdir/configure conftest.file" \
2550 && test "$*" != "X conftest.file $srcdir/configure"; then
2552 # If neither matched, then we have a broken ls. This can happen
2553 # if, for instance, CONFIG_SHELL is bash and it inherits a
2554 # broken ls alias from the environment. This has actually
2555 # happened. Such a system could not be considered "sane".
2556 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2557 alias in your environment" "$LINENO" 5
2560 test "$2" = conftest.file
2566 as_fn_error $? "newly created file is older than distributed files!
2567 Check your system clock" "$LINENO" 5
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2571 test "$program_prefix" != NONE &&
2572 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2573 # Use a double $ so make ignores it.
2574 test "$program_suffix" != NONE &&
2575 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2576 # Double any \ or $.
2577 # By default was `s,x,x', remove it if useless.
2578 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2579 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2581 # expand $ac_aux_dir to an absolute path
2582 am_aux_dir=`cd $ac_aux_dir && pwd`
2584 if test x"${MISSING+set}" != xset; then
2587 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2589 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2592 # Use eval to expand $SHELL
2593 if eval "$MISSING --run true"; then
2594 am_missing_run="$MISSING --run "
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2598 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2601 if test x"${install_sh}" != xset; then
2604 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2606 install_sh="\${SHELL} $am_aux_dir/install-sh"
2610 # Installed binaries are usually stripped using `strip' when the user
2611 # run `make install-strip'. However `strip' might not be the right
2612 # tool to use in cross-compilation environments, therefore Automake
2613 # will honor the `STRIP' environment variable to overrule this program.
2614 if test "$cross_compiling" != no; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}strip; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if test "${ac_cv_prog_STRIP+set}" = set; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$STRIP"; then
2624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 STRIP=$ac_cv_prog_STRIP
2644 if test -n "$STRIP"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2646 $as_echo "$STRIP" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2654 if test -z "$ac_cv_prog_STRIP"; then
2656 # Extract the first word of "strip", so it can be a program name with args.
2657 set dummy strip; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$ac_ct_STRIP"; then
2664 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_ac_ct_STRIP="strip"
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2684 if test -n "$ac_ct_STRIP"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2686 $as_echo "$ac_ct_STRIP" >&6; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2692 if test "x$ac_ct_STRIP" = x; then
2695 case $cross_compiling:$ac_tool_warned in
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned=yes ;;
2704 STRIP="$ac_cv_prog_STRIP"
2708 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2711 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2712 if test -z "$MKDIR_P"; then
2713 if test "${ac_cv_path_mkdir+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2720 test -z "$as_dir" && as_dir=.
2721 for ac_prog in mkdir gmkdir; do
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2724 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2725 'mkdir (GNU coreutils) '* | \
2726 'mkdir (coreutils) '* | \
2727 'mkdir (fileutils) '4.1*)
2728 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2738 test -d ./--version && rmdir ./--version
2739 if test "${ac_cv_path_mkdir+set}" = set; then
2740 MKDIR_P="$ac_cv_path_mkdir -p"
2742 # As a last resort, use the slow shell script. Don't cache a
2743 # value for MKDIR_P within a source directory, because that will
2744 # break other packages using the cache if that directory is
2745 # removed, or if the value is a relative name.
2746 MKDIR_P="$ac_install_sh -d"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2750 $as_echo "$MKDIR_P" >&6; }
2754 [\\/$]* | ?:[\\/]*) ;;
2755 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2758 for ac_prog in gawk mawk nawk awk
2760 # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy $ac_prog; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test "${ac_cv_prog_AWK+set}" = set; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$AWK"; then
2768 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_AWK="$ac_prog"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test -n "$AWK"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2790 $as_echo "$AWK" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2797 test -n "$AWK" && break
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2803 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2804 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2805 $as_echo_n "(cached) " >&6
2807 cat >conftest.make <<\_ACEOF
2810 @echo '@@@%%%=$(MAKE)=@@@%%%'
2812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2815 eval ac_cv_prog_make_${ac_make}_set=yes;;
2817 eval ac_cv_prog_make_${ac_make}_set=no;;
2821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2828 SET_MAKE="MAKE=${MAKE-make}"
2831 rm -rf .tst 2>/dev/null
2832 mkdir .tst 2>/dev/null
2833 if test -d .tst; then
2838 rmdir .tst 2>/dev/null
2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2841 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2842 # is not polluted with repeated "-I."
2843 am__isrc=' -I$(srcdir)'
2844 # test to see if srcdir already configured
2845 if test -f $srcdir/config.status; then
2846 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2850 # test whether we have cygpath
2851 if test -z "$CYGPATH_W"; then
2852 if (cygpath --version) >/dev/null 2>/dev/null; then
2853 CYGPATH_W='cygpath -w'
2860 # Define the identity of the package.
2861 PACKAGE='moonshot-ui'
2865 cat >>confdefs.h <<_ACEOF
2866 #define PACKAGE "$PACKAGE"
2870 cat >>confdefs.h <<_ACEOF
2871 #define VERSION "$VERSION"
2874 # Some tools Automake needs.
2876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2890 # We need awk for the "check" target. The system "awk" is bad on
2892 # Always define AMTAR for backward compatibility.
2894 AMTAR=${AMTAR-"${am_missing_run}tar"}
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2898 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2899 # Loop over all known methods to create a tar archive until one works.
2900 _am_tools='gnutar pax cpio none'
2901 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2902 # Do not fold the above two line into one, because Tru64 sh and
2903 # Solaris sh will not grok spaces in the rhs of `-'.
2904 for _am_tool in $_am_tools
2908 for _am_tar in tar gnutar gtar;
2910 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2911 ($_am_tar --version) >&5 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } && break
2916 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2917 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2918 am__untar="$_am_tar -xf -"
2921 # Must skip GNU tar: if it does not support --format= it doesn't create
2922 # ustar tarball either.
2923 (tar --version) >/dev/null 2>&1 && continue
2924 am__tar='tar chf - "$$tardir"'
2925 am__tar_='tar chf - "$tardir"'
2926 am__untar='tar xf -'
2929 am__tar='pax -L -x pax -w "$$tardir"'
2930 am__tar_='pax -L -x pax -w "$tardir"'
2934 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2935 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2936 am__untar='cpio -i -H pax -d'
2945 # If the value was cached, stop now. We just wanted to have am__tar
2946 # and am__untar set.
2947 test -n "${am_cv_prog_tar_pax}" && break
2949 # tar/untar a dummy directory, and stop if the command works
2952 echo GrepMe > conftest.dir/file
2953 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2954 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }
2959 if test -s conftest.tar; then
2960 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2961 ($am__untar <conftest.tar) >&5 2>&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }
2965 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2970 if test "${am_cv_prog_tar_pax+set}" = set; then :
2971 $as_echo_n "(cached) " >&6
2973 am_cv_prog_tar_pax=$_am_tool
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2977 $as_echo "$am_cv_prog_tar_pax" >&6; }
2983 # Check whether --enable-silent-rules was given.
2984 if test "${enable_silent_rules+set}" = set; then :
2985 enableval=$enable_silent_rules;
2988 case $enable_silent_rules in
2989 yes) AM_DEFAULT_VERBOSITY=0;;
2990 no) AM_DEFAULT_VERBOSITY=1;;
2991 *) AM_DEFAULT_VERBOSITY=0;;
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2997 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2998 # Check whether --enable-maintainer-mode was given.
2999 if test "${enable_maintainer_mode+set}" = set; then :
3000 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3002 USE_MAINTAINER_MODE=yes
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3006 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3007 if test $USE_MAINTAINER_MODE = yes; then
3008 MAINTAINER_MODE_TRUE=
3009 MAINTAINER_MODE_FALSE='#'
3011 MAINTAINER_MODE_TRUE='#'
3012 MAINTAINER_MODE_FALSE=
3015 MAINT=$MAINTAINER_MODE_TRUE
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3023 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3028 macro_version='2.2.6b'
3029 macro_revision='1.3017'
3043 ltmain="$ac_aux_dir/ltmain.sh"
3045 # Make sure we can run config.sub.
3046 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3047 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3050 $as_echo_n "checking build system type... " >&6; }
3051 if test "${ac_cv_build+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3054 ac_build_alias=$build_alias
3055 test "x$ac_build_alias" = x &&
3056 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3057 test "x$ac_build_alias" = x &&
3058 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3059 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3060 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3064 $as_echo "$ac_cv_build" >&6; }
3065 case $ac_cv_build in
3067 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3070 ac_save_IFS=$IFS; IFS='-'
3076 # Remember, the first character of IFS is used to create $*,
3077 # except with old shells:
3080 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3084 $as_echo_n "checking host system type... " >&6; }
3085 if test "${ac_cv_host+set}" = set; then :
3086 $as_echo_n "(cached) " >&6
3088 if test "x$host_alias" = x; then
3089 ac_cv_host=$ac_cv_build
3091 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3092 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3097 $as_echo "$ac_cv_host" >&6; }
3100 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3103 ac_save_IFS=$IFS; IFS='-'
3109 # Remember, the first character of IFS is used to create $*,
3110 # except with old shells:
3113 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3116 DEPDIR="${am__leading_dot}deps"
3118 ac_config_commands="$ac_config_commands depfiles"
3121 am_make=${MAKE-make}
3122 cat > confinc << 'END'
3124 @echo this is the am__doit target
3127 # If we don't find an include directive, just comment out the code.
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3129 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3133 # First try GNU make style include.
3134 echo "include confinc" > confmf
3135 # Ignore all kinds of additional output from `make'.
3136 case `$am_make -s -f confmf 2> /dev/null` in #(
3137 *the\ am__doit\ target*)
3143 # Now try BSD make style include.
3144 if test "$am__include" = "#"; then
3145 echo '.include "confinc"' > confmf
3146 case `$am_make -s -f confmf 2> /dev/null` in #(
3147 *the\ am__doit\ target*)
3148 am__include=.include
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3157 $as_echo "$_am_result" >&6; }
3158 rm -f confinc confmf
3160 # Check whether --enable-dependency-tracking was given.
3161 if test "${enable_dependency_tracking+set}" = set; then :
3162 enableval=$enable_dependency_tracking;
3165 if test "x$enable_dependency_tracking" != xno; then
3166 am_depcomp="$ac_aux_dir/depcomp"
3169 if test "x$enable_dependency_tracking" != xno; then
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3183 if test -n "$ac_tool_prefix"; then
3184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3185 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if test "${ac_cv_prog_CC+set}" = set; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC="$CC" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3222 if test -z "$ac_cv_prog_CC"; then
3224 # Extract the first word of "gcc", so it can be a program name with args.
3225 set dummy gcc; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$ac_ct_CC"; then
3232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir=.
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_ac_ct_CC="gcc"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254 $as_echo "$ac_ct_CC" >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3260 if test "x$ac_ct_CC" = x; then
3263 case $cross_compiling:$ac_tool_warned in
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3267 ac_tool_warned=yes ;;
3275 if test -z "$CC"; then
3276 if test -n "$ac_tool_prefix"; then
3277 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3278 set dummy ${ac_tool_prefix}cc; ac_word=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if test "${ac_cv_prog_CC+set}" = set; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3294 ac_cv_prog_CC="${ac_tool_prefix}cc"
3295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 if test -n "$CC"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3307 $as_echo "$CC" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3316 if test -z "$CC"; then
3317 # Extract the first word of "cc", so it can be a program name with args.
3318 set dummy cc; ac_word=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if test "${ac_cv_prog_CC+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$CC"; then
3325 ac_cv_prog_CC="$CC" # Let the user override the test.
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3336 ac_prog_rejected=yes
3340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 if test $ac_prog_rejected = yes; then
3348 # We found a bogon in the path, so make sure we never use it.
3349 set dummy $ac_cv_prog_CC
3351 if test $# != 0; then
3352 # We chose a different compiler from the bogus one.
3353 # However, it has the same basename, so the bogon will be chosen
3354 # first if we set CC to just the basename; use the full file name.
3356 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3362 if test -n "$CC"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364 $as_echo "$CC" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3372 if test -z "$CC"; then
3373 if test -n "$ac_tool_prefix"; then
3374 for ac_prog in cl.exe
3376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if test "${ac_cv_prog_CC+set}" = set; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$CC"; then
3384 ac_cv_prog_CC="$CC" # Let the user override the test.
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 if test -n "$CC"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406 $as_echo "$CC" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3413 test -n "$CC" && break
3416 if test -z "$CC"; then
3418 for ac_prog in cl.exe
3420 # Extract the first word of "$ac_prog", so it can be a program name with args.
3421 set dummy $ac_prog; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3427 if test -n "$ac_ct_CC"; then
3428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_ac_ct_CC="$ac_prog"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3448 if test -n "$ac_ct_CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3450 $as_echo "$ac_ct_CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3457 test -n "$ac_ct_CC" && break
3460 if test "x$ac_ct_CC" = x; then
3463 case $cross_compiling:$ac_tool_warned in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3467 ac_tool_warned=yes ;;
3476 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error $? "no acceptable C compiler found in \$PATH
3479 See \`config.log' for more details" "$LINENO" 5 ; }
3481 # Provide some information about the compiler.
3482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3485 for ac_option in --version -v -V -qversion; do
3486 { { ac_try="$ac_compiler $ac_option >&5"
3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3492 $as_echo "$ac_try_echo"; } >&5
3493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3495 if test -s conftest.err; then
3497 ... rest of stderr output deleted ...
3498 10q' conftest.err >conftest.er1
3499 cat conftest.er1 >&5
3501 rm -f conftest.er1 conftest.err
3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503 test $ac_status = 0; }
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3517 ac_clean_files_save=$ac_clean_files
3518 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3519 # Try to create an executable without -o first, disregard a.out.
3520 # It will help us diagnose broken compilers, and finding out an intuition
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3523 $as_echo_n "checking whether the C compiler works... " >&6; }
3524 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3526 # The possible output files:
3527 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3530 for ac_file in $ac_files
3533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3534 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3539 if { { ac_try="$ac_link_default"
3541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542 *) ac_try_echo=$ac_try;;
3544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545 $as_echo "$ac_try_echo"; } >&5
3546 (eval "$ac_link_default") 2>&5
3548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549 test $ac_status = 0; }; then :
3550 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3551 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3552 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3553 # so that the user can short-circuit this test for compilers unknown to
3555 for ac_file in $ac_files ''
3557 test -f "$ac_file" || continue
3559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3562 # We found the default executable, but exeext='' is most
3566 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3568 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3570 # We set ac_cv_exeext here because the later test for it is not
3571 # safe: cross compilers may not add the suffix if given an `-o'
3572 # argument, so we may need to know it at that point already.
3573 # Even if this section looks crufty: it has the advantage of
3580 test "$ac_cv_exeext" = no && ac_cv_exeext=
3585 if test -z "$ac_file"; then :
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3588 $as_echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error 77 "C compiler cannot create executables
3594 See \`config.log' for more details" "$LINENO" 5 ; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3597 $as_echo "yes" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3600 $as_echo_n "checking for C compiler default output file name... " >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3602 $as_echo "$ac_file" >&6; }
3603 ac_exeext=$ac_cv_exeext
3605 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3606 ac_clean_files=$ac_clean_files_save
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3608 $as_echo_n "checking for suffix of executables... " >&6; }
3609 if { { ac_try="$ac_link"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_link") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }; then :
3620 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3621 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3622 # work properly (i.e., refer to `conftest.exe'), while it won't with
3624 for ac_file in conftest.exe conftest conftest.*; do
3625 test -f "$ac_file" || continue
3627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3628 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3636 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3637 See \`config.log' for more details" "$LINENO" 5 ; }
3639 rm -f conftest conftest$ac_cv_exeext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3641 $as_echo "$ac_cv_exeext" >&6; }
3643 rm -f conftest.$ac_ext
3644 EXEEXT=$ac_cv_exeext
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3652 FILE *f = fopen ("conftest.out", "w");
3653 return ferror (f) || fclose (f) != 0;
3659 ac_clean_files="$ac_clean_files conftest.out"
3660 # Check that the compiler produces executables we can run. If not, either
3661 # the compiler is broken, or we cross compile.
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3663 $as_echo_n "checking whether we are cross compiling... " >&6; }
3664 if test "$cross_compiling" != yes; then
3665 { { ac_try="$ac_link"
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_link") 2>&5
3674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675 test $ac_status = 0; }
3676 if { ac_try='./conftest$ac_cv_exeext'
3677 { { case "(($ac_try" in
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_try") 2>&5
3685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686 test $ac_status = 0; }; }; then
3689 if test "$cross_compiling" = maybe; then
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error $? "cannot run C compiled programs.
3695 If you meant to cross compile, use \`--host'.
3696 See \`config.log' for more details" "$LINENO" 5 ; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3701 $as_echo "$cross_compiling" >&6; }
3703 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3704 ac_clean_files=$ac_clean_files_save
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3706 $as_echo_n "checking for suffix of object files... " >&6; }
3707 if test "${ac_cv_objext+set}" = set; then :
3708 $as_echo_n "(cached) " >&6
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3721 rm -f conftest.o conftest.obj
3722 if { { ac_try="$ac_compile"
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728 $as_echo "$ac_try_echo"; } >&5
3729 (eval "$ac_compile") 2>&5
3731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3732 test $ac_status = 0; }; then :
3733 for ac_file in conftest.o conftest.obj conftest.*; do
3734 test -f "$ac_file" || continue;
3736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3737 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3742 $as_echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $? "cannot compute suffix of object files: cannot compile
3748 See \`config.log' for more details" "$LINENO" 5 ; }
3750 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3753 $as_echo "$ac_cv_objext" >&6; }
3754 OBJEXT=$ac_cv_objext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3757 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3758 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3759 $as_echo_n "(cached) " >&6
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3785 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3786 if test $ac_compiler_gnu = yes; then
3791 ac_test_CFLAGS=${CFLAGS+set}
3792 ac_save_CFLAGS=$CFLAGS
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3794 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3795 if test "${ac_cv_prog_cc_g+set}" = set; then :
3796 $as_echo_n "(cached) " >&6
3798 ac_save_c_werror_flag=$ac_c_werror_flag
3799 ac_c_werror_flag=yes
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 if ac_fn_c_try_compile "$LINENO"; then :
3831 ac_c_werror_flag=$ac_save_c_werror_flag
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3844 if ac_fn_c_try_compile "$LINENO"; then :
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3852 ac_c_werror_flag=$ac_save_c_werror_flag
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3855 $as_echo "$ac_cv_prog_cc_g" >&6; }
3856 if test "$ac_test_CFLAGS" = set; then
3857 CFLAGS=$ac_save_CFLAGS
3858 elif test $ac_cv_prog_cc_g = yes; then
3859 if test "$GCC" = yes; then
3865 if test "$GCC" = yes; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3872 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3873 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 ac_cv_prog_cc_c89=no
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3882 #include <sys/types.h>
3883 #include <sys/stat.h>
3884 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3885 struct buf { int x; };
3886 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3887 static char *e (p, i)
3893 static char *f (char * (*g) (char **, int), char **p, ...)
3898 s = g (p, va_arg (v,int));
3903 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3904 function prototypes and stuff, but not '\xHH' hex character constants.
3905 These don't provoke an error unfortunately, instead are silently treated
3906 as 'x'. The following induces an error, until -std is added to get
3907 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3908 array size at least. It's necessary to write '\x00'==0 to get something
3909 that's true only with -std. */
3910 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3912 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3913 inside strings and character constants. */
3915 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3917 int test (int i, double x);
3918 struct s1 {int (*f) (int a);};
3919 struct s2 {int (*f) (double a);};
3920 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3926 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3931 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3932 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3934 CC="$ac_save_CC $ac_arg"
3935 if ac_fn_c_try_compile "$LINENO"; then :
3936 ac_cv_prog_cc_c89=$ac_arg
3938 rm -f core conftest.err conftest.$ac_objext
3939 test "x$ac_cv_prog_cc_c89" != "xno" && break
3941 rm -f conftest.$ac_ext
3946 case "x$ac_cv_prog_cc_c89" in
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3949 $as_echo "none needed" >&6; } ;;
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3952 $as_echo "unsupported" >&6; } ;;
3954 CC="$CC $ac_cv_prog_cc_c89"
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3956 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3958 if test "x$ac_cv_prog_cc_c89" != xno; then :
3963 ac_cpp='$CPP $CPPFLAGS'
3964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3968 depcc="$CC" am_compiler_list=
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3971 $as_echo_n "checking dependency style of $depcc... " >&6; }
3972 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3975 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3976 # We make a subdir and do the tests there. Otherwise we can end up
3977 # making bogus files that we don't know about and never remove. For
3978 # instance it was reported that on HP-UX the gcc test will end up
3979 # making a dummy file named `D' -- because `-MD' means `put the output
3982 # Copy depcomp to subdir because otherwise we won't find it if we're
3983 # using a relative directory.
3984 cp "$am_depcomp" conftest.dir
3986 # We will build objects and dependencies in a subdirectory because
3987 # it helps to detect inapplicable dependency modes. For instance
3988 # both Tru64's cc and ICC support -MD to output dependencies as a
3989 # side effect of compilation, but ICC will put the dependencies in
3990 # the current directory while Tru64 will put them in the object
3994 am_cv_CC_dependencies_compiler_type=none
3995 if test "$am_compiler_list" = ""; then
3996 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3999 case " $depcc " in #(
4000 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4003 for depmode in $am_compiler_list; do
4004 # Setup a source with many dependencies, because some compilers
4005 # like to wrap large dependency lists on column 80 (with \), and
4006 # we should not choose a depcomp mode which is confused by this.
4008 # We need to recreate these files for each test, as the compiler may
4009 # overwrite some of them when testing with obscure command lines.
4010 # This happens at least with the AIX C compiler.
4012 for i in 1 2 3 4 5 6; do
4013 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4014 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4015 # Solaris 8's {/usr,}/bin/sh.
4016 touch sub/conftst$i.h
4018 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4020 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4021 # mode. It turns out that the SunPro C++ compiler does not properly
4022 # handle `-M -o', and we need to detect this. Also, some Intel
4023 # versions had trouble with output in subdirs
4024 am__obj=sub/conftest.${OBJEXT-o}
4025 am__minus_obj="-o $am__obj"
4028 # This depmode causes a compiler race in universal mode.
4029 test "$am__universal" = false || continue
4032 # after this tag, mechanisms are not by side-effect, so they'll
4033 # only be used when explicitly requested
4034 if test "x$enable_dependency_tracking" = xyes; then
4040 msvisualcpp | msvcmsys)
4041 # This compiler won't grok `-c -o', but also, the minuso test has
4042 # not run yet. These depmodes are late enough in the game, and
4043 # so weak that their functioning should not be impacted.
4044 am__obj=conftest.${OBJEXT-o}
4049 if depmode=$depmode \
4050 source=sub/conftest.c object=$am__obj \
4051 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4052 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4053 >/dev/null 2>conftest.err &&
4054 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4055 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4056 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4057 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4058 # icc doesn't choke on unknown options, it will just issue warnings
4059 # or remarks (even with -Werror). So we grep stderr for any message
4060 # that says an option was ignored or not supported.
4061 # When given -MP, icc 7.0 and 7.1 complain thusly:
4062 # icc: Command line warning: ignoring option '-M'; no argument required
4063 # The diagnosis changed in icc 8.0:
4064 # icc: Command line remark: option '-MP' not supported
4065 if (grep 'ignoring option' conftest.err ||
4066 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4067 am_cv_CC_dependencies_compiler_type=$depmode
4076 am_cv_CC_dependencies_compiler_type=none
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4081 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4082 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4085 test "x$enable_dependency_tracking" != xno \
4086 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4088 am__fastdepCC_FALSE='#'
4090 am__fastdepCC_TRUE='#'
4091 am__fastdepCC_FALSE=
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4096 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4097 if test "${ac_cv_path_SED+set}" = set; then :
4098 $as_echo_n "(cached) " >&6
4100 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4101 for ac_i in 1 2 3 4 5 6 7; do
4102 ac_script="$ac_script$as_nl$ac_script"
4104 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4105 { ac_script=; unset ac_script;}
4106 if test -z "$SED"; then
4107 ac_path_SED_found=false
4108 # Loop through the user's path and test for each of PROGNAME-LIST
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_prog in sed gsed; do
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4116 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4117 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4118 # Check for GNU ac_path_SED and select it if it is found.
4119 # Check for GNU $ac_path_SED
4120 case `"$ac_path_SED" --version 2>&1` in
4122 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4125 $as_echo_n 0123456789 >"conftest.in"
4128 cat "conftest.in" "conftest.in" >"conftest.tmp"
4129 mv "conftest.tmp" "conftest.in"
4130 cp "conftest.in" "conftest.nl"
4131 $as_echo '' >> "conftest.nl"
4132 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4133 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4134 as_fn_arith $ac_count + 1 && ac_count=$as_val
4135 if test $ac_count -gt ${ac_path_SED_max-0}; then
4136 # Best one so far, save it but keep looking for a better one
4137 ac_cv_path_SED="$ac_path_SED"
4138 ac_path_SED_max=$ac_count
4140 # 10*(2^10) chars as input seems more than enough
4141 test $ac_count -gt 10 && break
4143 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4146 $ac_path_SED_found && break 3
4151 if test -z "$ac_cv_path_SED"; then
4152 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4160 $as_echo "$ac_cv_path_SED" >&6; }
4161 SED="$ac_cv_path_SED"
4164 test -z "$SED" && SED=sed
4165 Xsed="$SED -e 1s/^X//"
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4178 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4179 if test "${ac_cv_path_GREP+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4182 if test -z "$GREP"; then
4183 ac_path_GREP_found=false
4184 # Loop through the user's path and test for each of PROGNAME-LIST
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4189 test -z "$as_dir" && as_dir=.
4190 for ac_prog in grep ggrep; do
4191 for ac_exec_ext in '' $ac_executable_extensions; do
4192 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4193 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4194 # Check for GNU ac_path_GREP and select it if it is found.
4195 # Check for GNU $ac_path_GREP
4196 case `"$ac_path_GREP" --version 2>&1` in
4198 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4201 $as_echo_n 0123456789 >"conftest.in"
4204 cat "conftest.in" "conftest.in" >"conftest.tmp"
4205 mv "conftest.tmp" "conftest.in"
4206 cp "conftest.in" "conftest.nl"
4207 $as_echo 'GREP' >> "conftest.nl"
4208 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4210 as_fn_arith $ac_count + 1 && ac_count=$as_val
4211 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4212 # Best one so far, save it but keep looking for a better one
4213 ac_cv_path_GREP="$ac_path_GREP"
4214 ac_path_GREP_max=$ac_count
4216 # 10*(2^10) chars as input seems more than enough
4217 test $ac_count -gt 10 && break
4219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4222 $ac_path_GREP_found && break 3
4227 if test -z "$ac_cv_path_GREP"; then
4228 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4231 ac_cv_path_GREP=$GREP
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4236 $as_echo "$ac_cv_path_GREP" >&6; }
4237 GREP="$ac_cv_path_GREP"
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4241 $as_echo_n "checking for egrep... " >&6; }
4242 if test "${ac_cv_path_EGREP+set}" = set; then :
4243 $as_echo_n "(cached) " >&6
4245 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4246 then ac_cv_path_EGREP="$GREP -E"
4248 if test -z "$EGREP"; then
4249 ac_path_EGREP_found=false
4250 # Loop through the user's path and test for each of PROGNAME-LIST
4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4255 test -z "$as_dir" && as_dir=.
4256 for ac_prog in egrep; do
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4259 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4260 # Check for GNU ac_path_EGREP and select it if it is found.
4261 # Check for GNU $ac_path_EGREP
4262 case `"$ac_path_EGREP" --version 2>&1` in
4264 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4267 $as_echo_n 0123456789 >"conftest.in"
4270 cat "conftest.in" "conftest.in" >"conftest.tmp"
4271 mv "conftest.tmp" "conftest.in"
4272 cp "conftest.in" "conftest.nl"
4273 $as_echo 'EGREP' >> "conftest.nl"
4274 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4276 as_fn_arith $ac_count + 1 && ac_count=$as_val
4277 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4278 # Best one so far, save it but keep looking for a better one
4279 ac_cv_path_EGREP="$ac_path_EGREP"
4280 ac_path_EGREP_max=$ac_count
4282 # 10*(2^10) chars as input seems more than enough
4283 test $ac_count -gt 10 && break
4285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4288 $ac_path_EGREP_found && break 3
4293 if test -z "$ac_cv_path_EGREP"; then
4294 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4297 ac_cv_path_EGREP=$EGREP
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4303 $as_echo "$ac_cv_path_EGREP" >&6; }
4304 EGREP="$ac_cv_path_EGREP"
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4308 $as_echo_n "checking for fgrep... " >&6; }
4309 if test "${ac_cv_path_FGREP+set}" = set; then :
4310 $as_echo_n "(cached) " >&6
4312 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4313 then ac_cv_path_FGREP="$GREP -F"
4315 if test -z "$FGREP"; then
4316 ac_path_FGREP_found=false
4317 # Loop through the user's path and test for each of PROGNAME-LIST
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4322 test -z "$as_dir" && as_dir=.
4323 for ac_prog in fgrep; do
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4326 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4327 # Check for GNU ac_path_FGREP and select it if it is found.
4328 # Check for GNU $ac_path_FGREP
4329 case `"$ac_path_FGREP" --version 2>&1` in
4331 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4334 $as_echo_n 0123456789 >"conftest.in"
4337 cat "conftest.in" "conftest.in" >"conftest.tmp"
4338 mv "conftest.tmp" "conftest.in"
4339 cp "conftest.in" "conftest.nl"
4340 $as_echo 'FGREP' >> "conftest.nl"
4341 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4343 as_fn_arith $ac_count + 1 && ac_count=$as_val
4344 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4345 # Best one so far, save it but keep looking for a better one
4346 ac_cv_path_FGREP="$ac_path_FGREP"
4347 ac_path_FGREP_max=$ac_count
4349 # 10*(2^10) chars as input seems more than enough
4350 test $ac_count -gt 10 && break
4352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4355 $ac_path_FGREP_found && break 3
4360 if test -z "$ac_cv_path_FGREP"; then
4361 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4364 ac_cv_path_FGREP=$FGREP
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4370 $as_echo "$ac_cv_path_FGREP" >&6; }
4371 FGREP="$ac_cv_path_FGREP"
4374 test -z "$GREP" && GREP=grep
4394 # Check whether --with-gnu-ld was given.
4395 if test "${with_gnu_ld+set}" = set; then :
4396 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4402 if test "$GCC" = yes; then
4403 # Check if gcc -print-prog-name=ld gives a path.
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4405 $as_echo_n "checking for ld used by $CC... " >&6; }
4408 # gcc leaves a trailing carriage return which upsets mingw
4409 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4411 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4414 # Accept absolute paths.
4416 re_direlt='/[^/][^/]*/\.\./'
4417 # Canonicalize the pathname of ld
4418 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4419 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4420 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4422 test -z "$LD" && LD="$ac_prog"
4425 # If it fails, then pretend we aren't using GCC.
4429 # If it is relative, then search for the first ld in PATH.
4433 elif test "$with_gnu_ld" = yes; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4435 $as_echo_n "checking for GNU ld... " >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4438 $as_echo_n "checking for non-GNU ld... " >&6; }
4440 if test "${lt_cv_path_LD+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -z "$LD"; then
4444 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4445 for ac_dir in $PATH; do
4447 test -z "$ac_dir" && ac_dir=.
4448 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4449 lt_cv_path_LD="$ac_dir/$ac_prog"
4450 # Check to see if the program is GNU ld. I'd rather use --version,
4451 # but apparently some variants of GNU ld only accept -v.
4452 # Break only if it was the GNU/non-GNU ld that we prefer.
4453 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4454 *GNU* | *'with BFD'*)
4455 test "$with_gnu_ld" != no && break
4458 test "$with_gnu_ld" != yes && break
4465 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4470 if test -n "$LD"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4472 $as_echo "$LD" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4477 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4479 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4480 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4483 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4484 case `$LD -v 2>&1 </dev/null` in
4485 *GNU* | *'with BFD'*)
4486 lt_cv_prog_gnu_ld=yes
4489 lt_cv_prog_gnu_ld=no
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4494 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4495 with_gnu_ld=$lt_cv_prog_gnu_ld
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4506 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4507 if test "${lt_cv_path_NM+set}" = set; then :
4508 $as_echo_n "(cached) " >&6
4510 if test -n "$NM"; then
4511 # Let the user override the test.
4514 lt_nm_to_check="${ac_tool_prefix}nm"
4515 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4516 lt_nm_to_check="$lt_nm_to_check nm"
4518 for lt_tmp_nm in $lt_nm_to_check; do
4519 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4520 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4522 test -z "$ac_dir" && ac_dir=.
4523 tmp_nm="$ac_dir/$lt_tmp_nm"
4524 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4525 # Check to see if the nm accepts a BSD-compat flag.
4526 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4527 # nm: unknown option "B" ignored
4528 # Tru64's nm complains that /dev/null is an invalid object file
4529 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4530 */dev/null* | *'Invalid file or object type'*)
4531 lt_cv_path_NM="$tmp_nm -B"
4535 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4537 lt_cv_path_NM="$tmp_nm -p"
4541 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4542 continue # so that we can try to find one that supports BSD flags
4551 : ${lt_cv_path_NM=no}
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4555 $as_echo "$lt_cv_path_NM" >&6; }
4556 if test "$lt_cv_path_NM" != "no"; then
4559 # Didn't find any BSD compatible name lister, look for dumpbin.
4560 if test -n "$ac_tool_prefix"; then
4561 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4566 $as_echo_n "checking for $ac_word... " >&6; }
4567 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4570 if test -n "$DUMPBIN"; then
4571 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 test -z "$as_dir" && as_dir=.
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4580 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 DUMPBIN=$ac_cv_prog_DUMPBIN
4591 if test -n "$DUMPBIN"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4593 $as_echo "$DUMPBIN" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
4600 test -n "$DUMPBIN" && break
4603 if test -z "$DUMPBIN"; then
4604 ac_ct_DUMPBIN=$DUMPBIN
4605 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4607 # Extract the first word of "$ac_prog", so it can be a program name with args.
4608 set dummy $ac_prog; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$ac_ct_DUMPBIN"; then
4615 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4635 if test -n "$ac_ct_DUMPBIN"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4637 $as_echo "$ac_ct_DUMPBIN" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$ac_ct_DUMPBIN" && break
4647 if test "x$ac_ct_DUMPBIN" = x; then
4650 case $cross_compiling:$ac_tool_warned in
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4654 ac_tool_warned=yes ;;
4656 DUMPBIN=$ac_ct_DUMPBIN
4661 if test "$DUMPBIN" != ":"; then
4665 test -z "$NM" && NM=nm
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4673 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4674 if test "${lt_cv_nm_interface+set}" = set; then :
4675 $as_echo_n "(cached) " >&6
4677 lt_cv_nm_interface="BSD nm"
4678 echo "int some_variable = 0;" > conftest.$ac_ext
4679 (eval echo "\"\$as_me:4679: $ac_compile\"" >&5)
4680 (eval "$ac_compile" 2>conftest.err)
4681 cat conftest.err >&5
4682 (eval echo "\"\$as_me:4682: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4683 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4684 cat conftest.err >&5
4685 (eval echo "\"\$as_me:4685: output\"" >&5)
4686 cat conftest.out >&5
4687 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4688 lt_cv_nm_interface="MS dumpbin"
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4693 $as_echo "$lt_cv_nm_interface" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4696 $as_echo_n "checking whether ln -s works... " >&6; }
4698 if test "$LN_S" = "ln -s"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4700 $as_echo "yes" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4703 $as_echo "no, using $LN_S" >&6; }
4706 # find the maximum length of command line arguments
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4708 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4709 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4717 # On DJGPP, this test can blow up pretty badly due to problems in libc
4718 # (any single argument exceeding 2000 bytes causes a buffer overrun
4719 # during glob expansion). Even if it were fixed, the result of this
4720 # check would be larger than it should be.
4721 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4725 # Under GNU Hurd, this test is not required because there is
4726 # no limit to the length of command line arguments.
4727 # Libtool will interpret -1 as no limit whatsoever
4728 lt_cv_sys_max_cmd_len=-1;
4731 cygwin* | mingw* | cegcc*)
4732 # On Win9x/ME, this test blows up -- it succeeds, but takes
4733 # about 5 minutes as the teststring grows exponentially.
4734 # Worse, since 9x/ME are not pre-emptively multitasking,
4735 # you end up with a "frozen" computer, even though with patience
4736 # the test eventually succeeds (with a max line length of 256k).
4737 # Instead, let's just punt: use the minimum linelength reported by
4738 # all of the supported platforms: 8192 (on NT/2K/XP).
4739 lt_cv_sys_max_cmd_len=8192;
4743 # On AmigaOS with pdksh, this test takes hours, literally.
4744 # So we just punt and use a minimum line length of 8192.
4745 lt_cv_sys_max_cmd_len=8192;
4748 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4749 # This has been around since 386BSD, at least. Likely further.
4750 if test -x /sbin/sysctl; then
4751 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4752 elif test -x /usr/sbin/sysctl; then
4753 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4755 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4757 # And add a safety zone
4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4763 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4764 lt_cv_sys_max_cmd_len=196608
4768 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4769 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4770 # nice to cause kernel panics so lets avoid the loop below.
4771 # First set a reasonable default.
4772 lt_cv_sys_max_cmd_len=16384
4774 if test -x /sbin/sysconfig; then
4775 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4776 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4781 lt_cv_sys_max_cmd_len=102400
4783 sysv5* | sco5v6* | sysv4.2uw2*)
4784 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4785 if test -n "$kargmax"; then
4786 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4788 lt_cv_sys_max_cmd_len=32768
4792 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4793 if test -n "$lt_cv_sys_max_cmd_len"; then
4794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4795 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4797 # Make teststring a little bigger before we do anything with it.
4798 # a 1K string should be a reasonable start.
4799 for i in 1 2 3 4 5 6 7 8 ; do
4800 teststring=$teststring$teststring
4802 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4803 # If test is not a shell built-in, we'll probably end up computing a
4804 # maximum length that is only half of the actual maximum length, but
4806 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4807 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4808 test $i != 17 # 1/2 MB should be enough
4811 teststring=$teststring$teststring
4813 # Only check the string length outside the loop.
4814 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4816 # Add a significant safety factor because C++ compilers can tack on
4817 # massive amounts of additional arguments before passing them to the
4818 # linker. It appears as though 1/2 is a usable value.
4819 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4826 if test -n $lt_cv_sys_max_cmd_len ; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4828 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4831 $as_echo "none" >&6; }
4833 max_cmd_len=$lt_cv_sys_max_cmd_len
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4845 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4846 # Try some XSI features
4849 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4851 && eval 'test $(( 1 + 1 )) -eq 2 \
4852 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4855 $as_echo "$xsi_shell" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4859 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4861 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4863 && lt_shell_append=yes
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4865 $as_echo "$lt_shell_append" >&6; }
4868 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4878 # test EBCDIC or ASCII
4879 case `echo X|tr X '\101'` in
4880 A) # ASCII based system
4881 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4882 lt_SP2NL='tr \040 \012'
4883 lt_NL2SP='tr \015\012 \040\040'
4885 *) # EBCDIC based system
4886 lt_SP2NL='tr \100 \n'
4887 lt_NL2SP='tr \r\n \100\100'
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4900 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4901 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4902 $as_echo_n "(cached) " >&6
4904 lt_cv_ld_reload_flag='-r'
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4907 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4908 reload_flag=$lt_cv_ld_reload_flag
4909 case $reload_flag in
4911 *) reload_flag=" $reload_flag" ;;
4913 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4916 if test "$GCC" = yes; then
4917 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4919 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4932 if test -n "$ac_tool_prefix"; then
4933 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4934 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$OBJDUMP"; then
4941 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4950 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 OBJDUMP=$ac_cv_prog_OBJDUMP
4961 if test -n "$OBJDUMP"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4963 $as_echo "$OBJDUMP" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4971 if test -z "$ac_cv_prog_OBJDUMP"; then
4972 ac_ct_OBJDUMP=$OBJDUMP
4973 # Extract the first word of "objdump", so it can be a program name with args.
4974 set dummy objdump; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$ac_ct_OBJDUMP"; then
4981 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5001 if test -n "$ac_ct_OBJDUMP"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5003 $as_echo "$ac_ct_OBJDUMP" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5009 if test "x$ac_ct_OBJDUMP" = x; then
5012 case $cross_compiling:$ac_tool_warned in
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5018 OBJDUMP=$ac_ct_OBJDUMP
5021 OBJDUMP="$ac_cv_prog_OBJDUMP"
5024 test -z "$OBJDUMP" && OBJDUMP=objdump
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5032 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5033 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5036 lt_cv_file_magic_cmd='$MAGIC_CMD'
5037 lt_cv_file_magic_test_file=
5038 lt_cv_deplibs_check_method='unknown'
5039 # Need to set the preceding variable on all platforms that support
5040 # interlibrary dependencies.
5041 # 'none' -- dependencies not supported.
5042 # `unknown' -- same as none, but documents that we really don't know.
5043 # 'pass_all' -- all dependencies passed with no checks.
5044 # 'test_compile' -- check by making test program.
5045 # 'file_magic [[regex]]' -- check by looking for files in library path
5046 # which responds to the $file_magic_cmd with a given extended regex.
5047 # If you have `file' or equivalent on your system and you're not sure
5048 # whether `pass_all' will *always* work, you probably want this one.
5052 lt_cv_deplibs_check_method=pass_all
5056 lt_cv_deplibs_check_method=pass_all
5060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5061 lt_cv_file_magic_cmd='/usr/bin/file -L'
5062 lt_cv_file_magic_test_file=/shlib/libc.so
5066 # func_win32_libid is a shell function defined in ltmain.sh
5067 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5068 lt_cv_file_magic_cmd='func_win32_libid'
5072 # Base MSYS/MinGW do not provide the 'file' command needed by
5073 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5074 # unless we find 'file', for example because we are cross-compiling.
5075 if ( file / ) >/dev/null 2>&1; then
5076 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5077 lt_cv_file_magic_cmd='func_win32_libid'
5079 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5080 lt_cv_file_magic_cmd='$OBJDUMP -f'
5085 # use the weaker test based on 'objdump'. See mingw*.
5086 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5087 lt_cv_file_magic_cmd='$OBJDUMP -f'
5090 darwin* | rhapsody*)
5091 lt_cv_deplibs_check_method=pass_all
5094 freebsd* | dragonfly*)
5095 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5098 # Not sure whether the presence of OpenBSD here was a mistake.
5099 # Let's accept both of them until this is cleared up.
5100 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5101 lt_cv_file_magic_cmd=/usr/bin/file
5102 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5106 lt_cv_deplibs_check_method=pass_all
5111 lt_cv_deplibs_check_method=pass_all
5114 hpux10.20* | hpux11*)
5115 lt_cv_file_magic_cmd=/usr/bin/file
5118 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5119 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5122 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5123 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5126 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5127 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5133 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5134 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5137 irix5* | irix6* | nonstopux*)
5139 *-32|*"-32 ") libmagic=32-bit;;
5140 *-n32|*"-n32 ") libmagic=N32;;
5141 *-64|*"-64 ") libmagic=64-bit;;
5142 *) libmagic=never-match;;
5144 lt_cv_deplibs_check_method=pass_all
5147 # This must be Linux ELF.
5148 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5149 lt_cv_deplibs_check_method=pass_all
5152 netbsd* | netbsdelf*-gnu)
5153 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5154 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5156 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5161 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5162 lt_cv_file_magic_cmd=/usr/bin/file
5163 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5167 lt_cv_deplibs_check_method=pass_all
5171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5174 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5178 osf3* | osf4* | osf5*)
5179 lt_cv_deplibs_check_method=pass_all
5183 lt_cv_deplibs_check_method=pass_all
5187 lt_cv_deplibs_check_method=pass_all
5190 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5191 lt_cv_deplibs_check_method=pass_all
5195 case $host_vendor in
5197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5198 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5201 lt_cv_deplibs_check_method=pass_all
5204 lt_cv_file_magic_cmd='/bin/file'
5205 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5208 lt_cv_file_magic_cmd='/bin/file'
5209 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5210 lt_cv_file_magic_test_file=/lib/libc.so
5213 lt_cv_deplibs_check_method=pass_all
5216 lt_cv_deplibs_check_method=pass_all
5222 lt_cv_deplibs_check_method=pass_all
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5228 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5229 file_magic_cmd=$lt_cv_file_magic_cmd
5230 deplibs_check_method=$lt_cv_deplibs_check_method
5231 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5244 if test -n "$ac_tool_prefix"; then
5245 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5246 set dummy ${ac_tool_prefix}ar; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if test "${ac_cv_prog_AR+set}" = set; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$AR"; then
5253 ac_cv_prog_AR="$AR" # Let the user override the test.
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5262 ac_cv_prog_AR="${ac_tool_prefix}ar"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 if test -n "$AR"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5275 $as_echo "$AR" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5283 if test -z "$ac_cv_prog_AR"; then
5285 # Extract the first word of "ar", so it can be a program name with args.
5286 set dummy ar; ac_word=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$ac_ct_AR"; then
5293 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_ac_ct_AR="ar"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5313 if test -n "$ac_ct_AR"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5315 $as_echo "$ac_ct_AR" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5321 if test "x$ac_ct_AR" = x; then
5324 case $cross_compiling:$ac_tool_warned in
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5336 test -z "$AR" && AR=ar
5337 test -z "$AR_FLAGS" && AR_FLAGS=cru
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}strip; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if test "${ac_cv_prog_STRIP+set}" = set; then :
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$STRIP"; then
5358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 STRIP=$ac_cv_prog_STRIP
5378 if test -n "$STRIP"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5380 $as_echo "$STRIP" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5388 if test -z "$ac_cv_prog_STRIP"; then
5390 # Extract the first word of "strip", so it can be a program name with args.
5391 set dummy strip; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$ac_ct_STRIP"; then
5398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_ac_ct_STRIP="strip"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5418 if test -n "$ac_ct_STRIP"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5420 $as_echo "$ac_ct_STRIP" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5426 if test "x$ac_ct_STRIP" = x; then
5429 case $cross_compiling:$ac_tool_warned in
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5438 STRIP="$ac_cv_prog_STRIP"
5441 test -z "$STRIP" && STRIP=:
5448 if test -n "$ac_tool_prefix"; then
5449 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5450 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5454 $as_echo_n "(cached) " >&6
5456 if test -n "$RANLIB"; then
5457 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5466 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 RANLIB=$ac_cv_prog_RANLIB
5477 if test -n "$RANLIB"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5479 $as_echo "$RANLIB" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5487 if test -z "$ac_cv_prog_RANLIB"; then
5488 ac_ct_RANLIB=$RANLIB
5489 # Extract the first word of "ranlib", so it can be a program name with args.
5490 set dummy ranlib; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -n "$ac_ct_RANLIB"; then
5497 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_ac_ct_RANLIB="ranlib"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5517 if test -n "$ac_ct_RANLIB"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5519 $as_echo "$ac_ct_RANLIB" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5525 if test "x$ac_ct_RANLIB" = x; then
5528 case $cross_compiling:$ac_tool_warned in
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5532 ac_tool_warned=yes ;;
5534 RANLIB=$ac_ct_RANLIB
5537 RANLIB="$ac_cv_prog_RANLIB"
5540 test -z "$RANLIB" && RANLIB=:
5547 # Determine commands to create old-style static archives.
5548 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5549 old_postinstall_cmds='chmod 644 $oldlib'
5550 old_postuninstall_cmds=
5552 if test -n "$RANLIB"; then
5555 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5558 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5561 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5597 # If no C compiler was specified, use CC.
5600 # If no C compiler flags were specified, use CFLAGS.
5601 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5603 # Allow CC to be a program name with arguments.
5607 # Check for command to grab the raw symbol name followed by C symbol from nm.
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5609 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5610 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5614 # These are sane defaults that work on at least a few old systems.
5615 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5617 # Character class describing NM global symbol codes.
5618 symcode='[BCDEGRST]'
5620 # Regexp to match symbols that can be accessed directly from C.
5621 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5623 # Define system-specific variables.
5628 cygwin* | mingw* | pw32* | cegcc*)
5629 symcode='[ABCDGISTW]'
5632 if test "$host_cpu" = ia64; then
5633 symcode='[ABCDEGRST]'
5637 symcode='[BCDEGRST]'
5640 symcode='[BCDEGQRST]'
5651 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5659 # If we're using GNU nm, then use its standard symbol codes.
5660 case `$NM -V 2>&1` in
5661 *GNU* | *'with BFD'*)
5662 symcode='[ABCDGIRSTW]' ;;
5665 # Transform an extracted symbol line into a proper C declaration.
5666 # Some systems (esp. on ia64) link data and code symbols differently,
5667 # so use this general approach.
5668 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5670 # Transform an extracted symbol line into symbol name and symbol address
5671 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5672 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5674 # Handle CRLF in mingw tool chain
5678 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5682 # Try without a prefix underscore, then with it.
5683 for ac_symprfx in "" "_"; do
5685 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5686 symxfrm="\\1 $ac_symprfx\\2 \\2"
5688 # Write the raw and C identifiers.
5689 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5690 # Fake it for dumpbin and say T for any non-static function
5691 # and D for any global variable.
5692 # Also find C++ and __fastcall symbols from MSVC++,
5693 # which start with @ or ?.
5694 lt_cv_sys_global_symbol_pipe="$AWK '"\
5695 " {last_section=section; section=\$ 3};"\
5696 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5697 " \$ 0!~/External *\|/{next};"\
5698 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5699 " {if(hide[section]) next};"\
5700 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5701 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5702 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5703 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5704 " ' prfx=^$ac_symprfx"
5706 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5709 # Check to see that the pipe works correctly.
5713 cat > conftest.$ac_ext <<_LT_EOF
5718 void nm_test_func(void);
5719 void nm_test_func(void){}
5723 int main(){nm_test_var='a';nm_test_func();return(0);}
5726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5727 (eval $ac_compile) 2>&5
5729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5730 test $ac_status = 0; }; then
5731 # Now try to grab the symbols.
5733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5734 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5737 test $ac_status = 0; } && test -s "$nlist"; then
5738 # Try sorting and uniquifying the output.
5739 if sort "$nlist" | uniq > "$nlist"T; then
5740 mv -f "$nlist"T "$nlist"
5745 # Make sure that we snagged all the symbols we need.
5746 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5747 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5748 cat <<_LT_EOF > conftest.$ac_ext
5754 # Now generate the symbol file.
5755 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5757 cat <<_LT_EOF >> conftest.$ac_ext
5759 /* The mapping between symbol names and symbols. */
5764 lt__PROGRAM__LTX_preloaded_symbols[] =
5766 { "@PROGRAM@", (void *) 0 },
5768 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5769 cat <<\_LT_EOF >> conftest.$ac_ext
5773 /* This works around a problem in FreeBSD linker */
5774 #ifdef FREEBSD_WORKAROUND
5775 static const void *lt_preloaded_setup() {
5776 return lt__PROGRAM__LTX_preloaded_symbols;
5784 # Now try linking the two files.
5785 mv conftest.$ac_objext conftstm.$ac_objext
5786 lt_save_LIBS="$LIBS"
5787 lt_save_CFLAGS="$CFLAGS"
5788 LIBS="conftstm.$ac_objext"
5789 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5791 (eval $ac_link) 2>&5
5793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5794 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5797 LIBS="$lt_save_LIBS"
5798 CFLAGS="$lt_save_CFLAGS"
5800 echo "cannot find nm_test_func in $nlist" >&5
5803 echo "cannot find nm_test_var in $nlist" >&5
5806 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5809 echo "$progname: failed program was:" >&5
5810 cat conftest.$ac_ext >&5
5812 rm -rf conftest* conftst*
5814 # Do not use the global_symbol_pipe unless it works.
5815 if test "$pipe_works" = yes; then
5818 lt_cv_sys_global_symbol_pipe=
5824 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5825 lt_cv_sys_global_symbol_to_cdecl=
5827 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5829 $as_echo "failed" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5832 $as_echo "ok" >&6; }
5857 # Check whether --enable-libtool-lock was given.
5858 if test "${enable_libtool_lock+set}" = set; then :
5859 enableval=$enable_libtool_lock;
5862 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5864 # Some flags need to be propagated to the compiler or linker for good
5868 # Find out which ABI we are using.
5869 echo 'int i;' > conftest.$ac_ext
5870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5871 (eval $ac_compile) 2>&5
5873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874 test $ac_status = 0; }; then
5875 case `/usr/bin/file conftest.$ac_objext` in
5887 # Find out which ABI we are using.
5888 echo '#line 5888 "configure"' > conftest.$ac_ext
5889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5890 (eval $ac_compile) 2>&5
5892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5893 test $ac_status = 0; }; then
5894 if test "$lt_cv_prog_gnu_ld" = yes; then
5895 case `/usr/bin/file conftest.$ac_objext` in
5897 LD="${LD-ld} -melf32bsmip"
5900 LD="${LD-ld} -melf32bmipn32"
5903 LD="${LD-ld} -melf64bmip"
5907 case `/usr/bin/file conftest.$ac_objext` in
5923 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5924 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5925 # Find out which ABI we are using.
5926 echo 'int i;' > conftest.$ac_ext
5927 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5928 (eval $ac_compile) 2>&5
5930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5931 test $ac_status = 0; }; then
5932 case `/usr/bin/file conftest.o` in
5935 x86_64-*kfreebsd*-gnu)
5936 LD="${LD-ld} -m elf_i386_fbsd"
5939 LD="${LD-ld} -m elf_i386"
5941 ppc64-*linux*|powerpc64-*linux*)
5942 LD="${LD-ld} -m elf32ppclinux"
5945 LD="${LD-ld} -m elf_s390"
5948 LD="${LD-ld} -m elf32_sparc"
5954 x86_64-*kfreebsd*-gnu)
5955 LD="${LD-ld} -m elf_x86_64_fbsd"
5958 LD="${LD-ld} -m elf_x86_64"
5960 ppc*-*linux*|powerpc*-*linux*)
5961 LD="${LD-ld} -m elf64ppc"
5963 s390*-*linux*|s390*-*tpf*)
5964 LD="${LD-ld} -m elf64_s390"
5967 LD="${LD-ld} -m elf64_sparc"
5977 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5978 SAVE_CFLAGS="$CFLAGS"
5979 CFLAGS="$CFLAGS -belf"
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5981 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5982 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5983 $as_echo_n "(cached) " >&6
5986 ac_cpp='$CPP $CPPFLAGS'
5987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
6002 if ac_fn_c_try_link "$LINENO"; then :
6003 lt_cv_cc_needs_belf=yes
6005 lt_cv_cc_needs_belf=no
6007 rm -f core conftest.err conftest.$ac_objext \
6008 conftest$ac_exeext conftest.$ac_ext
6010 ac_cpp='$CPP $CPPFLAGS'
6011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6017 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6018 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6019 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6020 CFLAGS="$SAVE_CFLAGS"
6024 # Find out which ABI we are using.
6025 echo 'int i;' > conftest.$ac_ext
6026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6027 (eval $ac_compile) 2>&5
6029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6030 test $ac_status = 0; }; then
6031 case `/usr/bin/file conftest.o` in
6033 case $lt_cv_prog_gnu_ld in
6034 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6036 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6048 need_locks="$enable_libtool_lock"
6052 rhapsody* | darwin*)
6053 if test -n "$ac_tool_prefix"; then
6054 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6055 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6059 $as_echo_n "(cached) " >&6
6061 if test -n "$DSYMUTIL"; then
6062 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6071 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6082 if test -n "$DSYMUTIL"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6084 $as_echo "$DSYMUTIL" >&6; }
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6092 if test -z "$ac_cv_prog_DSYMUTIL"; then
6093 ac_ct_DSYMUTIL=$DSYMUTIL
6094 # Extract the first word of "dsymutil", so it can be a program name with args.
6095 set dummy dsymutil; ac_word=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6099 $as_echo_n "(cached) " >&6
6101 if test -n "$ac_ct_DSYMUTIL"; then
6102 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6111 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6122 if test -n "$ac_ct_DSYMUTIL"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6124 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6130 if test "x$ac_ct_DSYMUTIL" = x; then
6133 case $cross_compiling:$ac_tool_warned in
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6137 ac_tool_warned=yes ;;
6139 DSYMUTIL=$ac_ct_DSYMUTIL
6142 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6153 if test -n "$NMEDIT"; then
6154 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6163 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 NMEDIT=$ac_cv_prog_NMEDIT
6174 if test -n "$NMEDIT"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6176 $as_echo "$NMEDIT" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6184 if test -z "$ac_cv_prog_NMEDIT"; then
6185 ac_ct_NMEDIT=$NMEDIT
6186 # Extract the first word of "nmedit", so it can be a program name with args.
6187 set dummy nmedit; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6193 if test -n "$ac_ct_NMEDIT"; then
6194 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6214 if test -n "$ac_ct_NMEDIT"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6216 $as_echo "$ac_ct_NMEDIT" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6222 if test "x$ac_ct_NMEDIT" = x; then
6225 case $cross_compiling:$ac_tool_warned in
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6229 ac_tool_warned=yes ;;
6231 NMEDIT=$ac_ct_NMEDIT
6234 NMEDIT="$ac_cv_prog_NMEDIT"
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6239 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241 $as_echo_n "checking for $ac_word... " >&6; }
6242 if test "${ac_cv_prog_LIPO+set}" = set; then :
6243 $as_echo_n "(cached) " >&6
6245 if test -n "$LIPO"; then
6246 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 LIPO=$ac_cv_prog_LIPO
6266 if test -n "$LIPO"; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6268 $as_echo "$LIPO" >&6; }
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271 $as_echo "no" >&6; }
6276 if test -z "$ac_cv_prog_LIPO"; then
6278 # Extract the first word of "lipo", so it can be a program name with args.
6279 set dummy lipo; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6283 $as_echo_n "(cached) " >&6
6285 if test -n "$ac_ct_LIPO"; then
6286 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_LIPO="lipo"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6306 if test -n "$ac_ct_LIPO"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6308 $as_echo "$ac_ct_LIPO" >&6; }
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6314 if test "x$ac_ct_LIPO" = x; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321 ac_tool_warned=yes ;;
6326 LIPO="$ac_cv_prog_LIPO"
6329 if test -n "$ac_tool_prefix"; then
6330 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6331 set dummy ${ac_tool_prefix}otool; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -n "$OTOOL"; then
6338 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 OTOOL=$ac_cv_prog_OTOOL
6358 if test -n "$OTOOL"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6360 $as_echo "$OTOOL" >&6; }
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6368 if test -z "$ac_cv_prog_OTOOL"; then
6370 # Extract the first word of "otool", so it can be a program name with args.
6371 set dummy otool; ac_word=$2
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6373 $as_echo_n "checking for $ac_word... " >&6; }
6374 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6375 $as_echo_n "(cached) " >&6
6377 if test -n "$ac_ct_OTOOL"; then
6378 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 ac_cv_prog_ac_ct_OTOOL="otool"
6388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6398 if test -n "$ac_ct_OTOOL"; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6400 $as_echo "$ac_ct_OTOOL" >&6; }
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6403 $as_echo "no" >&6; }
6406 if test "x$ac_ct_OTOOL" = x; then
6409 case $cross_compiling:$ac_tool_warned in
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6413 ac_tool_warned=yes ;;
6418 OTOOL="$ac_cv_prog_OTOOL"
6421 if test -n "$ac_tool_prefix"; then
6422 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6423 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 $as_echo_n "checking for $ac_word... " >&6; }
6426 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6427 $as_echo_n "(cached) " >&6
6429 if test -n "$OTOOL64"; then
6430 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6439 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449 OTOOL64=$ac_cv_prog_OTOOL64
6450 if test -n "$OTOOL64"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6452 $as_echo "$OTOOL64" >&6; }
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6455 $as_echo "no" >&6; }
6460 if test -z "$ac_cv_prog_OTOOL64"; then
6461 ac_ct_OTOOL64=$OTOOL64
6462 # Extract the first word of "otool64", so it can be a program name with args.
6463 set dummy otool64; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 $as_echo_n "checking for $ac_word... " >&6; }
6466 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6467 $as_echo_n "(cached) " >&6
6469 if test -n "$ac_ct_OTOOL64"; then
6470 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_prog_ac_ct_OTOOL64="otool64"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6490 if test -n "$ac_ct_OTOOL64"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6492 $as_echo "$ac_ct_OTOOL64" >&6; }
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6498 if test "x$ac_ct_OTOOL64" = x; then
6501 case $cross_compiling:$ac_tool_warned in
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6505 ac_tool_warned=yes ;;
6507 OTOOL64=$ac_ct_OTOOL64
6510 OTOOL64="$ac_cv_prog_OTOOL64"
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6540 $as_echo_n "checking for -single_module linker flag... " >&6; }
6541 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6544 lt_cv_apple_cc_single_mod=no
6545 if test -z "${LT_MULTI_MODULE}"; then
6546 # By default we will add the -single_module flag. You can override
6547 # by either setting the environment variable LT_MULTI_MODULE
6548 # non-empty at configure time, or by adding -multi_module to the
6550 rm -rf libconftest.dylib*
6551 echo "int foo(void){return 1;}" > conftest.c
6552 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6553 -dynamiclib -Wl,-single_module conftest.c" >&5
6554 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6555 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6557 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6558 lt_cv_apple_cc_single_mod=yes
6560 cat conftest.err >&5
6562 rm -rf libconftest.dylib*
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6567 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6569 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6570 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6571 $as_echo_n "(cached) " >&6
6573 lt_cv_ld_exported_symbols_list=no
6574 save_LDFLAGS=$LDFLAGS
6575 echo "_main" > conftest.sym
6576 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6578 /* end confdefs.h. */
6588 if ac_fn_c_try_link "$LINENO"; then :
6589 lt_cv_ld_exported_symbols_list=yes
6591 lt_cv_ld_exported_symbols_list=no
6593 rm -f core conftest.err conftest.$ac_objext \
6594 conftest$ac_exeext conftest.$ac_ext
6595 LDFLAGS="$save_LDFLAGS"
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6599 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6601 rhapsody* | darwin1.[012])
6602 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6604 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6605 darwin*) # darwin 5.x on
6606 # if running on 10.5 or later, the deployment target defaults
6607 # to the OS version, if on x86, and 10.4, the deployment
6608 # target defaults to 10.4. Don't you love it?
6609 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6610 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6611 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6613 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6615 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6619 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6620 _lt_dar_single_mod='$single_module'
6622 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6623 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6625 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6627 if test "$DSYMUTIL" != ":"; then
6628 _lt_dsymutil='~$DSYMUTIL $lib || :'
6636 ac_cpp='$CPP $CPPFLAGS'
6637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6641 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6642 # On Suns, sometimes $CPP names a directory.
6643 if test -n "$CPP" && test -d "$CPP"; then
6646 if test -z "$CPP"; then
6647 if test "${ac_cv_prog_CPP+set}" = set; then :
6648 $as_echo_n "(cached) " >&6
6650 # Double quotes because CPP needs to be expanded
6651 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6654 for ac_c_preproc_warn_flag in '' yes
6656 # Use a header file that comes with gcc, so configuring glibc
6657 # with a fresh cross-compiler works.
6658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6659 # <limits.h> exists even on freestanding compilers.
6660 # On the NeXT, cc -E runs the code through the compiler's parser,
6661 # not just through cpp. "Syntax error" is here to catch this case.
6662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6665 # include <limits.h>
6667 # include <assert.h>
6671 if ac_fn_c_try_cpp "$LINENO"; then :
6674 # Broken: fails on valid input.
6677 rm -f conftest.err conftest.i conftest.$ac_ext
6679 # OK, works on sane cases. Now check whether nonexistent headers
6680 # can be detected and how.
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #include <ac_nonexistent.h>
6685 if ac_fn_c_try_cpp "$LINENO"; then :
6686 # Broken: success on invalid input.
6689 # Passes both tests.
6693 rm -f conftest.err conftest.i conftest.$ac_ext
6696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697 rm -f conftest.i conftest.err conftest.$ac_ext
6698 if $ac_preproc_ok; then :
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6711 $as_echo "$CPP" >&6; }
6713 for ac_c_preproc_warn_flag in '' yes
6715 # Use a header file that comes with gcc, so configuring glibc
6716 # with a fresh cross-compiler works.
6717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6718 # <limits.h> exists even on freestanding compilers.
6719 # On the NeXT, cc -E runs the code through the compiler's parser,
6720 # not just through cpp. "Syntax error" is here to catch this case.
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6724 # include <limits.h>
6726 # include <assert.h>
6730 if ac_fn_c_try_cpp "$LINENO"; then :
6733 # Broken: fails on valid input.
6736 rm -f conftest.err conftest.i conftest.$ac_ext
6738 # OK, works on sane cases. Now check whether nonexistent headers
6739 # can be detected and how.
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <ac_nonexistent.h>
6744 if ac_fn_c_try_cpp "$LINENO"; then :
6745 # Broken: success on invalid input.
6748 # Passes both tests.
6752 rm -f conftest.err conftest.i conftest.$ac_ext
6755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6756 rm -f conftest.i conftest.err conftest.$ac_ext
6757 if $ac_preproc_ok; then :
6760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6762 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6763 See \`config.log' for more details" "$LINENO" 5 ; }
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6774 $as_echo_n "checking for ANSI C header files... " >&6; }
6775 if test "${ac_cv_header_stdc+set}" = set; then :
6776 $as_echo_n "(cached) " >&6
6778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6793 if ac_fn_c_try_compile "$LINENO"; then :
6794 ac_cv_header_stdc=yes
6796 ac_cv_header_stdc=no
6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800 if test $ac_cv_header_stdc = yes; then
6801 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6808 $EGREP "memchr" >/dev/null 2>&1; then :
6811 ac_cv_header_stdc=no
6817 if test $ac_cv_header_stdc = yes; then
6818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6825 $EGREP "free" >/dev/null 2>&1; then :
6828 ac_cv_header_stdc=no
6834 if test $ac_cv_header_stdc = yes; then
6835 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6836 if test "$cross_compiling" = yes; then :
6839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6840 /* end confdefs.h. */
6843 #if ((' ' & 0x0FF) == 0x020)
6844 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6845 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6847 # define ISLOWER(c) \
6848 (('a' <= (c) && (c) <= 'i') \
6849 || ('j' <= (c) && (c) <= 'r') \
6850 || ('s' <= (c) && (c) <= 'z'))
6851 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6854 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6859 for (i = 0; i < 256; i++)
6860 if (XOR (islower (i), ISLOWER (i))
6861 || toupper (i) != TOUPPER (i))
6866 if ac_fn_c_try_run "$LINENO"; then :
6869 ac_cv_header_stdc=no
6871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6872 conftest.$ac_objext conftest.beam conftest.$ac_ext
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6878 $as_echo "$ac_cv_header_stdc" >&6; }
6879 if test $ac_cv_header_stdc = yes; then
6881 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6885 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6886 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6887 inttypes.h stdint.h unistd.h
6889 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6902 for ac_header in dlfcn.h
6904 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6906 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6907 cat >>confdefs.h <<_ACEOF
6908 #define HAVE_DLFCN_H 1
6918 enable_win32_dll=yes
6921 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6922 if test -n "$ac_tool_prefix"; then
6923 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6924 set dummy ${ac_tool_prefix}as; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if test "${ac_cv_prog_AS+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 if test -n "$AS"; then
6931 ac_cv_prog_AS="$AS" # Let the user override the test.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6940 ac_cv_prog_AS="${ac_tool_prefix}as"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6951 if test -n "$AS"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6953 $as_echo "$AS" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6961 if test -z "$ac_cv_prog_AS"; then
6963 # Extract the first word of "as", so it can be a program name with args.
6964 set dummy as; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6968 $as_echo_n "(cached) " >&6
6970 if test -n "$ac_ct_AS"; then
6971 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6980 ac_cv_prog_ac_ct_AS="as"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6991 if test -n "$ac_ct_AS"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6993 $as_echo "$ac_ct_AS" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
6999 if test "x$ac_ct_AS" = x; then
7002 case $cross_compiling:$ac_tool_warned in
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7006 ac_tool_warned=yes ;;
7014 if test -n "$ac_tool_prefix"; then
7015 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7016 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7020 $as_echo_n "(cached) " >&6
7022 if test -n "$DLLTOOL"; then
7023 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 DLLTOOL=$ac_cv_prog_DLLTOOL
7043 if test -n "$DLLTOOL"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7045 $as_echo "$DLLTOOL" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7053 if test -z "$ac_cv_prog_DLLTOOL"; then
7054 ac_ct_DLLTOOL=$DLLTOOL
7055 # Extract the first word of "dlltool", so it can be a program name with args.
7056 set dummy dlltool; ac_word=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7060 $as_echo_n "(cached) " >&6
7062 if test -n "$ac_ct_DLLTOOL"; then
7063 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir=.
7070 for ac_exec_ext in '' $ac_executable_extensions; do
7071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7072 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7083 if test -n "$ac_ct_DLLTOOL"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7085 $as_echo "$ac_ct_DLLTOOL" >&6; }
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7091 if test "x$ac_ct_DLLTOOL" = x; then
7094 case $cross_compiling:$ac_tool_warned in
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7098 ac_tool_warned=yes ;;
7100 DLLTOOL=$ac_ct_DLLTOOL
7103 DLLTOOL="$ac_cv_prog_DLLTOOL"
7106 if test -n "$ac_tool_prefix"; then
7107 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7108 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7112 $as_echo_n "(cached) " >&6
7114 if test -n "$OBJDUMP"; then
7115 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 OBJDUMP=$ac_cv_prog_OBJDUMP
7135 if test -n "$OBJDUMP"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7137 $as_echo "$OBJDUMP" >&6; }
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7145 if test -z "$ac_cv_prog_OBJDUMP"; then
7146 ac_ct_OBJDUMP=$OBJDUMP
7147 # Extract the first word of "objdump", so it can be a program name with args.
7148 set dummy objdump; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7152 $as_echo_n "(cached) " >&6
7154 if test -n "$ac_ct_OBJDUMP"; then
7155 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7164 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7175 if test -n "$ac_ct_OBJDUMP"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7177 $as_echo "$ac_ct_OBJDUMP" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7183 if test "x$ac_ct_OBJDUMP" = x; then
7186 case $cross_compiling:$ac_tool_warned in
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7190 ac_tool_warned=yes ;;
7192 OBJDUMP=$ac_ct_OBJDUMP
7195 OBJDUMP="$ac_cv_prog_OBJDUMP"
7201 test -z "$AS" && AS=as
7207 test -z "$DLLTOOL" && DLLTOOL=dlltool
7213 test -z "$OBJDUMP" && OBJDUMP=objdump
7225 # Check whether --enable-shared was given.
7226 if test "${enable_shared+set}" = set; then :
7227 enableval=$enable_shared; p=${PACKAGE-default}
7229 yes) enable_shared=yes ;;
7230 no) enable_shared=no ;;
7233 # Look at the argument we got. We use all the common list separators.
7234 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7235 for pkg in $enableval; do
7237 if test "X$pkg" = "X$p"; then
7256 # Check whether --enable-static was given.
7257 if test "${enable_static+set}" = set; then :
7258 enableval=$enable_static; p=${PACKAGE-default}
7260 yes) enable_static=yes ;;
7261 no) enable_static=no ;;
7264 # Look at the argument we got. We use all the common list separators.
7265 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7266 for pkg in $enableval; do
7268 if test "X$pkg" = "X$p"; then
7288 # Check whether --with-pic was given.
7289 if test "${with_pic+set}" = set; then :
7290 withval=$with_pic; pic_mode="$withval"
7296 test -z "$pic_mode" && pic_mode=default
7304 # Check whether --enable-fast-install was given.
7305 if test "${enable_fast_install+set}" = set; then :
7306 enableval=$enable_fast_install; p=${PACKAGE-default}
7308 yes) enable_fast_install=yes ;;
7309 no) enable_fast_install=no ;;
7311 enable_fast_install=no
7312 # Look at the argument we got. We use all the common list separators.
7313 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7314 for pkg in $enableval; do
7316 if test "X$pkg" = "X$p"; then
7317 enable_fast_install=yes
7324 enable_fast_install=yes
7337 # This can be used to rebuild libtool when needed
7338 LIBTOOL_DEPS="$ltmain"
7340 # Always use our own libtool.
7341 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7367 test -z "$LN_S" && LN_S="ln -s"
7382 if test -n "${ZSH_VERSION+set}" ; then
7383 setopt NO_GLOB_SUBST
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7387 $as_echo_n "checking for objdir... " >&6; }
7388 if test "${lt_cv_objdir+set}" = set; then :
7389 $as_echo_n "(cached) " >&6
7391 rm -f .libs 2>/dev/null
7392 mkdir .libs 2>/dev/null
7393 if test -d .libs; then
7396 # MS-DOS does not allow filenames that begin with a dot.
7399 rmdir .libs 2>/dev/null
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7402 $as_echo "$lt_cv_objdir" >&6; }
7403 objdir=$lt_cv_objdir
7409 cat >>confdefs.h <<_ACEOF
7410 #define LT_OBJDIR "$lt_cv_objdir/"
7431 # AIX sometimes has problems with the GCC collect2 program. For some
7432 # reason, if we set the COLLECT_NAMES environment variable, the problems
7433 # vanish in a puff of smoke.
7434 if test "X${COLLECT_NAMES+set}" != Xset; then
7436 export COLLECT_NAMES
7441 # Sed substitution that helps us do robust quoting. It backslashifies
7442 # metacharacters that are still active within double-quoted strings.
7443 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7445 # Same as above, but do not quote variable references.
7446 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7448 # Sed substitution to delay expansion of an escaped shell variable in a
7449 # double_quote_subst'ed string.
7450 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7452 # Sed substitution to delay expansion of an escaped single quote.
7453 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7455 # Sed substitution to avoid accidental globbing in evaled expressions
7456 no_glob_subst='s/\*/\\\*/g'
7460 can_build_shared=yes
7462 # All known linkers require a `.a' archive for static linking (except MSVC,
7463 # which needs '.lib').
7466 with_gnu_ld="$lt_cv_prog_gnu_ld"
7469 old_CFLAGS="$CFLAGS"
7471 # Set sane defaults for various variables
7472 test -z "$CC" && CC=cc
7473 test -z "$LTCC" && LTCC=$CC
7474 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7475 test -z "$LD" && LD=ld
7476 test -z "$ac_objext" && ac_objext=o
7478 for cc_temp in $compiler""; do
7480 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7481 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7486 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7489 # Only perform the check for file, if the check method requires it
7490 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7491 case $deplibs_check_method in
7493 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7495 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7496 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7501 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7504 lt_save_MAGIC_CMD="$MAGIC_CMD"
7505 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7506 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7507 for ac_dir in $ac_dummy; do
7509 test -z "$ac_dir" && ac_dir=.
7510 if test -f $ac_dir/${ac_tool_prefix}file; then
7511 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7512 if test -n "$file_magic_test_file"; then
7513 case $deplibs_check_method in
7515 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7516 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7517 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7518 $EGREP "$file_magic_regex" > /dev/null; then
7523 *** Warning: the command libtool uses to detect shared libraries,
7524 *** $file_magic_cmd, produces output that libtool cannot recognize.
7525 *** The result is that libtool may fail to recognize shared libraries
7526 *** as such. This will affect the creation of libtool libraries that
7527 *** depend on shared libraries, but programs linked with such libtool
7528 *** libraries will work regardless of this problem. Nevertheless, you
7529 *** may want to report the problem to your system manager and/or to
7530 *** bug-libtool@gnu.org
7540 MAGIC_CMD="$lt_save_MAGIC_CMD"
7545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7546 if test -n "$MAGIC_CMD"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7548 $as_echo "$MAGIC_CMD" >&6; }
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7558 if test -z "$lt_cv_path_MAGIC_CMD"; then
7559 if test -n "$ac_tool_prefix"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7561 $as_echo_n "checking for file... " >&6; }
7562 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7563 $as_echo_n "(cached) " >&6
7567 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7570 lt_save_MAGIC_CMD="$MAGIC_CMD"
7571 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7572 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7573 for ac_dir in $ac_dummy; do
7575 test -z "$ac_dir" && ac_dir=.
7576 if test -f $ac_dir/file; then
7577 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7578 if test -n "$file_magic_test_file"; then
7579 case $deplibs_check_method in
7581 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7582 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7583 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7584 $EGREP "$file_magic_regex" > /dev/null; then
7589 *** Warning: the command libtool uses to detect shared libraries,
7590 *** $file_magic_cmd, produces output that libtool cannot recognize.
7591 *** The result is that libtool may fail to recognize shared libraries
7592 *** as such. This will affect the creation of libtool libraries that
7593 *** depend on shared libraries, but programs linked with such libtool
7594 *** libraries will work regardless of this problem. Nevertheless, you
7595 *** may want to report the problem to your system manager and/or to
7596 *** bug-libtool@gnu.org
7606 MAGIC_CMD="$lt_save_MAGIC_CMD"
7611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7612 if test -n "$MAGIC_CMD"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7614 $as_echo "$MAGIC_CMD" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7630 # Use C for the default configuration in the libtool script
7634 ac_cpp='$CPP $CPPFLAGS'
7635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7640 # Source file extension for C test sources.
7643 # Object file extension for compiled C test sources.
7647 # Code to be used in simple compile tests
7648 lt_simple_compile_test_code="int some_variable = 0;"
7650 # Code to be used in simple link tests
7651 lt_simple_link_test_code='int main(){return(0);}'
7659 # If no C compiler was specified, use CC.
7662 # If no C compiler flags were specified, use CFLAGS.
7663 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7665 # Allow CC to be a program name with arguments.
7668 # Save the default compiler, since it gets overwritten when the other
7669 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7670 compiler_DEFAULT=$CC
7672 # save warnings/boilerplate of simple test code
7673 ac_outfile=conftest.$ac_objext
7674 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7675 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7676 _lt_compiler_boilerplate=`cat conftest.err`
7679 ac_outfile=conftest.$ac_objext
7680 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7681 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7682 _lt_linker_boilerplate=`cat conftest.err`
7687 ## There is no encapsulation within the following macros, do not change
7688 ## the running order or otherwise move them around unless you know exactly
7689 ## what you are doing...
7690 if test -n "$compiler"; then
7692 lt_prog_compiler_no_builtin_flag=
7694 if test "$GCC" = yes; then
7695 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7698 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7699 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7700 $as_echo_n "(cached) " >&6
7702 lt_cv_prog_compiler_rtti_exceptions=no
7703 ac_outfile=conftest.$ac_objext
7704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7705 lt_compiler_flag="-fno-rtti -fno-exceptions"
7706 # Insert the option either (1) after the last *FLAGS variable, or
7707 # (2) before a word containing "conftest.", or (3) at the end.
7708 # Note that $ac_compile itself does not contain backslashes and begins
7709 # with a dollar sign (not a hyphen), so the echo should work correctly.
7710 # The option is referenced via a variable to avoid confusing sed.
7711 lt_compile=`echo "$ac_compile" | $SED \
7712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7714 -e 's:$: $lt_compiler_flag:'`
7715 (eval echo "\"\$as_me:7715: $lt_compile\"" >&5)
7716 (eval "$lt_compile" 2>conftest.err)
7718 cat conftest.err >&5
7719 echo "$as_me:7719: \$? = $ac_status" >&5
7720 if (exit $ac_status) && test -s "$ac_outfile"; then
7721 # The compiler can only warn and ignore the option if not recognized
7722 # So say no if there are warnings other than the usual output.
7723 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7724 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7725 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7726 lt_cv_prog_compiler_rtti_exceptions=yes
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7733 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7735 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7736 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7748 lt_prog_compiler_wl=
7749 lt_prog_compiler_pic=
7750 lt_prog_compiler_static=
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7753 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7755 if test "$GCC" = yes; then
7756 lt_prog_compiler_wl='-Wl,'
7757 lt_prog_compiler_static='-static'
7761 # All AIX code is PIC.
7762 if test "$host_cpu" = ia64; then
7763 # AIX 5 now supports IA64 processor
7764 lt_prog_compiler_static='-Bstatic'
7771 # see comment about AmigaOS4 .so support
7772 lt_prog_compiler_pic='-fPIC'
7775 # FIXME: we need at least 68020 code to build shared libraries, but
7776 # adding the `-m68020' flag to GCC prevents building anything better,
7778 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7783 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7784 # PIC is the default for these OSes.
7787 mingw* | cygwin* | pw32* | os2* | cegcc*)
7788 # This hack is so that the source file can tell whether it is being
7789 # built for inclusion in a dll (and should export symbols for example).
7790 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7791 # (--disable-auto-import) libraries
7792 lt_prog_compiler_pic='-DDLL_EXPORT'
7795 darwin* | rhapsody*)
7796 # PIC is the default on this platform
7797 # Common symbols not allowed in MH_DYLIB files
7798 lt_prog_compiler_pic='-fno-common'
7802 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7803 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7804 # sets the default TLS model and affects inlining.
7810 lt_prog_compiler_pic='-fPIC'
7816 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7817 # Instead, we relocate shared libraries at runtime.
7821 # Just because we use GCC doesn't mean we suddenly get shared libraries
7822 # on systems that don't support them.
7823 lt_prog_compiler_can_build_shared=no
7828 # QNX uses GNU C++, but need to define -shared option too, otherwise
7830 lt_prog_compiler_pic='-fPIC -shared'
7834 if test -d /usr/nec; then
7835 lt_prog_compiler_pic=-Kconform_pic
7840 lt_prog_compiler_pic='-fPIC'
7844 # PORTME Check for flag to pass linker flags through the system compiler.
7847 lt_prog_compiler_wl='-Wl,'
7848 if test "$host_cpu" = ia64; then
7849 # AIX 5 now supports IA64 processor
7850 lt_prog_compiler_static='-Bstatic'
7852 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7856 mingw* | cygwin* | pw32* | os2* | cegcc*)
7857 # This hack is so that the source file can tell whether it is being
7858 # built for inclusion in a dll (and should export symbols for example).
7859 lt_prog_compiler_pic='-DDLL_EXPORT'
7862 hpux9* | hpux10* | hpux11*)
7863 lt_prog_compiler_wl='-Wl,'
7864 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7871 lt_prog_compiler_pic='+Z'
7874 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7875 lt_prog_compiler_static='${wl}-a ${wl}archive'
7878 irix5* | irix6* | nonstopux*)
7879 lt_prog_compiler_wl='-Wl,'
7880 # PIC (with -KPIC) is the default.
7881 lt_prog_compiler_static='-non_shared'
7884 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7885 case $cc_basename in
7886 # old Intel for x86_64 which still supported -KPIC.
7888 lt_prog_compiler_wl='-Wl,'
7889 lt_prog_compiler_pic='-KPIC'
7890 lt_prog_compiler_static='-static'
7892 # icc used to be incompatible with GCC.
7893 # ICC 10 doesn't accept -KPIC any more.
7895 lt_prog_compiler_wl='-Wl,'
7896 lt_prog_compiler_pic='-fPIC'
7897 lt_prog_compiler_static='-static'
7899 # Lahey Fortran 8.1.
7901 lt_prog_compiler_wl='-Wl,'
7902 lt_prog_compiler_pic='--shared'
7903 lt_prog_compiler_static='--static'
7905 pgcc* | pgf77* | pgf90* | pgf95*)
7906 # Portland Group compilers (*not* the Pentium gcc compiler,
7907 # which looks to be a dead project)
7908 lt_prog_compiler_wl='-Wl,'
7909 lt_prog_compiler_pic='-fpic'
7910 lt_prog_compiler_static='-Bstatic'
7913 lt_prog_compiler_wl='-Wl,'
7914 # All Alpha code is PIC.
7915 lt_prog_compiler_static='-non_shared'
7918 # IBM XL C 8.0/Fortran 10.1 on PPC
7919 lt_prog_compiler_wl='-Wl,'
7920 lt_prog_compiler_pic='-qpic'
7921 lt_prog_compiler_static='-qstaticlink'
7924 case `$CC -V 2>&1 | sed 5q` in
7927 lt_prog_compiler_pic='-KPIC'
7928 lt_prog_compiler_static='-Bstatic'
7929 lt_prog_compiler_wl='-Wl,'
7932 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7933 lt_prog_compiler_pic='-KPIC'
7934 lt_prog_compiler_static='-Bstatic'
7935 lt_prog_compiler_wl=''
7943 lt_prog_compiler_pic='-KPIC'
7944 lt_prog_compiler_static='-Bstatic'
7948 # QNX uses GNU C++, but need to define -shared option too, otherwise
7950 lt_prog_compiler_pic='-fPIC -shared'
7953 osf3* | osf4* | osf5*)
7954 lt_prog_compiler_wl='-Wl,'
7955 # All OSF/1 code is PIC.
7956 lt_prog_compiler_static='-non_shared'
7960 lt_prog_compiler_static='-non_shared'
7964 lt_prog_compiler_pic='-KPIC'
7965 lt_prog_compiler_static='-Bstatic'
7966 case $cc_basename in
7968 lt_prog_compiler_wl='-Qoption ld ';;
7970 lt_prog_compiler_wl='-Wl,';;
7975 lt_prog_compiler_wl='-Qoption ld '
7976 lt_prog_compiler_pic='-PIC'
7977 lt_prog_compiler_static='-Bstatic'
7980 sysv4 | sysv4.2uw2* | sysv4.3*)
7981 lt_prog_compiler_wl='-Wl,'
7982 lt_prog_compiler_pic='-KPIC'
7983 lt_prog_compiler_static='-Bstatic'
7987 if test -d /usr/nec ;then
7988 lt_prog_compiler_pic='-Kconform_pic'
7989 lt_prog_compiler_static='-Bstatic'
7993 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7994 lt_prog_compiler_wl='-Wl,'
7995 lt_prog_compiler_pic='-KPIC'
7996 lt_prog_compiler_static='-Bstatic'
8000 lt_prog_compiler_wl='-Wl,'
8001 lt_prog_compiler_can_build_shared=no
8005 lt_prog_compiler_pic='-pic'
8006 lt_prog_compiler_static='-Bstatic'
8010 lt_prog_compiler_can_build_shared=no
8016 # For platforms which do not support PIC, -DPIC is meaningless:
8018 lt_prog_compiler_pic=
8021 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8025 $as_echo "$lt_prog_compiler_pic" >&6; }
8033 # Check to make sure the PIC flag actually works.
8035 if test -n "$lt_prog_compiler_pic"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8037 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8038 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8039 $as_echo_n "(cached) " >&6
8041 lt_cv_prog_compiler_pic_works=no
8042 ac_outfile=conftest.$ac_objext
8043 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8044 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8045 # Insert the option either (1) after the last *FLAGS variable, or
8046 # (2) before a word containing "conftest.", or (3) at the end.
8047 # Note that $ac_compile itself does not contain backslashes and begins
8048 # with a dollar sign (not a hyphen), so the echo should work correctly.
8049 # The option is referenced via a variable to avoid confusing sed.
8050 lt_compile=`echo "$ac_compile" | $SED \
8051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8053 -e 's:$: $lt_compiler_flag:'`
8054 (eval echo "\"\$as_me:8054: $lt_compile\"" >&5)
8055 (eval "$lt_compile" 2>conftest.err)
8057 cat conftest.err >&5
8058 echo "$as_me:8058: \$? = $ac_status" >&5
8059 if (exit $ac_status) && test -s "$ac_outfile"; then
8060 # The compiler can only warn and ignore the option if not recognized
8061 # So say no if there are warnings other than the usual output.
8062 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8063 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8064 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8065 lt_cv_prog_compiler_pic_works=yes
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8072 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8074 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8075 case $lt_prog_compiler_pic in
8077 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8080 lt_prog_compiler_pic=
8081 lt_prog_compiler_can_build_shared=no
8092 # Check to make sure the static flag actually works.
8094 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8096 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8097 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8098 $as_echo_n "(cached) " >&6
8100 lt_cv_prog_compiler_static_works=no
8101 save_LDFLAGS="$LDFLAGS"
8102 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8103 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8104 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8105 # The linker can only warn and ignore the option if not recognized
8106 # So say no if there are warnings
8107 if test -s conftest.err; then
8108 # Append any errors to the config.log.
8109 cat conftest.err 1>&5
8110 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8112 if diff conftest.exp conftest.er2 >/dev/null; then
8113 lt_cv_prog_compiler_static_works=yes
8116 lt_cv_prog_compiler_static_works=yes
8120 LDFLAGS="$save_LDFLAGS"
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8124 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8126 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8129 lt_prog_compiler_static=
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8139 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8140 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8143 lt_cv_prog_compiler_c_o=no
8144 $RM -r conftest 2>/dev/null
8148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8150 lt_compiler_flag="-o out/conftest2.$ac_objext"
8151 # Insert the option either (1) after the last *FLAGS variable, or
8152 # (2) before a word containing "conftest.", or (3) at the end.
8153 # Note that $ac_compile itself does not contain backslashes and begins
8154 # with a dollar sign (not a hyphen), so the echo should work correctly.
8155 lt_compile=`echo "$ac_compile" | $SED \
8156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8158 -e 's:$: $lt_compiler_flag:'`
8159 (eval echo "\"\$as_me:8159: $lt_compile\"" >&5)
8160 (eval "$lt_compile" 2>out/conftest.err)
8162 cat out/conftest.err >&5
8163 echo "$as_me:8163: \$? = $ac_status" >&5
8164 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8166 # The compiler can only warn and ignore the option if not recognized
8167 # So say no if there are warnings
8168 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8169 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8170 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8171 lt_cv_prog_compiler_c_o=yes
8176 # SGI C++ compiler will create directory out/ii_files/ for
8177 # template instantiation
8178 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8179 $RM out/* && rmdir out
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8186 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8194 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8195 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8196 $as_echo_n "(cached) " >&6
8198 lt_cv_prog_compiler_c_o=no
8199 $RM -r conftest 2>/dev/null
8203 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8205 lt_compiler_flag="-o out/conftest2.$ac_objext"
8206 # Insert the option either (1) after the last *FLAGS variable, or
8207 # (2) before a word containing "conftest.", or (3) at the end.
8208 # Note that $ac_compile itself does not contain backslashes and begins
8209 # with a dollar sign (not a hyphen), so the echo should work correctly.
8210 lt_compile=`echo "$ac_compile" | $SED \
8211 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8212 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8213 -e 's:$: $lt_compiler_flag:'`
8214 (eval echo "\"\$as_me:8214: $lt_compile\"" >&5)
8215 (eval "$lt_compile" 2>out/conftest.err)
8217 cat out/conftest.err >&5
8218 echo "$as_me:8218: \$? = $ac_status" >&5
8219 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8221 # The compiler can only warn and ignore the option if not recognized
8222 # So say no if there are warnings
8223 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8224 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8225 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8226 lt_cv_prog_compiler_c_o=yes
8231 # SGI C++ compiler will create directory out/ii_files/ for
8232 # template instantiation
8233 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8234 $RM out/* && rmdir out
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8241 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8246 hard_links="nottested"
8247 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8248 # do not overwrite the value of need_locks provided by the user
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8250 $as_echo_n "checking if we can lock with hard links... " >&6; }
8253 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8255 ln conftest.a conftest.b 2>&5 || hard_links=no
8256 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8258 $as_echo "$hard_links" >&6; }
8259 if test "$hard_links" = no; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8261 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8274 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8277 allow_undefined_flag=
8278 always_export_symbols=no
8280 archive_expsym_cmds=
8281 compiler_needs_object=no
8282 enable_shared_with_static_runtimes=no
8283 export_dynamic_flag_spec=
8284 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8285 hardcode_automatic=no
8287 hardcode_direct_absolute=no
8288 hardcode_libdir_flag_spec=
8289 hardcode_libdir_flag_spec_ld=
8290 hardcode_libdir_separator=
8292 hardcode_shlibpath_var=unsupported
8294 link_all_deplibs=unknown
8297 old_archive_from_new_cmds=
8298 old_archive_from_expsyms_cmds=
8299 thread_safe_flag_spec=
8300 whole_archive_flag_spec=
8301 # include_expsyms should be a list of space-separated symbols to be *always*
8302 # included in the symbol list
8304 # exclude_expsyms can be an extended regexp of symbols to exclude
8305 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8306 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8307 # as well as any symbol that contains `d'.
8308 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8309 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8310 # platforms (ab)use it in PIC code, but their linkers get confused if
8311 # the symbol is explicitly referenced. Since portable code cannot
8312 # rely on this symbol name, it's probably fine to never include it in
8313 # preloaded symbol tables.
8314 # Exclude shared library initialization/finalization symbols.
8315 extract_expsyms_cmds=
8318 cygwin* | mingw* | pw32* | cegcc*)
8319 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8320 # When not using gcc, we currently assume that we are using
8321 # Microsoft Visual C++.
8322 if test "$GCC" != yes; then
8327 # we just hope/assume this is gcc and not c89 (= MSVC++)
8333 linux* | k*bsd*-gnu)
8339 if test "$with_gnu_ld" = yes; then
8340 # If archive_cmds runs LD, not CC, wlarc should be empty
8343 # Set some defaults for GNU ld with shared library support. These
8344 # are reset later if shared libraries are not supported. Putting them
8345 # here allows them to be overridden if necessary.
8346 runpath_var=LD_RUN_PATH
8347 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8348 export_dynamic_flag_spec='${wl}--export-dynamic'
8349 # ancient GNU ld didn't support --whole-archive et. al.
8350 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8351 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8353 whole_archive_flag_spec=
8355 supports_anon_versioning=no
8356 case `$LD -v 2>&1` in
8357 *GNU\ gold*) supports_anon_versioning=yes ;;
8358 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8359 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8360 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8361 *\ 2.11.*) ;; # other 2.11 versions
8362 *) supports_anon_versioning=yes ;;
8365 # See if GNU ld supports shared libraries.
8368 # On AIX/PPC, the GNU linker is very broken
8369 if test "$host_cpu" != ia64; then
8373 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8374 *** to be unable to reliably create shared libraries on AIX.
8375 *** Therefore, libtool is disabling shared libraries support. If you
8376 *** really care for shared libraries, you may want to modify your PATH
8377 *** so that a non-GNU linker is found, and then restart.
8386 # see comment about AmigaOS4 .so support
8387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8388 archive_expsym_cmds=''
8391 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8392 hardcode_libdir_flag_spec='-L$libdir'
8393 hardcode_minus_L=yes
8399 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8400 allow_undefined_flag=unsupported
8401 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8402 # support --undefined. This deserves some investigation. FIXME
8403 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8409 cygwin* | mingw* | pw32* | cegcc*)
8410 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8411 # as there is no search path for DLLs.
8412 hardcode_libdir_flag_spec='-L$libdir'
8413 allow_undefined_flag=unsupported
8414 always_export_symbols=no
8415 enable_shared_with_static_runtimes=yes
8416 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8418 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8419 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8420 # If the export-symbols file already is a .def file (1st line
8421 # is EXPORTS), use it as is; otherwise, prepend...
8422 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8423 cp $export_symbols $output_objdir/$soname.def;
8425 echo EXPORTS > $output_objdir/$soname.def;
8426 cat $export_symbols >> $output_objdir/$soname.def;
8428 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8436 hardcode_shlibpath_var=no
8437 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8438 export_dynamic_flag_spec='${wl}-E'
8439 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8440 # Instead, shared libraries are loaded at an image base (0x10000000 by
8441 # default) and relocated if they conflict, which is a slow very memory
8442 # consuming and fragmenting process. To avoid this, we pick a random,
8443 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8444 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8445 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8446 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8449 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8451 if test "$host_os" = linux-dietlibc; then
8452 case $cc_basename in
8453 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8456 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8457 && test "$tmp_diet" = no
8460 tmp_sharedflag='-shared'
8461 case $cc_basename,$host_cpu in
8462 pgcc*) # Portland Group C compiler
8463 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8464 tmp_addflag=' $pic_flag'
8466 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8467 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8468 tmp_addflag=' $pic_flag -Mnomain' ;;
8469 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8470 tmp_addflag=' -i_dynamic' ;;
8471 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8472 tmp_addflag=' -i_dynamic -nofor_main' ;;
8473 ifc* | ifort*) # Intel Fortran compiler
8474 tmp_addflag=' -nofor_main' ;;
8475 lf95*) # Lahey Fortran 8.1
8476 whole_archive_flag_spec=
8477 tmp_sharedflag='--shared' ;;
8478 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8479 tmp_sharedflag='-qmkshrobj'
8482 case `$CC -V 2>&1 | sed 5q` in
8483 *Sun\ C*) # Sun C 5.9
8484 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8485 compiler_needs_object=yes
8486 tmp_sharedflag='-G' ;;
8487 *Sun\ F*) # Sun Fortran 8.3
8488 tmp_sharedflag='-G' ;;
8490 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8492 if test "x$supports_anon_versioning" = xyes; then
8493 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8494 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8495 echo "local: *; };" >> $output_objdir/$libname.ver~
8496 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8499 case $cc_basename in
8501 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8502 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8503 hardcode_libdir_flag_spec=
8504 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8505 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8506 if test "x$supports_anon_versioning" = xyes; then
8507 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8508 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8509 echo "local: *; };" >> $output_objdir/$libname.ver~
8510 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8519 netbsd* | netbsdelf*-gnu)
8520 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8521 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8524 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8525 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8530 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8534 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8535 *** create shared libraries on Solaris systems. Therefore, libtool
8536 *** is disabling shared libraries support. We urge you to upgrade GNU
8537 *** binutils to release 2.9.1 or newer. Another option is to modify
8538 *** your PATH or compiler configuration so that the native linker is
8539 *** used, and then restart.
8542 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8543 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8544 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8550 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8551 case `$LD -v 2>&1` in
8552 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8556 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8557 *** reliably create shared libraries on SCO systems. Therefore, libtool
8558 *** is disabling shared libraries support. We urge you to upgrade GNU
8559 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8560 *** your PATH or compiler configuration so that the native linker is
8561 *** used, and then restart.
8566 # For security reasons, it is highly recommended that you always
8567 # use absolute paths for naming shared libraries, and exclude the
8568 # DT_RUNPATH tag from executables and libraries. But doing so
8569 # requires that you compile everything twice, which is a pain.
8570 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8572 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8573 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8582 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8585 hardcode_shlibpath_var=no
8589 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8590 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8591 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8598 if test "$ld_shlibs" = no; then
8600 hardcode_libdir_flag_spec=
8601 export_dynamic_flag_spec=
8602 whole_archive_flag_spec=
8605 # PORTME fill in a description of your system's linker (not GNU ld)
8608 allow_undefined_flag=unsupported
8609 always_export_symbols=yes
8610 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8611 # Note: this linker hardcodes the directories in LIBPATH if there
8612 # are no directories specified by -L.
8613 hardcode_minus_L=yes
8614 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8615 # Neither direct hardcoding nor static linking is supported with a
8617 hardcode_direct=unsupported
8622 if test "$host_cpu" = ia64; then
8623 # On IA64, the linker does run time linking by default, so we don't
8624 # have to do anything special.
8625 aix_use_runtimelinking=no
8626 exp_sym_flag='-Bexport'
8629 # If we're using GNU nm, then we don't want the "-C" option.
8630 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8631 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8632 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8634 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8636 aix_use_runtimelinking=no
8638 # Test if we are trying to use run time linking or normal
8639 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8640 # need to do runtime linking.
8641 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8642 for ld_flag in $LDFLAGS; do
8643 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8644 aix_use_runtimelinking=yes
8651 exp_sym_flag='-bexport'
8652 no_entry_flag='-bnoentry'
8655 # When large executables or shared objects are built, AIX ld can
8656 # have problems creating the table of contents. If linking a library
8657 # or program results in "error TOC overflow" add -mminimal-toc to
8658 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8659 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8663 hardcode_direct_absolute=yes
8664 hardcode_libdir_separator=':'
8665 link_all_deplibs=yes
8666 file_list_spec='${wl}-f,'
8668 if test "$GCC" = yes; then
8669 case $host_os in aix4.[012]|aix4.[012].*)
8670 # We only want to do this on AIX 4.2 and lower, the check
8671 # below for broken collect2 doesn't work under 4.3+
8672 collect2name=`${CC} -print-prog-name=collect2`
8673 if test -f "$collect2name" &&
8674 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8676 # We have reworked collect2
8679 # We have old collect2
8680 hardcode_direct=unsupported
8681 # It fails to find uninstalled libraries when the uninstalled
8682 # path is not listed in the libpath. Setting hardcode_minus_L
8683 # to unsupported forces relinking
8684 hardcode_minus_L=yes
8685 hardcode_libdir_flag_spec='-L$libdir'
8686 hardcode_libdir_separator=
8690 shared_flag='-shared'
8691 if test "$aix_use_runtimelinking" = yes; then
8692 shared_flag="$shared_flag "'${wl}-G'
8697 if test "$host_cpu" = ia64; then
8698 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8699 # chokes on -Wl,-G. The following line is correct:
8702 if test "$aix_use_runtimelinking" = yes; then
8703 shared_flag='${wl}-G'
8705 shared_flag='${wl}-bM:SRE'
8710 export_dynamic_flag_spec='${wl}-bexpall'
8711 # It seems that -bexpall does not export symbols beginning with
8712 # underscore (_), so it is better to generate a list of symbols to export.
8713 always_export_symbols=yes
8714 if test "$aix_use_runtimelinking" = yes; then
8715 # Warning - without using the other runtime loading flags (-brtl),
8716 # -berok will link without error, but may produce a broken library.
8717 allow_undefined_flag='-berok'
8718 # Determine the default libpath from the value encoded in an
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8731 if ac_fn_c_try_link "$LINENO"; then :
8733 lt_aix_libpath_sed='
8734 /Import File Strings/,/^$/ {
8740 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8741 # Check for a 64-bit object if we didn't find anything.
8742 if test -z "$aix_libpath"; then
8743 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8750 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8751 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8753 if test "$host_cpu" = ia64; then
8754 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8755 allow_undefined_flag="-z nodefs"
8756 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8758 # Determine the default libpath from the value encoded in an
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8771 if ac_fn_c_try_link "$LINENO"; then :
8773 lt_aix_libpath_sed='
8774 /Import File Strings/,/^$/ {
8780 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8781 # Check for a 64-bit object if we didn't find anything.
8782 if test -z "$aix_libpath"; then
8783 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8786 rm -f core conftest.err conftest.$ac_objext \
8787 conftest$ac_exeext conftest.$ac_ext
8788 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8790 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8791 # Warning - without using the other run time loading flags,
8792 # -berok will link without error, but may produce a broken library.
8793 no_undefined_flag=' ${wl}-bernotok'
8794 allow_undefined_flag=' ${wl}-berok'
8795 # Exported symbols can be pulled into shared objects from archives
8796 whole_archive_flag_spec='$convenience'
8797 archive_cmds_need_lc=yes
8798 # This is similar to how AIX traditionally builds its shared libraries.
8799 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8807 # see comment about AmigaOS4 .so support
8808 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8809 archive_expsym_cmds=''
8812 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8813 hardcode_libdir_flag_spec='-L$libdir'
8814 hardcode_minus_L=yes
8820 export_dynamic_flag_spec=-rdynamic
8823 cygwin* | mingw* | pw32* | cegcc*)
8824 # When not using gcc, we currently assume that we are using
8825 # Microsoft Visual C++.
8826 # hardcode_libdir_flag_spec is actually meaningless, as there is
8827 # no search path for DLLs.
8828 hardcode_libdir_flag_spec=' '
8829 allow_undefined_flag=unsupported
8830 # Tell ltmain to make .lib files, not .a files.
8832 # Tell ltmain to make .dll files, not .so files.
8834 # FIXME: Setting linknames here is a bad hack.
8835 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8836 # The linker will automatically build a .lib file if we build a DLL.
8837 old_archive_from_new_cmds='true'
8838 # FIXME: Should let the user specify the lib program.
8839 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8840 fix_srcfile_path='`cygpath -w "$srcfile"`'
8841 enable_shared_with_static_runtimes=yes
8844 darwin* | rhapsody*)
8847 archive_cmds_need_lc=no
8849 hardcode_automatic=yes
8850 hardcode_shlibpath_var=unsupported
8851 whole_archive_flag_spec=''
8852 link_all_deplibs=yes
8853 allow_undefined_flag="$_lt_dar_allow_undefined"
8854 case $cc_basename in
8855 ifort*) _lt_dar_can_shared=yes ;;
8856 *) _lt_dar_can_shared=$GCC ;;
8858 if test "$_lt_dar_can_shared" = "yes"; then
8859 output_verbose_link_cmd=echo
8860 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8861 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8862 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8863 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8872 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8873 hardcode_libdir_flag_spec='-L$libdir'
8874 hardcode_shlibpath_var=no
8881 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8882 # support. Future versions do this automatically, but an explicit c++rt0.o
8883 # does not break anything, and helps significantly (at the cost of a little
8886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8887 hardcode_libdir_flag_spec='-R$libdir'
8889 hardcode_shlibpath_var=no
8892 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8894 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8896 hardcode_minus_L=yes
8897 hardcode_shlibpath_var=no
8900 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8901 freebsd* | dragonfly*)
8902 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8903 hardcode_libdir_flag_spec='-R$libdir'
8905 hardcode_shlibpath_var=no
8909 if test "$GCC" = yes; then
8910 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8912 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8914 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8915 hardcode_libdir_separator=:
8918 # hardcode_minus_L: Not really in the search PATH,
8919 # but as the default location of the library.
8920 hardcode_minus_L=yes
8921 export_dynamic_flag_spec='${wl}-E'
8925 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8926 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8928 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8930 if test "$with_gnu_ld" = no; then
8931 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8932 hardcode_libdir_flag_spec_ld='+b $libdir'
8933 hardcode_libdir_separator=:
8935 hardcode_direct_absolute=yes
8936 export_dynamic_flag_spec='${wl}-E'
8937 # hardcode_minus_L: Not really in the search PATH,
8938 # but as the default location of the library.
8939 hardcode_minus_L=yes
8944 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8947 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8950 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8953 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8959 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8962 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8965 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8969 if test "$with_gnu_ld" = no; then
8970 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8971 hardcode_libdir_separator=:
8976 hardcode_shlibpath_var=no
8980 hardcode_direct_absolute=yes
8981 export_dynamic_flag_spec='${wl}-E'
8983 # hardcode_minus_L: Not really in the search PATH,
8984 # but as the default location of the library.
8985 hardcode_minus_L=yes
8991 irix5* | irix6* | nonstopux*)
8992 if test "$GCC" = yes; then
8993 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8994 # Try to use the -exported_symbol ld option, if it does not
8995 # work, assume that -exports_file does not work either and
8996 # implicitly export all symbols.
8997 save_LDFLAGS="$LDFLAGS"
8998 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9007 rm -f core conftest.err conftest.$ac_objext \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LDFLAGS="$save_LDFLAGS"
9011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9012 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9014 archive_cmds_need_lc='no'
9015 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9016 hardcode_libdir_separator=:
9018 link_all_deplibs=yes
9021 netbsd* | netbsdelf*-gnu)
9022 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9023 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9025 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9027 hardcode_libdir_flag_spec='-R$libdir'
9029 hardcode_shlibpath_var=no
9033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9035 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9036 hardcode_libdir_separator=:
9037 hardcode_shlibpath_var=no
9044 if test -f /usr/libexec/ld.so; then
9046 hardcode_shlibpath_var=no
9047 hardcode_direct_absolute=yes
9048 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9049 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9050 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9051 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9052 export_dynamic_flag_spec='${wl}-E'
9055 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9056 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9057 hardcode_libdir_flag_spec='-R$libdir'
9060 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9061 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9071 hardcode_libdir_flag_spec='-L$libdir'
9072 hardcode_minus_L=yes
9073 allow_undefined_flag=unsupported
9074 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9075 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9079 if test "$GCC" = yes; then
9080 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9081 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9083 allow_undefined_flag=' -expect_unresolved \*'
9084 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9086 archive_cmds_need_lc='no'
9087 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9088 hardcode_libdir_separator=:
9091 osf4* | osf5*) # as osf3* with the addition of -msym flag
9092 if test "$GCC" = yes; then
9093 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9094 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9095 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9097 allow_undefined_flag=' -expect_unresolved \*'
9098 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9099 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9100 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9102 # Both c and cxx compiler support -rpath directly
9103 hardcode_libdir_flag_spec='-rpath $libdir'
9105 archive_cmds_need_lc='no'
9106 hardcode_libdir_separator=:
9110 no_undefined_flag=' -z defs'
9111 if test "$GCC" = yes; then
9113 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9115 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9117 case `$CC -V 2>&1` in
9120 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9121 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9122 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9126 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9127 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9128 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9132 hardcode_libdir_flag_spec='-R$libdir'
9133 hardcode_shlibpath_var=no
9135 solaris2.[0-5] | solaris2.[0-5].*) ;;
9137 # The compiler driver will combine and reorder linker options,
9138 # but understands `-z linker_flag'. GCC discards it without `$wl',
9139 # but is careful enough not to reorder.
9140 # Supported since Solaris 2.6 (maybe 2.5.1?)
9141 if test "$GCC" = yes; then
9142 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9144 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9148 link_all_deplibs=yes
9152 if test "x$host_vendor" = xsequent; then
9153 # Use $CC to link under sequent, because it throws in some extra .o
9154 # files that make .init and .fini sections work.
9155 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9157 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9159 hardcode_libdir_flag_spec='-L$libdir'
9161 hardcode_minus_L=yes
9162 hardcode_shlibpath_var=no
9166 case $host_vendor in
9168 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9169 hardcode_direct=yes # is this really true???
9172 ## LD is ld it makes a PLAMLIB
9173 ## CC just makes a GrossModule.
9174 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9175 reload_cmds='$CC -r -o $output$reload_objs'
9179 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9180 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9183 runpath_var='LD_RUN_PATH'
9184 hardcode_shlibpath_var=no
9188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9189 hardcode_shlibpath_var=no
9190 export_dynamic_flag_spec='-Bexport'
9194 if test -d /usr/nec; then
9195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9196 hardcode_shlibpath_var=no
9197 runpath_var=LD_RUN_PATH
9198 hardcode_runpath_var=yes
9203 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9204 no_undefined_flag='${wl}-z,text'
9205 archive_cmds_need_lc=no
9206 hardcode_shlibpath_var=no
9207 runpath_var='LD_RUN_PATH'
9209 if test "$GCC" = yes; then
9210 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9211 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9214 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9218 sysv5* | sco3.2v5* | sco5v6*)
9219 # Note: We can NOT use -z defs as we might desire, because we do not
9220 # link with -lc, and that would cause any symbols used from libc to
9221 # always be unresolved, which means just about no library would
9222 # ever link correctly. If we're not using GNU ld we use -z text
9223 # though, which does catch some bad symbols but isn't as heavy-handed
9225 no_undefined_flag='${wl}-z,text'
9226 allow_undefined_flag='${wl}-z,nodefs'
9227 archive_cmds_need_lc=no
9228 hardcode_shlibpath_var=no
9229 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9230 hardcode_libdir_separator=':'
9231 link_all_deplibs=yes
9232 export_dynamic_flag_spec='${wl}-Bexport'
9233 runpath_var='LD_RUN_PATH'
9235 if test "$GCC" = yes; then
9236 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9237 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9239 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9240 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9245 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9246 hardcode_libdir_flag_spec='-L$libdir'
9247 hardcode_shlibpath_var=no
9255 if test x$host_vendor = xsni; then
9257 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9258 export_dynamic_flag_spec='${wl}-Blargedynsym'
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9265 $as_echo "$ld_shlibs" >&6; }
9266 test "$ld_shlibs" = no && can_build_shared=no
9268 with_gnu_ld=$with_gnu_ld
9285 # Do we need to explicitly link libc?
9287 case "x$archive_cmds_need_lc" in
9289 # Assume -lc should be added
9290 archive_cmds_need_lc=yes
9292 if test "$enable_shared" = yes && test "$GCC" = yes; then
9293 case $archive_cmds in
9295 # FIXME: we may have to deal with multi-command sequences.
9298 # Test whether the compiler implicitly links with -lc since on some
9299 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9300 # to ld, don't add -lc before -lgcc.
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9302 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9307 (eval $ac_compile) 2>&5
9309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9310 test $ac_status = 0; } 2>conftest.err; then
9313 libobjs=conftest.$ac_objext
9315 wl=$lt_prog_compiler_wl
9316 pic_flag=$lt_prog_compiler_pic
9322 lt_save_allow_undefined_flag=$allow_undefined_flag
9323 allow_undefined_flag=
9324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9325 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9328 test $ac_status = 0; }
9330 archive_cmds_need_lc=no
9332 archive_cmds_need_lc=yes
9334 allow_undefined_flag=$lt_save_allow_undefined_flag
9336 cat conftest.err 1>&5
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9340 $as_echo "$archive_cmds_need_lc" >&6; }
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9504 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9506 if test "$GCC" = yes; then
9508 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9509 *) lt_awk_arg="/^libraries:/" ;;
9511 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9512 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9513 # if the path contains ";" then we assume it to be the separator
9514 # otherwise default to the standard path separator (i.e. ":") - it is
9515 # assumed that no part of a normal pathname contains ";" but that should
9516 # okay in the real world where ";" in dirpaths is itself problematic.
9517 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9519 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9521 # Ok, now we have the path, separated by spaces, we can step through it
9522 # and add multilib dir if necessary.
9523 lt_tmp_lt_search_path_spec=
9524 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9525 for lt_sys_path in $lt_search_path_spec; do
9526 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9527 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9529 test -d "$lt_sys_path" && \
9530 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9533 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9534 BEGIN {RS=" "; FS="/|\n";} {
9537 for (lt_i = NF; lt_i > 0; lt_i--) {
9538 if ($lt_i != "" && $lt_i != ".") {
9539 if ($lt_i == "..") {
9542 if (lt_count == 0) {
9543 lt_foo="/" $lt_i lt_foo;
9550 if (lt_foo != "") { lt_freq[lt_foo]++; }
9551 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9553 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9555 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9558 libname_spec='lib$name'
9566 shlibpath_overrides_runpath=unknown
9568 dynamic_linker="$host_os ld.so"
9569 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9570 need_lib_prefix=unknown
9571 hardcode_into_libs=no
9573 # when you set need_version to no, make sure it does not cause -set_version
9574 # flags to be left without arguments
9575 need_version=unknown
9580 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9581 shlibpath_var=LIBPATH
9583 # AIX 3 has no versioning support, so we append a major version to the name.
9584 soname_spec='${libname}${release}${shared_ext}$major'
9591 hardcode_into_libs=yes
9592 if test "$host_cpu" = ia64; then
9593 # AIX 5 supports IA64
9594 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9595 shlibpath_var=LD_LIBRARY_PATH
9597 # With GCC up to 2.95.x, collect2 would create an import file
9598 # for dependence libraries. The import file would start with
9599 # the line `#! .'. This would cause the generated library to
9600 # depend on `.', always an invalid library. This was fixed in
9601 # development snapshots of GCC prior to 3.0.
9603 aix4 | aix4.[01] | aix4.[01].*)
9604 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9606 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9613 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9614 # soname into executable. Probably we can add versioning support to
9615 # collect2, so additional links can be useful in future.
9616 if test "$aix_use_runtimelinking" = yes; then
9617 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9618 # instead of lib<name>.a to let people know that these are not
9619 # typical AIX shared libraries.
9620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9622 # We preserve .a as extension for shared libraries through AIX4.2
9623 # and later when we are not doing run time linking.
9624 library_names_spec='${libname}${release}.a $libname.a'
9625 soname_spec='${libname}${release}${shared_ext}$major'
9627 shlibpath_var=LIBPATH
9634 # Since July 2007 AmigaOS4 officially supports .so libraries.
9635 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9639 library_names_spec='$libname.ixlibrary $libname.a'
9640 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9641 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9647 library_names_spec='${libname}${shared_ext}'
9648 dynamic_linker="$host_os ld.so"
9649 shlibpath_var=LIBRARY_PATH
9655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9656 soname_spec='${libname}${release}${shared_ext}$major'
9657 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9658 shlibpath_var=LD_LIBRARY_PATH
9659 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9660 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9661 # the default ld.so.conf also contains /usr/contrib/lib and
9662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9663 # libtool to hard-code these into programs
9666 cygwin* | mingw* | pw32* | cegcc*)
9667 version_type=windows
9672 case $GCC,$host_os in
9673 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9674 library_names_spec='$libname.dll.a'
9675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9676 postinstall_cmds='base_file=`basename \${file}`~
9677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9678 dldir=$destdir/`dirname \$dlpath`~
9679 test -d \$dldir || mkdir -p \$dldir~
9680 $install_prog $dir/$dlname \$dldir/$dlname~
9681 chmod a+x \$dldir/$dlname~
9682 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9683 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9685 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9686 dlpath=$dir/\$dldll~
9688 shlibpath_overrides_runpath=yes
9692 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9693 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9694 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9697 # MinGW DLLs use traditional 'lib' prefix
9698 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9699 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9700 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9701 # It is most probably a Windows format PATH printed by
9702 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9703 # path with ; separators, and with drive letters. We can handle the
9704 # drive letters (cygwin fileutils understands them), so leave them,
9705 # especially as we might pass files found there to a mingw objdump,
9706 # which wouldn't understand a cygwinified path. Ahh.
9707 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9709 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9713 # pw32 DLLs use 'pw' prefix rather than 'lib'
9714 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9720 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9723 dynamic_linker='Win32 ld.exe'
9724 # FIXME: first we should search . and the directory the executable is in
9728 darwin* | rhapsody*)
9729 dynamic_linker="$host_os dyld"
9733 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9734 soname_spec='${libname}${release}${major}$shared_ext'
9735 shlibpath_overrides_runpath=yes
9736 shlibpath_var=DYLD_LIBRARY_PATH
9737 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9739 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9740 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9748 soname_spec='${libname}${release}${shared_ext}$major'
9749 shlibpath_var=LD_LIBRARY_PATH
9756 freebsd* | dragonfly*)
9757 # DragonFly does not have aout. When/if they implement a new
9758 # versioning mechanism, adjust this.
9759 if test -x /usr/bin/objformat; then
9760 objformat=`/usr/bin/objformat`
9763 freebsd[123]*) objformat=aout ;;
9767 version_type=freebsd-$objformat
9768 case $version_type in
9770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9775 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9779 shlibpath_var=LD_LIBRARY_PATH
9782 shlibpath_overrides_runpath=yes
9784 freebsd3.[01]* | freebsdelf3.[01]*)
9785 shlibpath_overrides_runpath=yes
9786 hardcode_into_libs=yes
9788 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9789 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9790 shlibpath_overrides_runpath=no
9791 hardcode_into_libs=yes
9793 *) # from 4.6 on, and DragonFly
9794 shlibpath_overrides_runpath=yes
9795 hardcode_into_libs=yes
9804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9805 soname_spec='${libname}${release}${shared_ext}$major'
9806 shlibpath_var=LD_LIBRARY_PATH
9807 hardcode_into_libs=yes
9810 hpux9* | hpux10* | hpux11*)
9811 # Give a soname corresponding to the major version so that dld.sl refuses to
9812 # link against other versions.
9819 hardcode_into_libs=yes
9820 dynamic_linker="$host_os dld.so"
9821 shlibpath_var=LD_LIBRARY_PATH
9822 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9824 soname_spec='${libname}${release}${shared_ext}$major'
9825 if test "X$HPUX_IA64_MODE" = X32; then
9826 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9828 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9830 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9834 hardcode_into_libs=yes
9835 dynamic_linker="$host_os dld.sl"
9836 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9837 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9839 soname_spec='${libname}${release}${shared_ext}$major'
9840 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9841 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9845 dynamic_linker="$host_os dld.sl"
9846 shlibpath_var=SHLIB_PATH
9847 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9849 soname_spec='${libname}${release}${shared_ext}$major'
9852 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9853 postinstall_cmds='chmod 555 $lib'
9860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9861 soname_spec='${libname}${release}${shared_ext}$major'
9862 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9863 shlibpath_var=LD_LIBRARY_PATH
9864 shlibpath_overrides_runpath=no
9865 hardcode_into_libs=yes
9868 irix5* | irix6* | nonstopux*)
9870 nonstopux*) version_type=nonstopux ;;
9872 if test "$lt_cv_prog_gnu_ld" = yes; then
9880 soname_spec='${libname}${release}${shared_ext}$major'
9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9883 irix5* | nonstopux*)
9887 case $LD in # libtool.m4 will add one of these switches to LD
9888 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9889 libsuff= shlibsuff= libmagic=32-bit;;
9890 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9891 libsuff=32 shlibsuff=N32 libmagic=N32;;
9892 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9893 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9894 *) libsuff= shlibsuff= libmagic=never-match;;
9898 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9899 shlibpath_overrides_runpath=no
9900 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9901 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9902 hardcode_into_libs=yes
9905 # No shared lib support for Linux oldld, aout, or coff.
9906 linux*oldld* | linux*aout* | linux*coff*)
9910 # This must be Linux ELF.
9911 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9916 soname_spec='${libname}${release}${shared_ext}$major'
9917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9918 shlibpath_var=LD_LIBRARY_PATH
9919 shlibpath_overrides_runpath=no
9920 # Some binutils ld are patched to set DT_RUNPATH
9921 save_LDFLAGS=$LDFLAGS
9923 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9924 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9936 if ac_fn_c_try_link "$LINENO"; then :
9937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9938 shlibpath_overrides_runpath=yes
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LDFLAGS=$save_LDFLAGS
9946 # This implies no fast_install, which is unacceptable.
9947 # Some rework will be needed to allow for fast_install
9948 # before this can be enabled.
9949 hardcode_into_libs=yes
9951 # Append ld.so.conf contents to the search path
9952 if test -f /etc/ld.so.conf; then
9953 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9954 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9957 # We used to test for /lib/ld.so.1 and disable shared libraries on
9958 # powerpc, because MkLinux only supported shared libraries with the
9959 # GNU dynamic linker. Since this was broken with cross compilers,
9960 # most powerpc-linux boxes support dynamic linking these days and
9961 # people can always --disable-shared, the test was removed, and we
9962 # assume the GNU/Linux dynamic linker is in use.
9963 dynamic_linker='GNU/Linux ld.so'
9970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9971 soname_spec='${libname}${release}${shared_ext}$major'
9972 shlibpath_var=LD_LIBRARY_PATH
9973 shlibpath_overrides_runpath=no
9974 hardcode_into_libs=yes
9975 dynamic_linker='NetBSD ld.elf_so'
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9984 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9985 dynamic_linker='NetBSD (a.out) ld.so'
9987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9988 soname_spec='${libname}${release}${shared_ext}$major'
9989 dynamic_linker='NetBSD ld.elf_so'
9991 shlibpath_var=LD_LIBRARY_PATH
9992 shlibpath_overrides_runpath=yes
9993 hardcode_into_libs=yes
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 shlibpath_var=LD_LIBRARY_PATH
10000 shlibpath_overrides_runpath=yes
10007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008 soname_spec='${libname}${release}${shared_ext}$major'
10009 shlibpath_var=LD_LIBRARY_PATH
10010 shlibpath_overrides_runpath=no
10011 hardcode_into_libs=yes
10012 dynamic_linker='ldqnx.so'
10017 sys_lib_dlsearch_path_spec="/usr/lib"
10019 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10021 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10022 *) need_version=no ;;
10024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10026 shlibpath_var=LD_LIBRARY_PATH
10027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10029 openbsd2.[89] | openbsd2.[89].*)
10030 shlibpath_overrides_runpath=no
10033 shlibpath_overrides_runpath=yes
10037 shlibpath_overrides_runpath=yes
10042 libname_spec='$name'
10045 library_names_spec='$libname${shared_ext} $libname.a'
10046 dynamic_linker='OS/2 ld.exe'
10047 shlibpath_var=LIBPATH
10050 osf3* | osf4* | osf5*)
10054 soname_spec='${libname}${release}${shared_ext}$major'
10055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10056 shlibpath_var=LD_LIBRARY_PATH
10057 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10058 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070 soname_spec='${libname}${release}${shared_ext}$major'
10071 shlibpath_var=LD_LIBRARY_PATH
10072 shlibpath_overrides_runpath=yes
10073 hardcode_into_libs=yes
10074 # ldd complains unless libraries are executable
10075 postinstall_cmds='chmod +x $lib'
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10081 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10082 shlibpath_var=LD_LIBRARY_PATH
10083 shlibpath_overrides_runpath=yes
10084 if test "$with_gnu_ld" = yes; then
10092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10093 soname_spec='${libname}${release}${shared_ext}$major'
10094 shlibpath_var=LD_LIBRARY_PATH
10095 case $host_vendor in
10097 shlibpath_overrides_runpath=no
10099 runpath_var=LD_RUN_PATH
10107 shlibpath_overrides_runpath=no
10108 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10114 if test -d /usr/nec ;then
10116 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10117 soname_spec='$libname${shared_ext}.$major'
10118 shlibpath_var=LD_LIBRARY_PATH
10122 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10123 version_type=freebsd-elf
10126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10127 soname_spec='${libname}${release}${shared_ext}$major'
10128 shlibpath_var=LD_LIBRARY_PATH
10129 shlibpath_overrides_runpath=yes
10130 hardcode_into_libs=yes
10131 if test "$with_gnu_ld" = yes; then
10132 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10134 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10137 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10141 sys_lib_dlsearch_path_spec='/usr/lib'
10145 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10150 shlibpath_var=LD_LIBRARY_PATH
10151 shlibpath_overrides_runpath=no
10152 hardcode_into_libs=yes
10157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10158 soname_spec='${libname}${release}${shared_ext}$major'
10159 shlibpath_var=LD_LIBRARY_PATH
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10167 $as_echo "$dynamic_linker" >&6; }
10168 test "$dynamic_linker" = no && can_build_shared=no
10170 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10171 if test "$GCC" = yes; then
10172 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10175 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10176 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10178 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10179 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10269 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10271 if test -n "$hardcode_libdir_flag_spec" ||
10272 test -n "$runpath_var" ||
10273 test "X$hardcode_automatic" = "Xyes" ; then
10275 # We can hardcode non-existent directories.
10276 if test "$hardcode_direct" != no &&
10277 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10278 # have to relink, otherwise we might link with an installed library
10279 # when we should be linking with a yet-to-be-installed one
10280 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10281 test "$hardcode_minus_L" != no; then
10282 # Linking always hardcodes the temporary library directory.
10283 hardcode_action=relink
10285 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10286 hardcode_action=immediate
10289 # We cannot hardcode anything, or else we can only hardcode existing
10291 hardcode_action=unsupported
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10294 $as_echo "$hardcode_action" >&6; }
10296 if test "$hardcode_action" = relink ||
10297 test "$inherit_rpath" = yes; then
10298 # Fast installation is not supported
10299 enable_fast_install=no
10300 elif test "$shlibpath_overrides_runpath" = yes ||
10301 test "$enable_shared" = no; then
10302 # Fast installation is not necessary
10303 enable_fast_install=needless
10311 if test "x$enable_dlopen" != xyes; then
10312 enable_dlopen=unknown
10313 enable_dlopen_self=unknown
10314 enable_dlopen_self_static=unknown
10321 lt_cv_dlopen="load_add_on"
10323 lt_cv_dlopen_self=yes
10326 mingw* | pw32* | cegcc*)
10327 lt_cv_dlopen="LoadLibrary"
10332 lt_cv_dlopen="dlopen"
10337 # if libdl is installed we need to link against it
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10339 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10340 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10341 $as_echo_n "(cached) " >&6
10343 ac_check_lib_save_LIBS=$LIBS
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 ac_cv_lib_dl_dlopen=yes
10366 ac_cv_lib_dl_dlopen=no
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_lib_save_LIBS
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10378 lt_cv_dlopen="dyld"
10380 lt_cv_dlopen_self=yes
10387 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10388 if test "x$ac_cv_func_shl_load" = x""yes; then :
10389 lt_cv_dlopen="shl_load"
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10394 $as_echo_n "(cached) " >&6
10396 ac_check_lib_save_LIBS=$LIBS
10398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10399 /* end confdefs.h. */
10401 /* Override any GCC internal prototype to avoid an error.
10402 Use char because int might match the return type of a GCC
10403 builtin and then its argument prototype would still apply. */
10411 return shl_load ();
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 ac_cv_lib_dld_shl_load=yes
10419 ac_cv_lib_dld_shl_load=no
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 LIBS=$ac_check_lib_save_LIBS
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10426 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10427 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10428 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10430 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10431 if test "x$ac_cv_func_dlopen" = x""yes; then :
10432 lt_cv_dlopen="dlopen"
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10435 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10436 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10437 $as_echo_n "(cached) " >&6
10439 ac_check_lib_save_LIBS=$LIBS
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 ac_cv_lib_dl_dlopen=yes
10462 ac_cv_lib_dl_dlopen=no
10464 rm -f core conftest.err conftest.$ac_objext \
10465 conftest$ac_exeext conftest.$ac_ext
10466 LIBS=$ac_check_lib_save_LIBS
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10470 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10471 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10474 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10475 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10476 $as_echo_n "(cached) " >&6
10478 ac_check_lib_save_LIBS=$LIBS
10479 LIBS="-lsvld $LIBS"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_lib_svld_dlopen=yes
10501 ac_cv_lib_svld_dlopen=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_lib_save_LIBS
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10508 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10509 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10510 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10513 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10514 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10515 $as_echo_n "(cached) " >&6
10517 ac_check_lib_save_LIBS=$LIBS
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10532 return dld_link ();
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_lib_dld_dld_link=yes
10540 ac_cv_lib_dld_dld_link=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10547 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10548 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10549 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10570 if test "x$lt_cv_dlopen" != xno; then
10576 case $lt_cv_dlopen in
10578 save_CPPFLAGS="$CPPFLAGS"
10579 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10581 save_LDFLAGS="$LDFLAGS"
10582 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10585 LIBS="$lt_cv_dlopen_libs $LIBS"
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10588 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10589 if test "${lt_cv_dlopen_self+set}" = set; then :
10590 $as_echo_n "(cached) " >&6
10592 if test "$cross_compiling" = yes; then :
10593 lt_cv_dlopen_self=cross
10595 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10596 lt_status=$lt_dlunknown
10597 cat > conftest.$ac_ext <<_LT_EOF
10598 #line 10598 "configure"
10599 #include "confdefs.h"
10608 # define LT_DLGLOBAL RTLD_GLOBAL
10611 # define LT_DLGLOBAL DL_GLOBAL
10613 # define LT_DLGLOBAL 0
10617 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10618 find out it does not work in some platform. */
10619 #ifndef LT_DLLAZY_OR_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10624 # define LT_DLLAZY_OR_NOW DL_LAZY
10627 # define LT_DLLAZY_OR_NOW RTLD_NOW
10630 # define LT_DLLAZY_OR_NOW DL_NOW
10632 # define LT_DLLAZY_OR_NOW 0
10639 void fnord() { int i=42;}
10642 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10643 int status = $lt_dlunknown;
10647 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10648 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10649 /* dlclose (self); */
10657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10658 (eval $ac_link) 2>&5
10660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10661 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10662 (./conftest; exit; ) >&5 2>/dev/null
10664 case x$lt_status in
10665 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10666 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10667 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10670 # compilation failed
10671 lt_cv_dlopen_self=no
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10679 $as_echo "$lt_cv_dlopen_self" >&6; }
10681 if test "x$lt_cv_dlopen_self" = xyes; then
10682 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10684 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10685 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10686 $as_echo_n "(cached) " >&6
10688 if test "$cross_compiling" = yes; then :
10689 lt_cv_dlopen_self_static=cross
10691 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10692 lt_status=$lt_dlunknown
10693 cat > conftest.$ac_ext <<_LT_EOF
10694 #line 10694 "configure"
10695 #include "confdefs.h"
10704 # define LT_DLGLOBAL RTLD_GLOBAL
10707 # define LT_DLGLOBAL DL_GLOBAL
10709 # define LT_DLGLOBAL 0
10713 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10714 find out it does not work in some platform. */
10715 #ifndef LT_DLLAZY_OR_NOW
10717 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10720 # define LT_DLLAZY_OR_NOW DL_LAZY
10723 # define LT_DLLAZY_OR_NOW RTLD_NOW
10726 # define LT_DLLAZY_OR_NOW DL_NOW
10728 # define LT_DLLAZY_OR_NOW 0
10735 void fnord() { int i=42;}
10738 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10739 int status = $lt_dlunknown;
10743 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10744 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10745 /* dlclose (self); */
10753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10754 (eval $ac_link) 2>&5
10756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10757 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10758 (./conftest; exit; ) >&5 2>/dev/null
10760 case x$lt_status in
10761 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10762 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10763 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10766 # compilation failed
10767 lt_cv_dlopen_self_static=no
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10775 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10778 CPPFLAGS="$save_CPPFLAGS"
10779 LDFLAGS="$save_LDFLAGS"
10784 case $lt_cv_dlopen_self in
10785 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10786 *) enable_dlopen_self=unknown ;;
10789 case $lt_cv_dlopen_self_static in
10790 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10791 *) enable_dlopen_self_static=unknown ;;
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10814 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10815 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10816 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10817 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10819 $as_echo "yes" >&6; }
10821 # FIXME - insert some real tests, host_os isn't really good enough
10824 if test -n "$STRIP" ; then
10825 striplib="$STRIP -x"
10826 old_striplib="$STRIP -S"
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10828 $as_echo "yes" >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10831 $as_echo "no" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10836 $as_echo "no" >&6; }
10852 # Report which library types will actually be built
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10854 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10856 $as_echo "$can_build_shared" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10859 $as_echo_n "checking whether to build shared libraries... " >&6; }
10860 test "$can_build_shared" = "no" && enable_shared=no
10862 # On AIX, shared libraries and static libraries use the same namespace, and
10863 # are all built from PIC.
10866 test "$enable_shared" = yes && enable_static=no
10867 if test -n "$RANLIB"; then
10868 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10869 postinstall_cmds='$RANLIB $lib'
10874 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10875 test "$enable_shared" = yes && enable_static=no
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10880 $as_echo "$enable_shared" >&6; }
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10883 $as_echo_n "checking whether to build static libraries... " >&6; }
10884 # Make sure either enable_shared or enable_static is yes.
10885 test "$enable_shared" = yes || enable_static=yes
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10887 $as_echo "$enable_static" >&6; }
10894 ac_cpp='$CPP $CPPFLAGS'
10895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10913 ac_config_commands="$ac_config_commands libtool"
10918 # Only expand once:
10922 # Checks for programs.
10930 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10931 if test -n "$ac_tool_prefix"; then
10932 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10933 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10935 $as_echo_n "checking for $ac_word... " >&6; }
10936 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10937 $as_echo_n "(cached) " >&6
10939 case $PKG_CONFIG in
10941 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10945 for as_dir in $PATH
10948 test -z "$as_dir" && as_dir=.
10949 for ac_exec_ext in '' $ac_executable_extensions; do
10950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10951 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10962 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10963 if test -n "$PKG_CONFIG"; then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10965 $as_echo "$PKG_CONFIG" >&6; }
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10968 $as_echo "no" >&6; }
10973 if test -z "$ac_cv_path_PKG_CONFIG"; then
10974 ac_pt_PKG_CONFIG=$PKG_CONFIG
10975 # Extract the first word of "pkg-config", so it can be a program name with args.
10976 set dummy pkg-config; ac_word=$2
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10978 $as_echo_n "checking for $ac_word... " >&6; }
10979 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10980 $as_echo_n "(cached) " >&6
10982 case $ac_pt_PKG_CONFIG in
10984 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10988 for as_dir in $PATH
10991 test -z "$as_dir" && as_dir=.
10992 for ac_exec_ext in '' $ac_executable_extensions; do
10993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10994 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11005 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11006 if test -n "$ac_pt_PKG_CONFIG"; then
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11008 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11011 $as_echo "no" >&6; }
11014 if test "x$ac_pt_PKG_CONFIG" = x; then
11017 case $cross_compiling:$ac_tool_warned in
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11021 ac_tool_warned=yes ;;
11023 PKG_CONFIG=$ac_pt_PKG_CONFIG
11026 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11030 if test -n "$PKG_CONFIG"; then
11031 _pkg_min_version=0.23
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11033 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11034 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11036 $as_echo "yes" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11039 $as_echo "no" >&6; }
11044 ac_cpp='$CPP $CPPFLAGS'
11045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11048 if test -n "$ac_tool_prefix"; then
11049 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11050 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11052 $as_echo_n "checking for $ac_word... " >&6; }
11053 if test "${ac_cv_prog_CC+set}" = set; then :
11054 $as_echo_n "(cached) " >&6
11056 if test -n "$CC"; then
11057 ac_cv_prog_CC="$CC" # Let the user override the test.
11059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11060 for as_dir in $PATH
11063 test -z "$as_dir" && as_dir=.
11064 for ac_exec_ext in '' $ac_executable_extensions; do
11065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11066 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11077 if test -n "$CC"; then
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11079 $as_echo "$CC" >&6; }
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11082 $as_echo "no" >&6; }
11087 if test -z "$ac_cv_prog_CC"; then
11089 # Extract the first word of "gcc", so it can be a program name with args.
11090 set dummy gcc; ac_word=$2
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11092 $as_echo_n "checking for $ac_word... " >&6; }
11093 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11094 $as_echo_n "(cached) " >&6
11096 if test -n "$ac_ct_CC"; then
11097 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11100 for as_dir in $PATH
11103 test -z "$as_dir" && as_dir=.
11104 for ac_exec_ext in '' $ac_executable_extensions; do
11105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11106 ac_cv_prog_ac_ct_CC="gcc"
11107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11117 if test -n "$ac_ct_CC"; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11119 $as_echo "$ac_ct_CC" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11122 $as_echo "no" >&6; }
11125 if test "x$ac_ct_CC" = x; then
11128 case $cross_compiling:$ac_tool_warned in
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11132 ac_tool_warned=yes ;;
11137 CC="$ac_cv_prog_CC"
11140 if test -z "$CC"; then
11141 if test -n "$ac_tool_prefix"; then
11142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11143 set dummy ${ac_tool_prefix}cc; ac_word=$2
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11145 $as_echo_n "checking for $ac_word... " >&6; }
11146 if test "${ac_cv_prog_CC+set}" = set; then :
11147 $as_echo_n "(cached) " >&6
11149 if test -n "$CC"; then
11150 ac_cv_prog_CC="$CC" # Let the user override the test.
11152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11153 for as_dir in $PATH
11156 test -z "$as_dir" && as_dir=.
11157 for ac_exec_ext in '' $ac_executable_extensions; do
11158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11159 ac_cv_prog_CC="${ac_tool_prefix}cc"
11160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11170 if test -n "$CC"; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11172 $as_echo "$CC" >&6; }
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11175 $as_echo "no" >&6; }
11181 if test -z "$CC"; then
11182 # Extract the first word of "cc", so it can be a program name with args.
11183 set dummy cc; ac_word=$2
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11185 $as_echo_n "checking for $ac_word... " >&6; }
11186 if test "${ac_cv_prog_CC+set}" = set; then :
11187 $as_echo_n "(cached) " >&6
11189 if test -n "$CC"; then
11190 ac_cv_prog_CC="$CC" # Let the user override the test.
11192 ac_prog_rejected=no
11193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11194 for as_dir in $PATH
11197 test -z "$as_dir" && as_dir=.
11198 for ac_exec_ext in '' $ac_executable_extensions; do
11199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11201 ac_prog_rejected=yes
11205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11212 if test $ac_prog_rejected = yes; then
11213 # We found a bogon in the path, so make sure we never use it.
11214 set dummy $ac_cv_prog_CC
11216 if test $# != 0; then
11217 # We chose a different compiler from the bogus one.
11218 # However, it has the same basename, so the bogon will be chosen
11219 # first if we set CC to just the basename; use the full file name.
11221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11227 if test -n "$CC"; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11229 $as_echo "$CC" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11232 $as_echo "no" >&6; }
11237 if test -z "$CC"; then
11238 if test -n "$ac_tool_prefix"; then
11239 for ac_prog in cl.exe
11241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11244 $as_echo_n "checking for $ac_word... " >&6; }
11245 if test "${ac_cv_prog_CC+set}" = set; then :
11246 $as_echo_n "(cached) " >&6
11248 if test -n "$CC"; then
11249 ac_cv_prog_CC="$CC" # Let the user override the test.
11251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11252 for as_dir in $PATH
11255 test -z "$as_dir" && as_dir=.
11256 for ac_exec_ext in '' $ac_executable_extensions; do
11257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11269 if test -n "$CC"; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11271 $as_echo "$CC" >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11274 $as_echo "no" >&6; }
11278 test -n "$CC" && break
11281 if test -z "$CC"; then
11283 for ac_prog in cl.exe
11285 # Extract the first word of "$ac_prog", so it can be a program name with args.
11286 set dummy $ac_prog; ac_word=$2
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11288 $as_echo_n "checking for $ac_word... " >&6; }
11289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11290 $as_echo_n "(cached) " >&6
11292 if test -n "$ac_ct_CC"; then
11293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11296 for as_dir in $PATH
11299 test -z "$as_dir" && as_dir=.
11300 for ac_exec_ext in '' $ac_executable_extensions; do
11301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11302 ac_cv_prog_ac_ct_CC="$ac_prog"
11303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11313 if test -n "$ac_ct_CC"; then
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11315 $as_echo "$ac_ct_CC" >&6; }
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11318 $as_echo "no" >&6; }
11322 test -n "$ac_ct_CC" && break
11325 if test "x$ac_ct_CC" = x; then
11328 case $cross_compiling:$ac_tool_warned in
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11332 ac_tool_warned=yes ;;
11341 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11343 as_fn_error $? "no acceptable C compiler found in \$PATH
11344 See \`config.log' for more details" "$LINENO" 5 ; }
11346 # Provide some information about the compiler.
11347 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11350 for ac_option in --version -v -V -qversion; do
11351 { { ac_try="$ac_compiler $ac_option >&5"
11352 case "(($ac_try" in
11353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11354 *) ac_try_echo=$ac_try;;
11356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11357 $as_echo "$ac_try_echo"; } >&5
11358 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11360 if test -s conftest.err; then
11362 ... rest of stderr output deleted ...
11363 10q' conftest.err >conftest.er1
11364 cat conftest.er1 >&5
11366 rm -f conftest.er1 conftest.err
11367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11368 test $ac_status = 0; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11373 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11374 $as_echo_n "(cached) " >&6
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11390 if ac_fn_c_try_compile "$LINENO"; then :
11391 ac_compiler_gnu=yes
11395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11401 if test $ac_compiler_gnu = yes; then
11406 ac_test_CFLAGS=${CFLAGS+set}
11407 ac_save_CFLAGS=$CFLAGS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11410 if test "${ac_cv_prog_cc_g+set}" = set; then :
11411 $as_echo_n "(cached) " >&6
11413 ac_save_c_werror_flag=$ac_c_werror_flag
11414 ac_c_werror_flag=yes
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11428 if ac_fn_c_try_compile "$LINENO"; then :
11429 ac_cv_prog_cc_g=yes
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11443 if ac_fn_c_try_compile "$LINENO"; then :
11446 ac_c_werror_flag=$ac_save_c_werror_flag
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11459 if ac_fn_c_try_compile "$LINENO"; then :
11460 ac_cv_prog_cc_g=yes
11462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11467 ac_c_werror_flag=$ac_save_c_werror_flag
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11470 $as_echo "$ac_cv_prog_cc_g" >&6; }
11471 if test "$ac_test_CFLAGS" = set; then
11472 CFLAGS=$ac_save_CFLAGS
11473 elif test $ac_cv_prog_cc_g = yes; then
11474 if test "$GCC" = yes; then
11480 if test "$GCC" = yes; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11488 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11489 $as_echo_n "(cached) " >&6
11491 ac_cv_prog_cc_c89=no
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 #include <stdarg.h>
11497 #include <sys/types.h>
11498 #include <sys/stat.h>
11499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11500 struct buf { int x; };
11501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11502 static char *e (p, i)
11508 static char *f (char * (*g) (char **, int), char **p, ...)
11513 s = g (p, va_arg (v,int));
11518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11519 function prototypes and stuff, but not '\xHH' hex character constants.
11520 These don't provoke an error unfortunately, instead are silently treated
11521 as 'x'. The following induces an error, until -std is added to get
11522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11523 array size at least. It's necessary to write '\x00'==0 to get something
11524 that's true only with -std. */
11525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11528 inside strings and character constants. */
11530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11532 int test (int i, double x);
11533 struct s1 {int (*f) (int a);};
11534 struct s2 {int (*f) (double a);};
11535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11549 CC="$ac_save_CC $ac_arg"
11550 if ac_fn_c_try_compile "$LINENO"; then :
11551 ac_cv_prog_cc_c89=$ac_arg
11553 rm -f core conftest.err conftest.$ac_objext
11554 test "x$ac_cv_prog_cc_c89" != "xno" && break
11556 rm -f conftest.$ac_ext
11561 case "x$ac_cv_prog_cc_c89" in
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11564 $as_echo "none needed" >&6; } ;;
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11567 $as_echo "unsupported" >&6; } ;;
11569 CC="$CC $ac_cv_prog_cc_c89"
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11573 if test "x$ac_cv_prog_cc_c89" != xno; then :
11578 ac_cpp='$CPP $CPPFLAGS'
11579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11583 depcc="$CC" am_compiler_list=
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11586 $as_echo_n "checking dependency style of $depcc... " >&6; }
11587 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11588 $as_echo_n "(cached) " >&6
11590 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11591 # We make a subdir and do the tests there. Otherwise we can end up
11592 # making bogus files that we don't know about and never remove. For
11593 # instance it was reported that on HP-UX the gcc test will end up
11594 # making a dummy file named `D' -- because `-MD' means `put the output
11597 # Copy depcomp to subdir because otherwise we won't find it if we're
11598 # using a relative directory.
11599 cp "$am_depcomp" conftest.dir
11601 # We will build objects and dependencies in a subdirectory because
11602 # it helps to detect inapplicable dependency modes. For instance
11603 # both Tru64's cc and ICC support -MD to output dependencies as a
11604 # side effect of compilation, but ICC will put the dependencies in
11605 # the current directory while Tru64 will put them in the object
11609 am_cv_CC_dependencies_compiler_type=none
11610 if test "$am_compiler_list" = ""; then
11611 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11613 am__universal=false
11614 case " $depcc " in #(
11615 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11618 for depmode in $am_compiler_list; do
11619 # Setup a source with many dependencies, because some compilers
11620 # like to wrap large dependency lists on column 80 (with \), and
11621 # we should not choose a depcomp mode which is confused by this.
11623 # We need to recreate these files for each test, as the compiler may
11624 # overwrite some of them when testing with obscure command lines.
11625 # This happens at least with the AIX C compiler.
11627 for i in 1 2 3 4 5 6; do
11628 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11629 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11630 # Solaris 8's {/usr,}/bin/sh.
11631 touch sub/conftst$i.h
11633 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11635 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11636 # mode. It turns out that the SunPro C++ compiler does not properly
11637 # handle `-M -o', and we need to detect this. Also, some Intel
11638 # versions had trouble with output in subdirs
11639 am__obj=sub/conftest.${OBJEXT-o}
11640 am__minus_obj="-o $am__obj"
11643 # This depmode causes a compiler race in universal mode.
11644 test "$am__universal" = false || continue
11647 # after this tag, mechanisms are not by side-effect, so they'll
11648 # only be used when explicitly requested
11649 if test "x$enable_dependency_tracking" = xyes; then
11655 msvisualcpp | msvcmsys)
11656 # This compiler won't grok `-c -o', but also, the minuso test has
11657 # not run yet. These depmodes are late enough in the game, and
11658 # so weak that their functioning should not be impacted.
11659 am__obj=conftest.${OBJEXT-o}
11664 if depmode=$depmode \
11665 source=sub/conftest.c object=$am__obj \
11666 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11667 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11668 >/dev/null 2>conftest.err &&
11669 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11670 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11671 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11672 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11673 # icc doesn't choke on unknown options, it will just issue warnings
11674 # or remarks (even with -Werror). So we grep stderr for any message
11675 # that says an option was ignored or not supported.
11676 # When given -MP, icc 7.0 and 7.1 complain thusly:
11677 # icc: Command line warning: ignoring option '-M'; no argument required
11678 # The diagnosis changed in icc 8.0:
11679 # icc: Command line remark: option '-MP' not supported
11680 if (grep 'ignoring option' conftest.err ||
11681 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11682 am_cv_CC_dependencies_compiler_type=$depmode
11689 rm -rf conftest.dir
11691 am_cv_CC_dependencies_compiler_type=none
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11696 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11697 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11700 test "x$enable_dependency_tracking" != xno \
11701 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11702 am__fastdepCC_TRUE=
11703 am__fastdepCC_FALSE='#'
11705 am__fastdepCC_TRUE='#'
11706 am__fastdepCC_FALSE=
11710 if test "x$CC" != xcc; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11712 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11715 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11717 set dummy $CC; ac_cc=`$as_echo "$2" |
11718 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11719 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11720 $as_echo_n "(cached) " >&6
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11733 # Make sure it works both with $CC and with simple cc.
11734 # We do the test twice because some compilers refuse to overwrite an
11735 # existing .o file with -o, though they will create one.
11736 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11738 if { { case "(($ac_try" in
11739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11740 *) ac_try_echo=$ac_try;;
11742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11743 $as_echo "$ac_try_echo"; } >&5
11744 (eval "$ac_try") 2>&5
11746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11747 test $ac_status = 0; } &&
11748 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11750 *) ac_try_echo=$ac_try;;
11752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11753 $as_echo "$ac_try_echo"; } >&5
11754 (eval "$ac_try") 2>&5
11756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11757 test $ac_status = 0; };
11759 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11760 if test "x$CC" != xcc; then
11761 # Test first that cc exists at all.
11762 if { ac_try='cc -c conftest.$ac_ext >&5'
11763 { { case "(($ac_try" in
11764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11765 *) ac_try_echo=$ac_try;;
11767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11768 $as_echo "$ac_try_echo"; } >&5
11769 (eval "$ac_try") 2>&5
11771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11772 test $ac_status = 0; }; }; then
11773 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11775 if { { case "(($ac_try" in
11776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11777 *) ac_try_echo=$ac_try;;
11779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11780 $as_echo "$ac_try_echo"; } >&5
11781 (eval "$ac_try") 2>&5
11783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11784 test $ac_status = 0; } &&
11785 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11787 *) ac_try_echo=$ac_try;;
11789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11790 $as_echo "$ac_try_echo"; } >&5
11791 (eval "$ac_try") 2>&5
11793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11794 test $ac_status = 0; };
11799 # cc exists but doesn't like -o.
11800 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11805 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11807 rm -f core conftest*
11810 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11812 $as_echo "yes" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11815 $as_echo "no" >&6; }
11817 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11821 # FIXME: we rely on the cache variable name because
11822 # there is no other way.
11824 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11825 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11826 if test "$am_t" != yes; then
11827 # Losing compiler, so override with the script.
11828 # FIXME: It is wrong to rewrite CC.
11829 # But if we don't then we get into trouble of one sort or another.
11830 # A longer-term fix would be to have automake use am__CC in this case,
11831 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11832 CC="$am_aux_dir/compile $CC"
11836 # Extract the first word of "valac", so it can be a program name with args.
11837 set dummy valac; ac_word=$2
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11839 $as_echo_n "checking for $ac_word... " >&6; }
11840 if test "${ac_cv_path_VALAC+set}" = set; then :
11841 $as_echo_n "(cached) " >&6
11845 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11849 for as_dir in $PATH
11852 test -z "$as_dir" && as_dir=.
11853 for ac_exec_ext in '' $ac_executable_extensions; do
11854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11855 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11866 VALAC=$ac_cv_path_VALAC
11867 if test -n "$VALAC"; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11869 $as_echo "$VALAC" >&6; }
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11876 if test -z "$VALAC"; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
11878 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
11880 if test -n "0.9"; then :
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
11882 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
11883 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
11885 as_arg_v2="$am__vala_version"
11886 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11890 $as_echo "yes" >&6; } ;; #(
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11893 $as_echo "yes" >&6; } ;; #(
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11896 $as_echo "no" >&6; }
11897 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
11913 SERVER_IPC_MODULE="msrpc-glib2-1.0"
11914 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
11918 $as_echo_n "checking for GTK... " >&6; }
11920 if test -n "$GTK_CFLAGS"; then
11921 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
11922 elif test -n "$PKG_CONFIG"; then
11923 if test -n "$PKG_CONFIG" && \
11924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
11925 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
11927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11928 test $ac_status = 0; }; then
11929 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
11930 test "x$?" != "x0" && pkg_failed=yes
11937 if test -n "$GTK_LIBS"; then
11938 pkg_cv_GTK_LIBS="$GTK_LIBS"
11939 elif test -n "$PKG_CONFIG"; then
11940 if test -n "$PKG_CONFIG" && \
11941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
11942 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11945 test $ac_status = 0; }; then
11946 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
11947 test "x$?" != "x0" && pkg_failed=yes
11957 if test $pkg_failed = yes; then
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11962 _pkg_short_errors_supported=yes
11964 _pkg_short_errors_supported=no
11966 if test $_pkg_short_errors_supported = yes; then
11967 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
11969 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
11971 # Put the nasty error message in config.log where it belongs
11972 echo "$GTK_PKG_ERRORS" >&5
11974 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
11978 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11979 installed software in a non-standard prefix.
11981 Alternatively, you may set the environment variables GTK_CFLAGS
11982 and GTK_LIBS to avoid the need to call pkg-config.
11983 See the pkg-config man page for more details." "$LINENO" 5
11984 elif test $pkg_failed = untried; then
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11986 $as_echo "no" >&6; }
11987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11989 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11990 is in your PATH or set the PKG_CONFIG environment variable to the full
11991 path to pkg-config.
11993 Alternatively, you may set the environment variables GTK_CFLAGS
11994 and GTK_LIBS to avoid the need to call pkg-config.
11995 See the pkg-config man page for more details.
11997 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11998 See \`config.log' for more details" "$LINENO" 5 ; }
12000 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12001 GTK_LIBS=$pkg_cv_GTK_LIBS
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12003 $as_echo "yes" >&6; }
12004 GTK_VERSION="gtk+-2.0"
12014 # We require dbus-glib for the client library even if we are using GDBus
12015 # in the server. The reason we can't always use dbus-glib in the server is
12016 # because Vala drops support for it, but as it ships with DBus there is very
12017 # little danger of it being dropped by distros any time soon.
12018 CLIENT_IPC_MODULE="dbus-glib-1"
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
12022 $as_echo_n "checking for GDBUS... " >&6; }
12024 if test -n "$GDBUS_CFLAGS"; then
12025 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
12026 elif test -n "$PKG_CONFIG"; then
12027 if test -n "$PKG_CONFIG" && \
12028 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12029 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12032 test $ac_status = 0; }; then
12033 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
12034 test "x$?" != "x0" && pkg_failed=yes
12041 if test -n "$GDBUS_LIBS"; then
12042 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
12043 elif test -n "$PKG_CONFIG"; then
12044 if test -n "$PKG_CONFIG" && \
12045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12046 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12049 test $ac_status = 0; }; then
12050 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
12051 test "x$?" != "x0" && pkg_failed=yes
12061 if test $pkg_failed = yes; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12063 $as_echo "no" >&6; }
12065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12066 _pkg_short_errors_supported=yes
12068 _pkg_short_errors_supported=no
12070 if test $_pkg_short_errors_supported = yes; then
12071 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12073 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12075 # Put the nasty error message in config.log where it belongs
12076 echo "$GDBUS_PKG_ERRORS" >&5
12078 SERVER_IPC_MODULE="dbus-glib-1"
12080 elif test $pkg_failed = untried; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12083 SERVER_IPC_MODULE="dbus-glib-1"
12086 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
12087 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 $as_echo "yes" >&6; }
12090 SERVER_IPC_MODULE="gio-2.0"
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
12096 $as_echo_n "checking for MAC... " >&6; }
12098 if test -n "$MAC_CFLAGS"; then
12099 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
12100 elif test -n "$PKG_CONFIG"; then
12101 if test -n "$PKG_CONFIG" && \
12102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12104 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12108 test $ac_status = 0; }; then
12109 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
12111 test "x$?" != "x0" && pkg_failed=yes
12118 if test -n "$MAC_LIBS"; then
12119 pkg_cv_MAC_LIBS="$MAC_LIBS"
12120 elif test -n "$PKG_CONFIG"; then
12121 if test -n "$PKG_CONFIG" && \
12122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12124 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128 test $ac_status = 0; }; then
12129 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
12131 test "x$?" != "x0" && pkg_failed=yes
12141 if test $pkg_failed = yes; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12143 $as_echo "no" >&6; }
12145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12146 _pkg_short_errors_supported=yes
12148 _pkg_short_errors_supported=no
12150 if test $_pkg_short_errors_supported = yes; then
12151 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12154 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12157 # Put the nasty error message in config.log where it belongs
12158 echo "$MAC_PKG_ERRORS" >&5
12160 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
12165 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12166 installed software in a non-standard prefix.
12168 Alternatively, you may set the environment variables MAC_CFLAGS
12169 and MAC_LIBS to avoid the need to call pkg-config.
12170 See the pkg-config man page for more details." "$LINENO" 5
12171 elif test $pkg_failed = untried; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12173 $as_echo "no" >&6; }
12174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12176 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12177 is in your PATH or set the PKG_CONFIG environment variable to the full
12178 path to pkg-config.
12180 Alternatively, you may set the environment variables MAC_CFLAGS
12181 and MAC_LIBS to avoid the need to call pkg-config.
12182 See the pkg-config man page for more details.
12184 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12185 See \`config.log' for more details" "$LINENO" 5 ; }
12187 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
12188 MAC_LIBS=$pkg_cv_MAC_LIBS
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12190 $as_echo "yes" >&6; }
12194 # TODO: Move to GTK+-3
12195 # [gtk+-3.0 >= 2.0],
12196 # [GTK_VERSION="gtk+-3.0"]
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12200 $as_echo_n "checking for GTK... " >&6; }
12202 if test -n "$GTK_CFLAGS"; then
12203 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12204 elif test -n "$PKG_CONFIG"; then
12205 if test -n "$PKG_CONFIG" && \
12206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12207 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210 test $ac_status = 0; }; then
12211 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12212 test "x$?" != "x0" && pkg_failed=yes
12219 if test -n "$GTK_LIBS"; then
12220 pkg_cv_GTK_LIBS="$GTK_LIBS"
12221 elif test -n "$PKG_CONFIG"; then
12222 if test -n "$PKG_CONFIG" && \
12223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12224 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12227 test $ac_status = 0; }; then
12228 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12229 test "x$?" != "x0" && pkg_failed=yes
12239 if test $pkg_failed = yes; then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12241 $as_echo "no" >&6; }
12243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12244 _pkg_short_errors_supported=yes
12246 _pkg_short_errors_supported=no
12248 if test $_pkg_short_errors_supported = yes; then
12249 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12251 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12253 # Put the nasty error message in config.log where it belongs
12254 echo "$GTK_PKG_ERRORS" >&5
12256 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12260 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12261 installed software in a non-standard prefix.
12263 Alternatively, you may set the environment variables GTK_CFLAGS
12264 and GTK_LIBS to avoid the need to call pkg-config.
12265 See the pkg-config man page for more details." "$LINENO" 5
12266 elif test $pkg_failed = untried; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12268 $as_echo "no" >&6; }
12269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12271 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12272 is in your PATH or set the PKG_CONFIG environment variable to the full
12273 path to pkg-config.
12275 Alternatively, you may set the environment variables GTK_CFLAGS
12276 and GTK_LIBS to avoid the need to call pkg-config.
12277 See the pkg-config man page for more details.
12279 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12280 See \`config.log' for more details" "$LINENO" 5 ; }
12282 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12283 GTK_LIBS=$pkg_cv_GTK_LIBS
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285 $as_echo "yes" >&6; }
12286 GTK_VERSION="gtk+-2.0"
12296 # We require dbus-glib for the client library even if we are using GDBus
12297 # in the server. The reason we can't always use dbus-glib in the server is
12298 # because Vala drops support for it, but as it ships with DBus there is very
12299 # little danger of it being dropped by distros any time soon.
12300 CLIENT_IPC_MODULE="dbus-glib-1"
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
12304 $as_echo_n "checking for GDBUS... " >&6; }
12306 if test -n "$GDBUS_CFLAGS"; then
12307 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
12308 elif test -n "$PKG_CONFIG"; then
12309 if test -n "$PKG_CONFIG" && \
12310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12311 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12314 test $ac_status = 0; }; then
12315 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
12316 test "x$?" != "x0" && pkg_failed=yes
12323 if test -n "$GDBUS_LIBS"; then
12324 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
12325 elif test -n "$PKG_CONFIG"; then
12326 if test -n "$PKG_CONFIG" && \
12327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12328 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12331 test $ac_status = 0; }; then
12332 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
12333 test "x$?" != "x0" && pkg_failed=yes
12343 if test $pkg_failed = yes; then
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345 $as_echo "no" >&6; }
12347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12348 _pkg_short_errors_supported=yes
12350 _pkg_short_errors_supported=no
12352 if test $_pkg_short_errors_supported = yes; then
12353 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12355 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12357 # Put the nasty error message in config.log where it belongs
12358 echo "$GDBUS_PKG_ERRORS" >&5
12360 SERVER_IPC_MODULE="dbus-glib-1"
12362 elif test $pkg_failed = untried; then
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 $as_echo "no" >&6; }
12365 SERVER_IPC_MODULE="dbus-glib-1"
12368 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
12369 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12371 $as_echo "yes" >&6; }
12372 SERVER_IPC_MODULE="gio-2.0"
12374 # TODO: Move to GTK+-3
12375 # [gtk+-3.0 >= 2.0],
12376 # [GTK_VERSION="gtk+-3.0"]
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12380 $as_echo_n "checking for GTK... " >&6; }
12382 if test -n "$GTK_CFLAGS"; then
12383 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12384 elif test -n "$PKG_CONFIG"; then
12385 if test -n "$PKG_CONFIG" && \
12386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12387 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12390 test $ac_status = 0; }; then
12391 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12392 test "x$?" != "x0" && pkg_failed=yes
12399 if test -n "$GTK_LIBS"; then
12400 pkg_cv_GTK_LIBS="$GTK_LIBS"
12401 elif test -n "$PKG_CONFIG"; then
12402 if test -n "$PKG_CONFIG" && \
12403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12404 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12407 test $ac_status = 0; }; then
12408 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12409 test "x$?" != "x0" && pkg_failed=yes
12419 if test $pkg_failed = yes; then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12424 _pkg_short_errors_supported=yes
12426 _pkg_short_errors_supported=no
12428 if test $_pkg_short_errors_supported = yes; then
12429 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12431 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12433 # Put the nasty error message in config.log where it belongs
12434 echo "$GTK_PKG_ERRORS" >&5
12436 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12440 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12441 installed software in a non-standard prefix.
12443 Alternatively, you may set the environment variables GTK_CFLAGS
12444 and GTK_LIBS to avoid the need to call pkg-config.
12445 See the pkg-config man page for more details." "$LINENO" 5
12446 elif test $pkg_failed = untried; then
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12451 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12452 is in your PATH or set the PKG_CONFIG environment variable to the full
12453 path to pkg-config.
12455 Alternatively, you may set the environment variables GTK_CFLAGS
12456 and GTK_LIBS to avoid the need to call pkg-config.
12457 See the pkg-config man page for more details.
12459 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12460 See \`config.log' for more details" "$LINENO" 5 ; }
12462 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12463 GTK_LIBS=$pkg_cv_GTK_LIBS
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12465 $as_echo "yes" >&6; }
12466 GTK_VERSION="gtk+-2.0"
12473 if test "$linux" = "yes"; then
12481 if test "$win32" = "yes"; then
12489 if test "$macos" = "yes"; then
12498 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
12500 IPC_MSRPC_FALSE='#'
12506 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
12514 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
12515 IPC_DBUS_GLIB_TRUE=
12516 IPC_DBUS_GLIB_FALSE='#'
12518 IPC_DBUS_GLIB_TRUE='#'
12519 IPC_DBUS_GLIB_FALSE=
12522 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
12524 IPC_GDBUS_FALSE='#'
12531 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
12533 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
12534 vala_version=`$VALAC --version | sed 's/Vala *//'`
12536 as_arg_v2="$vala_version"
12537 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12540 vala_supports_dbus_glib="no" ;; #(
12542 vala_supports_dbus_glib="no" ;; #(
12544 vala_supports_dbus_glib="yes" ;; #(
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
12550 $as_echo "$vala_supports_dbus_glib" >&6; }
12551 if test "$vala_supports_dbus_glib" = "no"; then
12553 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
12554 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
12558 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
12561 pkg_config_args="msrpc-mingw-1.0"
12570 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12571 if test -n "$ac_tool_prefix"; then
12572 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12573 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12575 $as_echo_n "checking for $ac_word... " >&6; }
12576 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12577 $as_echo_n "(cached) " >&6
12579 case $PKG_CONFIG in
12581 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12585 for as_dir in $PATH
12588 test -z "$as_dir" && as_dir=.
12589 for ac_exec_ext in '' $ac_executable_extensions; do
12590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12591 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12603 if test -n "$PKG_CONFIG"; then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12605 $as_echo "$PKG_CONFIG" >&6; }
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12608 $as_echo "no" >&6; }
12613 if test -z "$ac_cv_path_PKG_CONFIG"; then
12614 ac_pt_PKG_CONFIG=$PKG_CONFIG
12615 # Extract the first word of "pkg-config", so it can be a program name with args.
12616 set dummy pkg-config; ac_word=$2
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12618 $as_echo_n "checking for $ac_word... " >&6; }
12619 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12620 $as_echo_n "(cached) " >&6
12622 case $ac_pt_PKG_CONFIG in
12624 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12628 for as_dir in $PATH
12631 test -z "$as_dir" && as_dir=.
12632 for ac_exec_ext in '' $ac_executable_extensions; do
12633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12634 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12645 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12646 if test -n "$ac_pt_PKG_CONFIG"; then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12648 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12651 $as_echo "no" >&6; }
12654 if test "x$ac_pt_PKG_CONFIG" = x; then
12657 case $cross_compiling:$ac_tool_warned in
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12661 ac_tool_warned=yes ;;
12663 PKG_CONFIG=$ac_pt_PKG_CONFIG
12666 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12670 if test -n "$PKG_CONFIG"; then
12671 _pkg_min_version=0.16
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12673 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12674 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12676 $as_echo "yes" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12686 if test "x$PKG_CONFIG" = x ; then
12691 min_msrpc_mingw_version=0.1.0
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
12693 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
12695 if test x$PKG_CONFIG != xno ; then
12696 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12697 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
12700 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
12707 if test x"$no_msrpc" = x ; then
12708 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
12709 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12710 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12713 if test "x$no_msrpc" = x ; then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12715 $as_echo "yes" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12720 if test "$PKG_CONFIG" = "no" ; then
12721 echo "*** A new enough version of pkg-config was not found."
12722 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12730 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
12737 # Extract the first word of "midl", so it can be a program name with args.
12738 set dummy midl; ac_word=$2
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12740 $as_echo_n "checking for $ac_word... " >&6; }
12741 if test "${ac_cv_path_MIDL+set}" = set; then :
12742 $as_echo_n "(cached) " >&6
12746 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
12749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12750 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
12753 test -z "$as_dir" && as_dir=.
12754 for ac_exec_ext in '' $ac_executable_extensions; do
12755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12756 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
12757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12764 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
12768 MIDL=$ac_cv_path_MIDL
12769 if test -n "$MIDL"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
12771 $as_echo "$MIDL" >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 $as_echo "no" >&6; }
12778 if test "$MIDL" = "no"; then
12780 *** Could not find the Microsoft interface compiler MIDL.EXE.
12781 *** This program is available as part of the MS Windows SDK, in
12782 *** the Win32 Development Tools package. If it is not in the PATH
12783 *** or its default location you may set the 'MIDL' environment
12784 *** variable to point to its location and rerun configure." "$LINENO" 5
12788 if test "$win32" = "yes"; then
12789 # Other Windows-specific tools
12791 # LIB.EXE from MSVC to build an MSVC-compatible import library.
12792 # Extract the first word of "lib", so it can be a program name with args.
12793 set dummy lib; ac_word=$2
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12795 $as_echo_n "checking for $ac_word... " >&6; }
12796 if test "${ac_cv_path_MSVC_LIB+set}" = set; then :
12797 $as_echo_n "(cached) " >&6
12801 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
12804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12805 for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
12808 test -z "$as_dir" && as_dir=.
12809 for ac_exec_ext in '' $ac_executable_extensions; do
12810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12811 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
12812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12819 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
12823 MSVC_LIB=$ac_cv_path_MSVC_LIB
12824 if test -n "$MSVC_LIB"; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
12826 $as_echo "$MSVC_LIB" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12829 $as_echo "no" >&6; }
12834 if test "$MSVC_LIB" = "no"; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12836 *** Could not find the Microsoft 'LIB.EXE' program. This is required
12837 *** to build the Visual C import library for libmoonshot. Use the
12838 *** MSVC_LIB environment variable to pass its location if this is
12839 *** outside the PATH." >&5
12840 $as_echo "$as_me: WARNING:
12841 *** Could not find the Microsoft 'LIB.EXE' program. This is required
12842 *** to build the Visual C import library for libmoonshot. Use the
12843 *** MSVC_LIB environment variable to pass its location if this is
12844 *** outside the PATH." >&2;}
12848 # ImageMagick for the 'make icons' target. Note that
12849 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
12850 # Extract the first word of "convert", so it can be a program name with args.
12851 set dummy convert; ac_word=$2
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12853 $as_echo_n "checking for $ac_word... " >&6; }
12854 if test "${ac_cv_path_IMAGEMAGICK_CONVERT+set}" = set; then :
12855 $as_echo_n "(cached) " >&6
12857 case $IMAGEMAGICK_CONVERT in
12859 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
12862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12863 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
12866 test -z "$as_dir" && as_dir=.
12867 for ac_exec_ext in '' $ac_executable_extensions; do
12868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12869 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
12870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12877 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
12881 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
12882 if test -n "$IMAGEMAGICK_CONVERT"; then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
12884 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12887 $as_echo "no" >&6; }
12892 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12894 *** Could not find ImageMagick convert.exe. This is required for the
12895 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
12896 *** variable to pass its location if this is outside the PATH." >&5
12897 $as_echo "$as_me: WARNING:
12898 *** Could not find ImageMagick convert.exe. This is required for the
12899 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
12900 *** variable to pass its location if this is outside the PATH." >&2;}
12904 # Windows Installer XML tools
12905 # Extract the first word of "candle", so it can be a program name with args.
12906 set dummy candle; ac_word=$2
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12908 $as_echo_n "checking for $ac_word... " >&6; }
12909 if test "${ac_cv_path_WIX_CANDLE+set}" = set; then :
12910 $as_echo_n "(cached) " >&6
12912 case $WIX_CANDLE in
12914 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
12917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12918 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
12921 test -z "$as_dir" && as_dir=.
12922 for ac_exec_ext in '' $ac_executable_extensions; do
12923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12924 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
12925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12932 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
12936 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
12937 if test -n "$WIX_CANDLE"; then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
12939 $as_echo "$WIX_CANDLE" >&6; }
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12942 $as_echo "no" >&6; }
12946 # Extract the first word of "light", so it can be a program name with args.
12947 set dummy light; ac_word=$2
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12949 $as_echo_n "checking for $ac_word... " >&6; }
12950 if test "${ac_cv_path_WIX_LIGHT+set}" = set; then :
12951 $as_echo_n "(cached) " >&6
12955 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
12958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12959 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
12962 test -z "$as_dir" && as_dir=.
12963 for ac_exec_ext in '' $ac_executable_extensions; do
12964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12965 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
12966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
12977 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
12978 if test -n "$WIX_LIGHT"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
12980 $as_echo "$WIX_LIGHT" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12988 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12990 *** Could not find the Windows Installer XML tools. These are required
12991 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
12992 *** environment variables to pass their locations if they are outside
12994 $as_echo "$as_me: WARNING:
12995 *** Could not find the Windows Installer XML tools. These are required
12996 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
12997 *** environment variables to pass their locations if they are outside
12998 *** the PATH." >&2;}
13002 if test "$linux" = "yes"; then
13003 # Extract the first word of "update-mime-database", so it can be a program name with args.
13004 set dummy update-mime-database; ac_word=$2
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13006 $as_echo_n "checking for $ac_word... " >&6; }
13007 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
13008 $as_echo_n "(cached) " >&6
13010 case $UPDATE_MIME_DATABASE in
13012 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13016 for as_dir in $PATH
13019 test -z "$as_dir" && as_dir=.
13020 for ac_exec_ext in '' $ac_executable_extensions; do
13021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13022 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13030 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13034 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13035 if test -n "$UPDATE_MIME_DATABASE"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
13037 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13044 if test "$UPDATE_MIME_DATABASE" = "no"; then
13046 *** Could not find the Freedesktop.org mime database update tool.
13047 *** Web provisioning files could not be automatically installed." "$LINENO" 5
13049 # Extract the first word of "update-desktop-database", so it can be a program name with args.
13050 set dummy update-desktop-database; ac_word=$2
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13052 $as_echo_n "checking for $ac_word... " >&6; }
13053 if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then :
13054 $as_echo_n "(cached) " >&6
13056 case $UPDATE_DESKTOP_DATABASE in
13058 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
13061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13062 for as_dir in $PATH
13065 test -z "$as_dir" && as_dir=.
13066 for ac_exec_ext in '' $ac_executable_extensions; do
13067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13068 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13076 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
13080 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
13081 if test -n "$UPDATE_DESKTOP_DATABASE"; then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
13083 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13090 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
13092 *** Could not find the Freedesktop.org desktop entry database update
13093 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
13097 MOONSHOT_APP="$bindir/moonshot"
13098 MOONSHOT_WEBP="$bindir/moonshot-webp"
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
13114 $as_echo_n "checking for moonshot... " >&6; }
13116 if test -n "$moonshot_CFLAGS"; then
13117 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
13118 elif test -n "$PKG_CONFIG"; then
13119 if test -n "$PKG_CONFIG" && \
13120 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13123 gobject-2.0 >= 2.22
13126 \$SERVER_IPC_MODULE
13129 ($PKG_CONFIG --exists --print-errors "
13132 gobject-2.0 >= 2.22
13139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13140 test $ac_status = 0; }; then
13141 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
13144 gobject-2.0 >= 2.22
13150 test "x$?" != "x0" && pkg_failed=yes
13157 if test -n "$moonshot_LIBS"; then
13158 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
13159 elif test -n "$PKG_CONFIG"; then
13160 if test -n "$PKG_CONFIG" && \
13161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13164 gobject-2.0 >= 2.22
13167 \$SERVER_IPC_MODULE
13170 ($PKG_CONFIG --exists --print-errors "
13173 gobject-2.0 >= 2.22
13180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13181 test $ac_status = 0; }; then
13182 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
13185 gobject-2.0 >= 2.22
13191 test "x$?" != "x0" && pkg_failed=yes
13201 if test $pkg_failed = yes; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13203 $as_echo "no" >&6; }
13205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13206 _pkg_short_errors_supported=yes
13208 _pkg_short_errors_supported=no
13210 if test $_pkg_short_errors_supported = yes; then
13211 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13214 gobject-2.0 >= 2.22
13221 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13224 gobject-2.0 >= 2.22
13231 # Put the nasty error message in config.log where it belongs
13232 echo "$moonshot_PKG_ERRORS" >&5
13234 as_fn_error $? "Package requirements (
13237 gobject-2.0 >= 2.22
13244 $moonshot_PKG_ERRORS
13246 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13247 installed software in a non-standard prefix.
13249 Alternatively, you may set the environment variables moonshot_CFLAGS
13250 and moonshot_LIBS to avoid the need to call pkg-config.
13251 See the pkg-config man page for more details." "$LINENO" 5
13252 elif test $pkg_failed = untried; then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13254 $as_echo "no" >&6; }
13255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13257 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13258 is in your PATH or set the PKG_CONFIG environment variable to the full
13259 path to pkg-config.
13261 Alternatively, you may set the environment variables moonshot_CFLAGS
13262 and moonshot_LIBS to avoid the need to call pkg-config.
13263 See the pkg-config man page for more details.
13265 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13266 See \`config.log' for more details" "$LINENO" 5 ; }
13268 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
13269 moonshot_LIBS=$pkg_cv_moonshot_LIBS
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13271 $as_echo "yes" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
13278 $as_echo_n "checking for libmoonshot... " >&6; }
13280 if test -n "$libmoonshot_CFLAGS"; then
13281 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
13282 elif test -n "$PKG_CONFIG"; then
13283 if test -n "$PKG_CONFIG" && \
13284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13285 \$CLIENT_IPC_MODULE
13287 ($PKG_CONFIG --exists --print-errors "
13291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13292 test $ac_status = 0; }; then
13293 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
13296 test "x$?" != "x0" && pkg_failed=yes
13303 if test -n "$libmoonshot_LIBS"; then
13304 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
13305 elif test -n "$PKG_CONFIG"; then
13306 if test -n "$PKG_CONFIG" && \
13307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13308 \$CLIENT_IPC_MODULE
13310 ($PKG_CONFIG --exists --print-errors "
13314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13315 test $ac_status = 0; }; then
13316 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
13319 test "x$?" != "x0" && pkg_failed=yes
13329 if test $pkg_failed = yes; then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13331 $as_echo "no" >&6; }
13333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13334 _pkg_short_errors_supported=yes
13336 _pkg_short_errors_supported=no
13338 if test $_pkg_short_errors_supported = yes; then
13339 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13343 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13347 # Put the nasty error message in config.log where it belongs
13348 echo "$libmoonshot_PKG_ERRORS" >&5
13350 as_fn_error $? "Package requirements (
13354 $libmoonshot_PKG_ERRORS
13356 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13357 installed software in a non-standard prefix.
13359 Alternatively, you may set the environment variables libmoonshot_CFLAGS
13360 and libmoonshot_LIBS to avoid the need to call pkg-config.
13361 See the pkg-config man page for more details." "$LINENO" 5
13362 elif test $pkg_failed = untried; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13364 $as_echo "no" >&6; }
13365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13367 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13368 is in your PATH or set the PKG_CONFIG environment variable to the full
13369 path to pkg-config.
13371 Alternatively, you may set the environment variables libmoonshot_CFLAGS
13372 and libmoonshot_LIBS to avoid the need to call pkg-config.
13373 See the pkg-config man page for more details.
13375 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13376 See \`config.log' for more details" "$LINENO" 5 ; }
13378 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
13379 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13381 $as_echo "yes" >&6; }
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13388 $as_echo_n "checking whether NLS is requested... " >&6; }
13389 # Check whether --enable-nls was given.
13390 if test "${enable_nls+set}" = set; then :
13391 enableval=$enable_nls; USE_NLS=$enableval
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13397 $as_echo "$USE_NLS" >&6; }
13402 GETTEXT_MACRO_VERSION=0.18
13407 # Prepare PATH_SEPARATOR.
13408 # The user is always right.
13409 if test "${PATH_SEPARATOR+set}" != set; then
13410 echo "#! /bin/sh" >conf$$.sh
13411 echo "exit 0" >>conf$$.sh
13413 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13421 # Find out how to test for executable files. Don't use a zero-byte file,
13422 # as systems may use methods other than mode bits to determine executability.
13423 cat >conf$$.file <<_ASEOF
13427 chmod +x conf$$.file
13428 if test -x conf$$.file >/dev/null 2>&1; then
13429 ac_executable_p="test -x"
13431 ac_executable_p="test -f"
13435 # Extract the first word of "msgfmt", so it can be a program name with args.
13436 set dummy msgfmt; ac_word=$2
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13438 $as_echo_n "checking for $ac_word... " >&6; }
13439 if test "${ac_cv_path_MSGFMT+set}" = set; then :
13440 $as_echo_n "(cached) " >&6
13444 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13447 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13448 for ac_dir in $PATH; do
13450 test -z "$ac_dir" && ac_dir=.
13451 for ac_exec_ext in '' $ac_executable_extensions; do
13452 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13453 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13454 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13455 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13456 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13463 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13467 MSGFMT="$ac_cv_path_MSGFMT"
13468 if test "$MSGFMT" != ":"; then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13470 $as_echo "$MSGFMT" >&6; }
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13473 $as_echo "no" >&6; }
13476 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13477 set dummy gmsgfmt; ac_word=$2
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13479 $as_echo_n "checking for $ac_word... " >&6; }
13480 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13481 $as_echo_n "(cached) " >&6
13485 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13489 for as_dir in $PATH
13492 test -z "$as_dir" && as_dir=.
13493 for ac_exec_ext in '' $ac_executable_extensions; do
13494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13495 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13503 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13507 GMSGFMT=$ac_cv_path_GMSGFMT
13508 if test -n "$GMSGFMT"; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13510 $as_echo "$GMSGFMT" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13513 $as_echo "no" >&6; }
13518 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13519 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13520 *) MSGFMT_015=$MSGFMT ;;
13523 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13524 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13525 *) GMSGFMT_015=$GMSGFMT ;;
13530 # Prepare PATH_SEPARATOR.
13531 # The user is always right.
13532 if test "${PATH_SEPARATOR+set}" != set; then
13533 echo "#! /bin/sh" >conf$$.sh
13534 echo "exit 0" >>conf$$.sh
13536 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13544 # Find out how to test for executable files. Don't use a zero-byte file,
13545 # as systems may use methods other than mode bits to determine executability.
13546 cat >conf$$.file <<_ASEOF
13550 chmod +x conf$$.file
13551 if test -x conf$$.file >/dev/null 2>&1; then
13552 ac_executable_p="test -x"
13554 ac_executable_p="test -f"
13558 # Extract the first word of "xgettext", so it can be a program name with args.
13559 set dummy xgettext; ac_word=$2
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13561 $as_echo_n "checking for $ac_word... " >&6; }
13562 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13563 $as_echo_n "(cached) " >&6
13565 case "$XGETTEXT" in
13567 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13570 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13571 for ac_dir in $PATH; do
13573 test -z "$ac_dir" && ac_dir=.
13574 for ac_exec_ext in '' $ac_executable_extensions; do
13575 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13576 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13577 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13578 (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
13579 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13586 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13590 XGETTEXT="$ac_cv_path_XGETTEXT"
13591 if test "$XGETTEXT" != ":"; then
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13593 $as_echo "$XGETTEXT" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13596 $as_echo "no" >&6; }
13601 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13602 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13603 *) XGETTEXT_015=$XGETTEXT ;;
13608 # Prepare PATH_SEPARATOR.
13609 # The user is always right.
13610 if test "${PATH_SEPARATOR+set}" != set; then
13611 echo "#! /bin/sh" >conf$$.sh
13612 echo "exit 0" >>conf$$.sh
13614 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13622 # Find out how to test for executable files. Don't use a zero-byte file,
13623 # as systems may use methods other than mode bits to determine executability.
13624 cat >conf$$.file <<_ASEOF
13628 chmod +x conf$$.file
13629 if test -x conf$$.file >/dev/null 2>&1; then
13630 ac_executable_p="test -x"
13632 ac_executable_p="test -f"
13636 # Extract the first word of "msgmerge", so it can be a program name with args.
13637 set dummy msgmerge; ac_word=$2
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13639 $as_echo_n "checking for $ac_word... " >&6; }
13640 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13641 $as_echo_n "(cached) " >&6
13643 case "$MSGMERGE" in
13645 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13648 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13649 for ac_dir in $PATH; do
13651 test -z "$ac_dir" && ac_dir=.
13652 for ac_exec_ext in '' $ac_executable_extensions; do
13653 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13654 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13655 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13656 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13663 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13667 MSGMERGE="$ac_cv_path_MSGMERGE"
13668 if test "$MSGMERGE" != ":"; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13670 $as_echo "$MSGMERGE" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13673 $as_echo "no" >&6; }
13677 test -n "$localedir" || localedir='${datadir}/locale'
13680 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13683 ac_config_commands="$ac_config_commands po-directories"
13687 if test "X$prefix" = "XNONE"; then
13688 acl_final_prefix="$ac_default_prefix"
13690 acl_final_prefix="$prefix"
13692 if test "X$exec_prefix" = "XNONE"; then
13693 acl_final_exec_prefix='${prefix}'
13695 acl_final_exec_prefix="$exec_prefix"
13697 acl_save_prefix="$prefix"
13698 prefix="$acl_final_prefix"
13699 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13700 prefix="$acl_save_prefix"
13703 # Check whether --with-gnu-ld was given.
13704 if test "${with_gnu_ld+set}" = set; then :
13705 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13710 # Prepare PATH_SEPARATOR.
13711 # The user is always right.
13712 if test "${PATH_SEPARATOR+set}" != set; then
13713 echo "#! /bin/sh" >conf$$.sh
13714 echo "exit 0" >>conf$$.sh
13716 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13724 if test "$GCC" = yes; then
13725 # Check if gcc -print-prog-name=ld gives a path.
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13727 $as_echo_n "checking for ld used by GCC... " >&6; }
13730 # gcc leaves a trailing carriage return which upsets mingw
13731 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13733 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13736 # Accept absolute paths.
13737 [\\/]* | [A-Za-z]:[\\/]*)
13738 re_direlt='/[^/][^/]*/\.\./'
13739 # Canonicalize the path of ld
13740 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13741 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13742 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13744 test -z "$LD" && LD="$ac_prog"
13747 # If it fails, then pretend we aren't using GCC.
13751 # If it is relative, then search for the first ld in PATH.
13752 with_gnu_ld=unknown
13755 elif test "$with_gnu_ld" = yes; then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13757 $as_echo_n "checking for GNU ld... " >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13760 $as_echo_n "checking for non-GNU ld... " >&6; }
13762 if test "${acl_cv_path_LD+set}" = set; then :
13763 $as_echo_n "(cached) " >&6
13765 if test -z "$LD"; then
13766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13767 for ac_dir in $PATH; do
13768 test -z "$ac_dir" && ac_dir=.
13769 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13770 acl_cv_path_LD="$ac_dir/$ac_prog"
13771 # Check to see if the program is GNU ld. I'd rather use --version,
13772 # but apparently some GNU ld's only accept -v.
13773 # Break only if it was the GNU/non-GNU ld that we prefer.
13774 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13775 *GNU* | *'with BFD'*)
13776 test "$with_gnu_ld" != no && break ;;
13778 test "$with_gnu_ld" != yes && break ;;
13784 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13788 LD="$acl_cv_path_LD"
13789 if test -n "$LD"; then
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13791 $as_echo "$LD" >&6; }
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13794 $as_echo "no" >&6; }
13796 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13798 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13799 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13800 $as_echo_n "(cached) " >&6
13802 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13803 case `$LD -v 2>&1 </dev/null` in
13804 *GNU* | *'with BFD'*)
13805 acl_cv_prog_gnu_ld=yes ;;
13807 acl_cv_prog_gnu_ld=no ;;
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13811 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13812 with_gnu_ld=$acl_cv_prog_gnu_ld
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13818 $as_echo_n "checking for shared library run path origin... " >&6; }
13819 if test "${acl_cv_rpath+set}" = set; then :
13820 $as_echo_n "(cached) " >&6
13823 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13824 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13826 rm -f ./conftest.sh
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13831 $as_echo "$acl_cv_rpath" >&6; }
13833 acl_libext="$acl_cv_libext"
13834 acl_shlibext="$acl_cv_shlibext"
13835 acl_libname_spec="$acl_cv_libname_spec"
13836 acl_library_names_spec="$acl_cv_library_names_spec"
13837 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13838 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13839 acl_hardcode_direct="$acl_cv_hardcode_direct"
13840 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13841 # Check whether --enable-rpath was given.
13842 if test "${enable_rpath+set}" = set; then :
13843 enableval=$enable_rpath; :
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13856 $as_echo_n "checking for 64-bit host... " >&6; }
13857 if test "${gl_cv_solaris_64bit+set}" = set; then :
13858 $as_echo_n "(cached) " >&6
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13869 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13870 gl_cv_solaris_64bit=yes
13872 gl_cv_solaris_64bit=no
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13879 $as_echo "$gl_cv_solaris_64bit" >&6; }
13880 if test $gl_cv_solaris_64bit = yes; then
13881 acl_libdirstem=lib/64
13882 case "$host_cpu" in
13883 sparc*) acl_libdirstem2=lib/sparcv9 ;;
13884 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13889 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13890 if test -n "$searchpath"; then
13891 acl_save_IFS="${IFS= }"; IFS=":"
13892 for searchdir in $searchpath; do
13893 if test -d "$searchdir"; then
13894 case "$searchdir" in
13895 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13897 # Better ignore directories of this form. They are misleading.
13899 *) searchdir=`cd "$searchdir" && pwd`
13900 case "$searchdir" in
13901 */lib64 ) acl_libdirstem=lib64 ;;
13906 IFS="$acl_save_IFS"
13910 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13925 acl_save_prefix="$prefix"
13926 prefix="$acl_final_prefix"
13927 acl_save_exec_prefix="$exec_prefix"
13928 exec_prefix="$acl_final_exec_prefix"
13930 eval additional_includedir=\"$includedir\"
13931 eval additional_libdir=\"$libdir\"
13933 exec_prefix="$acl_save_exec_prefix"
13934 prefix="$acl_save_prefix"
13937 # Check whether --with-libiconv-prefix was given.
13938 if test "${with_libiconv_prefix+set}" = set; then :
13939 withval=$with_libiconv_prefix;
13940 if test "X$withval" = "Xno"; then
13943 if test "X$withval" = "X"; then
13945 acl_save_prefix="$prefix"
13946 prefix="$acl_final_prefix"
13947 acl_save_exec_prefix="$exec_prefix"
13948 exec_prefix="$acl_final_exec_prefix"
13950 eval additional_includedir=\"$includedir\"
13951 eval additional_libdir=\"$libdir\"
13953 exec_prefix="$acl_save_exec_prefix"
13954 prefix="$acl_save_prefix"
13957 additional_includedir="$withval/include"
13958 additional_libdir="$withval/$acl_libdirstem"
13959 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13960 && ! test -d "$withval/$acl_libdirstem"; then
13961 additional_libdir="$withval/$acl_libdirstem2"
13975 names_already_handled=
13976 names_next_round='iconv '
13977 while test -n "$names_next_round"; do
13978 names_this_round="$names_next_round"
13980 for name in $names_this_round; do
13982 for n in $names_already_handled; do
13983 if test "$n" = "$name"; then
13984 already_handled=yes
13988 if test -z "$already_handled"; then
13989 names_already_handled="$names_already_handled $name"
13990 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13991 eval value=\"\$HAVE_LIB$uppername\"
13992 if test -n "$value"; then
13993 if test "$value" = yes; then
13994 eval value=\"\$LIB$uppername\"
13995 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13996 eval value=\"\$LTLIB$uppername\"
13997 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14006 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14007 if test -n "$acl_shlibext"; then
14008 shrext=".$acl_shlibext" # typically: shrext=.so
14012 if test $use_additional = yes; then
14013 dir="$additional_libdir"
14014 if test -n "$acl_shlibext"; then
14015 if test -f "$dir/$libname$shrext"; then
14017 found_so="$dir/$libname$shrext"
14019 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14020 ver=`(cd "$dir" && \
14021 for f in "$libname$shrext".*; do echo "$f"; done \
14022 | sed -e "s,^$libname$shrext\\\\.,," \
14023 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14024 | sed 1q ) 2>/dev/null`
14025 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14027 found_so="$dir/$libname$shrext.$ver"
14030 eval library_names=\"$acl_library_names_spec\"
14031 for f in $library_names; do
14032 if test -f "$dir/$f"; then
14041 if test "X$found_dir" = "X"; then
14042 if test -f "$dir/$libname.$acl_libext"; then
14044 found_a="$dir/$libname.$acl_libext"
14047 if test "X$found_dir" != "X"; then
14048 if test -f "$dir/$libname.la"; then
14049 found_la="$dir/$libname.la"
14053 if test "X$found_dir" = "X"; then
14054 for x in $LDFLAGS $LTLIBICONV; do
14056 acl_save_prefix="$prefix"
14057 prefix="$acl_final_prefix"
14058 acl_save_exec_prefix="$exec_prefix"
14059 exec_prefix="$acl_final_exec_prefix"
14061 exec_prefix="$acl_save_exec_prefix"
14062 prefix="$acl_save_prefix"
14066 dir=`echo "X$x" | sed -e 's/^X-L//'`
14067 if test -n "$acl_shlibext"; then
14068 if test -f "$dir/$libname$shrext"; then
14070 found_so="$dir/$libname$shrext"
14072 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14073 ver=`(cd "$dir" && \
14074 for f in "$libname$shrext".*; do echo "$f"; done \
14075 | sed -e "s,^$libname$shrext\\\\.,," \
14076 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14077 | sed 1q ) 2>/dev/null`
14078 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14080 found_so="$dir/$libname$shrext.$ver"
14083 eval library_names=\"$acl_library_names_spec\"
14084 for f in $library_names; do
14085 if test -f "$dir/$f"; then
14094 if test "X$found_dir" = "X"; then
14095 if test -f "$dir/$libname.$acl_libext"; then
14097 found_a="$dir/$libname.$acl_libext"
14100 if test "X$found_dir" != "X"; then
14101 if test -f "$dir/$libname.la"; then
14102 found_la="$dir/$libname.la"
14107 if test "X$found_dir" != "X"; then
14112 if test "X$found_dir" != "X"; then
14113 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14114 if test "X$found_so" != "X"; then
14115 if test "$enable_rpath" = no \
14116 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14117 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14118 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14121 for x in $ltrpathdirs; do
14122 if test "X$x" = "X$found_dir"; then
14127 if test -z "$haveit"; then
14128 ltrpathdirs="$ltrpathdirs $found_dir"
14130 if test "$acl_hardcode_direct" = yes; then
14131 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14133 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14134 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14136 for x in $rpathdirs; do
14137 if test "X$x" = "X$found_dir"; then
14142 if test -z "$haveit"; then
14143 rpathdirs="$rpathdirs $found_dir"
14147 for x in $LDFLAGS $LIBICONV; do
14149 acl_save_prefix="$prefix"
14150 prefix="$acl_final_prefix"
14151 acl_save_exec_prefix="$exec_prefix"
14152 exec_prefix="$acl_final_exec_prefix"
14154 exec_prefix="$acl_save_exec_prefix"
14155 prefix="$acl_save_prefix"
14157 if test "X$x" = "X-L$found_dir"; then
14162 if test -z "$haveit"; then
14163 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14165 if test "$acl_hardcode_minus_L" != no; then
14166 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14168 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14174 if test "X$found_a" != "X"; then
14175 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14177 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14180 additional_includedir=
14181 case "$found_dir" in
14182 */$acl_libdirstem | */$acl_libdirstem/)
14183 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14184 if test "$name" = 'iconv'; then
14185 LIBICONV_PREFIX="$basedir"
14187 additional_includedir="$basedir/include"
14189 */$acl_libdirstem2 | */$acl_libdirstem2/)
14190 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14191 if test "$name" = 'iconv'; then
14192 LIBICONV_PREFIX="$basedir"
14194 additional_includedir="$basedir/include"
14197 if test "X$additional_includedir" != "X"; then
14198 if test "X$additional_includedir" != "X/usr/include"; then
14200 if test "X$additional_includedir" = "X/usr/local/include"; then
14201 if test -n "$GCC"; then
14203 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14207 if test -z "$haveit"; then
14208 for x in $CPPFLAGS $INCICONV; do
14210 acl_save_prefix="$prefix"
14211 prefix="$acl_final_prefix"
14212 acl_save_exec_prefix="$exec_prefix"
14213 exec_prefix="$acl_final_exec_prefix"
14215 exec_prefix="$acl_save_exec_prefix"
14216 prefix="$acl_save_prefix"
14218 if test "X$x" = "X-I$additional_includedir"; then
14223 if test -z "$haveit"; then
14224 if test -d "$additional_includedir"; then
14225 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14231 if test -n "$found_la"; then
14232 save_libdir="$libdir"
14233 case "$found_la" in
14234 */* | *\\*) . "$found_la" ;;
14235 *) . "./$found_la" ;;
14237 libdir="$save_libdir"
14238 for dep in $dependency_libs; do
14241 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14242 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14243 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14245 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14246 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14247 if test -n "$GCC"; then
14249 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14253 if test -z "$haveit"; then
14255 for x in $LDFLAGS $LIBICONV; do
14257 acl_save_prefix="$prefix"
14258 prefix="$acl_final_prefix"
14259 acl_save_exec_prefix="$exec_prefix"
14260 exec_prefix="$acl_final_exec_prefix"
14262 exec_prefix="$acl_save_exec_prefix"
14263 prefix="$acl_save_prefix"
14265 if test "X$x" = "X-L$additional_libdir"; then
14270 if test -z "$haveit"; then
14271 if test -d "$additional_libdir"; then
14272 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14276 for x in $LDFLAGS $LTLIBICONV; do
14278 acl_save_prefix="$prefix"
14279 prefix="$acl_final_prefix"
14280 acl_save_exec_prefix="$exec_prefix"
14281 exec_prefix="$acl_final_exec_prefix"
14283 exec_prefix="$acl_save_exec_prefix"
14284 prefix="$acl_save_prefix"
14286 if test "X$x" = "X-L$additional_libdir"; then
14291 if test -z "$haveit"; then
14292 if test -d "$additional_libdir"; then
14293 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14300 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14301 if test "$enable_rpath" != no; then
14303 for x in $rpathdirs; do
14304 if test "X$x" = "X$dir"; then
14309 if test -z "$haveit"; then
14310 rpathdirs="$rpathdirs $dir"
14313 for x in $ltrpathdirs; do
14314 if test "X$x" = "X$dir"; then
14319 if test -z "$haveit"; then
14320 ltrpathdirs="$ltrpathdirs $dir"
14325 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14328 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14331 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14332 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14338 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14345 if test "X$rpathdirs" != "X"; then
14346 if test -n "$acl_hardcode_libdir_separator"; then
14348 for found_dir in $rpathdirs; do
14349 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14351 acl_save_libdir="$libdir"
14353 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14354 libdir="$acl_save_libdir"
14355 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14357 for found_dir in $rpathdirs; do
14358 acl_save_libdir="$libdir"
14359 libdir="$found_dir"
14360 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14361 libdir="$acl_save_libdir"
14362 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14366 if test "X$ltrpathdirs" != "X"; then
14367 for found_dir in $ltrpathdirs; do
14368 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14403 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14404 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
14405 $as_echo_n "(cached) " >&6
14407 gt_save_LIBS="$LIBS"
14408 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 #include <CoreFoundation/CFPreferences.h>
14415 CFPreferencesCopyAppValue(NULL, NULL)
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 gt_cv_func_CFPreferencesCopyAppValue=yes
14423 gt_cv_func_CFPreferencesCopyAppValue=no
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS="$gt_save_LIBS"
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14430 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14431 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14433 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14437 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14438 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
14439 $as_echo_n "(cached) " >&6
14441 gt_save_LIBS="$LIBS"
14442 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 #include <CoreFoundation/CFLocale.h>
14449 CFLocaleCopyCurrent();
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 gt_cv_func_CFLocaleCopyCurrent=yes
14457 gt_cv_func_CFLocaleCopyCurrent=no
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS="$gt_save_LIBS"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14464 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14465 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14467 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14471 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14472 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14484 case " $gt_needs " in
14485 *" need-formatstring-macros "*) gt_api_version=3 ;;
14486 *" need-ngettext "*) gt_api_version=2 ;;
14487 *) gt_api_version=1 ;;
14489 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14490 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14492 if test "$USE_NLS" = "yes"; then
14493 gt_use_preinstalled_gnugettext=no
14496 if test $gt_api_version -ge 3; then
14497 gt_revision_test_code='
14498 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14499 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14501 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14504 gt_revision_test_code=
14506 if test $gt_api_version -ge 2; then
14507 gt_expression_test_code=' + * ngettext ("", "", 0)'
14509 gt_expression_test_code=
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14513 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14514 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
14515 $as_echo_n "(cached) " >&6
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14519 #include <libintl.h>
14520 $gt_revision_test_code
14521 extern int _nl_msg_cat_cntr;
14522 extern int *_nl_domain_bindings;
14526 bindtextdomain ("", "");
14527 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14532 if ac_fn_c_try_link "$LINENO"; then :
14533 eval "$gt_func_gnugettext_libc=yes"
14535 eval "$gt_func_gnugettext_libc=no"
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14540 eval ac_res=\$$gt_func_gnugettext_libc
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14542 $as_echo "$ac_res" >&6; }
14544 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14550 am_save_CPPFLAGS="$CPPFLAGS"
14552 for element in $INCICONV; do
14554 for x in $CPPFLAGS; do
14556 acl_save_prefix="$prefix"
14557 prefix="$acl_final_prefix"
14558 acl_save_exec_prefix="$exec_prefix"
14559 exec_prefix="$acl_final_exec_prefix"
14561 exec_prefix="$acl_save_exec_prefix"
14562 prefix="$acl_save_prefix"
14564 if test "X$x" = "X$element"; then
14569 if test -z "$haveit"; then
14570 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14576 $as_echo_n "checking for iconv... " >&6; }
14577 if test "${am_cv_func_iconv+set}" = set; then :
14578 $as_echo_n "(cached) " >&6
14581 am_cv_func_iconv="no, consider installing GNU libiconv"
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 #include <stdlib.h>
14590 iconv_t cd = iconv_open("","");
14591 iconv(cd,NULL,NULL,NULL,NULL);
14597 if ac_fn_c_try_link "$LINENO"; then :
14598 am_cv_func_iconv=yes
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 if test "$am_cv_func_iconv" != yes; then
14603 am_save_LIBS="$LIBS"
14604 LIBS="$LIBS $LIBICONV"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 #include <stdlib.h>
14612 iconv_t cd = iconv_open("","");
14613 iconv(cd,NULL,NULL,NULL,NULL);
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 am_cv_lib_iconv=yes
14621 am_cv_func_iconv=yes
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 LIBS="$am_save_LIBS"
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14630 $as_echo "$am_cv_func_iconv" >&6; }
14631 if test "$am_cv_func_iconv" = yes; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14633 $as_echo_n "checking for working iconv... " >&6; }
14634 if test "${am_cv_func_iconv_works+set}" = set; then :
14635 $as_echo_n "(cached) " >&6
14638 am_save_LIBS="$LIBS"
14639 if test $am_cv_lib_iconv = yes; then
14640 LIBS="$LIBS $LIBICONV"
14642 if test "$cross_compiling" = yes; then :
14644 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14645 *) am_cv_func_iconv_works="guessing yes" ;;
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14652 #include <string.h>
14655 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14658 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14659 if (cd_utf8_to_88591 != (iconv_t)(-1))
14661 static const char input[] = "\342\202\254"; /* EURO SIGN */
14663 const char *inptr = input;
14664 size_t inbytesleft = strlen (input);
14665 char *outptr = buf;
14666 size_t outbytesleft = sizeof (buf);
14667 size_t res = iconv (cd_utf8_to_88591,
14668 (char **) &inptr, &inbytesleft,
14669 &outptr, &outbytesleft);
14674 /* Test against Solaris 10 bug: Failures are not distinguishable from
14675 successful returns. */
14677 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14678 if (cd_ascii_to_88591 != (iconv_t)(-1))
14680 static const char input[] = "\263";
14682 const char *inptr = input;
14683 size_t inbytesleft = strlen (input);
14684 char *outptr = buf;
14685 size_t outbytesleft = sizeof (buf);
14686 size_t res = iconv (cd_ascii_to_88591,
14687 (char **) &inptr, &inbytesleft,
14688 &outptr, &outbytesleft);
14693 #if 0 /* This bug could be worked around by the caller. */
14694 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14696 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14697 if (cd_88591_to_utf8 != (iconv_t)(-1))
14699 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14701 const char *inptr = input;
14702 size_t inbytesleft = strlen (input);
14703 char *outptr = buf;
14704 size_t outbytesleft = sizeof (buf);
14705 size_t res = iconv (cd_88591_to_utf8,
14706 (char **) &inptr, &inbytesleft,
14707 &outptr, &outbytesleft);
14713 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14715 if (/* Try standardized names. */
14716 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14717 /* Try IRIX, OSF/1 names. */
14718 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14719 /* Try AIX names. */
14720 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14721 /* Try HP-UX names. */
14722 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14727 if ac_fn_c_try_run "$LINENO"; then :
14728 am_cv_func_iconv_works=yes
14730 am_cv_func_iconv_works=no
14732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14733 conftest.$ac_objext conftest.beam conftest.$ac_ext
14736 LIBS="$am_save_LIBS"
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14740 $as_echo "$am_cv_func_iconv_works" >&6; }
14741 case "$am_cv_func_iconv_works" in
14742 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14743 *) am_func_iconv=yes ;;
14746 am_func_iconv=no am_cv_lib_iconv=no
14748 if test "$am_func_iconv" = yes; then
14750 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14753 if test "$am_cv_lib_iconv" = yes; then
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14755 $as_echo_n "checking how to link with libiconv... " >&6; }
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14757 $as_echo "$LIBICONV" >&6; }
14759 CPPFLAGS="$am_save_CPPFLAGS"
14776 acl_save_prefix="$prefix"
14777 prefix="$acl_final_prefix"
14778 acl_save_exec_prefix="$exec_prefix"
14779 exec_prefix="$acl_final_exec_prefix"
14781 eval additional_includedir=\"$includedir\"
14782 eval additional_libdir=\"$libdir\"
14784 exec_prefix="$acl_save_exec_prefix"
14785 prefix="$acl_save_prefix"
14788 # Check whether --with-libintl-prefix was given.
14789 if test "${with_libintl_prefix+set}" = set; then :
14790 withval=$with_libintl_prefix;
14791 if test "X$withval" = "Xno"; then
14794 if test "X$withval" = "X"; then
14796 acl_save_prefix="$prefix"
14797 prefix="$acl_final_prefix"
14798 acl_save_exec_prefix="$exec_prefix"
14799 exec_prefix="$acl_final_exec_prefix"
14801 eval additional_includedir=\"$includedir\"
14802 eval additional_libdir=\"$libdir\"
14804 exec_prefix="$acl_save_exec_prefix"
14805 prefix="$acl_save_prefix"
14808 additional_includedir="$withval/include"
14809 additional_libdir="$withval/$acl_libdirstem"
14810 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14811 && ! test -d "$withval/$acl_libdirstem"; then
14812 additional_libdir="$withval/$acl_libdirstem2"
14826 names_already_handled=
14827 names_next_round='intl '
14828 while test -n "$names_next_round"; do
14829 names_this_round="$names_next_round"
14831 for name in $names_this_round; do
14833 for n in $names_already_handled; do
14834 if test "$n" = "$name"; then
14835 already_handled=yes
14839 if test -z "$already_handled"; then
14840 names_already_handled="$names_already_handled $name"
14841 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14842 eval value=\"\$HAVE_LIB$uppername\"
14843 if test -n "$value"; then
14844 if test "$value" = yes; then
14845 eval value=\"\$LIB$uppername\"
14846 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14847 eval value=\"\$LTLIB$uppername\"
14848 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14857 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14858 if test -n "$acl_shlibext"; then
14859 shrext=".$acl_shlibext" # typically: shrext=.so
14863 if test $use_additional = yes; then
14864 dir="$additional_libdir"
14865 if test -n "$acl_shlibext"; then
14866 if test -f "$dir/$libname$shrext"; then
14868 found_so="$dir/$libname$shrext"
14870 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14871 ver=`(cd "$dir" && \
14872 for f in "$libname$shrext".*; do echo "$f"; done \
14873 | sed -e "s,^$libname$shrext\\\\.,," \
14874 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14875 | sed 1q ) 2>/dev/null`
14876 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14878 found_so="$dir/$libname$shrext.$ver"
14881 eval library_names=\"$acl_library_names_spec\"
14882 for f in $library_names; do
14883 if test -f "$dir/$f"; then
14892 if test "X$found_dir" = "X"; then
14893 if test -f "$dir/$libname.$acl_libext"; then
14895 found_a="$dir/$libname.$acl_libext"
14898 if test "X$found_dir" != "X"; then
14899 if test -f "$dir/$libname.la"; then
14900 found_la="$dir/$libname.la"
14904 if test "X$found_dir" = "X"; then
14905 for x in $LDFLAGS $LTLIBINTL; do
14907 acl_save_prefix="$prefix"
14908 prefix="$acl_final_prefix"
14909 acl_save_exec_prefix="$exec_prefix"
14910 exec_prefix="$acl_final_exec_prefix"
14912 exec_prefix="$acl_save_exec_prefix"
14913 prefix="$acl_save_prefix"
14917 dir=`echo "X$x" | sed -e 's/^X-L//'`
14918 if test -n "$acl_shlibext"; then
14919 if test -f "$dir/$libname$shrext"; then
14921 found_so="$dir/$libname$shrext"
14923 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14924 ver=`(cd "$dir" && \
14925 for f in "$libname$shrext".*; do echo "$f"; done \
14926 | sed -e "s,^$libname$shrext\\\\.,," \
14927 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14928 | sed 1q ) 2>/dev/null`
14929 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14931 found_so="$dir/$libname$shrext.$ver"
14934 eval library_names=\"$acl_library_names_spec\"
14935 for f in $library_names; do
14936 if test -f "$dir/$f"; then
14945 if test "X$found_dir" = "X"; then
14946 if test -f "$dir/$libname.$acl_libext"; then
14948 found_a="$dir/$libname.$acl_libext"
14951 if test "X$found_dir" != "X"; then
14952 if test -f "$dir/$libname.la"; then
14953 found_la="$dir/$libname.la"
14958 if test "X$found_dir" != "X"; then
14963 if test "X$found_dir" != "X"; then
14964 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14965 if test "X$found_so" != "X"; then
14966 if test "$enable_rpath" = no \
14967 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14968 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14969 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14972 for x in $ltrpathdirs; do
14973 if test "X$x" = "X$found_dir"; then
14978 if test -z "$haveit"; then
14979 ltrpathdirs="$ltrpathdirs $found_dir"
14981 if test "$acl_hardcode_direct" = yes; then
14982 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14984 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14985 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14987 for x in $rpathdirs; do
14988 if test "X$x" = "X$found_dir"; then
14993 if test -z "$haveit"; then
14994 rpathdirs="$rpathdirs $found_dir"
14998 for x in $LDFLAGS $LIBINTL; do
15000 acl_save_prefix="$prefix"
15001 prefix="$acl_final_prefix"
15002 acl_save_exec_prefix="$exec_prefix"
15003 exec_prefix="$acl_final_exec_prefix"
15005 exec_prefix="$acl_save_exec_prefix"
15006 prefix="$acl_save_prefix"
15008 if test "X$x" = "X-L$found_dir"; then
15013 if test -z "$haveit"; then
15014 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15016 if test "$acl_hardcode_minus_L" != no; then
15017 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15019 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15025 if test "X$found_a" != "X"; then
15026 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15028 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15031 additional_includedir=
15032 case "$found_dir" in
15033 */$acl_libdirstem | */$acl_libdirstem/)
15034 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15035 if test "$name" = 'intl'; then
15036 LIBINTL_PREFIX="$basedir"
15038 additional_includedir="$basedir/include"
15040 */$acl_libdirstem2 | */$acl_libdirstem2/)
15041 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15042 if test "$name" = 'intl'; then
15043 LIBINTL_PREFIX="$basedir"
15045 additional_includedir="$basedir/include"
15048 if test "X$additional_includedir" != "X"; then
15049 if test "X$additional_includedir" != "X/usr/include"; then
15051 if test "X$additional_includedir" = "X/usr/local/include"; then
15052 if test -n "$GCC"; then
15054 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15058 if test -z "$haveit"; then
15059 for x in $CPPFLAGS $INCINTL; do
15061 acl_save_prefix="$prefix"
15062 prefix="$acl_final_prefix"
15063 acl_save_exec_prefix="$exec_prefix"
15064 exec_prefix="$acl_final_exec_prefix"
15066 exec_prefix="$acl_save_exec_prefix"
15067 prefix="$acl_save_prefix"
15069 if test "X$x" = "X-I$additional_includedir"; then
15074 if test -z "$haveit"; then
15075 if test -d "$additional_includedir"; then
15076 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15082 if test -n "$found_la"; then
15083 save_libdir="$libdir"
15084 case "$found_la" in
15085 */* | *\\*) . "$found_la" ;;
15086 *) . "./$found_la" ;;
15088 libdir="$save_libdir"
15089 for dep in $dependency_libs; do
15092 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15093 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15094 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15096 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15097 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15098 if test -n "$GCC"; then
15100 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15104 if test -z "$haveit"; then
15106 for x in $LDFLAGS $LIBINTL; do
15108 acl_save_prefix="$prefix"
15109 prefix="$acl_final_prefix"
15110 acl_save_exec_prefix="$exec_prefix"
15111 exec_prefix="$acl_final_exec_prefix"
15113 exec_prefix="$acl_save_exec_prefix"
15114 prefix="$acl_save_prefix"
15116 if test "X$x" = "X-L$additional_libdir"; then
15121 if test -z "$haveit"; then
15122 if test -d "$additional_libdir"; then
15123 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15127 for x in $LDFLAGS $LTLIBINTL; do
15129 acl_save_prefix="$prefix"
15130 prefix="$acl_final_prefix"
15131 acl_save_exec_prefix="$exec_prefix"
15132 exec_prefix="$acl_final_exec_prefix"
15134 exec_prefix="$acl_save_exec_prefix"
15135 prefix="$acl_save_prefix"
15137 if test "X$x" = "X-L$additional_libdir"; then
15142 if test -z "$haveit"; then
15143 if test -d "$additional_libdir"; then
15144 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15151 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15152 if test "$enable_rpath" != no; then
15154 for x in $rpathdirs; do
15155 if test "X$x" = "X$dir"; then
15160 if test -z "$haveit"; then
15161 rpathdirs="$rpathdirs $dir"
15164 for x in $ltrpathdirs; do
15165 if test "X$x" = "X$dir"; then
15170 if test -z "$haveit"; then
15171 ltrpathdirs="$ltrpathdirs $dir"
15176 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15179 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15182 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15183 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15189 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15190 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15196 if test "X$rpathdirs" != "X"; then
15197 if test -n "$acl_hardcode_libdir_separator"; then
15199 for found_dir in $rpathdirs; do
15200 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15202 acl_save_libdir="$libdir"
15204 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15205 libdir="$acl_save_libdir"
15206 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15208 for found_dir in $rpathdirs; do
15209 acl_save_libdir="$libdir"
15210 libdir="$found_dir"
15211 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15212 libdir="$acl_save_libdir"
15213 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15217 if test "X$ltrpathdirs" != "X"; then
15218 for found_dir in $ltrpathdirs; do
15219 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15229 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15230 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
15231 $as_echo_n "(cached) " >&6
15233 gt_save_CPPFLAGS="$CPPFLAGS"
15234 CPPFLAGS="$CPPFLAGS $INCINTL"
15235 gt_save_LIBS="$LIBS"
15236 LIBS="$LIBS $LIBINTL"
15237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 #include <libintl.h>
15240 $gt_revision_test_code
15241 extern int _nl_msg_cat_cntr;
15246 const char *_nl_expand_alias (const char *);
15250 bindtextdomain ("", "");
15251 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15256 if ac_fn_c_try_link "$LINENO"; then :
15257 eval "$gt_func_gnugettext_libintl=yes"
15259 eval "$gt_func_gnugettext_libintl=no"
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15263 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15264 LIBS="$LIBS $LIBICONV"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15267 #include <libintl.h>
15268 $gt_revision_test_code
15269 extern int _nl_msg_cat_cntr;
15274 const char *_nl_expand_alias (const char *);
15278 bindtextdomain ("", "");
15279 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15284 if ac_fn_c_try_link "$LINENO"; then :
15285 LIBINTL="$LIBINTL $LIBICONV"
15286 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15287 eval "$gt_func_gnugettext_libintl=yes"
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15293 CPPFLAGS="$gt_save_CPPFLAGS"
15294 LIBS="$gt_save_LIBS"
15296 eval ac_res=\$$gt_func_gnugettext_libintl
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15298 $as_echo "$ac_res" >&6; }
15301 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15302 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15303 && test "$PACKAGE" != gettext-runtime \
15304 && test "$PACKAGE" != gettext-tools; }; then
15305 gt_use_preinstalled_gnugettext=yes
15314 if test -n "$INTL_MACOSX_LIBS"; then
15315 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15316 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15317 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15318 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15322 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15323 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15325 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15333 $as_echo_n "checking whether to use NLS... " >&6; }
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15335 $as_echo "$USE_NLS" >&6; }
15336 if test "$USE_NLS" = "yes"; then
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15338 $as_echo_n "checking where the gettext function comes from... " >&6; }
15339 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15340 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15341 gt_source="external libintl"
15346 gt_source="included intl directory"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15349 $as_echo "$gt_source" >&6; }
15352 if test "$USE_NLS" = "yes"; then
15354 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15355 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15357 $as_echo_n "checking how to link with libintl... " >&6; }
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15359 $as_echo "$LIBINTL" >&6; }
15361 for element in $INCINTL; do
15363 for x in $CPPFLAGS; do
15365 acl_save_prefix="$prefix"
15366 prefix="$acl_final_prefix"
15367 acl_save_exec_prefix="$exec_prefix"
15368 exec_prefix="$acl_final_exec_prefix"
15370 exec_prefix="$acl_save_exec_prefix"
15371 prefix="$acl_save_prefix"
15373 if test "X$x" = "X$element"; then
15378 if test -z "$haveit"; then
15379 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15386 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15389 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15398 INTLLIBS="$LIBINTL"
15407 GETTEXT_PACKAGE=PACKAGE_TARNAME
15410 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
15413 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
15416 cat >confcache <<\_ACEOF
15417 # This file is a shell script that caches the results of configure
15418 # tests run on this system so they can be shared between configure
15419 # scripts and configure runs, see configure's option --config-cache.
15420 # It is not useful on other systems. If it contains results you don't
15421 # want to keep, you may remove or edit it.
15423 # config.status only pays attention to the cache file if you give it
15424 # the --recheck option to rerun configure.
15426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15428 # following values.
15432 # The following way of writing the cache mishandles newlines in values,
15433 # but we know of no workaround that is simple, portable, and efficient.
15434 # So, we kill variables containing newlines.
15435 # Ultrix sh set writes to stderr and can't be redirected directly,
15436 # and sets the high bit in the cache file unless we assign to the vars.
15438 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15439 eval ac_val=\$$ac_var
15443 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15444 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15447 _ | IFS | as_nl) ;; #(
15448 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15449 *) { eval $ac_var=; unset $ac_var;} ;;
15455 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15456 *${as_nl}ac_space=\ *)
15457 # `set' does not quote correctly, so add quotes: double-quote
15458 # substitution turns \\\\ into \\, and sed turns \\ into \.
15461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15464 # `set' quotes correctly as required by POSIX, so do not add quotes.
15465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15474 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15476 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15478 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15479 if test -w "$cache_file"; then
15480 test "x$cache_file" != "x/dev/null" &&
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15482 $as_echo "$as_me: updating cache $cache_file" >&6;}
15483 cat confcache >$cache_file
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15491 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15492 # Let make expand exec_prefix.
15493 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15495 DEFS=-DHAVE_CONFIG_H
15500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15501 # 1. Remove the extension, and $U if already installed.
15502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15503 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15505 # will be set to the directory where LIBOBJS objects are built.
15506 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15507 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15509 LIBOBJS=$ac_libobjs
15511 LTLIBOBJS=$ac_ltlibobjs
15514 if test -n "$EXEEXT"; then
15516 am__EXEEXT_FALSE='#'
15518 am__EXEEXT_TRUE='#'
15522 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15523 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15526 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15527 as_fn_error $? "conditional \"AMDEP\" was never defined.
15528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15530 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15531 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15535 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15538 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
15539 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
15540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15542 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
15543 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
15544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15546 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
15547 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
15548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15550 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
15551 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
15552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15554 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
15555 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
15556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15558 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
15559 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
15560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15562 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
15563 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
15564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15567 : ${CONFIG_STATUS=./config.status}
15569 ac_clean_files_save=$ac_clean_files
15570 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15572 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15574 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15576 # Generated by $as_me.
15577 # Run this file to recreate the current configuration.
15578 # Compiler output produced by configure, useful for debugging
15579 # configure, is in config.log if it exists.
15582 ac_cs_recheck=false
15585 SHELL=\${CONFIG_SHELL-$SHELL}
15588 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15589 ## -------------------- ##
15590 ## M4sh Initialization. ##
15591 ## -------------------- ##
15593 # Be more Bourne compatible
15594 DUALCASE=1; export DUALCASE # for MKS sh
15595 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15598 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15599 # is contrary to our usage. Disable this feature.
15600 alias -g '${1+"$@"}'='"$@"'
15601 setopt NO_GLOB_SUBST
15603 case `(set -o) 2>/dev/null` in #(
15615 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15616 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15619 # Prefer a ksh shell builtin over an external printf program on Solaris,
15620 # but without wasting forks for bash or zsh.
15621 if test -z "$BASH_VERSION$ZSH_VERSION" \
15622 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15623 as_echo='print -r --'
15624 as_echo_n='print -rn --'
15625 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15626 as_echo='printf %s\n'
15627 as_echo_n='printf %s'
15629 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15630 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15631 as_echo_n='/usr/ucb/echo -n'
15633 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15634 as_echo_n_body='eval
15638 expr "X$arg" : "X\\(.*\\)$as_nl";
15639 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15641 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15643 export as_echo_n_body
15644 as_echo_n='sh -c $as_echo_n_body as_echo'
15646 export as_echo_body
15647 as_echo='sh -c $as_echo_body as_echo'
15650 # The user is always right.
15651 if test "${PATH_SEPARATOR+set}" != set; then
15653 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15654 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15661 # We need space, tab and new line, in precisely that order. Quoting is
15662 # there to prevent editors from complaining about space-tab.
15663 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15664 # splitting by setting IFS to empty value.)
15667 # Find who we are. Look in the path if we contain no directory separator.
15669 *[\\/]* ) as_myself=$0 ;;
15670 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15671 for as_dir in $PATH
15674 test -z "$as_dir" && as_dir=.
15675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15681 # We did not find ourselves, most probably we were run as `sh COMMAND'
15682 # in which case we are not to be found in the path.
15683 if test "x$as_myself" = x; then
15686 if test ! -f "$as_myself"; then
15687 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15691 # Unset variables that we do not need and which cause bugs (e.g. in
15692 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15693 # suppresses any "Segmentation fault" message there. '((' could
15694 # trigger a bug in pdksh 5.2.14.
15695 for as_var in BASH_ENV ENV MAIL MAILPATH
15696 do eval test x\${$as_var+set} = xset \
15697 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15710 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15713 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15714 # ----------------------------------------
15715 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15716 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15717 # script with STATUS, using 1 if that was 0.
15720 as_status=$1; test $as_status -eq 0 && as_status=1
15722 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15723 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15725 $as_echo "$as_me: error: $2" >&2
15726 as_fn_exit $as_status
15730 # as_fn_set_status STATUS
15731 # -----------------------
15732 # Set $? to STATUS, without forking.
15733 as_fn_set_status ()
15736 } # as_fn_set_status
15738 # as_fn_exit STATUS
15739 # -----------------
15740 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15744 as_fn_set_status $1
15750 # Portably unset VAR.
15753 { eval $1=; unset $1;}
15755 as_unset=as_fn_unset
15756 # as_fn_append VAR VALUE
15757 # ----------------------
15758 # Append the text in VALUE to the end of the definition contained in VAR. Take
15759 # advantage of any shell optimizations that allow amortized linear growth over
15760 # repeated appends, instead of the typical quadratic growth present in naive
15762 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15763 eval 'as_fn_append ()
15774 # as_fn_arith ARG...
15775 # ------------------
15776 # Perform arithmetic evaluation on the ARGs, and store the result in the
15777 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15778 # must be portable across $(()) and expr.
15779 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15780 eval 'as_fn_arith ()
15787 as_val=`expr "$@" || test $? -eq 1`
15792 if expr a : '\(a\)' >/dev/null 2>&1 &&
15793 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15799 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15800 as_basename=basename
15805 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15811 as_me=`$as_basename -- "$0" ||
15812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15813 X"$0" : 'X\(//\)$' \| \
15814 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15816 sed '/^.*\/\([^/][^/]*\)\/*$/{
15830 # Avoid depending upon Character Ranges.
15831 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15832 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15833 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15834 as_cr_digits='0123456789'
15835 as_cr_alnum=$as_cr_Letters$as_cr_digits
15837 ECHO_C= ECHO_N= ECHO_T=
15838 case `echo -n x` in #(((((
15840 case `echo 'xy\c'` in
15841 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15843 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15850 rm -f conf$$ conf$$.exe conf$$.file
15851 if test -d conf$$.dir; then
15852 rm -f conf$$.dir/conf$$.file
15855 mkdir conf$$.dir 2>/dev/null
15857 if (echo >conf$$.file) 2>/dev/null; then
15858 if ln -s conf$$.file conf$$ 2>/dev/null; then
15860 # ... but there are two gotchas:
15861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15863 # In both cases, we have to default to `cp -p'.
15864 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15866 elif ln conf$$.file conf$$ 2>/dev/null; then
15874 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15875 rmdir conf$$.dir 2>/dev/null
15880 # Create "$as_dir" as a directory, including parents if necessary.
15885 -*) as_dir=./$as_dir;;
15887 test -d "$as_dir" || eval $as_mkdir_p || {
15891 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15892 *) as_qdir=$as_dir;;
15894 as_dirs="'$as_qdir' $as_dirs"
15895 as_dir=`$as_dirname -- "$as_dir" ||
15896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15897 X"$as_dir" : 'X\(//\)[^/]' \| \
15898 X"$as_dir" : 'X\(//\)$' \| \
15899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15900 $as_echo X"$as_dir" |
15901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15905 /^X\(\/\/\)[^/].*/{
15918 test -d "$as_dir" && break
15920 test -z "$as_dirs" || eval "mkdir $as_dirs"
15921 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15925 if mkdir -p . 2>/dev/null; then
15926 as_mkdir_p='mkdir -p "$as_dir"'
15928 test -d ./-p && rmdir ./-p
15932 if test -x / >/dev/null 2>&1; then
15933 as_test_x='test -x'
15935 if ls -dL / >/dev/null 2>&1; then
15942 if test -d "$1"; then
15948 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15949 ???[sx]*):;;*)false;;esac;fi
15953 as_executable_p=$as_test_x
15955 # Sed expression to map a string onto a valid CPP name.
15956 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15958 # Sed expression to map a string onto a valid variable name.
15959 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15963 ## ----------------------------------- ##
15964 ## Main body of $CONFIG_STATUS script. ##
15965 ## ----------------------------------- ##
15967 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 # Save the log message, to keep $0 and so on meaningful, and to
15971 # report actual input values of CONFIG_FILES etc. instead of their
15972 # values after options handling.
15974 This file was extended by Moonshot-ui $as_me 0.1, which was
15975 generated by GNU Autoconf 2.67. Invocation command line was
15977 CONFIG_FILES = $CONFIG_FILES
15978 CONFIG_HEADERS = $CONFIG_HEADERS
15979 CONFIG_LINKS = $CONFIG_LINKS
15980 CONFIG_COMMANDS = $CONFIG_COMMANDS
15983 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15988 case $ac_config_files in *"
15989 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15992 case $ac_config_headers in *"
15993 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15998 # Files that config.status was made for.
15999 config_files="$ac_config_files"
16000 config_headers="$ac_config_headers"
16001 config_commands="$ac_config_commands"
16005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16007 \`$as_me' instantiates files and other configuration actions
16008 from templates according to the current configuration. Unless the files
16009 and actions are specified as TAGs, all are instantiated by default.
16011 Usage: $0 [OPTION]... [TAG]...
16013 -h, --help print this help, then exit
16014 -V, --version print version number and configuration settings, then exit
16015 --config print configuration, then exit
16016 -q, --quiet, --silent
16017 do not print progress messages
16018 -d, --debug don't remove temporary files
16019 --recheck update $as_me by reconfiguring in the same conditions
16020 --file=FILE[:TEMPLATE]
16021 instantiate the configuration file FILE
16022 --header=FILE[:TEMPLATE]
16023 instantiate the configuration header FILE
16025 Configuration files:
16028 Configuration headers:
16031 Configuration commands:
16034 Report bugs to <moonshot-community@jiscmail.ac.uk>."
16037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16038 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16040 Moonshot-ui config.status 0.1
16041 configured by $0, generated by GNU Autoconf 2.67,
16042 with options \\"\$ac_cs_config\\"
16044 Copyright (C) 2010 Free Software Foundation, Inc.
16045 This config.status script is free software; the Free Software Foundation
16046 gives unlimited permission to copy, distribute and modify it."
16053 test -n "\$AWK" || AWK=awk
16056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16057 # The default lists apply if the user does not specify any file.
16063 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16064 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16068 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16080 # Handling of the options.
16081 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16083 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16084 $as_echo "$ac_cs_version"; exit ;;
16085 --config | --confi | --conf | --con | --co | --c )
16086 $as_echo "$ac_cs_config"; exit ;;
16087 --debug | --debu | --deb | --de | --d | -d )
16089 --file | --fil | --fi | --f )
16092 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16093 '') as_fn_error $? "missing file argument" ;;
16095 as_fn_append CONFIG_FILES " '$ac_optarg'"
16096 ac_need_defaults=false;;
16097 --header | --heade | --head | --hea )
16100 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16102 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16103 ac_need_defaults=false;;
16105 # Conflict between --help and --header
16106 as_fn_error $? "ambiguous option: \`$1'
16107 Try \`$0 --help' for more information.";;
16108 --help | --hel | -h )
16109 $as_echo "$ac_cs_usage"; exit ;;
16110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16111 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16114 # This is an error.
16115 -*) as_fn_error $? "unrecognized option: \`$1'
16116 Try \`$0 --help' for more information." ;;
16118 *) as_fn_append ac_config_targets " $1"
16119 ac_need_defaults=false ;;
16125 ac_configure_extra_args=
16127 if $ac_cs_silent; then
16129 ac_configure_extra_args="$ac_configure_extra_args --silent"
16133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16134 if \$ac_cs_recheck; then
16135 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16137 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16138 CONFIG_SHELL='$SHELL'
16139 export CONFIG_SHELL
16144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16149 ## Running $as_me. ##
16155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16162 # The HP-UX ksh and POSIX shell print the target directory to stdout
16163 # if CDPATH is set.
16164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16166 sed_quote_subst='$sed_quote_subst'
16167 double_quote_subst='$double_quote_subst'
16168 delay_variable_subst='$delay_variable_subst'
16169 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16170 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16171 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16172 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16173 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16174 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16175 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16176 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16177 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16178 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16179 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16180 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16181 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16182 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16183 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16184 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16185 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16186 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16187 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16188 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16189 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16190 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16191 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16192 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16193 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16194 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16195 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16196 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16197 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16198 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16199 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16200 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16201 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16202 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16203 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16204 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16205 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16206 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16207 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16208 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16209 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16210 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16211 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16212 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16213 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16214 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16215 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16216 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16217 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16218 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16219 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16220 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16221 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16222 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16223 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16224 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16225 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16226 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16227 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16228 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16229 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16230 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16231 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16232 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16233 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16234 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16235 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16236 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16237 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16238 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16239 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16240 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16241 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16242 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16243 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16244 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16245 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16246 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16247 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16248 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16249 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16250 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16251 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16252 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16253 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16254 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16255 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16256 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16257 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16258 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16259 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16260 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16261 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16262 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16263 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16264 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16265 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16266 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16267 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16268 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16269 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16270 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16271 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16272 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16273 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16274 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16275 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16276 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16277 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16278 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16279 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16280 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16281 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16282 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16283 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16284 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16285 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16286 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16287 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16288 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16291 LTCFLAGS='$LTCFLAGS'
16292 compiler='$compiler_DEFAULT'
16294 # Quote evaled strings.
16305 deplibs_check_method \
16314 lt_cv_sys_global_symbol_pipe \
16315 lt_cv_sys_global_symbol_to_cdecl \
16316 lt_cv_sys_global_symbol_to_c_name_address \
16317 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16320 lt_prog_compiler_no_builtin_flag \
16321 lt_prog_compiler_wl \
16322 lt_prog_compiler_pic \
16323 lt_prog_compiler_static \
16324 lt_cv_prog_compiler_c_o \
16332 export_dynamic_flag_spec \
16333 whole_archive_flag_spec \
16334 compiler_needs_object \
16336 allow_undefined_flag \
16337 no_undefined_flag \
16338 hardcode_libdir_flag_spec \
16339 hardcode_libdir_flag_spec_ld \
16340 hardcode_libdir_separator \
16345 variables_saved_for_relink \
16347 library_names_spec \
16352 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16353 *[\\\\\\\`\\"\\\$]*)
16354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16362 # Double-quote double-evaled strings.
16363 for var in reload_cmds \
16364 old_postinstall_cmds \
16365 old_postuninstall_cmds \
16367 extract_expsyms_cmds \
16368 old_archive_from_new_cmds \
16369 old_archive_from_expsyms_cmds \
16371 archive_expsym_cmds \
16373 module_expsym_cmds \
16374 export_symbols_cmds \
16377 postuninstall_cmds \
16379 sys_lib_search_path_spec \
16380 sys_lib_dlsearch_path_spec; do
16381 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16382 *[\\\\\\\`\\"\\\$]*)
16383 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16386 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16391 # Fix-up fallback echo if it was mangled by the above quoting rules.
16393 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16397 ac_aux_dir='$ac_aux_dir'
16398 xsi_shell='$xsi_shell'
16399 lt_shell_append='$lt_shell_append'
16401 # See if we are running on zsh, and set the options which allow our
16402 # commands through without removal of \ escapes INIT.
16403 if test -n "\${ZSH_VERSION+set}" ; then
16404 setopt NO_GLOB_SUBST
16410 TIMESTAMP='$TIMESTAMP'
16416 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16417 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
16418 # from automake < 1.5.
16419 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16420 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16421 LINGUAS="${LINGUAS-%UNSET%}"
16426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16428 # Handling of arguments.
16429 for ac_config_target in $ac_config_targets
16431 case $ac_config_target in
16432 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16433 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16434 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16435 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
16436 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16437 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16438 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
16439 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
16440 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
16442 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16447 # If the user did not use the arguments to specify the items to instantiate,
16448 # then the envvar interface is used. Set only those that are not.
16449 # We use the long form for the default assignment because of an extremely
16450 # bizarre bug on SunOS 4.1.3.
16451 if $ac_need_defaults; then
16452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16457 # Have a temporary directory for convenience. Make it in the build tree
16458 # simply because there is no reason against having it here, and in addition,
16459 # creating and moving files from /tmp can sometimes cause problems.
16460 # Hook for its removal unless debugging.
16461 # Note that there is a small window in which the directory will not be cleaned:
16462 # after its creation but before its name has been assigned to `$tmp'.
16466 trap 'exit_status=$?
16467 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16469 trap 'as_fn_exit 1' 1 2 13 15
16471 # Create a (secure) tmp directory for tmp files.
16474 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16475 test -n "$tmp" && test -d "$tmp"
16478 tmp=./conf$$-$RANDOM
16479 (umask 077 && mkdir "$tmp")
16480 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16482 # Set up the scripts for CONFIG_FILES section.
16483 # No need to generate them if there are no CONFIG_FILES.
16484 # This happens for instance with `./config.status config.h'.
16485 if test -n "$CONFIG_FILES"; then
16488 ac_cr=`echo X | tr X '\015'`
16489 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16490 # But we know of no other shell where ac_cr would be empty at this
16491 # point, so we can use a bashism as a fallback.
16492 if test "x$ac_cr" = x; then
16493 eval ac_cr=\$\'\\r\'
16495 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16496 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16499 ac_cs_awk_cr=$ac_cr
16502 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16507 echo "cat >conf$$subs.awk <<_ACEOF" &&
16508 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16510 } >conf$$subs.sh ||
16511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16512 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16514 for ac_last_try in false false false false false :; do
16515 . ./conf$$subs.sh ||
16516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16518 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16519 if test $ac_delim_n = $ac_delim_num; then
16521 elif $ac_last_try; then
16522 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16524 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16527 rm -f conf$$subs.sh
16529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16530 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16534 s/^/S["/; s/!.*/"]=/
16544 s/\(.\{148\}\)..*/\1/
16546 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16551 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16558 s/\(.\{148\}\)..*/\1/
16560 s/["\\]/\\&/g; s/^/"/; s/$/"/
16564 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16569 ' <conf$$subs.awk | sed '
16574 ' >>$CONFIG_STATUS || ac_write_fail=1
16575 rm -f conf$$subs.awk
16576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16578 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16579 for (key in S) S_is_set[key] = 1
16585 nfields = split(line, field, "@")
16587 len = length(field[1])
16588 for (i = 2; i < nfields; i++) {
16590 keylen = length(key)
16591 if (S_is_set[key]) {
16593 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16594 len += length(value) + length(field[++i])
16605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16606 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16607 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16610 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16611 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16614 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16615 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16616 # trailing colons and then remove the whole line if VPATH becomes empty
16617 # (actually we leave an empty line to preserve line numbers).
16618 if test "x$srcdir" = x.; then
16619 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16638 fi # test -n "$CONFIG_FILES"
16640 # Set up the scripts for CONFIG_HEADERS section.
16641 # No need to generate them if there are no CONFIG_HEADERS.
16642 # This happens for instance with `./config.status Makefile'.
16643 if test -n "$CONFIG_HEADERS"; then
16644 cat >"$tmp/defines.awk" <<\_ACAWK ||
16648 # Transform confdefs.h into an awk script `defines.awk', embedded as
16649 # here-document in config.status, that substitutes the proper values into
16650 # config.h.in to produce config.h.
16652 # Create a delimiter string that does not exist in confdefs.h, to ease
16653 # handling of long lines.
16655 for ac_last_try in false false :; do
16656 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16657 if test -z "$ac_t"; then
16659 elif $ac_last_try; then
16660 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16666 # For the awk script, D is an array of macro values keyed by name,
16667 # likewise P contains macro parameters if any. Preserve backslash
16668 # newline sequences.
16670 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16672 s/.\{148\}/&'"$ac_delim"'/g
16675 s/^[ ]*#[ ]*define[ ][ ]*/ /
16682 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16684 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16689 D["\1"]=" \3\\\\\\n"\\/p
16691 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16696 s/.\{148\}/&'"$ac_delim"'/g
16701 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16704 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16706 ' <confdefs.h | sed '
16707 s/'"$ac_delim"'/"\\\
16708 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16711 for (key in D) D_is_set[key] = 1
16714 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16716 split(line, arg, " ")
16717 if (arg[1] == "#") {
16721 defundef = substr(arg[1], 2)
16724 split(mac1, mac2, "(") #)
16726 prefix = substr(line, 1, index(line, defundef) - 1)
16727 if (D_is_set[macro]) {
16728 # Preserve the white space surrounding the "#".
16729 print prefix "define", macro P[macro] D[macro]
16732 # Replace #undef with comments. This is necessary, for example,
16733 # in the case of _POSIX_SOURCE, which is predefined and required
16734 # on some systems where configure will not decide to define it.
16735 if (defundef == "undef") {
16736 print "/*", prefix defundef, macro, "*/"
16744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16745 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16746 fi # test -n "$CONFIG_HEADERS"
16749 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16754 :[FHLC]) ac_mode=$ac_tag; continue;;
16756 case $ac_mode$ac_tag in
16758 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16759 :[FH]-) ac_tag=-:-;;
16760 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16777 -) ac_f="$tmp/stdin";;
16778 *) # Look for the file first in the build tree, then in the source tree
16779 # (if the path is not absolute). The absolute path cannot be DOS-style,
16780 # because $ac_f cannot contain `:'.
16784 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16786 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16788 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16789 as_fn_append ac_file_inputs " '$ac_f'"
16792 # Let's still pretend it is `configure' which instantiates (i.e., don't
16793 # use $as_me), people would be surprised to read:
16794 # /* config.h. Generated by config.status. */
16795 configure_input='Generated from '`
16796 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16798 if test x"$ac_file" != x-; then
16799 configure_input="$ac_file. $configure_input"
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16801 $as_echo "$as_me: creating $ac_file" >&6;}
16803 # Neutralize special characters interpreted by sed in replacement strings.
16804 case $configure_input in #(
16805 *\&* | *\|* | *\\* )
16806 ac_sed_conf_input=`$as_echo "$configure_input" |
16807 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16808 *) ac_sed_conf_input=$configure_input;;
16812 *:-:* | *:-) cat >"$tmp/stdin" \
16813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16818 ac_dir=`$as_dirname -- "$ac_file" ||
16819 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16820 X"$ac_file" : 'X\(//\)[^/]' \| \
16821 X"$ac_file" : 'X\(//\)$' \| \
16822 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16823 $as_echo X"$ac_file" |
16824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16828 /^X\(\/\/\)[^/].*/{
16841 as_dir="$ac_dir"; as_fn_mkdir_p
16845 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16847 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16848 # A ".." for each directory in $ac_dir_suffix.
16849 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16850 case $ac_top_builddir_sub in
16851 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16852 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16855 ac_abs_top_builddir=$ac_pwd
16856 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16857 # for backward compatibility:
16858 ac_top_builddir=$ac_top_build_prefix
16861 .) # We are building in place.
16863 ac_top_srcdir=$ac_top_builddir_sub
16864 ac_abs_top_srcdir=$ac_pwd ;;
16865 [\\/]* | ?:[\\/]* ) # Absolute name.
16866 ac_srcdir=$srcdir$ac_dir_suffix;
16867 ac_top_srcdir=$srcdir
16868 ac_abs_top_srcdir=$srcdir ;;
16869 *) # Relative name.
16870 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16871 ac_top_srcdir=$ac_top_build_prefix$srcdir
16872 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16874 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16884 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16885 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16887 ac_MKDIR_P=$MKDIR_P
16889 [\\/$]* | ?:[\\/]* ) ;;
16890 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16895 # If the template does not know about datarootdir, expand it.
16896 # FIXME: This hack should be removed a few years after 2.60.
16897 ac_datarootdir_hack=; ac_datarootdir_seen=
16908 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16909 *datarootdir*) ac_datarootdir_seen=yes;;
16910 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16912 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16915 ac_datarootdir_hack='
16916 s&@datadir@&$datadir&g
16917 s&@docdir@&$docdir&g
16918 s&@infodir@&$infodir&g
16919 s&@localedir@&$localedir&g
16920 s&@mandir@&$mandir&g
16921 s&\\\${datarootdir}&$datarootdir&g' ;;
16925 # Neutralize VPATH when `$srcdir' = `.'.
16926 # Shell code in configure.ac might set extrasub.
16927 # FIXME: do we really want to maintain this feature?
16928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16929 ac_sed_extra="$ac_vpsub
16932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16935 s|@configure_input@|$ac_sed_conf_input|;t t
16936 s&@top_builddir@&$ac_top_builddir_sub&;t t
16937 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16938 s&@srcdir@&$ac_srcdir&;t t
16939 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16940 s&@top_srcdir@&$ac_top_srcdir&;t t
16941 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16942 s&@builddir@&$ac_builddir&;t t
16943 s&@abs_builddir@&$ac_abs_builddir&;t t
16944 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16945 s&@INSTALL@&$ac_INSTALL&;t t
16946 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16947 $ac_datarootdir_hack
16949 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16952 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16953 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16954 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16956 which seems to be undefined. Please make sure it is defined" >&5
16957 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16958 which seems to be undefined. Please make sure it is defined" >&2;}
16962 -) cat "$tmp/out" && rm -f "$tmp/out";;
16963 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16971 if test x"$ac_file" != x-; then
16973 $as_echo "/* $configure_input */" \
16974 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16975 } >"$tmp/config.h" \
16976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16977 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16979 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16982 mv "$tmp/config.h" "$ac_file" \
16983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16986 $as_echo "/* $configure_input */" \
16987 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16988 || as_fn_error $? "could not create -" "$LINENO" 5
16990 # Compute "$ac_file"'s index in $config_headers.
16993 for _am_header in $config_headers :; do
16994 case $_am_header in
16995 $_am_arg | $_am_arg:* )
16998 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17001 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17002 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17003 X"$_am_arg" : 'X\(//\)[^/]' \| \
17004 X"$_am_arg" : 'X\(//\)$' \| \
17005 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17006 $as_echo X"$_am_arg" |
17007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17011 /^X\(\/\/\)[^/].*/{
17023 s/.*/./; q'`/stamp-h$_am_stamp_count
17026 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17027 $as_echo "$as_me: executing $ac_file commands" >&6;}
17032 case $ac_file$ac_mode in
17033 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17034 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17035 # are listed without --file. Let's play safe and only enable the eval
17036 # if we detect the quoting.
17037 case $CONFIG_FILES in
17038 *\'*) eval set x "$CONFIG_FILES" ;;
17039 *) set x $CONFIG_FILES ;;
17044 # Strip MF so we end up with the name of the file.
17045 mf=`echo "$mf" | sed -e 's/:.*$//'`
17046 # Check whether this is an Automake generated Makefile or not.
17047 # We used to match only the files named `Makefile.in', but
17048 # some people rename them; so instead we look at the file content.
17049 # Grep'ing the first line is not enough: some people post-process
17050 # each Makefile.in and add a new line on top of each file to say so.
17051 # Grep'ing the whole file is not good either: AIX grep has a line
17052 # limit of 2048, but all sed's we know have understand at least 4000.
17053 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17054 dirpart=`$as_dirname -- "$mf" ||
17055 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17056 X"$mf" : 'X\(//\)[^/]' \| \
17057 X"$mf" : 'X\(//\)$' \| \
17058 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17064 /^X\(\/\/\)[^/].*/{
17080 # Extract the definition of DEPDIR, am__include, and am__quote
17081 # from the Makefile without running `make'.
17082 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17083 test -z "$DEPDIR" && continue
17084 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17085 test -z "am__include" && continue
17086 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17087 # When using ansi2knr, U may be empty or an underscore; expand it
17088 U=`sed -n 's/^U = //p' < "$mf"`
17089 # Find all dependency output files, they are included files with
17090 # $(DEPDIR) in their names. We invoke sed twice because it is the
17091 # simplest approach to changing $(DEPDIR) to its actual value in the
17093 for file in `sed -n "
17094 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17095 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17096 # Make sure the directory exists.
17097 test -f "$dirpart/$file" && continue
17098 fdir=`$as_dirname -- "$file" ||
17099 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17100 X"$file" : 'X\(//\)[^/]' \| \
17101 X"$file" : 'X\(//\)$' \| \
17102 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17103 $as_echo X"$file" |
17104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17108 /^X\(\/\/\)[^/].*/{
17121 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17122 # echo "creating $dirpart/$file"
17123 echo '# dummy' > "$dirpart/$file"
17130 # See if we are running on zsh, and set the options which allow our
17131 # commands through without removal of \ escapes.
17132 if test -n "${ZSH_VERSION+set}" ; then
17133 setopt NO_GLOB_SUBST
17136 cfgfile="${ofile}T"
17137 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17140 cat <<_LT_EOF >> "$cfgfile"
17143 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17144 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17145 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17146 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17148 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17149 # 2006, 2007, 2008 Free Software Foundation, Inc.
17150 # Written by Gordon Matzigkeit, 1996
17152 # This file is part of GNU Libtool.
17154 # GNU Libtool is free software; you can redistribute it and/or
17155 # modify it under the terms of the GNU General Public License as
17156 # published by the Free Software Foundation; either version 2 of
17157 # the License, or (at your option) any later version.
17159 # As a special exception to the GNU General Public License,
17160 # if you distribute this file as part of a program or library that
17161 # is built using GNU Libtool, you may include this file under the
17162 # same distribution terms that you use for the rest of that program.
17164 # GNU Libtool is distributed in the hope that it will be useful,
17165 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17166 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17167 # GNU General Public License for more details.
17169 # You should have received a copy of the GNU General Public License
17170 # along with GNU Libtool; see the file COPYING. If not, a copy
17171 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17172 # obtained by writing to the Free Software Foundation, Inc.,
17173 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17176 # The names of the tagged configurations supported by this script.
17179 # ### BEGIN LIBTOOL CONFIG
17181 # Which release of libtool.m4 was used?
17182 macro_version=$macro_version
17183 macro_revision=$macro_revision
17185 # Assembler program.
17188 # DLL creation program.
17191 # Object dumper program.
17194 # Whether or not to build shared libraries.
17195 build_libtool_libs=$enable_shared
17197 # Whether or not to build static libraries.
17198 build_old_libs=$enable_static
17200 # What type of objects to build.
17203 # Whether or not to optimize for fast installation.
17204 fast_install=$enable_fast_install
17207 host_alias=$host_alias
17211 # The build system.
17212 build_alias=$build_alias
17216 # A sed program that does not truncate output.
17219 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17220 Xsed="\$SED -e 1s/^X//"
17222 # A grep program that handles long lines.
17228 # A literal string matcher.
17231 # A BSD- or MS-compatible name lister.
17234 # Whether we need soft or hard links.
17237 # What is the maximum length of a command?
17238 max_cmd_len=$max_cmd_len
17240 # Object file suffix (normally "o").
17243 # Executable file suffix (normally "").
17246 # whether the shell understands "unset".
17249 # turn spaces into newlines.
17252 # turn newlines into spaces.
17255 # How to create reloadable object files.
17256 reload_flag=$lt_reload_flag
17257 reload_cmds=$lt_reload_cmds
17259 # Method to check whether dependent libraries are shared objects.
17260 deplibs_check_method=$lt_deplibs_check_method
17262 # Command to use when deplibs_check_method == "file_magic".
17263 file_magic_cmd=$lt_file_magic_cmd
17267 AR_FLAGS=$lt_AR_FLAGS
17269 # A symbol stripping program.
17272 # Commands used to install an old-style archive.
17274 old_postinstall_cmds=$lt_old_postinstall_cmds
17275 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17280 # LTCC compiler flags.
17281 LTCFLAGS=$lt_CFLAGS
17283 # Take the output of nm and produce a listing of raw symbols and C names.
17284 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17286 # Transform the output of nm in a proper C declaration.
17287 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17289 # Transform the output of nm in a C name address pair.
17290 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17292 # Transform the output of nm in a C name address pair when lib prefix is needed.
17293 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17295 # The name of the directory that contains temporary libtool files.
17298 # Shell to use when invoking shell scripts.
17301 # An echo program that does not interpret backslashes.
17304 # Used to examine libraries when file_magic_cmd begins with "file".
17305 MAGIC_CMD=$MAGIC_CMD
17307 # Must we lock files when doing compilation?
17308 need_locks=$lt_need_locks
17310 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17311 DSYMUTIL=$lt_DSYMUTIL
17313 # Tool to change global to local symbols on Mac OS X.
17316 # Tool to manipulate fat objects and archives on Mac OS X.
17319 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17322 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17323 OTOOL64=$lt_OTOOL64
17325 # Old archive suffix (normally "a").
17328 # Shared library suffix (normally ".so").
17329 shrext_cmds=$lt_shrext_cmds
17331 # The commands to extract the exported symbol list from a shared archive.
17332 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17334 # Variables whose values should be saved in libtool wrapper scripts and
17335 # restored at link time.
17336 variables_saved_for_relink=$lt_variables_saved_for_relink
17338 # Do we need the "lib" prefix for modules?
17339 need_lib_prefix=$need_lib_prefix
17341 # Do we need a version for libraries?
17342 need_version=$need_version
17344 # Library versioning type.
17345 version_type=$version_type
17347 # Shared library runtime path variable.
17348 runpath_var=$runpath_var
17350 # Shared library path variable.
17351 shlibpath_var=$shlibpath_var
17353 # Is shlibpath searched before the hard-coded library search path?
17354 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17356 # Format of library name prefix.
17357 libname_spec=$lt_libname_spec
17359 # List of archive names. First name is the real one, the rest are links.
17360 # The last name is the one that the linker finds with -lNAME
17361 library_names_spec=$lt_library_names_spec
17363 # The coded name of the library, if different from the real name.
17364 soname_spec=$lt_soname_spec
17366 # Command to use after installation of a shared archive.
17367 postinstall_cmds=$lt_postinstall_cmds
17369 # Command to use after uninstallation of a shared archive.
17370 postuninstall_cmds=$lt_postuninstall_cmds
17372 # Commands used to finish a libtool library installation in a directory.
17373 finish_cmds=$lt_finish_cmds
17375 # As "finish_cmds", except a single script fragment to be evaled but
17377 finish_eval=$lt_finish_eval
17379 # Whether we should hardcode library paths into libraries.
17380 hardcode_into_libs=$hardcode_into_libs
17382 # Compile-time system search path for libraries.
17383 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17385 # Run-time system search path for libraries.
17386 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17388 # Whether dlopen is supported.
17389 dlopen_support=$enable_dlopen
17391 # Whether dlopen of programs is supported.
17392 dlopen_self=$enable_dlopen_self
17394 # Whether dlopen of statically linked programs is supported.
17395 dlopen_self_static=$enable_dlopen_self_static
17397 # Commands to strip libraries.
17398 old_striplib=$lt_old_striplib
17399 striplib=$lt_striplib
17402 # The linker used to build libraries.
17405 # Commands used to build an old-style archive.
17406 old_archive_cmds=$lt_old_archive_cmds
17408 # A language specific compiler.
17411 # Is the compiler the GNU compiler?
17414 # Compiler flag to turn off builtin functions.
17415 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17417 # How to pass a linker flag through the compiler.
17418 wl=$lt_lt_prog_compiler_wl
17420 # Additional compiler flags for building library objects.
17421 pic_flag=$lt_lt_prog_compiler_pic
17423 # Compiler flag to prevent dynamic linking.
17424 link_static_flag=$lt_lt_prog_compiler_static
17426 # Does compiler simultaneously support -c and -o options?
17427 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17429 # Whether or not to add -lc for building shared libraries.
17430 build_libtool_need_lc=$archive_cmds_need_lc
17432 # Whether or not to disallow shared libs when runtime libs are static.
17433 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17435 # Compiler flag to allow reflexive dlopens.
17436 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17438 # Compiler flag to generate shared objects directly from archives.
17439 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17441 # Whether the compiler copes with passing no objects directly.
17442 compiler_needs_object=$lt_compiler_needs_object
17444 # Create an old-style archive from a shared archive.
17445 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17447 # Create a temporary old-style archive to link instead of a shared archive.
17448 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17450 # Commands used to build a shared archive.
17451 archive_cmds=$lt_archive_cmds
17452 archive_expsym_cmds=$lt_archive_expsym_cmds
17454 # Commands used to build a loadable module if different from building
17455 # a shared archive.
17456 module_cmds=$lt_module_cmds
17457 module_expsym_cmds=$lt_module_expsym_cmds
17459 # Whether we are building with GNU ld or not.
17460 with_gnu_ld=$lt_with_gnu_ld
17462 # Flag that allows shared libraries with undefined symbols to be built.
17463 allow_undefined_flag=$lt_allow_undefined_flag
17465 # Flag that enforces no undefined symbols.
17466 no_undefined_flag=$lt_no_undefined_flag
17468 # Flag to hardcode \$libdir into a binary during linking.
17469 # This must work even if \$libdir does not exist
17470 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17472 # If ld is used when linking, flag to hardcode \$libdir into a binary
17473 # during linking. This must work even if \$libdir does not exist.
17474 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17476 # Whether we need a single "-rpath" flag with a separated argument.
17477 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17479 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17480 # DIR into the resulting binary.
17481 hardcode_direct=$hardcode_direct
17483 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17484 # DIR into the resulting binary and the resulting library dependency is
17485 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17486 # library is relocated.
17487 hardcode_direct_absolute=$hardcode_direct_absolute
17489 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17490 # into the resulting binary.
17491 hardcode_minus_L=$hardcode_minus_L
17493 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17494 # into the resulting binary.
17495 hardcode_shlibpath_var=$hardcode_shlibpath_var
17497 # Set to "yes" if building a shared library automatically hardcodes DIR
17498 # into the library and all subsequent libraries and executables linked
17500 hardcode_automatic=$hardcode_automatic
17502 # Set to yes if linker adds runtime paths of dependent libraries
17503 # to runtime path list.
17504 inherit_rpath=$inherit_rpath
17506 # Whether libtool must link a program against all its dependency libraries.
17507 link_all_deplibs=$link_all_deplibs
17509 # Fix the shell variable \$srcfile for the compiler.
17510 fix_srcfile_path=$lt_fix_srcfile_path
17512 # Set to "yes" if exported symbols are required.
17513 always_export_symbols=$always_export_symbols
17515 # The commands to list exported symbols.
17516 export_symbols_cmds=$lt_export_symbols_cmds
17518 # Symbols that should not be listed in the preloaded symbols.
17519 exclude_expsyms=$lt_exclude_expsyms
17521 # Symbols that must always be exported.
17522 include_expsyms=$lt_include_expsyms
17524 # Commands necessary for linking programs (against libraries) with templates.
17525 prelink_cmds=$lt_prelink_cmds
17527 # Specify filename containing input files.
17528 file_list_spec=$lt_file_list_spec
17530 # How to hardcode a shared library path into an executable.
17531 hardcode_action=$hardcode_action
17533 # ### END LIBTOOL CONFIG
17539 cat <<\_LT_EOF >> "$cfgfile"
17540 # AIX sometimes has problems with the GCC collect2 program. For some
17541 # reason, if we set the COLLECT_NAMES environment variable, the problems
17542 # vanish in a puff of smoke.
17543 if test "X${COLLECT_NAMES+set}" != Xset; then
17545 export COLLECT_NAMES
17552 ltmain="$ac_aux_dir/ltmain.sh"
17555 # We use sed instead of cat because bash on DJGPP gets confused if
17556 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17557 # text mode, it properly converts lines to CR/LF. This bash problem
17558 # is reportedly fixed, but why not run on old versions too?
17559 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17560 || (rm -f "$cfgfile"; exit 1)
17564 cat << \_LT_EOF >> "$cfgfile"
17566 # func_dirname file append nondir_replacement
17567 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17568 # otherwise set result to NONDIR_REPLACEMENT.
17572 */*) func_dirname_result="${1%/*}${2}" ;;
17573 * ) func_dirname_result="${3}" ;;
17577 # func_basename file
17580 func_basename_result="${1##*/}"
17583 # func_dirname_and_basename file append nondir_replacement
17584 # perform func_basename and func_dirname in a single function
17586 # dirname: Compute the dirname of FILE. If nonempty,
17587 # add APPEND to the result, otherwise set result
17588 # to NONDIR_REPLACEMENT.
17589 # value returned in "$func_dirname_result"
17590 # basename: Compute filename of FILE.
17591 # value retuned in "$func_basename_result"
17592 # Implementation must be kept synchronized with func_dirname
17593 # and func_basename. For efficiency, we do not delegate to
17594 # those functions but instead duplicate the functionality here.
17595 func_dirname_and_basename ()
17598 */*) func_dirname_result="${1%/*}${2}" ;;
17599 * ) func_dirname_result="${3}" ;;
17601 func_basename_result="${1##*/}"
17604 # func_stripname prefix suffix name
17605 # strip PREFIX and SUFFIX off of NAME.
17606 # PREFIX and SUFFIX must not contain globbing or regex special
17607 # characters, hashes, percent signs, but SUFFIX may contain a leading
17608 # dot (in which case that matches only a dot).
17611 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17612 # positional parameters, so assign one to ordinary parameter first.
17613 func_stripname_result=${3}
17614 func_stripname_result=${func_stripname_result#"${1}"}
17615 func_stripname_result=${func_stripname_result%"${2}"}
17621 func_opt_split_opt=${1%%=*}
17622 func_opt_split_arg=${1#*=}
17629 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17630 *) func_lo2o_result=${1} ;;
17634 # func_xform libobj-or-source
17637 func_xform_result=${1%.*}.lo
17640 # func_arith arithmetic-term...
17643 func_arith_result=$(( $* ))
17647 # STRING may not start with a hyphen.
17650 func_len_result=${#1}
17655 *) # Bourne compatible functions.
17656 cat << \_LT_EOF >> "$cfgfile"
17658 # func_dirname file append nondir_replacement
17659 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17660 # otherwise set result to NONDIR_REPLACEMENT.
17663 # Extract subdirectory from the argument.
17664 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17665 if test "X$func_dirname_result" = "X${1}"; then
17666 func_dirname_result="${3}"
17668 func_dirname_result="$func_dirname_result${2}"
17672 # func_basename file
17675 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17679 # func_stripname prefix suffix name
17680 # strip PREFIX and SUFFIX off of NAME.
17681 # PREFIX and SUFFIX must not contain globbing or regex special
17682 # characters, hashes, percent signs, but SUFFIX may contain a leading
17683 # dot (in which case that matches only a dot).
17684 # func_strip_suffix prefix name
17688 .*) func_stripname_result=`$ECHO "X${3}" \
17689 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17690 *) func_stripname_result=`$ECHO "X${3}" \
17691 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17696 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17697 my_sed_long_arg='1s/^-[^=]*=//'
17702 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17703 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17709 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17712 # func_xform libobj-or-source
17715 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17718 # func_arith arithmetic-term...
17721 func_arith_result=`expr "$@"`
17725 # STRING may not start with a hyphen.
17728 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17734 case $lt_shell_append in
17736 cat << \_LT_EOF >> "$cfgfile"
17738 # func_append var value
17739 # Append VALUE to the end of shell variable VAR.
17747 cat << \_LT_EOF >> "$cfgfile"
17749 # func_append var value
17750 # Append VALUE to the end of shell variable VAR.
17761 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17762 || (rm -f "$cfgfile"; exit 1)
17764 mv -f "$cfgfile" "$ofile" ||
17765 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17769 "po-directories":C)
17770 for ac_file in $CONFIG_FILES; do
17771 # Support "outfile[:infile[:infile...]]"
17773 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17775 # PO directories have a Makefile.in generated from Makefile.in.in.
17776 case "$ac_file" in */Makefile.in)
17777 # Adjust a relative srcdir.
17778 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17779 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
17780 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17781 # In autoconf-2.13 it is called $ac_given_srcdir.
17782 # In autoconf-2.50 it is called $srcdir.
17783 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17784 case "$ac_given_srcdir" in
17785 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17786 /*) top_srcdir="$ac_given_srcdir" ;;
17787 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
17789 # Treat a directory as a PO directory if and only if it has a
17790 # POTFILES.in file. This allows packages to have multiple PO
17791 # directories under different names or in different locations.
17792 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17793 rm -f "$ac_dir/POTFILES"
17794 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17795 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17796 POMAKEFILEDEPS="POTFILES.in"
17797 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
17798 # on $ac_dir but don't depend on user-specified configuration
17800 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17801 # The LINGUAS file contains the set of available languages.
17802 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17803 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
17805 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17806 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17807 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17808 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17810 # The set of available languages was given in configure.in.
17811 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17812 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17815 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
17816 # Compute UPDATEPOFILES
17817 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
17818 # Compute DUMMYPOFILES
17819 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
17821 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
17822 case "$ac_given_srcdir" in
17824 *) srcdirpre='$(srcdir)/' ;;
17830 for lang in $ALL_LINGUAS; do
17831 POFILES="$POFILES $srcdirpre$lang.po"
17832 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17833 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17834 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17836 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17837 # environment variable.
17839 if test -n "$ALL_LINGUAS"; then
17840 for presentlang in $ALL_LINGUAS; do
17842 if test "%UNSET%" != "$LINGUAS"; then
17843 desiredlanguages="$LINGUAS"
17845 desiredlanguages="$ALL_LINGUAS"
17847 for desiredlang in $desiredlanguages; do
17848 # Use the presentlang catalog if desiredlang is
17849 # a. equal to presentlang, or
17850 # b. a variant of presentlang (because in this case,
17851 # presentlang can be used as a fallback for messages
17852 # which are not translated in the desiredlang catalog).
17853 case "$desiredlang" in
17854 "$presentlang"*) useit=yes;;
17857 if test $useit = yes; then
17858 INST_LINGUAS="$INST_LINGUAS $presentlang"
17863 if test -n "$INST_LINGUAS"; then
17864 for lang in $INST_LINGUAS; do
17865 CATALOGS="$CATALOGS $lang.gmo"
17868 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17869 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"
17870 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17871 if test -f "$f"; then
17873 *.orig | *.bak | *~) ;;
17874 *) cat "$f" >> "$ac_dir/Makefile" ;;
17889 ac_clean_files=$ac_clean_files_save
17891 test $ac_write_fail = 0 ||
17892 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17895 # configure is writing to config.log, and then calls config.status.
17896 # config.status does its own redirection, appending to config.log.
17897 # Unfortunately, on DOS this fails, as config.log is still kept open
17898 # by configure, so config.status won't be able to write to it; its
17899 # output is simply discarded. So we exec the FD to /dev/null,
17900 # effectively closing config.log, so it can be properly (re)opened and
17901 # appended to by config.status. When coming back to configure, we
17902 # need to make the FD available again.
17903 if test "$no_create" != yes; then
17905 ac_config_status_args=
17906 test "$silent" = yes &&
17907 ac_config_status_args="$ac_config_status_args --quiet"
17909 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17911 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17912 # would make configure fail if this is the last instruction.
17913 $ac_cs_success || as_fn_exit 1
17915 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17917 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}