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'
767 PACKAGE_URL='http://www.project-moonshot.org/'
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
1682 MAC_CFLAGS C compiler flags for MAC, overriding pkg-config
1683 MAC_LIBS linker flags for MAC, overriding pkg-config
1685 C compiler flags for GDBUS, overriding pkg-config
1686 GDBUS_LIBS linker flags for GDBUS, 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>.
1700 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1705 if test "$ac_init_help" = "recursive"; then
1706 # If there are subdirs, report their specific --help.
1707 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1708 test -d "$ac_dir" ||
1709 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1714 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1716 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1717 # A ".." for each directory in $ac_dir_suffix.
1718 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1719 case $ac_top_builddir_sub in
1720 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1724 ac_abs_top_builddir=$ac_pwd
1725 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1726 # for backward compatibility:
1727 ac_top_builddir=$ac_top_build_prefix
1730 .) # We are building in place.
1732 ac_top_srcdir=$ac_top_builddir_sub
1733 ac_abs_top_srcdir=$ac_pwd ;;
1734 [\\/]* | ?:[\\/]* ) # Absolute name.
1735 ac_srcdir=$srcdir$ac_dir_suffix;
1736 ac_top_srcdir=$srcdir
1737 ac_abs_top_srcdir=$srcdir ;;
1739 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1740 ac_top_srcdir=$ac_top_build_prefix$srcdir
1741 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1743 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1745 cd "$ac_dir" || { ac_status=$?; continue; }
1746 # Check for guested configure.
1747 if test -f "$ac_srcdir/configure.gnu"; then
1749 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1750 elif test -f "$ac_srcdir/configure"; then
1752 $SHELL "$ac_srcdir/configure" --help=recursive
1754 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1756 cd "$ac_pwd" || { ac_status=$?; break; }
1760 test -n "$ac_init_help" && exit $ac_status
1761 if $ac_init_version; then
1763 Moonshot-ui configure 0.1
1764 generated by GNU Autoconf 2.67
1766 Copyright (C) 2010 Free Software Foundation, Inc.
1767 This configure script is free software; the Free Software Foundation
1768 gives unlimited permission to copy, distribute and modify it.
1773 ## ------------------------ ##
1774 ## Autoconf initialization. ##
1775 ## ------------------------ ##
1777 # ac_fn_c_try_compile LINENO
1778 # --------------------------
1779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1780 ac_fn_c_try_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 rm -f conftest.$ac_objext
1784 if { { ac_try="$ac_compile"
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_compile") 2>conftest.err
1793 if test -s conftest.err; then
1794 grep -v '^ *+' conftest.err >conftest.er1
1795 cat conftest.er1 >&5
1796 mv -f conftest.er1 conftest.err
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && {
1800 test -z "$ac_c_werror_flag" ||
1801 test ! -s conftest.err
1802 } && test -s conftest.$ac_objext; then :
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811 as_fn_set_status $ac_retval
1813 } # ac_fn_c_try_compile
1815 # ac_fn_c_try_link LINENO
1816 # -----------------------
1817 # Try to link conftest.$ac_ext, and return whether this succeeded.
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext conftest$ac_exeext
1822 if { { ac_try="$ac_link"
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_link") 2>conftest.err
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest$ac_exeext && {
1841 test "$cross_compiling" = yes ||
1842 $as_test_x conftest$ac_exeext
1846 $as_echo "$as_me: failed program was:" >&5
1847 sed 's/^/| /' conftest.$ac_ext >&5
1851 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1852 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1853 # interfere with the next link command; also delete a directory that is
1854 # left behind by Apple's compiler. We do this before executing the actions.
1855 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1857 as_fn_set_status $ac_retval
1859 } # ac_fn_c_try_link
1861 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1862 # -------------------------------------------------------
1863 # Tests whether HEADER exists and can be compiled using the include files in
1864 # INCLUDES, setting the cache variable VAR accordingly.
1865 ac_fn_c_check_header_compile ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval "test \"\${$3+set}\"" = set; then :
1871 $as_echo_n "(cached) " >&6
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1878 if ac_fn_c_try_compile "$LINENO"; then :
1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890 } # ac_fn_c_check_header_compile
1892 # ac_fn_c_try_cpp LINENO
1893 # ----------------------
1894 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 if { { ac_try="$ac_cpp conftest.$ac_ext"
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1907 if test -s conftest.err; then
1908 grep -v '^ *+' conftest.err >conftest.er1
1909 cat conftest.er1 >&5
1910 mv -f conftest.er1 conftest.err
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } > conftest.i && {
1914 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1915 test ! -s conftest.err
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1924 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1925 as_fn_set_status $ac_retval
1929 # ac_fn_c_try_run LINENO
1930 # ----------------------
1931 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1932 # that executables *can* be run.
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 if { { ac_try="$ac_link"
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943 (eval "$ac_link") 2>&5
1945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1947 { { case "(($ac_try" in
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_try") 2>&5
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; }; }; then :
1959 $as_echo "$as_me: program exited with status $ac_status" >&5
1960 $as_echo "$as_me: failed program was:" >&5
1961 sed 's/^/| /' conftest.$ac_ext >&5
1963 ac_retval=$ac_status
1965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967 as_fn_set_status $ac_retval
1971 # ac_fn_c_check_func LINENO FUNC VAR
1972 # ----------------------------------
1973 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1974 ac_fn_c_check_func ()
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978 $as_echo_n "checking for $2... " >&6; }
1979 if eval "test \"\${$3+set}\"" = set; then :
1980 $as_echo_n "(cached) " >&6
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1984 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1986 #define $2 innocuous_$2
1988 /* System header to define __stub macros and hopefully few prototypes,
1989 which can conflict with char $2 (); below.
1990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1991 <limits.h> exists even on freestanding compilers. */
1994 # include <limits.h>
1996 # include <assert.h>
2001 /* Override any GCC internal prototype to avoid an error.
2002 Use char because int might match the return type of a GCC
2003 builtin and then its argument prototype would still apply. */
2008 /* The GNU C library defines this for functions which it implements
2009 to always fail with ENOSYS. Some functions are actually named
2010 something starting with __ and the normal name is an alias. */
2011 #if defined __stub_$2 || defined __stub___$2
2023 if ac_fn_c_try_link "$LINENO"; then :
2028 rm -f core conftest.err conftest.$ac_objext \
2029 conftest$ac_exeext conftest.$ac_ext
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033 $as_echo "$ac_res" >&6; }
2034 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2036 } # ac_fn_c_check_func
2037 cat >config.log <<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2041 It was created by Moonshot-ui $as_me 0.1, which was
2042 generated by GNU Autoconf 2.67. Invocation command line was
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir=.
2078 $as_echo "PATH: $as_dir"
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_must_keep_next=false
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2113 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2118 as_fn_append ac_configure_args1 " '$ac_arg'"
2119 if test $ac_must_keep_next = true; then
2120 ac_must_keep_next=false # Got value, back to normal.
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 -* ) ac_must_keep_next=true ;;
2134 as_fn_append ac_configure_args " '$ac_arg'"
2139 { ac_configure_args0=; unset ac_configure_args0;}
2140 { ac_configure_args1=; unset ac_configure_args1;}
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2152 $as_echo "## ---------------- ##
2153 ## Cache variables. ##
2154 ## ---------------- ##"
2156 # The following way of writing the cache mishandles newlines in values,
2158 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2159 eval ac_val=\$$ac_var
2163 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2164 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2167 _ | IFS | as_nl) ;; #(
2168 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2169 *) { eval $ac_var=; unset $ac_var;} ;;
2174 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2175 *${as_nl}ac_space=\ *)
2177 "s/'\''/'\''\\\\'\'''\''/g;
2178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2188 $as_echo "## ----------------- ##
2189 ## Output variables. ##
2190 ## ----------------- ##"
2192 for ac_var in $ac_subst_vars
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 $as_echo "$ac_var='\''$ac_val'\''"
2202 if test -n "$ac_subst_files"; then
2203 $as_echo "## ------------------- ##
2204 ## File substitutions. ##
2205 ## ------------------- ##"
2207 for ac_var in $ac_subst_files
2209 eval ac_val=\$$ac_var
2211 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2213 $as_echo "$ac_var='\''$ac_val'\''"
2218 if test -s confdefs.h; then
2219 $as_echo "## ----------- ##
2226 test "$ac_signal" != 0 &&
2227 $as_echo "$as_me: caught signal $ac_signal"
2228 $as_echo "$as_me: exit $exit_status"
2230 rm -f core *.core core.conftest.* &&
2231 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2234 for ac_signal in 1 2 13 15; do
2235 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2240 rm -f -r conftest* confdefs.h
2242 $as_echo "/* confdefs.h */" > confdefs.h
2244 # Predefined preprocessor variables.
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_NAME "$PACKAGE_NAME"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_URL "$PACKAGE_URL"
2271 # Let the site file select an alternate cache file if it wants to.
2272 # Prefer an explicitly selected file to automatically selected ones.
2275 if test -n "$CONFIG_SITE"; then
2276 # We do not want a PATH search for config.site.
2277 case $CONFIG_SITE in #((
2278 -*) ac_site_file1=./$CONFIG_SITE;;
2279 */*) ac_site_file1=$CONFIG_SITE;;
2280 *) ac_site_file1=./$CONFIG_SITE;;
2282 elif test "x$prefix" != xNONE; then
2283 ac_site_file1=$prefix/share/config.site
2284 ac_site_file2=$prefix/etc/config.site
2286 ac_site_file1=$ac_default_prefix/share/config.site
2287 ac_site_file2=$ac_default_prefix/etc/config.site
2289 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2291 test "x$ac_site_file" = xNONE && continue
2292 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2294 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2295 sed 's/^/| /' "$ac_site_file" >&5
2297 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299 as_fn_error $? "failed to load site script $ac_site_file
2300 See \`config.log' for more details" "$LINENO" 5 ; }
2304 if test -r "$cache_file"; then
2305 # Some versions of bash will fail to source /dev/null (special files
2306 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2307 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2309 $as_echo "$as_me: loading cache $cache_file" >&6;}
2311 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2312 *) . "./$cache_file";;
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2317 $as_echo "$as_me: creating cache $cache_file" >&6;}
2321 gt_needs="$gt_needs "
2322 # Check that the precious variables saved in the cache have kept the same
2324 ac_cache_corrupted=false
2325 for ac_var in $ac_precious_vars; do
2326 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2327 eval ac_new_set=\$ac_env_${ac_var}_set
2328 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2329 eval ac_new_val=\$ac_env_${ac_var}_value
2330 case $ac_old_set,$ac_new_set in
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2333 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2334 ac_cache_corrupted=: ;;
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2337 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2338 ac_cache_corrupted=: ;;
2341 if test "x$ac_old_val" != "x$ac_new_val"; then
2342 # differences in whitespace do not lead to failure.
2343 ac_old_val_w=`echo x $ac_old_val`
2344 ac_new_val_w=`echo x $ac_new_val`
2345 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2347 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2348 ac_cache_corrupted=:
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2351 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2352 eval $ac_var=\$ac_old_val
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2355 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2357 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2360 # Pass precious variables to config.status.
2361 if test "$ac_new_set" = set; then
2363 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2364 *) ac_arg=$ac_var=$ac_new_val ;;
2366 case " $ac_configure_args " in
2367 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2368 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2372 if $ac_cache_corrupted; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2376 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2377 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2379 ## -------------------- ##
2380 ## Main body of script. ##
2381 ## -------------------- ##
2384 ac_cpp='$CPP $CPPFLAGS'
2385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2391 # Remove this when we can depend on autoconf >= 2.64
2392 PACKAGE_URL=http://www.project-moonshot.org/
2395 ac_config_headers="$ac_config_headers config.h"
2400 for ac_dir in build-aux "$srcdir"/build-aux; do
2401 if test -f "$ac_dir/install-sh"; then
2403 ac_install_sh="$ac_aux_dir/install-sh -c"
2405 elif test -f "$ac_dir/install.sh"; then
2407 ac_install_sh="$ac_aux_dir/install.sh -c"
2409 elif test -f "$ac_dir/shtool"; then
2411 ac_install_sh="$ac_aux_dir/shtool install -c"
2415 if test -z "$ac_aux_dir"; then
2416 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2429 am__api_version='1.11'
2431 # Find a good install program. We prefer a C program (faster),
2432 # so one script is as good as another. But avoid the broken or
2433 # incompatible versions:
2434 # SysV /etc/install, /usr/sbin/install
2435 # SunOS /usr/etc/install
2436 # IRIX /sbin/install
2438 # AmigaOS /C/install, which installs bootblocks on floppy discs
2439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442 # OS/2's system install, which has a completely different semantic
2443 # ./install, which can be erroneously created by make from ./install.sh.
2444 # Reject install programs that cannot install multiple files.
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2447 if test -z "$INSTALL"; then
2448 if test "${ac_cv_path_install+set}" = set; then :
2449 $as_echo_n "(cached) " >&6
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir=.
2456 # Account for people who put trailing slashes in PATH elements.
2457 case $as_dir/ in #((
2458 ./ | .// | /[cC]/* | \
2459 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2460 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2463 # OSF1 and SCO ODT 3.0 have their own names for install.
2464 # Don't use installbsd from OSF since it installs stuff as root
2466 for ac_prog in ginstall scoinst install; do
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469 if test $ac_prog = install &&
2470 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2471 # AIX install. It has an incompatible calling convention.
2473 elif test $ac_prog = install &&
2474 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2475 # program-specific install script used by HP pwplus--don't use.
2478 rm -rf conftest.one conftest.two conftest.dir
2479 echo one > conftest.one
2480 echo two > conftest.two
2482 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2483 test -s conftest.one && test -s conftest.two &&
2484 test -s conftest.dir/conftest.one &&
2485 test -s conftest.dir/conftest.two
2487 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2500 rm -rf conftest.one conftest.two conftest.dir
2503 if test "${ac_cv_path_install+set}" = set; then
2504 INSTALL=$ac_cv_path_install
2506 # As a last resort, use the slow shell script. Don't cache a
2507 # value for INSTALL within a source directory, because that will
2508 # break other packages using the cache if that directory is
2509 # removed, or if the value is a relative name.
2510 INSTALL=$ac_install_sh
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514 $as_echo "$INSTALL" >&6; }
2516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517 # It thinks the first close brace ends the variable substitution.
2518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2522 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2525 $as_echo_n "checking whether build environment is sane... " >&6; }
2528 echo timestamp > conftest.file
2529 # Reject unsafe characters in $srcdir or the absolute working directory
2530 # name. Accept space and tab only in the latter.
2534 *[\\\"\#\$\&\'\`$am_lf]*)
2535 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2538 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2539 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2542 # Do `set' in a subshell so we don't clobber the current shell's
2543 # arguments. Must try -L first in case configure is actually a
2544 # symlink; some systems play weird games with the mod time of symlinks
2545 # (eg FreeBSD returns the mod time of the symlink's containing
2548 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2549 if test "$*" = "X"; then
2551 set X `ls -t "$srcdir/configure" conftest.file`
2554 if test "$*" != "X $srcdir/configure conftest.file" \
2555 && test "$*" != "X conftest.file $srcdir/configure"; then
2557 # If neither matched, then we have a broken ls. This can happen
2558 # if, for instance, CONFIG_SHELL is bash and it inherits a
2559 # broken ls alias from the environment. This has actually
2560 # happened. Such a system could not be considered "sane".
2561 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2562 alias in your environment" "$LINENO" 5
2565 test "$2" = conftest.file
2571 as_fn_error $? "newly created file is older than distributed files!
2572 Check your system clock" "$LINENO" 5
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575 $as_echo "yes" >&6; }
2576 test "$program_prefix" != NONE &&
2577 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2578 # Use a double $ so make ignores it.
2579 test "$program_suffix" != NONE &&
2580 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2581 # Double any \ or $.
2582 # By default was `s,x,x', remove it if useless.
2583 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2584 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2586 # expand $ac_aux_dir to an absolute path
2587 am_aux_dir=`cd $ac_aux_dir && pwd`
2589 if test x"${MISSING+set}" != xset; then
2592 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2594 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2597 # Use eval to expand $SHELL
2598 if eval "$MISSING --run true"; then
2599 am_missing_run="$MISSING --run "
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2603 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2606 if test x"${install_sh}" != xset; then
2609 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2611 install_sh="\${SHELL} $am_aux_dir/install-sh"
2615 # Installed binaries are usually stripped using `strip' when the user
2616 # run `make install-strip'. However `strip' might not be the right
2617 # tool to use in cross-compilation environments, therefore Automake
2618 # will honor the `STRIP' environment variable to overrule this program.
2619 if test "$cross_compiling" != no; then
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2622 set dummy ${ac_tool_prefix}strip; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if test "${ac_cv_prog_STRIP+set}" = set; then :
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$STRIP"; then
2629 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 STRIP=$ac_cv_prog_STRIP
2649 if test -n "$STRIP"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2651 $as_echo "$STRIP" >&6; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2659 if test -z "$ac_cv_prog_STRIP"; then
2661 # Extract the first word of "strip", so it can be a program name with args.
2662 set dummy strip; ac_word=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$ac_ct_STRIP"; then
2669 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 ac_cv_prog_ac_ct_STRIP="strip"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2689 if test -n "$ac_ct_STRIP"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2691 $as_echo "$ac_ct_STRIP" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2697 if test "x$ac_ct_STRIP" = x; then
2700 case $cross_compiling:$ac_tool_warned in
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704 ac_tool_warned=yes ;;
2709 STRIP="$ac_cv_prog_STRIP"
2713 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2716 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2717 if test -z "$MKDIR_P"; then
2718 if test "${ac_cv_path_mkdir+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2725 test -z "$as_dir" && as_dir=.
2726 for ac_prog in mkdir gmkdir; do
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2729 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2730 'mkdir (GNU coreutils) '* | \
2731 'mkdir (coreutils) '* | \
2732 'mkdir (fileutils) '4.1*)
2733 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2743 test -d ./--version && rmdir ./--version
2744 if test "${ac_cv_path_mkdir+set}" = set; then
2745 MKDIR_P="$ac_cv_path_mkdir -p"
2747 # As a last resort, use the slow shell script. Don't cache a
2748 # value for MKDIR_P within a source directory, because that will
2749 # break other packages using the cache if that directory is
2750 # removed, or if the value is a relative name.
2751 MKDIR_P="$ac_install_sh -d"
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2755 $as_echo "$MKDIR_P" >&6; }
2759 [\\/$]* | ?:[\\/]*) ;;
2760 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2763 for ac_prog in gawk mawk nawk awk
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_AWK+set}" = set; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$AWK"; then
2773 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_AWK="$ac_prog"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 if test -n "$AWK"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795 $as_echo "$AWK" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2802 test -n "$AWK" && break
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2808 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2809 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 cat >conftest.make <<\_ACEOF
2815 @echo '@@@%%%=$(MAKE)=@@@%%%'
2817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2820 eval ac_cv_prog_make_${ac_make}_set=yes;;
2822 eval ac_cv_prog_make_${ac_make}_set=no;;
2826 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828 $as_echo "yes" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2833 SET_MAKE="MAKE=${MAKE-make}"
2836 rm -rf .tst 2>/dev/null
2837 mkdir .tst 2>/dev/null
2838 if test -d .tst; then
2843 rmdir .tst 2>/dev/null
2845 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2846 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2847 # is not polluted with repeated "-I."
2848 am__isrc=' -I$(srcdir)'
2849 # test to see if srcdir already configured
2850 if test -f $srcdir/config.status; then
2851 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2855 # test whether we have cygpath
2856 if test -z "$CYGPATH_W"; then
2857 if (cygpath --version) >/dev/null 2>/dev/null; then
2858 CYGPATH_W='cygpath -w'
2865 # Define the identity of the package.
2866 PACKAGE='moonshot-ui'
2870 cat >>confdefs.h <<_ACEOF
2871 #define PACKAGE "$PACKAGE"
2875 cat >>confdefs.h <<_ACEOF
2876 #define VERSION "$VERSION"
2879 # Some tools Automake needs.
2881 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2884 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2887 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2890 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2893 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2895 # We need awk for the "check" target. The system "awk" is bad on
2897 # Always define AMTAR for backward compatibility.
2899 AMTAR=${AMTAR-"${am_missing_run}tar"}
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2903 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2904 # Loop over all known methods to create a tar archive until one works.
2905 _am_tools='gnutar pax cpio none'
2906 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2907 # Do not fold the above two line into one, because Tru64 sh and
2908 # Solaris sh will not grok spaces in the rhs of `-'.
2909 for _am_tool in $_am_tools
2913 for _am_tar in tar gnutar gtar;
2915 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2916 ($_am_tar --version) >&5 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } && break
2921 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2922 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2923 am__untar="$_am_tar -xf -"
2926 # Must skip GNU tar: if it does not support --format= it doesn't create
2927 # ustar tarball either.
2928 (tar --version) >/dev/null 2>&1 && continue
2929 am__tar='tar chf - "$$tardir"'
2930 am__tar_='tar chf - "$tardir"'
2931 am__untar='tar xf -'
2934 am__tar='pax -L -x pax -w "$$tardir"'
2935 am__tar_='pax -L -x pax -w "$tardir"'
2939 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2940 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2941 am__untar='cpio -i -H pax -d'
2950 # If the value was cached, stop now. We just wanted to have am__tar
2951 # and am__untar set.
2952 test -n "${am_cv_prog_tar_pax}" && break
2954 # tar/untar a dummy directory, and stop if the command works
2957 echo GrepMe > conftest.dir/file
2958 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2959 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }
2964 if test -s conftest.tar; then
2965 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2966 ($am__untar <conftest.tar) >&5 2>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }
2970 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2975 if test "${am_cv_prog_tar_pax+set}" = set; then :
2976 $as_echo_n "(cached) " >&6
2978 am_cv_prog_tar_pax=$_am_tool
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2982 $as_echo "$am_cv_prog_tar_pax" >&6; }
2988 # Check whether --enable-silent-rules was given.
2989 if test "${enable_silent_rules+set}" = set; then :
2990 enableval=$enable_silent_rules;
2993 case $enable_silent_rules in
2994 yes) AM_DEFAULT_VERBOSITY=0;;
2995 no) AM_DEFAULT_VERBOSITY=1;;
2996 *) AM_DEFAULT_VERBOSITY=0;;
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
3002 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
3003 # Check whether --enable-maintainer-mode was given.
3004 if test "${enable_maintainer_mode+set}" = set; then :
3005 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3007 USE_MAINTAINER_MODE=yes
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3011 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3012 if test $USE_MAINTAINER_MODE = yes; then
3013 MAINTAINER_MODE_TRUE=
3014 MAINTAINER_MODE_FALSE='#'
3016 MAINTAINER_MODE_TRUE='#'
3017 MAINTAINER_MODE_FALSE=
3020 MAINT=$MAINTAINER_MODE_TRUE
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3028 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3033 macro_version='2.2.6b'
3034 macro_revision='1.3017'
3048 ltmain="$ac_aux_dir/ltmain.sh"
3050 # Make sure we can run config.sub.
3051 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3052 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3055 $as_echo_n "checking build system type... " >&6; }
3056 if test "${ac_cv_build+set}" = set; then :
3057 $as_echo_n "(cached) " >&6
3059 ac_build_alias=$build_alias
3060 test "x$ac_build_alias" = x &&
3061 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3062 test "x$ac_build_alias" = x &&
3063 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3064 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3065 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3069 $as_echo "$ac_cv_build" >&6; }
3070 case $ac_cv_build in
3072 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3075 ac_save_IFS=$IFS; IFS='-'
3081 # Remember, the first character of IFS is used to create $*,
3082 # except with old shells:
3085 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3089 $as_echo_n "checking host system type... " >&6; }
3090 if test "${ac_cv_host+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if test "x$host_alias" = x; then
3094 ac_cv_host=$ac_cv_build
3096 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3097 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3102 $as_echo "$ac_cv_host" >&6; }
3105 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3108 ac_save_IFS=$IFS; IFS='-'
3114 # Remember, the first character of IFS is used to create $*,
3115 # except with old shells:
3118 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3121 DEPDIR="${am__leading_dot}deps"
3123 ac_config_commands="$ac_config_commands depfiles"
3126 am_make=${MAKE-make}
3127 cat > confinc << 'END'
3129 @echo this is the am__doit target
3132 # If we don't find an include directive, just comment out the code.
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3134 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3138 # First try GNU make style include.
3139 echo "include confinc" > confmf
3140 # Ignore all kinds of additional output from `make'.
3141 case `$am_make -s -f confmf 2> /dev/null` in #(
3142 *the\ am__doit\ target*)
3148 # Now try BSD make style include.
3149 if test "$am__include" = "#"; then
3150 echo '.include "confinc"' > confmf
3151 case `$am_make -s -f confmf 2> /dev/null` in #(
3152 *the\ am__doit\ target*)
3153 am__include=.include
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3162 $as_echo "$_am_result" >&6; }
3163 rm -f confinc confmf
3165 # Check whether --enable-dependency-tracking was given.
3166 if test "${enable_dependency_tracking+set}" = set; then :
3167 enableval=$enable_dependency_tracking;
3170 if test "x$enable_dependency_tracking" != xno; then
3171 am_depcomp="$ac_aux_dir/depcomp"
3174 if test "x$enable_dependency_tracking" != xno; then
3184 ac_cpp='$CPP $CPPFLAGS'
3185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188 if test -n "$ac_tool_prefix"; then
3189 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3190 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if test "${ac_cv_prog_CC+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 if test -n "$CC"; then
3197 ac_cv_prog_CC="$CC" # Let the user override the test.
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 if test -n "$CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3219 $as_echo "$CC" >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3227 if test -z "$ac_cv_prog_CC"; then
3229 # Extract the first word of "gcc", so it can be a program name with args.
3230 set dummy gcc; ac_word=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3234 $as_echo_n "(cached) " >&6
3236 if test -n "$ac_ct_CC"; then
3237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3246 ac_cv_prog_ac_ct_CC="gcc"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3257 if test -n "$ac_ct_CC"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3259 $as_echo "$ac_ct_CC" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3265 if test "x$ac_ct_CC" = x; then
3268 case $cross_compiling:$ac_tool_warned in
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3272 ac_tool_warned=yes ;;
3280 if test -z "$CC"; then
3281 if test -n "$ac_tool_prefix"; then
3282 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3283 set dummy ${ac_tool_prefix}cc; ac_word=$2
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285 $as_echo_n "checking for $ac_word... " >&6; }
3286 if test "${ac_cv_prog_CC+set}" = set; then :
3287 $as_echo_n "(cached) " >&6
3289 if test -n "$CC"; then
3290 ac_cv_prog_CC="$CC" # Let the user override the test.
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299 ac_cv_prog_CC="${ac_tool_prefix}cc"
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 if test -n "$CC"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3312 $as_echo "$CC" >&6; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315 $as_echo "no" >&6; }
3321 if test -z "$CC"; then
3322 # Extract the first word of "cc", so it can be a program name with args.
3323 set dummy cc; ac_word=$2
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3325 $as_echo_n "checking for $ac_word... " >&6; }
3326 if test "${ac_cv_prog_CC+set}" = set; then :
3327 $as_echo_n "(cached) " >&6
3329 if test -n "$CC"; then
3330 ac_cv_prog_CC="$CC" # Let the user override the test.
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3341 ac_prog_rejected=yes
3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 if test $ac_prog_rejected = yes; then
3353 # We found a bogon in the path, so make sure we never use it.
3354 set dummy $ac_cv_prog_CC
3356 if test $# != 0; then
3357 # We chose a different compiler from the bogus one.
3358 # However, it has the same basename, so the bogon will be chosen
3359 # first if we set CC to just the basename; use the full file name.
3361 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3367 if test -n "$CC"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3369 $as_echo "$CC" >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3377 if test -z "$CC"; then
3378 if test -n "$ac_tool_prefix"; then
3379 for ac_prog in cl.exe
3381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_CC+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3388 if test -n "$CC"; then
3389 ac_cv_prog_CC="$CC" # Let the user override the test.
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 if test -n "$CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3411 $as_echo "$CC" >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3418 test -n "$CC" && break
3421 if test -z "$CC"; then
3423 for ac_prog in cl.exe
3425 # Extract the first word of "$ac_prog", so it can be a program name with args.
3426 set dummy $ac_prog; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3430 $as_echo_n "(cached) " >&6
3432 if test -n "$ac_ct_CC"; then
3433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3442 ac_cv_prog_ac_ct_CC="$ac_prog"
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3453 if test -n "$ac_ct_CC"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3455 $as_echo "$ac_ct_CC" >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3462 test -n "$ac_ct_CC" && break
3465 if test "x$ac_ct_CC" = x; then
3468 case $cross_compiling:$ac_tool_warned in
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3472 ac_tool_warned=yes ;;
3481 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $? "no acceptable C compiler found in \$PATH
3484 See \`config.log' for more details" "$LINENO" 5 ; }
3486 # Provide some information about the compiler.
3487 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3490 for ac_option in --version -v -V -qversion; do
3491 { { ac_try="$ac_compiler $ac_option >&5"
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3500 if test -s conftest.err; then
3502 ... rest of stderr output deleted ...
3503 10q' conftest.err >conftest.er1
3504 cat conftest.er1 >&5
3506 rm -f conftest.er1 conftest.err
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 ac_clean_files_save=$ac_clean_files
3523 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3524 # Try to create an executable without -o first, disregard a.out.
3525 # It will help us diagnose broken compilers, and finding out an intuition
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3528 $as_echo_n "checking whether the C compiler works... " >&6; }
3529 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3531 # The possible output files:
3532 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3535 for ac_file in $ac_files
3538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3539 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3544 if { { ac_try="$ac_link_default"
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547 *) ac_try_echo=$ac_try;;
3549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3550 $as_echo "$ac_try_echo"; } >&5
3551 (eval "$ac_link_default") 2>&5
3553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3554 test $ac_status = 0; }; then :
3555 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3556 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3557 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3558 # so that the user can short-circuit this test for compilers unknown to
3560 for ac_file in $ac_files ''
3562 test -f "$ac_file" || continue
3564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3567 # We found the default executable, but exeext='' is most
3571 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3573 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3575 # We set ac_cv_exeext here because the later test for it is not
3576 # safe: cross compilers may not add the suffix if given an `-o'
3577 # argument, so we may need to know it at that point already.
3578 # Even if this section looks crufty: it has the advantage of
3585 test "$ac_cv_exeext" = no && ac_cv_exeext=
3590 if test -z "$ac_file"; then :
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3593 $as_echo "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.$ac_ext >&5
3596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598 as_fn_error 77 "C compiler cannot create executables
3599 See \`config.log' for more details" "$LINENO" 5 ; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3602 $as_echo "yes" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3605 $as_echo_n "checking for C compiler default output file name... " >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3607 $as_echo "$ac_file" >&6; }
3608 ac_exeext=$ac_cv_exeext
3610 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3611 ac_clean_files=$ac_clean_files_save
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3613 $as_echo_n "checking for suffix of executables... " >&6; }
3614 if { { ac_try="$ac_link"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; then :
3625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3627 # work properly (i.e., refer to `conftest.exe'), while it won't with
3629 for ac_file in conftest.exe conftest conftest.*; do
3630 test -f "$ac_file" || continue
3632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3633 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3642 See \`config.log' for more details" "$LINENO" 5 ; }
3644 rm -f conftest conftest$ac_cv_exeext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3646 $as_echo "$ac_cv_exeext" >&6; }
3648 rm -f conftest.$ac_ext
3649 EXEEXT=$ac_cv_exeext
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3657 FILE *f = fopen ("conftest.out", "w");
3658 return ferror (f) || fclose (f) != 0;
3664 ac_clean_files="$ac_clean_files conftest.out"
3665 # Check that the compiler produces executables we can run. If not, either
3666 # the compiler is broken, or we cross compile.
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3668 $as_echo_n "checking whether we are cross compiling... " >&6; }
3669 if test "$cross_compiling" != yes; then
3670 { { ac_try="$ac_link"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3676 $as_echo "$ac_try_echo"; } >&5
3677 (eval "$ac_link") 2>&5
3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680 test $ac_status = 0; }
3681 if { ac_try='./conftest$ac_cv_exeext'
3682 { { case "(($ac_try" in
3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3684 *) ac_try_echo=$ac_try;;
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688 (eval "$ac_try") 2>&5
3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }; }; then
3694 if test "$cross_compiling" = maybe; then
3697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3699 as_fn_error $? "cannot run C compiled programs.
3700 If you meant to cross compile, use \`--host'.
3701 See \`config.log' for more details" "$LINENO" 5 ; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3706 $as_echo "$cross_compiling" >&6; }
3708 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3709 ac_clean_files=$ac_clean_files_save
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3711 $as_echo_n "checking for suffix of object files... " >&6; }
3712 if test "${ac_cv_objext+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3726 rm -f conftest.o conftest.obj
3727 if { { ac_try="$ac_compile"
3729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3730 *) ac_try_echo=$ac_try;;
3732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3733 $as_echo "$ac_try_echo"; } >&5
3734 (eval "$ac_compile") 2>&5
3736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3737 test $ac_status = 0; }; then :
3738 for ac_file in conftest.o conftest.obj conftest.*; do
3739 test -f "$ac_file" || continue;
3741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3742 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3747 $as_echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3752 as_fn_error $? "cannot compute suffix of object files: cannot compile
3753 See \`config.log' for more details" "$LINENO" 5 ; }
3755 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3758 $as_echo "$ac_cv_objext" >&6; }
3759 OBJEXT=$ac_cv_objext
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3762 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3763 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3764 $as_echo_n "(cached) " >&6
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3780 if ac_fn_c_try_compile "$LINENO"; then :
3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3786 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3790 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3791 if test $ac_compiler_gnu = yes; then
3796 ac_test_CFLAGS=${CFLAGS+set}
3797 ac_save_CFLAGS=$CFLAGS
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3799 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3800 if test "${ac_cv_prog_cc_g+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 ac_save_c_werror_flag=$ac_c_werror_flag
3804 ac_c_werror_flag=yes
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3818 if ac_fn_c_try_compile "$LINENO"; then :
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3833 if ac_fn_c_try_compile "$LINENO"; then :
3836 ac_c_werror_flag=$ac_save_c_werror_flag
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3849 if ac_fn_c_try_compile "$LINENO"; then :
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857 ac_c_werror_flag=$ac_save_c_werror_flag
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3860 $as_echo "$ac_cv_prog_cc_g" >&6; }
3861 if test "$ac_test_CFLAGS" = set; then
3862 CFLAGS=$ac_save_CFLAGS
3863 elif test $ac_cv_prog_cc_g = yes; then
3864 if test "$GCC" = yes; then
3870 if test "$GCC" = yes; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3877 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3878 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 ac_cv_prog_cc_c89=no
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3887 #include <sys/types.h>
3888 #include <sys/stat.h>
3889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3890 struct buf { int x; };
3891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3892 static char *e (p, i)
3898 static char *f (char * (*g) (char **, int), char **p, ...)
3903 s = g (p, va_arg (v,int));
3908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3909 function prototypes and stuff, but not '\xHH' hex character constants.
3910 These don't provoke an error unfortunately, instead are silently treated
3911 as 'x'. The following induces an error, until -std is added to get
3912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3913 array size at least. It's necessary to write '\x00'==0 to get something
3914 that's true only with -std. */
3915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3917 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3918 inside strings and character constants. */
3920 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3922 int test (int i, double x);
3923 struct s1 {int (*f) (int a);};
3924 struct s2 {int (*f) (double a);};
3925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3931 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3936 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3937 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3939 CC="$ac_save_CC $ac_arg"
3940 if ac_fn_c_try_compile "$LINENO"; then :
3941 ac_cv_prog_cc_c89=$ac_arg
3943 rm -f core conftest.err conftest.$ac_objext
3944 test "x$ac_cv_prog_cc_c89" != "xno" && break
3946 rm -f conftest.$ac_ext
3951 case "x$ac_cv_prog_cc_c89" in
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3954 $as_echo "none needed" >&6; } ;;
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3957 $as_echo "unsupported" >&6; } ;;
3959 CC="$CC $ac_cv_prog_cc_c89"
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3961 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3963 if test "x$ac_cv_prog_cc_c89" != xno; then :
3968 ac_cpp='$CPP $CPPFLAGS'
3969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3973 depcc="$CC" am_compiler_list=
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3976 $as_echo_n "checking dependency style of $depcc... " >&6; }
3977 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3981 # We make a subdir and do the tests there. Otherwise we can end up
3982 # making bogus files that we don't know about and never remove. For
3983 # instance it was reported that on HP-UX the gcc test will end up
3984 # making a dummy file named `D' -- because `-MD' means `put the output
3987 # Copy depcomp to subdir because otherwise we won't find it if we're
3988 # using a relative directory.
3989 cp "$am_depcomp" conftest.dir
3991 # We will build objects and dependencies in a subdirectory because
3992 # it helps to detect inapplicable dependency modes. For instance
3993 # both Tru64's cc and ICC support -MD to output dependencies as a
3994 # side effect of compilation, but ICC will put the dependencies in
3995 # the current directory while Tru64 will put them in the object
3999 am_cv_CC_dependencies_compiler_type=none
4000 if test "$am_compiler_list" = ""; then
4001 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4004 case " $depcc " in #(
4005 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4008 for depmode in $am_compiler_list; do
4009 # Setup a source with many dependencies, because some compilers
4010 # like to wrap large dependency lists on column 80 (with \), and
4011 # we should not choose a depcomp mode which is confused by this.
4013 # We need to recreate these files for each test, as the compiler may
4014 # overwrite some of them when testing with obscure command lines.
4015 # This happens at least with the AIX C compiler.
4017 for i in 1 2 3 4 5 6; do
4018 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4019 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4020 # Solaris 8's {/usr,}/bin/sh.
4021 touch sub/conftst$i.h
4023 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4025 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4026 # mode. It turns out that the SunPro C++ compiler does not properly
4027 # handle `-M -o', and we need to detect this. Also, some Intel
4028 # versions had trouble with output in subdirs
4029 am__obj=sub/conftest.${OBJEXT-o}
4030 am__minus_obj="-o $am__obj"
4033 # This depmode causes a compiler race in universal mode.
4034 test "$am__universal" = false || continue
4037 # after this tag, mechanisms are not by side-effect, so they'll
4038 # only be used when explicitly requested
4039 if test "x$enable_dependency_tracking" = xyes; then
4045 msvisualcpp | msvcmsys)
4046 # This compiler won't grok `-c -o', but also, the minuso test has
4047 # not run yet. These depmodes are late enough in the game, and
4048 # so weak that their functioning should not be impacted.
4049 am__obj=conftest.${OBJEXT-o}
4054 if depmode=$depmode \
4055 source=sub/conftest.c object=$am__obj \
4056 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4057 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4058 >/dev/null 2>conftest.err &&
4059 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4060 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4061 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4062 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4063 # icc doesn't choke on unknown options, it will just issue warnings
4064 # or remarks (even with -Werror). So we grep stderr for any message
4065 # that says an option was ignored or not supported.
4066 # When given -MP, icc 7.0 and 7.1 complain thusly:
4067 # icc: Command line warning: ignoring option '-M'; no argument required
4068 # The diagnosis changed in icc 8.0:
4069 # icc: Command line remark: option '-MP' not supported
4070 if (grep 'ignoring option' conftest.err ||
4071 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4072 am_cv_CC_dependencies_compiler_type=$depmode
4081 am_cv_CC_dependencies_compiler_type=none
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4086 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4087 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4090 test "x$enable_dependency_tracking" != xno \
4091 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4093 am__fastdepCC_FALSE='#'
4095 am__fastdepCC_TRUE='#'
4096 am__fastdepCC_FALSE=
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4101 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4102 if test "${ac_cv_path_SED+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4106 for ac_i in 1 2 3 4 5 6 7; do
4107 ac_script="$ac_script$as_nl$ac_script"
4109 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4110 { ac_script=; unset ac_script;}
4111 if test -z "$SED"; then
4112 ac_path_SED_found=false
4113 # Loop through the user's path and test for each of PROGNAME-LIST
4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 test -z "$as_dir" && as_dir=.
4119 for ac_prog in sed gsed; do
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4122 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4123 # Check for GNU ac_path_SED and select it if it is found.
4124 # Check for GNU $ac_path_SED
4125 case `"$ac_path_SED" --version 2>&1` in
4127 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4130 $as_echo_n 0123456789 >"conftest.in"
4133 cat "conftest.in" "conftest.in" >"conftest.tmp"
4134 mv "conftest.tmp" "conftest.in"
4135 cp "conftest.in" "conftest.nl"
4136 $as_echo '' >> "conftest.nl"
4137 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4139 as_fn_arith $ac_count + 1 && ac_count=$as_val
4140 if test $ac_count -gt ${ac_path_SED_max-0}; then
4141 # Best one so far, save it but keep looking for a better one
4142 ac_cv_path_SED="$ac_path_SED"
4143 ac_path_SED_max=$ac_count
4145 # 10*(2^10) chars as input seems more than enough
4146 test $ac_count -gt 10 && break
4148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4151 $ac_path_SED_found && break 3
4156 if test -z "$ac_cv_path_SED"; then
4157 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4165 $as_echo "$ac_cv_path_SED" >&6; }
4166 SED="$ac_cv_path_SED"
4169 test -z "$SED" && SED=sed
4170 Xsed="$SED -e 1s/^X//"
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4183 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4184 if test "${ac_cv_path_GREP+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -z "$GREP"; then
4188 ac_path_GREP_found=false
4189 # Loop through the user's path and test for each of PROGNAME-LIST
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4194 test -z "$as_dir" && as_dir=.
4195 for ac_prog in grep ggrep; do
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4198 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4199 # Check for GNU ac_path_GREP and select it if it is found.
4200 # Check for GNU $ac_path_GREP
4201 case `"$ac_path_GREP" --version 2>&1` in
4203 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4206 $as_echo_n 0123456789 >"conftest.in"
4209 cat "conftest.in" "conftest.in" >"conftest.tmp"
4210 mv "conftest.tmp" "conftest.in"
4211 cp "conftest.in" "conftest.nl"
4212 $as_echo 'GREP' >> "conftest.nl"
4213 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4214 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4215 as_fn_arith $ac_count + 1 && ac_count=$as_val
4216 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4217 # Best one so far, save it but keep looking for a better one
4218 ac_cv_path_GREP="$ac_path_GREP"
4219 ac_path_GREP_max=$ac_count
4221 # 10*(2^10) chars as input seems more than enough
4222 test $ac_count -gt 10 && break
4224 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4227 $ac_path_GREP_found && break 3
4232 if test -z "$ac_cv_path_GREP"; then
4233 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4236 ac_cv_path_GREP=$GREP
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4241 $as_echo "$ac_cv_path_GREP" >&6; }
4242 GREP="$ac_cv_path_GREP"
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4246 $as_echo_n "checking for egrep... " >&6; }
4247 if test "${ac_cv_path_EGREP+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4250 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4251 then ac_cv_path_EGREP="$GREP -E"
4253 if test -z "$EGREP"; then
4254 ac_path_EGREP_found=false
4255 # Loop through the user's path and test for each of PROGNAME-LIST
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4260 test -z "$as_dir" && as_dir=.
4261 for ac_prog in egrep; do
4262 for ac_exec_ext in '' $ac_executable_extensions; do
4263 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4264 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4265 # Check for GNU ac_path_EGREP and select it if it is found.
4266 # Check for GNU $ac_path_EGREP
4267 case `"$ac_path_EGREP" --version 2>&1` in
4269 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4272 $as_echo_n 0123456789 >"conftest.in"
4275 cat "conftest.in" "conftest.in" >"conftest.tmp"
4276 mv "conftest.tmp" "conftest.in"
4277 cp "conftest.in" "conftest.nl"
4278 $as_echo 'EGREP' >> "conftest.nl"
4279 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4280 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4281 as_fn_arith $ac_count + 1 && ac_count=$as_val
4282 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4283 # Best one so far, save it but keep looking for a better one
4284 ac_cv_path_EGREP="$ac_path_EGREP"
4285 ac_path_EGREP_max=$ac_count
4287 # 10*(2^10) chars as input seems more than enough
4288 test $ac_count -gt 10 && break
4290 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4293 $ac_path_EGREP_found && break 3
4298 if test -z "$ac_cv_path_EGREP"; then
4299 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4302 ac_cv_path_EGREP=$EGREP
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4308 $as_echo "$ac_cv_path_EGREP" >&6; }
4309 EGREP="$ac_cv_path_EGREP"
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4313 $as_echo_n "checking for fgrep... " >&6; }
4314 if test "${ac_cv_path_FGREP+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4317 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4318 then ac_cv_path_FGREP="$GREP -F"
4320 if test -z "$FGREP"; then
4321 ac_path_FGREP_found=false
4322 # Loop through the user's path and test for each of PROGNAME-LIST
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4327 test -z "$as_dir" && as_dir=.
4328 for ac_prog in fgrep; do
4329 for ac_exec_ext in '' $ac_executable_extensions; do
4330 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4331 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4332 # Check for GNU ac_path_FGREP and select it if it is found.
4333 # Check for GNU $ac_path_FGREP
4334 case `"$ac_path_FGREP" --version 2>&1` in
4336 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4339 $as_echo_n 0123456789 >"conftest.in"
4342 cat "conftest.in" "conftest.in" >"conftest.tmp"
4343 mv "conftest.tmp" "conftest.in"
4344 cp "conftest.in" "conftest.nl"
4345 $as_echo 'FGREP' >> "conftest.nl"
4346 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4347 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4348 as_fn_arith $ac_count + 1 && ac_count=$as_val
4349 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4350 # Best one so far, save it but keep looking for a better one
4351 ac_cv_path_FGREP="$ac_path_FGREP"
4352 ac_path_FGREP_max=$ac_count
4354 # 10*(2^10) chars as input seems more than enough
4355 test $ac_count -gt 10 && break
4357 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4360 $ac_path_FGREP_found && break 3
4365 if test -z "$ac_cv_path_FGREP"; then
4366 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4369 ac_cv_path_FGREP=$FGREP
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4375 $as_echo "$ac_cv_path_FGREP" >&6; }
4376 FGREP="$ac_cv_path_FGREP"
4379 test -z "$GREP" && GREP=grep
4399 # Check whether --with-gnu-ld was given.
4400 if test "${with_gnu_ld+set}" = set; then :
4401 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4407 if test "$GCC" = yes; then
4408 # Check if gcc -print-prog-name=ld gives a path.
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4410 $as_echo_n "checking for ld used by $CC... " >&6; }
4413 # gcc leaves a trailing carriage return which upsets mingw
4414 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4416 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4419 # Accept absolute paths.
4421 re_direlt='/[^/][^/]*/\.\./'
4422 # Canonicalize the pathname of ld
4423 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4424 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4425 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4427 test -z "$LD" && LD="$ac_prog"
4430 # If it fails, then pretend we aren't using GCC.
4434 # If it is relative, then search for the first ld in PATH.
4438 elif test "$with_gnu_ld" = yes; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4440 $as_echo_n "checking for GNU ld... " >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4443 $as_echo_n "checking for non-GNU ld... " >&6; }
4445 if test "${lt_cv_path_LD+set}" = set; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -z "$LD"; then
4449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4450 for ac_dir in $PATH; do
4452 test -z "$ac_dir" && ac_dir=.
4453 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4454 lt_cv_path_LD="$ac_dir/$ac_prog"
4455 # Check to see if the program is GNU ld. I'd rather use --version,
4456 # but apparently some variants of GNU ld only accept -v.
4457 # Break only if it was the GNU/non-GNU ld that we prefer.
4458 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4459 *GNU* | *'with BFD'*)
4460 test "$with_gnu_ld" != no && break
4463 test "$with_gnu_ld" != yes && break
4470 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4475 if test -n "$LD"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4477 $as_echo "$LD" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4482 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4484 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4485 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4486 $as_echo_n "(cached) " >&6
4488 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4489 case `$LD -v 2>&1 </dev/null` in
4490 *GNU* | *'with BFD'*)
4491 lt_cv_prog_gnu_ld=yes
4494 lt_cv_prog_gnu_ld=no
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4499 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4500 with_gnu_ld=$lt_cv_prog_gnu_ld
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4511 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4512 if test "${lt_cv_path_NM+set}" = set; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -n "$NM"; then
4516 # Let the user override the test.
4519 lt_nm_to_check="${ac_tool_prefix}nm"
4520 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4521 lt_nm_to_check="$lt_nm_to_check nm"
4523 for lt_tmp_nm in $lt_nm_to_check; do
4524 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4525 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4527 test -z "$ac_dir" && ac_dir=.
4528 tmp_nm="$ac_dir/$lt_tmp_nm"
4529 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4530 # Check to see if the nm accepts a BSD-compat flag.
4531 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4532 # nm: unknown option "B" ignored
4533 # Tru64's nm complains that /dev/null is an invalid object file
4534 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4535 */dev/null* | *'Invalid file or object type'*)
4536 lt_cv_path_NM="$tmp_nm -B"
4540 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4542 lt_cv_path_NM="$tmp_nm -p"
4546 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4547 continue # so that we can try to find one that supports BSD flags
4556 : ${lt_cv_path_NM=no}
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4560 $as_echo "$lt_cv_path_NM" >&6; }
4561 if test "$lt_cv_path_NM" != "no"; then
4564 # Didn't find any BSD compatible name lister, look for dumpbin.
4565 if test -n "$ac_tool_prefix"; then
4566 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$DUMPBIN"; then
4576 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 DUMPBIN=$ac_cv_prog_DUMPBIN
4596 if test -n "$DUMPBIN"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4598 $as_echo "$DUMPBIN" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4605 test -n "$DUMPBIN" && break
4608 if test -z "$DUMPBIN"; then
4609 ac_ct_DUMPBIN=$DUMPBIN
4610 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4612 # Extract the first word of "$ac_prog", so it can be a program name with args.
4613 set dummy $ac_prog; ac_word=$2
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4615 $as_echo_n "checking for $ac_word... " >&6; }
4616 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 if test -n "$ac_ct_DUMPBIN"; then
4620 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4629 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4640 if test -n "$ac_ct_DUMPBIN"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4642 $as_echo "$ac_ct_DUMPBIN" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4649 test -n "$ac_ct_DUMPBIN" && break
4652 if test "x$ac_ct_DUMPBIN" = x; then
4655 case $cross_compiling:$ac_tool_warned in
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4659 ac_tool_warned=yes ;;
4661 DUMPBIN=$ac_ct_DUMPBIN
4666 if test "$DUMPBIN" != ":"; then
4670 test -z "$NM" && NM=nm
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4678 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4679 if test "${lt_cv_nm_interface+set}" = set; then :
4680 $as_echo_n "(cached) " >&6
4682 lt_cv_nm_interface="BSD nm"
4683 echo "int some_variable = 0;" > conftest.$ac_ext
4684 (eval echo "\"\$as_me:4684: $ac_compile\"" >&5)
4685 (eval "$ac_compile" 2>conftest.err)
4686 cat conftest.err >&5
4687 (eval echo "\"\$as_me:4687: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4688 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4689 cat conftest.err >&5
4690 (eval echo "\"\$as_me:4690: output\"" >&5)
4691 cat conftest.out >&5
4692 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4693 lt_cv_nm_interface="MS dumpbin"
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4698 $as_echo "$lt_cv_nm_interface" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4701 $as_echo_n "checking whether ln -s works... " >&6; }
4703 if test "$LN_S" = "ln -s"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4705 $as_echo "yes" >&6; }
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4708 $as_echo "no, using $LN_S" >&6; }
4711 # find the maximum length of command line arguments
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4713 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4714 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4722 # On DJGPP, this test can blow up pretty badly due to problems in libc
4723 # (any single argument exceeding 2000 bytes causes a buffer overrun
4724 # during glob expansion). Even if it were fixed, the result of this
4725 # check would be larger than it should be.
4726 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4730 # Under GNU Hurd, this test is not required because there is
4731 # no limit to the length of command line arguments.
4732 # Libtool will interpret -1 as no limit whatsoever
4733 lt_cv_sys_max_cmd_len=-1;
4736 cygwin* | mingw* | cegcc*)
4737 # On Win9x/ME, this test blows up -- it succeeds, but takes
4738 # about 5 minutes as the teststring grows exponentially.
4739 # Worse, since 9x/ME are not pre-emptively multitasking,
4740 # you end up with a "frozen" computer, even though with patience
4741 # the test eventually succeeds (with a max line length of 256k).
4742 # Instead, let's just punt: use the minimum linelength reported by
4743 # all of the supported platforms: 8192 (on NT/2K/XP).
4744 lt_cv_sys_max_cmd_len=8192;
4748 # On AmigaOS with pdksh, this test takes hours, literally.
4749 # So we just punt and use a minimum line length of 8192.
4750 lt_cv_sys_max_cmd_len=8192;
4753 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4754 # This has been around since 386BSD, at least. Likely further.
4755 if test -x /sbin/sysctl; then
4756 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4757 elif test -x /usr/sbin/sysctl; then
4758 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4760 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4762 # And add a safety zone
4763 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4764 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4768 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4769 lt_cv_sys_max_cmd_len=196608
4773 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4774 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4775 # nice to cause kernel panics so lets avoid the loop below.
4776 # First set a reasonable default.
4777 lt_cv_sys_max_cmd_len=16384
4779 if test -x /sbin/sysconfig; then
4780 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4781 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4786 lt_cv_sys_max_cmd_len=102400
4788 sysv5* | sco5v6* | sysv4.2uw2*)
4789 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4790 if test -n "$kargmax"; then
4791 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4793 lt_cv_sys_max_cmd_len=32768
4797 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4798 if test -n "$lt_cv_sys_max_cmd_len"; then
4799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4802 # Make teststring a little bigger before we do anything with it.
4803 # a 1K string should be a reasonable start.
4804 for i in 1 2 3 4 5 6 7 8 ; do
4805 teststring=$teststring$teststring
4807 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4808 # If test is not a shell built-in, we'll probably end up computing a
4809 # maximum length that is only half of the actual maximum length, but
4811 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4812 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4813 test $i != 17 # 1/2 MB should be enough
4816 teststring=$teststring$teststring
4818 # Only check the string length outside the loop.
4819 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4821 # Add a significant safety factor because C++ compilers can tack on
4822 # massive amounts of additional arguments before passing them to the
4823 # linker. It appears as though 1/2 is a usable value.
4824 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4831 if test -n $lt_cv_sys_max_cmd_len ; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4833 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4836 $as_echo "none" >&6; }
4838 max_cmd_len=$lt_cv_sys_max_cmd_len
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4850 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4851 # Try some XSI features
4854 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4856 && eval 'test $(( 1 + 1 )) -eq 2 \
4857 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4860 $as_echo "$xsi_shell" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4864 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4866 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4868 && lt_shell_append=yes
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4870 $as_echo "$lt_shell_append" >&6; }
4873 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4883 # test EBCDIC or ASCII
4884 case `echo X|tr X '\101'` in
4885 A) # ASCII based system
4886 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4887 lt_SP2NL='tr \040 \012'
4888 lt_NL2SP='tr \015\012 \040\040'
4890 *) # EBCDIC based system
4891 lt_SP2NL='tr \100 \n'
4892 lt_NL2SP='tr \r\n \100\100'
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4905 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4906 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 lt_cv_ld_reload_flag='-r'
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4912 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4913 reload_flag=$lt_cv_ld_reload_flag
4914 case $reload_flag in
4916 *) reload_flag=" $reload_flag" ;;
4918 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4921 if test "$GCC" = yes; then
4922 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4924 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4937 if test -n "$ac_tool_prefix"; then
4938 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4939 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4943 $as_echo_n "(cached) " >&6
4945 if test -n "$OBJDUMP"; then
4946 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4955 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 OBJDUMP=$ac_cv_prog_OBJDUMP
4966 if test -n "$OBJDUMP"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4968 $as_echo "$OBJDUMP" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4976 if test -z "$ac_cv_prog_OBJDUMP"; then
4977 ac_ct_OBJDUMP=$OBJDUMP
4978 # Extract the first word of "objdump", so it can be a program name with args.
4979 set dummy objdump; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$ac_ct_OBJDUMP"; then
4986 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5006 if test -n "$ac_ct_OBJDUMP"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5008 $as_echo "$ac_ct_OBJDUMP" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5014 if test "x$ac_ct_OBJDUMP" = x; then
5017 case $cross_compiling:$ac_tool_warned in
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned=yes ;;
5023 OBJDUMP=$ac_ct_OBJDUMP
5026 OBJDUMP="$ac_cv_prog_OBJDUMP"
5029 test -z "$OBJDUMP" && OBJDUMP=objdump
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5037 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5038 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5039 $as_echo_n "(cached) " >&6
5041 lt_cv_file_magic_cmd='$MAGIC_CMD'
5042 lt_cv_file_magic_test_file=
5043 lt_cv_deplibs_check_method='unknown'
5044 # Need to set the preceding variable on all platforms that support
5045 # interlibrary dependencies.
5046 # 'none' -- dependencies not supported.
5047 # `unknown' -- same as none, but documents that we really don't know.
5048 # 'pass_all' -- all dependencies passed with no checks.
5049 # 'test_compile' -- check by making test program.
5050 # 'file_magic [[regex]]' -- check by looking for files in library path
5051 # which responds to the $file_magic_cmd with a given extended regex.
5052 # If you have `file' or equivalent on your system and you're not sure
5053 # whether `pass_all' will *always* work, you probably want this one.
5057 lt_cv_deplibs_check_method=pass_all
5061 lt_cv_deplibs_check_method=pass_all
5065 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5066 lt_cv_file_magic_cmd='/usr/bin/file -L'
5067 lt_cv_file_magic_test_file=/shlib/libc.so
5071 # func_win32_libid is a shell function defined in ltmain.sh
5072 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5073 lt_cv_file_magic_cmd='func_win32_libid'
5077 # Base MSYS/MinGW do not provide the 'file' command needed by
5078 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5079 # unless we find 'file', for example because we are cross-compiling.
5080 if ( file / ) >/dev/null 2>&1; then
5081 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5082 lt_cv_file_magic_cmd='func_win32_libid'
5084 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5085 lt_cv_file_magic_cmd='$OBJDUMP -f'
5090 # use the weaker test based on 'objdump'. See mingw*.
5091 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5092 lt_cv_file_magic_cmd='$OBJDUMP -f'
5095 darwin* | rhapsody*)
5096 lt_cv_deplibs_check_method=pass_all
5099 freebsd* | dragonfly*)
5100 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5103 # Not sure whether the presence of OpenBSD here was a mistake.
5104 # Let's accept both of them until this is cleared up.
5105 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5106 lt_cv_file_magic_cmd=/usr/bin/file
5107 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5111 lt_cv_deplibs_check_method=pass_all
5116 lt_cv_deplibs_check_method=pass_all
5119 hpux10.20* | hpux11*)
5120 lt_cv_file_magic_cmd=/usr/bin/file
5123 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5124 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5127 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]'
5128 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5131 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5132 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5138 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5139 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5142 irix5* | irix6* | nonstopux*)
5144 *-32|*"-32 ") libmagic=32-bit;;
5145 *-n32|*"-n32 ") libmagic=N32;;
5146 *-64|*"-64 ") libmagic=64-bit;;
5147 *) libmagic=never-match;;
5149 lt_cv_deplibs_check_method=pass_all
5152 # This must be Linux ELF.
5153 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5154 lt_cv_deplibs_check_method=pass_all
5157 netbsd* | netbsdelf*-gnu)
5158 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5159 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5161 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5166 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5167 lt_cv_file_magic_cmd=/usr/bin/file
5168 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5172 lt_cv_deplibs_check_method=pass_all
5176 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5177 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5179 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5183 osf3* | osf4* | osf5*)
5184 lt_cv_deplibs_check_method=pass_all
5188 lt_cv_deplibs_check_method=pass_all
5192 lt_cv_deplibs_check_method=pass_all
5195 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5196 lt_cv_deplibs_check_method=pass_all
5200 case $host_vendor in
5202 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]'
5203 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5206 lt_cv_deplibs_check_method=pass_all
5209 lt_cv_file_magic_cmd='/bin/file'
5210 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5213 lt_cv_file_magic_cmd='/bin/file'
5214 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5215 lt_cv_file_magic_test_file=/lib/libc.so
5218 lt_cv_deplibs_check_method=pass_all
5221 lt_cv_deplibs_check_method=pass_all
5227 lt_cv_deplibs_check_method=pass_all
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5233 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5234 file_magic_cmd=$lt_cv_file_magic_cmd
5235 deplibs_check_method=$lt_cv_deplibs_check_method
5236 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5249 if test -n "$ac_tool_prefix"; then
5250 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5251 set dummy ${ac_tool_prefix}ar; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if test "${ac_cv_prog_AR+set}" = set; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -n "$AR"; then
5258 ac_cv_prog_AR="$AR" # Let the user override the test.
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5267 ac_cv_prog_AR="${ac_tool_prefix}ar"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 if test -n "$AR"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5280 $as_echo "$AR" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5288 if test -z "$ac_cv_prog_AR"; then
5290 # Extract the first word of "ar", so it can be a program name with args.
5291 set dummy ar; ac_word=$2
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293 $as_echo_n "checking for $ac_word... " >&6; }
5294 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5295 $as_echo_n "(cached) " >&6
5297 if test -n "$ac_ct_AR"; then
5298 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir=.
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5307 ac_cv_prog_ac_ct_AR="ar"
5308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5318 if test -n "$ac_ct_AR"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5320 $as_echo "$ac_ct_AR" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5326 if test "x$ac_ct_AR" = x; then
5329 case $cross_compiling:$ac_tool_warned in
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5333 ac_tool_warned=yes ;;
5341 test -z "$AR" && AR=ar
5342 test -z "$AR_FLAGS" && AR_FLAGS=cru
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5356 set dummy ${ac_tool_prefix}strip; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if test "${ac_cv_prog_STRIP+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$STRIP"; then
5363 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 STRIP=$ac_cv_prog_STRIP
5383 if test -n "$STRIP"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5385 $as_echo "$STRIP" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5393 if test -z "$ac_cv_prog_STRIP"; then
5395 # Extract the first word of "strip", so it can be a program name with args.
5396 set dummy strip; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -n "$ac_ct_STRIP"; then
5403 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5412 ac_cv_prog_ac_ct_STRIP="strip"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5423 if test -n "$ac_ct_STRIP"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5425 $as_echo "$ac_ct_STRIP" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5431 if test "x$ac_ct_STRIP" = x; then
5434 case $cross_compiling:$ac_tool_warned in
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned=yes ;;
5443 STRIP="$ac_cv_prog_STRIP"
5446 test -z "$STRIP" && STRIP=:
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5461 if test -n "$RANLIB"; then
5462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 RANLIB=$ac_cv_prog_RANLIB
5482 if test -n "$RANLIB"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5484 $as_echo "$RANLIB" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_RANLIB"; then
5493 ac_ct_RANLIB=$RANLIB
5494 # Extract the first word of "ranlib", so it can be a program name with args.
5495 set dummy ranlib; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$ac_ct_RANLIB"; then
5502 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511 ac_cv_prog_ac_ct_RANLIB="ranlib"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5522 if test -n "$ac_ct_RANLIB"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5524 $as_echo "$ac_ct_RANLIB" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_RANLIB" = x; then
5533 case $cross_compiling:$ac_tool_warned in
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5539 RANLIB=$ac_ct_RANLIB
5542 RANLIB="$ac_cv_prog_RANLIB"
5545 test -z "$RANLIB" && RANLIB=:
5552 # Determine commands to create old-style static archives.
5553 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5554 old_postinstall_cmds='chmod 644 $oldlib'
5555 old_postuninstall_cmds=
5557 if test -n "$RANLIB"; then
5560 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5563 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5566 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5602 # If no C compiler was specified, use CC.
5605 # If no C compiler flags were specified, use CFLAGS.
5606 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5608 # Allow CC to be a program name with arguments.
5612 # Check for command to grab the raw symbol name followed by C symbol from nm.
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5614 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5615 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5616 $as_echo_n "(cached) " >&6
5619 # These are sane defaults that work on at least a few old systems.
5620 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5622 # Character class describing NM global symbol codes.
5623 symcode='[BCDEGRST]'
5625 # Regexp to match symbols that can be accessed directly from C.
5626 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5628 # Define system-specific variables.
5633 cygwin* | mingw* | pw32* | cegcc*)
5634 symcode='[ABCDGISTW]'
5637 if test "$host_cpu" = ia64; then
5638 symcode='[ABCDEGRST]'
5642 symcode='[BCDEGRST]'
5645 symcode='[BCDEGQRST]'
5656 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5664 # If we're using GNU nm, then use its standard symbol codes.
5665 case `$NM -V 2>&1` in
5666 *GNU* | *'with BFD'*)
5667 symcode='[ABCDGIRSTW]' ;;
5670 # Transform an extracted symbol line into a proper C declaration.
5671 # Some systems (esp. on ia64) link data and code symbols differently,
5672 # so use this general approach.
5673 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5675 # Transform an extracted symbol line into symbol name and symbol address
5676 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5677 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'"
5679 # Handle CRLF in mingw tool chain
5683 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5687 # Try without a prefix underscore, then with it.
5688 for ac_symprfx in "" "_"; do
5690 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5691 symxfrm="\\1 $ac_symprfx\\2 \\2"
5693 # Write the raw and C identifiers.
5694 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5695 # Fake it for dumpbin and say T for any non-static function
5696 # and D for any global variable.
5697 # Also find C++ and __fastcall symbols from MSVC++,
5698 # which start with @ or ?.
5699 lt_cv_sys_global_symbol_pipe="$AWK '"\
5700 " {last_section=section; section=\$ 3};"\
5701 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5702 " \$ 0!~/External *\|/{next};"\
5703 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5704 " {if(hide[section]) next};"\
5705 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5706 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5707 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5708 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5709 " ' prfx=^$ac_symprfx"
5711 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5714 # Check to see that the pipe works correctly.
5718 cat > conftest.$ac_ext <<_LT_EOF
5723 void nm_test_func(void);
5724 void nm_test_func(void){}
5728 int main(){nm_test_var='a';nm_test_func();return(0);}
5731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5732 (eval $ac_compile) 2>&5
5734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5735 test $ac_status = 0; }; then
5736 # Now try to grab the symbols.
5738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5739 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5742 test $ac_status = 0; } && test -s "$nlist"; then
5743 # Try sorting and uniquifying the output.
5744 if sort "$nlist" | uniq > "$nlist"T; then
5745 mv -f "$nlist"T "$nlist"
5750 # Make sure that we snagged all the symbols we need.
5751 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5752 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5753 cat <<_LT_EOF > conftest.$ac_ext
5759 # Now generate the symbol file.
5760 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5762 cat <<_LT_EOF >> conftest.$ac_ext
5764 /* The mapping between symbol names and symbols. */
5769 lt__PROGRAM__LTX_preloaded_symbols[] =
5771 { "@PROGRAM@", (void *) 0 },
5773 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5774 cat <<\_LT_EOF >> conftest.$ac_ext
5778 /* This works around a problem in FreeBSD linker */
5779 #ifdef FREEBSD_WORKAROUND
5780 static const void *lt_preloaded_setup() {
5781 return lt__PROGRAM__LTX_preloaded_symbols;
5789 # Now try linking the two files.
5790 mv conftest.$ac_objext conftstm.$ac_objext
5791 lt_save_LIBS="$LIBS"
5792 lt_save_CFLAGS="$CFLAGS"
5793 LIBS="conftstm.$ac_objext"
5794 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5796 (eval $ac_link) 2>&5
5798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5799 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5802 LIBS="$lt_save_LIBS"
5803 CFLAGS="$lt_save_CFLAGS"
5805 echo "cannot find nm_test_func in $nlist" >&5
5808 echo "cannot find nm_test_var in $nlist" >&5
5811 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5814 echo "$progname: failed program was:" >&5
5815 cat conftest.$ac_ext >&5
5817 rm -rf conftest* conftst*
5819 # Do not use the global_symbol_pipe unless it works.
5820 if test "$pipe_works" = yes; then
5823 lt_cv_sys_global_symbol_pipe=
5829 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5830 lt_cv_sys_global_symbol_to_cdecl=
5832 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5834 $as_echo "failed" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5837 $as_echo "ok" >&6; }
5862 # Check whether --enable-libtool-lock was given.
5863 if test "${enable_libtool_lock+set}" = set; then :
5864 enableval=$enable_libtool_lock;
5867 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5869 # Some flags need to be propagated to the compiler or linker for good
5873 # Find out which ABI we are using.
5874 echo 'int i;' > conftest.$ac_ext
5875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5876 (eval $ac_compile) 2>&5
5878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5879 test $ac_status = 0; }; then
5880 case `/usr/bin/file conftest.$ac_objext` in
5892 # Find out which ABI we are using.
5893 echo '#line 5893 "configure"' > conftest.$ac_ext
5894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5895 (eval $ac_compile) 2>&5
5897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5898 test $ac_status = 0; }; then
5899 if test "$lt_cv_prog_gnu_ld" = yes; then
5900 case `/usr/bin/file conftest.$ac_objext` in
5902 LD="${LD-ld} -melf32bsmip"
5905 LD="${LD-ld} -melf32bmipn32"
5908 LD="${LD-ld} -melf64bmip"
5912 case `/usr/bin/file conftest.$ac_objext` in
5928 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5929 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5930 # Find out which ABI we are using.
5931 echo 'int i;' > conftest.$ac_ext
5932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5933 (eval $ac_compile) 2>&5
5935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5936 test $ac_status = 0; }; then
5937 case `/usr/bin/file conftest.o` in
5940 x86_64-*kfreebsd*-gnu)
5941 LD="${LD-ld} -m elf_i386_fbsd"
5944 LD="${LD-ld} -m elf_i386"
5946 ppc64-*linux*|powerpc64-*linux*)
5947 LD="${LD-ld} -m elf32ppclinux"
5950 LD="${LD-ld} -m elf_s390"
5953 LD="${LD-ld} -m elf32_sparc"
5959 x86_64-*kfreebsd*-gnu)
5960 LD="${LD-ld} -m elf_x86_64_fbsd"
5963 LD="${LD-ld} -m elf_x86_64"
5965 ppc*-*linux*|powerpc*-*linux*)
5966 LD="${LD-ld} -m elf64ppc"
5968 s390*-*linux*|s390*-*tpf*)
5969 LD="${LD-ld} -m elf64_s390"
5972 LD="${LD-ld} -m elf64_sparc"
5982 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5983 SAVE_CFLAGS="$CFLAGS"
5984 CFLAGS="$CFLAGS -belf"
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5986 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5987 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5988 $as_echo_n "(cached) " >&6
5991 ac_cpp='$CPP $CPPFLAGS'
5992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
6007 if ac_fn_c_try_link "$LINENO"; then :
6008 lt_cv_cc_needs_belf=yes
6010 lt_cv_cc_needs_belf=no
6012 rm -f core conftest.err conftest.$ac_objext \
6013 conftest$ac_exeext conftest.$ac_ext
6015 ac_cpp='$CPP $CPPFLAGS'
6016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6022 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6023 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6024 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6025 CFLAGS="$SAVE_CFLAGS"
6029 # Find out which ABI we are using.
6030 echo 'int i;' > conftest.$ac_ext
6031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6032 (eval $ac_compile) 2>&5
6034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6035 test $ac_status = 0; }; then
6036 case `/usr/bin/file conftest.o` in
6038 case $lt_cv_prog_gnu_ld in
6039 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6041 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6053 need_locks="$enable_libtool_lock"
6057 rhapsody* | darwin*)
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6064 $as_echo_n "(cached) " >&6
6066 if test -n "$DSYMUTIL"; then
6067 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6087 if test -n "$DSYMUTIL"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6089 $as_echo "$DSYMUTIL" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6097 if test -z "$ac_cv_prog_DSYMUTIL"; then
6098 ac_ct_DSYMUTIL=$DSYMUTIL
6099 # Extract the first word of "dsymutil", so it can be a program name with args.
6100 set dummy dsymutil; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$ac_ct_DSYMUTIL"; then
6107 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6127 if test -n "$ac_ct_DSYMUTIL"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6129 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6135 if test "x$ac_ct_DSYMUTIL" = x; then
6138 case $cross_compiling:$ac_tool_warned in
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6144 DSYMUTIL=$ac_ct_DSYMUTIL
6147 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6150 if test -n "$ac_tool_prefix"; then
6151 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6152 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6158 if test -n "$NMEDIT"; then
6159 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6168 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 NMEDIT=$ac_cv_prog_NMEDIT
6179 if test -n "$NMEDIT"; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6181 $as_echo "$NMEDIT" >&6; }
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6189 if test -z "$ac_cv_prog_NMEDIT"; then
6190 ac_ct_NMEDIT=$NMEDIT
6191 # Extract the first word of "nmedit", so it can be a program name with args.
6192 set dummy nmedit; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6198 if test -n "$ac_ct_NMEDIT"; then
6199 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6208 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6219 if test -n "$ac_ct_NMEDIT"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6221 $as_echo "$ac_ct_NMEDIT" >&6; }
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6227 if test "x$ac_ct_NMEDIT" = x; then
6230 case $cross_compiling:$ac_tool_warned in
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6234 ac_tool_warned=yes ;;
6236 NMEDIT=$ac_ct_NMEDIT
6239 NMEDIT="$ac_cv_prog_NMEDIT"
6242 if test -n "$ac_tool_prefix"; then
6243 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6244 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if test "${ac_cv_prog_LIPO+set}" = set; then :
6248 $as_echo_n "(cached) " >&6
6250 if test -n "$LIPO"; then
6251 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 LIPO=$ac_cv_prog_LIPO
6271 if test -n "$LIPO"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6273 $as_echo "$LIPO" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6281 if test -z "$ac_cv_prog_LIPO"; then
6283 # Extract the first word of "lipo", so it can be a program name with args.
6284 set dummy lipo; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 $as_echo_n "checking for $ac_word... " >&6; }
6287 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6288 $as_echo_n "(cached) " >&6
6290 if test -n "$ac_ct_LIPO"; then
6291 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_ac_ct_LIPO="lipo"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6311 if test -n "$ac_ct_LIPO"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6313 $as_echo "$ac_ct_LIPO" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316 $as_echo "no" >&6; }
6319 if test "x$ac_ct_LIPO" = x; then
6322 case $cross_compiling:$ac_tool_warned in
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6326 ac_tool_warned=yes ;;
6331 LIPO="$ac_cv_prog_LIPO"
6334 if test -n "$ac_tool_prefix"; then
6335 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}otool; ac_word=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$OTOOL"; then
6343 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 OTOOL=$ac_cv_prog_OTOOL
6363 if test -n "$OTOOL"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6365 $as_echo "$OTOOL" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6373 if test -z "$ac_cv_prog_OTOOL"; then
6375 # Extract the first word of "otool", so it can be a program name with args.
6376 set dummy otool; ac_word=$2
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6380 $as_echo_n "(cached) " >&6
6382 if test -n "$ac_ct_OTOOL"; then
6383 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_ac_ct_OTOOL="otool"
6393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6403 if test -n "$ac_ct_OTOOL"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6405 $as_echo "$ac_ct_OTOOL" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408 $as_echo "no" >&6; }
6411 if test "x$ac_ct_OTOOL" = x; then
6414 case $cross_compiling:$ac_tool_warned in
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6418 ac_tool_warned=yes ;;
6423 OTOOL="$ac_cv_prog_OTOOL"
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6432 $as_echo_n "(cached) " >&6
6434 if test -n "$OTOOL64"; then
6435 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 OTOOL64=$ac_cv_prog_OTOOL64
6455 if test -n "$OTOOL64"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6457 $as_echo "$OTOOL64" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6465 if test -z "$ac_cv_prog_OTOOL64"; then
6466 ac_ct_OTOOL64=$OTOOL64
6467 # Extract the first word of "otool64", so it can be a program name with args.
6468 set dummy otool64; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$ac_ct_OTOOL64"; then
6475 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484 ac_cv_prog_ac_ct_OTOOL64="otool64"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6495 if test -n "$ac_ct_OTOOL64"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6497 $as_echo "$ac_ct_OTOOL64" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6503 if test "x$ac_ct_OTOOL64" = x; then
6506 case $cross_compiling:$ac_tool_warned in
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 ac_tool_warned=yes ;;
6512 OTOOL64=$ac_ct_OTOOL64
6515 OTOOL64="$ac_cv_prog_OTOOL64"
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6545 $as_echo_n "checking for -single_module linker flag... " >&6; }
6546 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6549 lt_cv_apple_cc_single_mod=no
6550 if test -z "${LT_MULTI_MODULE}"; then
6551 # By default we will add the -single_module flag. You can override
6552 # by either setting the environment variable LT_MULTI_MODULE
6553 # non-empty at configure time, or by adding -multi_module to the
6555 rm -rf libconftest.dylib*
6556 echo "int foo(void){return 1;}" > conftest.c
6557 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6558 -dynamiclib -Wl,-single_module conftest.c" >&5
6559 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6560 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6562 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6563 lt_cv_apple_cc_single_mod=yes
6565 cat conftest.err >&5
6567 rm -rf libconftest.dylib*
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6572 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6574 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6575 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6576 $as_echo_n "(cached) " >&6
6578 lt_cv_ld_exported_symbols_list=no
6579 save_LDFLAGS=$LDFLAGS
6580 echo "_main" > conftest.sym
6581 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6593 if ac_fn_c_try_link "$LINENO"; then :
6594 lt_cv_ld_exported_symbols_list=yes
6596 lt_cv_ld_exported_symbols_list=no
6598 rm -f core conftest.err conftest.$ac_objext \
6599 conftest$ac_exeext conftest.$ac_ext
6600 LDFLAGS="$save_LDFLAGS"
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6604 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6606 rhapsody* | darwin1.[012])
6607 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6609 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6610 darwin*) # darwin 5.x on
6611 # if running on 10.5 or later, the deployment target defaults
6612 # to the OS version, if on x86, and 10.4, the deployment
6613 # target defaults to 10.4. Don't you love it?
6614 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6615 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6616 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6618 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6620 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6624 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6625 _lt_dar_single_mod='$single_module'
6627 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6628 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6630 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6632 if test "$DSYMUTIL" != ":"; then
6633 _lt_dsymutil='~$DSYMUTIL $lib || :'
6641 ac_cpp='$CPP $CPPFLAGS'
6642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6646 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6647 # On Suns, sometimes $CPP names a directory.
6648 if test -n "$CPP" && test -d "$CPP"; then
6651 if test -z "$CPP"; then
6652 if test "${ac_cv_prog_CPP+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6655 # Double quotes because CPP needs to be expanded
6656 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6659 for ac_c_preproc_warn_flag in '' yes
6661 # Use a header file that comes with gcc, so configuring glibc
6662 # with a fresh cross-compiler works.
6663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6664 # <limits.h> exists even on freestanding compilers.
6665 # On the NeXT, cc -E runs the code through the compiler's parser,
6666 # not just through cpp. "Syntax error" is here to catch this case.
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6670 # include <limits.h>
6672 # include <assert.h>
6676 if ac_fn_c_try_cpp "$LINENO"; then :
6679 # Broken: fails on valid input.
6682 rm -f conftest.err conftest.i conftest.$ac_ext
6684 # OK, works on sane cases. Now check whether nonexistent headers
6685 # can be detected and how.
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <ac_nonexistent.h>
6690 if ac_fn_c_try_cpp "$LINENO"; then :
6691 # Broken: success on invalid input.
6694 # Passes both tests.
6698 rm -f conftest.err conftest.i conftest.$ac_ext
6701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6702 rm -f conftest.i conftest.err conftest.$ac_ext
6703 if $ac_preproc_ok; then :
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6716 $as_echo "$CPP" >&6; }
6718 for ac_c_preproc_warn_flag in '' yes
6720 # Use a header file that comes with gcc, so configuring glibc
6721 # with a fresh cross-compiler works.
6722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6723 # <limits.h> exists even on freestanding compilers.
6724 # On the NeXT, cc -E runs the code through the compiler's parser,
6725 # not just through cpp. "Syntax error" is here to catch this case.
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6729 # include <limits.h>
6731 # include <assert.h>
6735 if ac_fn_c_try_cpp "$LINENO"; then :
6738 # Broken: fails on valid input.
6741 rm -f conftest.err conftest.i conftest.$ac_ext
6743 # OK, works on sane cases. Now check whether nonexistent headers
6744 # can be detected and how.
6745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 #include <ac_nonexistent.h>
6749 if ac_fn_c_try_cpp "$LINENO"; then :
6750 # Broken: success on invalid input.
6753 # Passes both tests.
6757 rm -f conftest.err conftest.i conftest.$ac_ext
6760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6761 rm -f conftest.i conftest.err conftest.$ac_ext
6762 if $ac_preproc_ok; then :
6765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6767 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6768 See \`config.log' for more details" "$LINENO" 5 ; }
6772 ac_cpp='$CPP $CPPFLAGS'
6773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6779 $as_echo_n "checking for ANSI C header files... " >&6; }
6780 if test "${ac_cv_header_stdc+set}" = set; then :
6781 $as_echo_n "(cached) " >&6
6783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6798 if ac_fn_c_try_compile "$LINENO"; then :
6799 ac_cv_header_stdc=yes
6801 ac_cv_header_stdc=no
6803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6805 if test $ac_cv_header_stdc = yes; then
6806 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808 /* end confdefs.h. */
6812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6813 $EGREP "memchr" >/dev/null 2>&1; then :
6816 ac_cv_header_stdc=no
6822 if test $ac_cv_header_stdc = yes; then
6823 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825 /* end confdefs.h. */
6829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6830 $EGREP "free" >/dev/null 2>&1; then :
6833 ac_cv_header_stdc=no
6839 if test $ac_cv_header_stdc = yes; then
6840 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6841 if test "$cross_compiling" = yes; then :
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6848 #if ((' ' & 0x0FF) == 0x020)
6849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6852 # define ISLOWER(c) \
6853 (('a' <= (c) && (c) <= 'i') \
6854 || ('j' <= (c) && (c) <= 'r') \
6855 || ('s' <= (c) && (c) <= 'z'))
6856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6864 for (i = 0; i < 256; i++)
6865 if (XOR (islower (i), ISLOWER (i))
6866 || toupper (i) != TOUPPER (i))
6871 if ac_fn_c_try_run "$LINENO"; then :
6874 ac_cv_header_stdc=no
6876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6877 conftest.$ac_objext conftest.beam conftest.$ac_ext
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6883 $as_echo "$ac_cv_header_stdc" >&6; }
6884 if test $ac_cv_header_stdc = yes; then
6886 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6890 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6891 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6892 inttypes.h stdint.h unistd.h
6894 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6895 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6897 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6898 cat >>confdefs.h <<_ACEOF
6899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 for ac_header in dlfcn.h
6909 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6911 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6912 cat >>confdefs.h <<_ACEOF
6913 #define HAVE_DLFCN_H 1
6923 enable_win32_dll=yes
6926 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6927 if test -n "$ac_tool_prefix"; then
6928 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6929 set dummy ${ac_tool_prefix}as; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if test "${ac_cv_prog_AS+set}" = set; then :
6933 $as_echo_n "(cached) " >&6
6935 if test -n "$AS"; then
6936 ac_cv_prog_AS="$AS" # Let the user override the test.
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945 ac_cv_prog_AS="${ac_tool_prefix}as"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 if test -n "$AS"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6958 $as_echo "$AS" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6966 if test -z "$ac_cv_prog_AS"; then
6968 # Extract the first word of "as", so it can be a program name with args.
6969 set dummy as; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6973 $as_echo_n "(cached) " >&6
6975 if test -n "$ac_ct_AS"; then
6976 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985 ac_cv_prog_ac_ct_AS="as"
6986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6996 if test -n "$ac_ct_AS"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6998 $as_echo "$ac_ct_AS" >&6; }
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7004 if test "x$ac_ct_AS" = x; then
7007 case $cross_compiling:$ac_tool_warned in
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7011 ac_tool_warned=yes ;;
7019 if test -n "$ac_tool_prefix"; then
7020 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7021 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$DLLTOOL"; then
7028 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 DLLTOOL=$ac_cv_prog_DLLTOOL
7048 if test -n "$DLLTOOL"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7050 $as_echo "$DLLTOOL" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7058 if test -z "$ac_cv_prog_DLLTOOL"; then
7059 ac_ct_DLLTOOL=$DLLTOOL
7060 # Extract the first word of "dlltool", so it can be a program name with args.
7061 set dummy dlltool; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7065 $as_echo_n "(cached) " >&6
7067 if test -n "$ac_ct_DLLTOOL"; then
7068 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7077 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7088 if test -n "$ac_ct_DLLTOOL"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7090 $as_echo "$ac_ct_DLLTOOL" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7096 if test "x$ac_ct_DLLTOOL" = x; then
7099 case $cross_compiling:$ac_tool_warned in
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103 ac_tool_warned=yes ;;
7105 DLLTOOL=$ac_ct_DLLTOOL
7108 DLLTOOL="$ac_cv_prog_DLLTOOL"
7111 if test -n "$ac_tool_prefix"; then
7112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7117 $as_echo_n "(cached) " >&6
7119 if test -n "$OBJDUMP"; then
7120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 OBJDUMP=$ac_cv_prog_OBJDUMP
7140 if test -n "$OBJDUMP"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7142 $as_echo "$OBJDUMP" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7150 if test -z "$ac_cv_prog_OBJDUMP"; then
7151 ac_ct_OBJDUMP=$OBJDUMP
7152 # Extract the first word of "objdump", so it can be a program name with args.
7153 set dummy objdump; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7159 if test -n "$ac_ct_OBJDUMP"; then
7160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7180 if test -n "$ac_ct_OBJDUMP"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7182 $as_echo "$ac_ct_OBJDUMP" >&6; }
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7188 if test "x$ac_ct_OBJDUMP" = x; then
7191 case $cross_compiling:$ac_tool_warned in
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7195 ac_tool_warned=yes ;;
7197 OBJDUMP=$ac_ct_OBJDUMP
7200 OBJDUMP="$ac_cv_prog_OBJDUMP"
7206 test -z "$AS" && AS=as
7212 test -z "$DLLTOOL" && DLLTOOL=dlltool
7218 test -z "$OBJDUMP" && OBJDUMP=objdump
7230 # Check whether --enable-shared was given.
7231 if test "${enable_shared+set}" = set; then :
7232 enableval=$enable_shared; p=${PACKAGE-default}
7234 yes) enable_shared=yes ;;
7235 no) enable_shared=no ;;
7238 # Look at the argument we got. We use all the common list separators.
7239 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7240 for pkg in $enableval; do
7242 if test "X$pkg" = "X$p"; then
7261 # Check whether --enable-static was given.
7262 if test "${enable_static+set}" = set; then :
7263 enableval=$enable_static; p=${PACKAGE-default}
7265 yes) enable_static=yes ;;
7266 no) enable_static=no ;;
7269 # Look at the argument we got. We use all the common list separators.
7270 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7271 for pkg in $enableval; do
7273 if test "X$pkg" = "X$p"; then
7293 # Check whether --with-pic was given.
7294 if test "${with_pic+set}" = set; then :
7295 withval=$with_pic; pic_mode="$withval"
7301 test -z "$pic_mode" && pic_mode=default
7309 # Check whether --enable-fast-install was given.
7310 if test "${enable_fast_install+set}" = set; then :
7311 enableval=$enable_fast_install; p=${PACKAGE-default}
7313 yes) enable_fast_install=yes ;;
7314 no) enable_fast_install=no ;;
7316 enable_fast_install=no
7317 # Look at the argument we got. We use all the common list separators.
7318 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7319 for pkg in $enableval; do
7321 if test "X$pkg" = "X$p"; then
7322 enable_fast_install=yes
7329 enable_fast_install=yes
7342 # This can be used to rebuild libtool when needed
7343 LIBTOOL_DEPS="$ltmain"
7345 # Always use our own libtool.
7346 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7372 test -z "$LN_S" && LN_S="ln -s"
7387 if test -n "${ZSH_VERSION+set}" ; then
7388 setopt NO_GLOB_SUBST
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7392 $as_echo_n "checking for objdir... " >&6; }
7393 if test "${lt_cv_objdir+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7396 rm -f .libs 2>/dev/null
7397 mkdir .libs 2>/dev/null
7398 if test -d .libs; then
7401 # MS-DOS does not allow filenames that begin with a dot.
7404 rmdir .libs 2>/dev/null
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7407 $as_echo "$lt_cv_objdir" >&6; }
7408 objdir=$lt_cv_objdir
7414 cat >>confdefs.h <<_ACEOF
7415 #define LT_OBJDIR "$lt_cv_objdir/"
7436 # AIX sometimes has problems with the GCC collect2 program. For some
7437 # reason, if we set the COLLECT_NAMES environment variable, the problems
7438 # vanish in a puff of smoke.
7439 if test "X${COLLECT_NAMES+set}" != Xset; then
7441 export COLLECT_NAMES
7446 # Sed substitution that helps us do robust quoting. It backslashifies
7447 # metacharacters that are still active within double-quoted strings.
7448 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7450 # Same as above, but do not quote variable references.
7451 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7453 # Sed substitution to delay expansion of an escaped shell variable in a
7454 # double_quote_subst'ed string.
7455 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7457 # Sed substitution to delay expansion of an escaped single quote.
7458 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7460 # Sed substitution to avoid accidental globbing in evaled expressions
7461 no_glob_subst='s/\*/\\\*/g'
7465 can_build_shared=yes
7467 # All known linkers require a `.a' archive for static linking (except MSVC,
7468 # which needs '.lib').
7471 with_gnu_ld="$lt_cv_prog_gnu_ld"
7474 old_CFLAGS="$CFLAGS"
7476 # Set sane defaults for various variables
7477 test -z "$CC" && CC=cc
7478 test -z "$LTCC" && LTCC=$CC
7479 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7480 test -z "$LD" && LD=ld
7481 test -z "$ac_objext" && ac_objext=o
7483 for cc_temp in $compiler""; do
7485 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7486 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7491 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7494 # Only perform the check for file, if the check method requires it
7495 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7496 case $deplibs_check_method in
7498 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7500 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7501 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7506 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7509 lt_save_MAGIC_CMD="$MAGIC_CMD"
7510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7511 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7512 for ac_dir in $ac_dummy; do
7514 test -z "$ac_dir" && ac_dir=.
7515 if test -f $ac_dir/${ac_tool_prefix}file; then
7516 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7517 if test -n "$file_magic_test_file"; then
7518 case $deplibs_check_method in
7520 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7521 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7522 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7523 $EGREP "$file_magic_regex" > /dev/null; then
7528 *** Warning: the command libtool uses to detect shared libraries,
7529 *** $file_magic_cmd, produces output that libtool cannot recognize.
7530 *** The result is that libtool may fail to recognize shared libraries
7531 *** as such. This will affect the creation of libtool libraries that
7532 *** depend on shared libraries, but programs linked with such libtool
7533 *** libraries will work regardless of this problem. Nevertheless, you
7534 *** may want to report the problem to your system manager and/or to
7535 *** bug-libtool@gnu.org
7545 MAGIC_CMD="$lt_save_MAGIC_CMD"
7550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7551 if test -n "$MAGIC_CMD"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7553 $as_echo "$MAGIC_CMD" >&6; }
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7563 if test -z "$lt_cv_path_MAGIC_CMD"; then
7564 if test -n "$ac_tool_prefix"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7566 $as_echo_n "checking for file... " >&6; }
7567 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7572 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7575 lt_save_MAGIC_CMD="$MAGIC_CMD"
7576 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7577 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7578 for ac_dir in $ac_dummy; do
7580 test -z "$ac_dir" && ac_dir=.
7581 if test -f $ac_dir/file; then
7582 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7583 if test -n "$file_magic_test_file"; then
7584 case $deplibs_check_method in
7586 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7587 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7588 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7589 $EGREP "$file_magic_regex" > /dev/null; then
7594 *** Warning: the command libtool uses to detect shared libraries,
7595 *** $file_magic_cmd, produces output that libtool cannot recognize.
7596 *** The result is that libtool may fail to recognize shared libraries
7597 *** as such. This will affect the creation of libtool libraries that
7598 *** depend on shared libraries, but programs linked with such libtool
7599 *** libraries will work regardless of this problem. Nevertheless, you
7600 *** may want to report the problem to your system manager and/or to
7601 *** bug-libtool@gnu.org
7611 MAGIC_CMD="$lt_save_MAGIC_CMD"
7616 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7617 if test -n "$MAGIC_CMD"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7619 $as_echo "$MAGIC_CMD" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7635 # Use C for the default configuration in the libtool script
7639 ac_cpp='$CPP $CPPFLAGS'
7640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7645 # Source file extension for C test sources.
7648 # Object file extension for compiled C test sources.
7652 # Code to be used in simple compile tests
7653 lt_simple_compile_test_code="int some_variable = 0;"
7655 # Code to be used in simple link tests
7656 lt_simple_link_test_code='int main(){return(0);}'
7664 # If no C compiler was specified, use CC.
7667 # If no C compiler flags were specified, use CFLAGS.
7668 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7670 # Allow CC to be a program name with arguments.
7673 # Save the default compiler, since it gets overwritten when the other
7674 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7675 compiler_DEFAULT=$CC
7677 # save warnings/boilerplate of simple test code
7678 ac_outfile=conftest.$ac_objext
7679 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7680 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7681 _lt_compiler_boilerplate=`cat conftest.err`
7684 ac_outfile=conftest.$ac_objext
7685 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7686 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7687 _lt_linker_boilerplate=`cat conftest.err`
7692 ## There is no encapsulation within the following macros, do not change
7693 ## the running order or otherwise move them around unless you know exactly
7694 ## what you are doing...
7695 if test -n "$compiler"; then
7697 lt_prog_compiler_no_builtin_flag=
7699 if test "$GCC" = yes; then
7700 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7703 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7704 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7705 $as_echo_n "(cached) " >&6
7707 lt_cv_prog_compiler_rtti_exceptions=no
7708 ac_outfile=conftest.$ac_objext
7709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7710 lt_compiler_flag="-fno-rtti -fno-exceptions"
7711 # Insert the option either (1) after the last *FLAGS variable, or
7712 # (2) before a word containing "conftest.", or (3) at the end.
7713 # Note that $ac_compile itself does not contain backslashes and begins
7714 # with a dollar sign (not a hyphen), so the echo should work correctly.
7715 # The option is referenced via a variable to avoid confusing sed.
7716 lt_compile=`echo "$ac_compile" | $SED \
7717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7719 -e 's:$: $lt_compiler_flag:'`
7720 (eval echo "\"\$as_me:7720: $lt_compile\"" >&5)
7721 (eval "$lt_compile" 2>conftest.err)
7723 cat conftest.err >&5
7724 echo "$as_me:7724: \$? = $ac_status" >&5
7725 if (exit $ac_status) && test -s "$ac_outfile"; then
7726 # The compiler can only warn and ignore the option if not recognized
7727 # So say no if there are warnings other than the usual output.
7728 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7729 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7730 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7731 lt_cv_prog_compiler_rtti_exceptions=yes
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7738 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7740 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7741 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7753 lt_prog_compiler_wl=
7754 lt_prog_compiler_pic=
7755 lt_prog_compiler_static=
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7758 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7760 if test "$GCC" = yes; then
7761 lt_prog_compiler_wl='-Wl,'
7762 lt_prog_compiler_static='-static'
7766 # All AIX code is PIC.
7767 if test "$host_cpu" = ia64; then
7768 # AIX 5 now supports IA64 processor
7769 lt_prog_compiler_static='-Bstatic'
7776 # see comment about AmigaOS4 .so support
7777 lt_prog_compiler_pic='-fPIC'
7780 # FIXME: we need at least 68020 code to build shared libraries, but
7781 # adding the `-m68020' flag to GCC prevents building anything better,
7783 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7788 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7789 # PIC is the default for these OSes.
7792 mingw* | cygwin* | pw32* | os2* | cegcc*)
7793 # This hack is so that the source file can tell whether it is being
7794 # built for inclusion in a dll (and should export symbols for example).
7795 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7796 # (--disable-auto-import) libraries
7797 lt_prog_compiler_pic='-DDLL_EXPORT'
7800 darwin* | rhapsody*)
7801 # PIC is the default on this platform
7802 # Common symbols not allowed in MH_DYLIB files
7803 lt_prog_compiler_pic='-fno-common'
7807 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7808 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7809 # sets the default TLS model and affects inlining.
7815 lt_prog_compiler_pic='-fPIC'
7821 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7822 # Instead, we relocate shared libraries at runtime.
7826 # Just because we use GCC doesn't mean we suddenly get shared libraries
7827 # on systems that don't support them.
7828 lt_prog_compiler_can_build_shared=no
7833 # QNX uses GNU C++, but need to define -shared option too, otherwise
7835 lt_prog_compiler_pic='-fPIC -shared'
7839 if test -d /usr/nec; then
7840 lt_prog_compiler_pic=-Kconform_pic
7845 lt_prog_compiler_pic='-fPIC'
7849 # PORTME Check for flag to pass linker flags through the system compiler.
7852 lt_prog_compiler_wl='-Wl,'
7853 if test "$host_cpu" = ia64; then
7854 # AIX 5 now supports IA64 processor
7855 lt_prog_compiler_static='-Bstatic'
7857 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7861 mingw* | cygwin* | pw32* | os2* | cegcc*)
7862 # This hack is so that the source file can tell whether it is being
7863 # built for inclusion in a dll (and should export symbols for example).
7864 lt_prog_compiler_pic='-DDLL_EXPORT'
7867 hpux9* | hpux10* | hpux11*)
7868 lt_prog_compiler_wl='-Wl,'
7869 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7876 lt_prog_compiler_pic='+Z'
7879 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7880 lt_prog_compiler_static='${wl}-a ${wl}archive'
7883 irix5* | irix6* | nonstopux*)
7884 lt_prog_compiler_wl='-Wl,'
7885 # PIC (with -KPIC) is the default.
7886 lt_prog_compiler_static='-non_shared'
7889 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7890 case $cc_basename in
7891 # old Intel for x86_64 which still supported -KPIC.
7893 lt_prog_compiler_wl='-Wl,'
7894 lt_prog_compiler_pic='-KPIC'
7895 lt_prog_compiler_static='-static'
7897 # icc used to be incompatible with GCC.
7898 # ICC 10 doesn't accept -KPIC any more.
7900 lt_prog_compiler_wl='-Wl,'
7901 lt_prog_compiler_pic='-fPIC'
7902 lt_prog_compiler_static='-static'
7904 # Lahey Fortran 8.1.
7906 lt_prog_compiler_wl='-Wl,'
7907 lt_prog_compiler_pic='--shared'
7908 lt_prog_compiler_static='--static'
7910 pgcc* | pgf77* | pgf90* | pgf95*)
7911 # Portland Group compilers (*not* the Pentium gcc compiler,
7912 # which looks to be a dead project)
7913 lt_prog_compiler_wl='-Wl,'
7914 lt_prog_compiler_pic='-fpic'
7915 lt_prog_compiler_static='-Bstatic'
7918 lt_prog_compiler_wl='-Wl,'
7919 # All Alpha code is PIC.
7920 lt_prog_compiler_static='-non_shared'
7923 # IBM XL C 8.0/Fortran 10.1 on PPC
7924 lt_prog_compiler_wl='-Wl,'
7925 lt_prog_compiler_pic='-qpic'
7926 lt_prog_compiler_static='-qstaticlink'
7929 case `$CC -V 2>&1 | sed 5q` in
7932 lt_prog_compiler_pic='-KPIC'
7933 lt_prog_compiler_static='-Bstatic'
7934 lt_prog_compiler_wl='-Wl,'
7937 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7938 lt_prog_compiler_pic='-KPIC'
7939 lt_prog_compiler_static='-Bstatic'
7940 lt_prog_compiler_wl=''
7948 lt_prog_compiler_pic='-KPIC'
7949 lt_prog_compiler_static='-Bstatic'
7953 # QNX uses GNU C++, but need to define -shared option too, otherwise
7955 lt_prog_compiler_pic='-fPIC -shared'
7958 osf3* | osf4* | osf5*)
7959 lt_prog_compiler_wl='-Wl,'
7960 # All OSF/1 code is PIC.
7961 lt_prog_compiler_static='-non_shared'
7965 lt_prog_compiler_static='-non_shared'
7969 lt_prog_compiler_pic='-KPIC'
7970 lt_prog_compiler_static='-Bstatic'
7971 case $cc_basename in
7973 lt_prog_compiler_wl='-Qoption ld ';;
7975 lt_prog_compiler_wl='-Wl,';;
7980 lt_prog_compiler_wl='-Qoption ld '
7981 lt_prog_compiler_pic='-PIC'
7982 lt_prog_compiler_static='-Bstatic'
7985 sysv4 | sysv4.2uw2* | sysv4.3*)
7986 lt_prog_compiler_wl='-Wl,'
7987 lt_prog_compiler_pic='-KPIC'
7988 lt_prog_compiler_static='-Bstatic'
7992 if test -d /usr/nec ;then
7993 lt_prog_compiler_pic='-Kconform_pic'
7994 lt_prog_compiler_static='-Bstatic'
7998 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7999 lt_prog_compiler_wl='-Wl,'
8000 lt_prog_compiler_pic='-KPIC'
8001 lt_prog_compiler_static='-Bstatic'
8005 lt_prog_compiler_wl='-Wl,'
8006 lt_prog_compiler_can_build_shared=no
8010 lt_prog_compiler_pic='-pic'
8011 lt_prog_compiler_static='-Bstatic'
8015 lt_prog_compiler_can_build_shared=no
8021 # For platforms which do not support PIC, -DPIC is meaningless:
8023 lt_prog_compiler_pic=
8026 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8030 $as_echo "$lt_prog_compiler_pic" >&6; }
8038 # Check to make sure the PIC flag actually works.
8040 if test -n "$lt_prog_compiler_pic"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8042 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8043 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8044 $as_echo_n "(cached) " >&6
8046 lt_cv_prog_compiler_pic_works=no
8047 ac_outfile=conftest.$ac_objext
8048 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8049 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8050 # Insert the option either (1) after the last *FLAGS variable, or
8051 # (2) before a word containing "conftest.", or (3) at the end.
8052 # Note that $ac_compile itself does not contain backslashes and begins
8053 # with a dollar sign (not a hyphen), so the echo should work correctly.
8054 # The option is referenced via a variable to avoid confusing sed.
8055 lt_compile=`echo "$ac_compile" | $SED \
8056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8058 -e 's:$: $lt_compiler_flag:'`
8059 (eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
8060 (eval "$lt_compile" 2>conftest.err)
8062 cat conftest.err >&5
8063 echo "$as_me:8063: \$? = $ac_status" >&5
8064 if (exit $ac_status) && test -s "$ac_outfile"; then
8065 # The compiler can only warn and ignore the option if not recognized
8066 # So say no if there are warnings other than the usual output.
8067 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8068 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8069 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8070 lt_cv_prog_compiler_pic_works=yes
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8077 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8079 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8080 case $lt_prog_compiler_pic in
8082 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8085 lt_prog_compiler_pic=
8086 lt_prog_compiler_can_build_shared=no
8097 # Check to make sure the static flag actually works.
8099 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8101 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8102 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8103 $as_echo_n "(cached) " >&6
8105 lt_cv_prog_compiler_static_works=no
8106 save_LDFLAGS="$LDFLAGS"
8107 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8108 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8109 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8110 # The linker can only warn and ignore the option if not recognized
8111 # So say no if there are warnings
8112 if test -s conftest.err; then
8113 # Append any errors to the config.log.
8114 cat conftest.err 1>&5
8115 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8116 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8117 if diff conftest.exp conftest.er2 >/dev/null; then
8118 lt_cv_prog_compiler_static_works=yes
8121 lt_cv_prog_compiler_static_works=yes
8125 LDFLAGS="$save_LDFLAGS"
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8129 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8131 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8134 lt_prog_compiler_static=
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8144 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8145 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8146 $as_echo_n "(cached) " >&6
8148 lt_cv_prog_compiler_c_o=no
8149 $RM -r conftest 2>/dev/null
8153 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8155 lt_compiler_flag="-o out/conftest2.$ac_objext"
8156 # Insert the option either (1) after the last *FLAGS variable, or
8157 # (2) before a word containing "conftest.", or (3) at the end.
8158 # Note that $ac_compile itself does not contain backslashes and begins
8159 # with a dollar sign (not a hyphen), so the echo should work correctly.
8160 lt_compile=`echo "$ac_compile" | $SED \
8161 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8163 -e 's:$: $lt_compiler_flag:'`
8164 (eval echo "\"\$as_me:8164: $lt_compile\"" >&5)
8165 (eval "$lt_compile" 2>out/conftest.err)
8167 cat out/conftest.err >&5
8168 echo "$as_me:8168: \$? = $ac_status" >&5
8169 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8171 # The compiler can only warn and ignore the option if not recognized
8172 # So say no if there are warnings
8173 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8174 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8175 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8176 lt_cv_prog_compiler_c_o=yes
8181 # SGI C++ compiler will create directory out/ii_files/ for
8182 # template instantiation
8183 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8184 $RM out/* && rmdir out
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8191 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8199 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8200 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8201 $as_echo_n "(cached) " >&6
8203 lt_cv_prog_compiler_c_o=no
8204 $RM -r conftest 2>/dev/null
8208 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8210 lt_compiler_flag="-o out/conftest2.$ac_objext"
8211 # Insert the option either (1) after the last *FLAGS variable, or
8212 # (2) before a word containing "conftest.", or (3) at the end.
8213 # Note that $ac_compile itself does not contain backslashes and begins
8214 # with a dollar sign (not a hyphen), so the echo should work correctly.
8215 lt_compile=`echo "$ac_compile" | $SED \
8216 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8217 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8218 -e 's:$: $lt_compiler_flag:'`
8219 (eval echo "\"\$as_me:8219: $lt_compile\"" >&5)
8220 (eval "$lt_compile" 2>out/conftest.err)
8222 cat out/conftest.err >&5
8223 echo "$as_me:8223: \$? = $ac_status" >&5
8224 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8226 # The compiler can only warn and ignore the option if not recognized
8227 # So say no if there are warnings
8228 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8229 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8230 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8231 lt_cv_prog_compiler_c_o=yes
8236 # SGI C++ compiler will create directory out/ii_files/ for
8237 # template instantiation
8238 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8239 $RM out/* && rmdir out
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8246 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8251 hard_links="nottested"
8252 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8253 # do not overwrite the value of need_locks provided by the user
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8255 $as_echo_n "checking if we can lock with hard links... " >&6; }
8258 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8260 ln conftest.a conftest.b 2>&5 || hard_links=no
8261 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8263 $as_echo "$hard_links" >&6; }
8264 if test "$hard_links" = no; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8266 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8279 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8282 allow_undefined_flag=
8283 always_export_symbols=no
8285 archive_expsym_cmds=
8286 compiler_needs_object=no
8287 enable_shared_with_static_runtimes=no
8288 export_dynamic_flag_spec=
8289 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8290 hardcode_automatic=no
8292 hardcode_direct_absolute=no
8293 hardcode_libdir_flag_spec=
8294 hardcode_libdir_flag_spec_ld=
8295 hardcode_libdir_separator=
8297 hardcode_shlibpath_var=unsupported
8299 link_all_deplibs=unknown
8302 old_archive_from_new_cmds=
8303 old_archive_from_expsyms_cmds=
8304 thread_safe_flag_spec=
8305 whole_archive_flag_spec=
8306 # include_expsyms should be a list of space-separated symbols to be *always*
8307 # included in the symbol list
8309 # exclude_expsyms can be an extended regexp of symbols to exclude
8310 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8311 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8312 # as well as any symbol that contains `d'.
8313 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8314 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8315 # platforms (ab)use it in PIC code, but their linkers get confused if
8316 # the symbol is explicitly referenced. Since portable code cannot
8317 # rely on this symbol name, it's probably fine to never include it in
8318 # preloaded symbol tables.
8319 # Exclude shared library initialization/finalization symbols.
8320 extract_expsyms_cmds=
8323 cygwin* | mingw* | pw32* | cegcc*)
8324 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8325 # When not using gcc, we currently assume that we are using
8326 # Microsoft Visual C++.
8327 if test "$GCC" != yes; then
8332 # we just hope/assume this is gcc and not c89 (= MSVC++)
8338 linux* | k*bsd*-gnu)
8344 if test "$with_gnu_ld" = yes; then
8345 # If archive_cmds runs LD, not CC, wlarc should be empty
8348 # Set some defaults for GNU ld with shared library support. These
8349 # are reset later if shared libraries are not supported. Putting them
8350 # here allows them to be overridden if necessary.
8351 runpath_var=LD_RUN_PATH
8352 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8353 export_dynamic_flag_spec='${wl}--export-dynamic'
8354 # ancient GNU ld didn't support --whole-archive et. al.
8355 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8356 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8358 whole_archive_flag_spec=
8360 supports_anon_versioning=no
8361 case `$LD -v 2>&1` in
8362 *GNU\ gold*) supports_anon_versioning=yes ;;
8363 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8364 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8365 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8366 *\ 2.11.*) ;; # other 2.11 versions
8367 *) supports_anon_versioning=yes ;;
8370 # See if GNU ld supports shared libraries.
8373 # On AIX/PPC, the GNU linker is very broken
8374 if test "$host_cpu" != ia64; then
8378 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8379 *** to be unable to reliably create shared libraries on AIX.
8380 *** Therefore, libtool is disabling shared libraries support. If you
8381 *** really care for shared libraries, you may want to modify your PATH
8382 *** so that a non-GNU linker is found, and then restart.
8391 # see comment about AmigaOS4 .so support
8392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8393 archive_expsym_cmds=''
8396 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)'
8397 hardcode_libdir_flag_spec='-L$libdir'
8398 hardcode_minus_L=yes
8404 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8405 allow_undefined_flag=unsupported
8406 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8407 # support --undefined. This deserves some investigation. FIXME
8408 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8414 cygwin* | mingw* | pw32* | cegcc*)
8415 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8416 # as there is no search path for DLLs.
8417 hardcode_libdir_flag_spec='-L$libdir'
8418 allow_undefined_flag=unsupported
8419 always_export_symbols=no
8420 enable_shared_with_static_runtimes=yes
8421 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8423 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8424 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8425 # If the export-symbols file already is a .def file (1st line
8426 # is EXPORTS), use it as is; otherwise, prepend...
8427 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8428 cp $export_symbols $output_objdir/$soname.def;
8430 echo EXPORTS > $output_objdir/$soname.def;
8431 cat $export_symbols >> $output_objdir/$soname.def;
8433 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8441 hardcode_shlibpath_var=no
8442 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8443 export_dynamic_flag_spec='${wl}-E'
8444 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8445 # Instead, shared libraries are loaded at an image base (0x10000000 by
8446 # default) and relocated if they conflict, which is a slow very memory
8447 # consuming and fragmenting process. To avoid this, we pick a random,
8448 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8449 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8450 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8451 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'
8454 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8456 if test "$host_os" = linux-dietlibc; then
8457 case $cc_basename in
8458 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8461 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8462 && test "$tmp_diet" = no
8465 tmp_sharedflag='-shared'
8466 case $cc_basename,$host_cpu in
8467 pgcc*) # Portland Group C compiler
8468 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'
8469 tmp_addflag=' $pic_flag'
8471 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8472 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'
8473 tmp_addflag=' $pic_flag -Mnomain' ;;
8474 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8475 tmp_addflag=' -i_dynamic' ;;
8476 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8477 tmp_addflag=' -i_dynamic -nofor_main' ;;
8478 ifc* | ifort*) # Intel Fortran compiler
8479 tmp_addflag=' -nofor_main' ;;
8480 lf95*) # Lahey Fortran 8.1
8481 whole_archive_flag_spec=
8482 tmp_sharedflag='--shared' ;;
8483 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8484 tmp_sharedflag='-qmkshrobj'
8487 case `$CC -V 2>&1 | sed 5q` in
8488 *Sun\ C*) # Sun C 5.9
8489 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'
8490 compiler_needs_object=yes
8491 tmp_sharedflag='-G' ;;
8492 *Sun\ F*) # Sun Fortran 8.3
8493 tmp_sharedflag='-G' ;;
8495 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8497 if test "x$supports_anon_versioning" = xyes; then
8498 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8499 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8500 echo "local: *; };" >> $output_objdir/$libname.ver~
8501 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8504 case $cc_basename in
8506 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8507 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8508 hardcode_libdir_flag_spec=
8509 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8510 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8511 if test "x$supports_anon_versioning" = xyes; then
8512 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8513 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8514 echo "local: *; };" >> $output_objdir/$libname.ver~
8515 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8524 netbsd* | netbsdelf*-gnu)
8525 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8526 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8529 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8530 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8535 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8539 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8540 *** create shared libraries on Solaris systems. Therefore, libtool
8541 *** is disabling shared libraries support. We urge you to upgrade GNU
8542 *** binutils to release 2.9.1 or newer. Another option is to modify
8543 *** your PATH or compiler configuration so that the native linker is
8544 *** used, and then restart.
8547 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8555 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8556 case `$LD -v 2>&1` in
8557 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8561 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8562 *** reliably create shared libraries on SCO systems. Therefore, libtool
8563 *** is disabling shared libraries support. We urge you to upgrade GNU
8564 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8565 *** your PATH or compiler configuration so that the native linker is
8566 *** used, and then restart.
8571 # For security reasons, it is highly recommended that you always
8572 # use absolute paths for naming shared libraries, and exclude the
8573 # DT_RUNPATH tag from executables and libraries. But doing so
8574 # requires that you compile everything twice, which is a pain.
8575 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8576 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8577 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8578 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8587 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_shlibpath_var=no
8594 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8595 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8596 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8603 if test "$ld_shlibs" = no; then
8605 hardcode_libdir_flag_spec=
8606 export_dynamic_flag_spec=
8607 whole_archive_flag_spec=
8610 # PORTME fill in a description of your system's linker (not GNU ld)
8613 allow_undefined_flag=unsupported
8614 always_export_symbols=yes
8615 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'
8616 # Note: this linker hardcodes the directories in LIBPATH if there
8617 # are no directories specified by -L.
8618 hardcode_minus_L=yes
8619 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8620 # Neither direct hardcoding nor static linking is supported with a
8622 hardcode_direct=unsupported
8627 if test "$host_cpu" = ia64; then
8628 # On IA64, the linker does run time linking by default, so we don't
8629 # have to do anything special.
8630 aix_use_runtimelinking=no
8631 exp_sym_flag='-Bexport'
8634 # If we're using GNU nm, then we don't want the "-C" option.
8635 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8636 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8637 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'
8639 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'
8641 aix_use_runtimelinking=no
8643 # Test if we are trying to use run time linking or normal
8644 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8645 # need to do runtime linking.
8646 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8647 for ld_flag in $LDFLAGS; do
8648 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8649 aix_use_runtimelinking=yes
8656 exp_sym_flag='-bexport'
8657 no_entry_flag='-bnoentry'
8660 # When large executables or shared objects are built, AIX ld can
8661 # have problems creating the table of contents. If linking a library
8662 # or program results in "error TOC overflow" add -mminimal-toc to
8663 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8664 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8668 hardcode_direct_absolute=yes
8669 hardcode_libdir_separator=':'
8670 link_all_deplibs=yes
8671 file_list_spec='${wl}-f,'
8673 if test "$GCC" = yes; then
8674 case $host_os in aix4.[012]|aix4.[012].*)
8675 # We only want to do this on AIX 4.2 and lower, the check
8676 # below for broken collect2 doesn't work under 4.3+
8677 collect2name=`${CC} -print-prog-name=collect2`
8678 if test -f "$collect2name" &&
8679 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8681 # We have reworked collect2
8684 # We have old collect2
8685 hardcode_direct=unsupported
8686 # It fails to find uninstalled libraries when the uninstalled
8687 # path is not listed in the libpath. Setting hardcode_minus_L
8688 # to unsupported forces relinking
8689 hardcode_minus_L=yes
8690 hardcode_libdir_flag_spec='-L$libdir'
8691 hardcode_libdir_separator=
8695 shared_flag='-shared'
8696 if test "$aix_use_runtimelinking" = yes; then
8697 shared_flag="$shared_flag "'${wl}-G'
8702 if test "$host_cpu" = ia64; then
8703 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8704 # chokes on -Wl,-G. The following line is correct:
8707 if test "$aix_use_runtimelinking" = yes; then
8708 shared_flag='${wl}-G'
8710 shared_flag='${wl}-bM:SRE'
8715 export_dynamic_flag_spec='${wl}-bexpall'
8716 # It seems that -bexpall does not export symbols beginning with
8717 # underscore (_), so it is better to generate a list of symbols to export.
8718 always_export_symbols=yes
8719 if test "$aix_use_runtimelinking" = yes; then
8720 # Warning - without using the other runtime loading flags (-brtl),
8721 # -berok will link without error, but may produce a broken library.
8722 allow_undefined_flag='-berok'
8723 # Determine the default libpath from the value encoded in an
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8736 if ac_fn_c_try_link "$LINENO"; then :
8738 lt_aix_libpath_sed='
8739 /Import File Strings/,/^$/ {
8745 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8746 # Check for a 64-bit object if we didn't find anything.
8747 if test -z "$aix_libpath"; then
8748 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8756 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"
8758 if test "$host_cpu" = ia64; then
8759 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8760 allow_undefined_flag="-z nodefs"
8761 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"
8763 # Determine the default libpath from the value encoded in an
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8776 if ac_fn_c_try_link "$LINENO"; then :
8778 lt_aix_libpath_sed='
8779 /Import File Strings/,/^$/ {
8785 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8786 # Check for a 64-bit object if we didn't find anything.
8787 if test -z "$aix_libpath"; then
8788 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8795 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8796 # Warning - without using the other run time loading flags,
8797 # -berok will link without error, but may produce a broken library.
8798 no_undefined_flag=' ${wl}-bernotok'
8799 allow_undefined_flag=' ${wl}-berok'
8800 # Exported symbols can be pulled into shared objects from archives
8801 whole_archive_flag_spec='$convenience'
8802 archive_cmds_need_lc=yes
8803 # This is similar to how AIX traditionally builds its shared libraries.
8804 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'
8812 # see comment about AmigaOS4 .so support
8813 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8814 archive_expsym_cmds=''
8817 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)'
8818 hardcode_libdir_flag_spec='-L$libdir'
8819 hardcode_minus_L=yes
8825 export_dynamic_flag_spec=-rdynamic
8828 cygwin* | mingw* | pw32* | cegcc*)
8829 # When not using gcc, we currently assume that we are using
8830 # Microsoft Visual C++.
8831 # hardcode_libdir_flag_spec is actually meaningless, as there is
8832 # no search path for DLLs.
8833 hardcode_libdir_flag_spec=' '
8834 allow_undefined_flag=unsupported
8835 # Tell ltmain to make .lib files, not .a files.
8837 # Tell ltmain to make .dll files, not .so files.
8839 # FIXME: Setting linknames here is a bad hack.
8840 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8841 # The linker will automatically build a .lib file if we build a DLL.
8842 old_archive_from_new_cmds='true'
8843 # FIXME: Should let the user specify the lib program.
8844 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8845 fix_srcfile_path='`cygpath -w "$srcfile"`'
8846 enable_shared_with_static_runtimes=yes
8849 darwin* | rhapsody*)
8852 archive_cmds_need_lc=no
8854 hardcode_automatic=yes
8855 hardcode_shlibpath_var=unsupported
8856 whole_archive_flag_spec=''
8857 link_all_deplibs=yes
8858 allow_undefined_flag="$_lt_dar_allow_undefined"
8859 case $cc_basename in
8860 ifort*) _lt_dar_can_shared=yes ;;
8861 *) _lt_dar_can_shared=$GCC ;;
8863 if test "$_lt_dar_can_shared" = "yes"; then
8864 output_verbose_link_cmd=echo
8865 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8866 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8867 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}"
8868 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}"
8877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8878 hardcode_libdir_flag_spec='-L$libdir'
8879 hardcode_shlibpath_var=no
8886 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8887 # support. Future versions do this automatically, but an explicit c++rt0.o
8888 # does not break anything, and helps significantly (at the cost of a little
8891 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8892 hardcode_libdir_flag_spec='-R$libdir'
8894 hardcode_shlibpath_var=no
8897 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8899 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8901 hardcode_minus_L=yes
8902 hardcode_shlibpath_var=no
8905 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8906 freebsd* | dragonfly*)
8907 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8908 hardcode_libdir_flag_spec='-R$libdir'
8910 hardcode_shlibpath_var=no
8914 if test "$GCC" = yes; then
8915 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'
8917 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'
8919 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8920 hardcode_libdir_separator=:
8923 # hardcode_minus_L: Not really in the search PATH,
8924 # but as the default location of the library.
8925 hardcode_minus_L=yes
8926 export_dynamic_flag_spec='${wl}-E'
8930 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8931 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8935 if test "$with_gnu_ld" = no; then
8936 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8937 hardcode_libdir_flag_spec_ld='+b $libdir'
8938 hardcode_libdir_separator=:
8940 hardcode_direct_absolute=yes
8941 export_dynamic_flag_spec='${wl}-E'
8942 # hardcode_minus_L: Not really in the search PATH,
8943 # but as the default location of the library.
8944 hardcode_minus_L=yes
8949 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8952 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8955 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8958 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8967 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8970 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8974 if test "$with_gnu_ld" = no; then
8975 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8976 hardcode_libdir_separator=:
8981 hardcode_shlibpath_var=no
8985 hardcode_direct_absolute=yes
8986 export_dynamic_flag_spec='${wl}-E'
8988 # hardcode_minus_L: Not really in the search PATH,
8989 # but as the default location of the library.
8990 hardcode_minus_L=yes
8996 irix5* | irix6* | nonstopux*)
8997 if test "$GCC" = yes; then
8998 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'
8999 # Try to use the -exported_symbol ld option, if it does not
9000 # work, assume that -exports_file does not work either and
9001 # implicitly export all symbols.
9002 save_LDFLAGS="$LDFLAGS"
9003 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9008 if ac_fn_c_try_link "$LINENO"; then :
9009 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'
9012 rm -f core conftest.err conftest.$ac_objext \
9013 conftest$ac_exeext conftest.$ac_ext
9014 LDFLAGS="$save_LDFLAGS"
9016 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'
9017 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'
9019 archive_cmds_need_lc='no'
9020 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9021 hardcode_libdir_separator=:
9023 link_all_deplibs=yes
9026 netbsd* | netbsdelf*-gnu)
9027 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9028 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9030 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9032 hardcode_libdir_flag_spec='-R$libdir'
9034 hardcode_shlibpath_var=no
9038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9041 hardcode_libdir_separator=:
9042 hardcode_shlibpath_var=no
9049 if test -f /usr/libexec/ld.so; then
9051 hardcode_shlibpath_var=no
9052 hardcode_direct_absolute=yes
9053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9054 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9056 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9057 export_dynamic_flag_spec='${wl}-E'
9060 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9061 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9062 hardcode_libdir_flag_spec='-R$libdir'
9065 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9066 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9076 hardcode_libdir_flag_spec='-L$libdir'
9077 hardcode_minus_L=yes
9078 allow_undefined_flag=unsupported
9079 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'
9080 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9084 if test "$GCC" = yes; then
9085 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9086 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'
9088 allow_undefined_flag=' -expect_unresolved \*'
9089 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'
9091 archive_cmds_need_lc='no'
9092 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9093 hardcode_libdir_separator=:
9096 osf4* | osf5*) # as osf3* with the addition of -msym flag
9097 if test "$GCC" = yes; then
9098 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9099 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'
9100 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9102 allow_undefined_flag=' -expect_unresolved \*'
9103 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'
9104 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~
9105 $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'
9107 # Both c and cxx compiler support -rpath directly
9108 hardcode_libdir_flag_spec='-rpath $libdir'
9110 archive_cmds_need_lc='no'
9111 hardcode_libdir_separator=:
9115 no_undefined_flag=' -z defs'
9116 if test "$GCC" = yes; then
9118 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9120 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9122 case `$CC -V 2>&1` in
9125 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9126 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9127 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9131 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9133 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9137 hardcode_libdir_flag_spec='-R$libdir'
9138 hardcode_shlibpath_var=no
9140 solaris2.[0-5] | solaris2.[0-5].*) ;;
9142 # The compiler driver will combine and reorder linker options,
9143 # but understands `-z linker_flag'. GCC discards it without `$wl',
9144 # but is careful enough not to reorder.
9145 # Supported since Solaris 2.6 (maybe 2.5.1?)
9146 if test "$GCC" = yes; then
9147 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9149 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9153 link_all_deplibs=yes
9157 if test "x$host_vendor" = xsequent; then
9158 # Use $CC to link under sequent, because it throws in some extra .o
9159 # files that make .init and .fini sections work.
9160 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9164 hardcode_libdir_flag_spec='-L$libdir'
9166 hardcode_minus_L=yes
9167 hardcode_shlibpath_var=no
9171 case $host_vendor in
9173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9174 hardcode_direct=yes # is this really true???
9177 ## LD is ld it makes a PLAMLIB
9178 ## CC just makes a GrossModule.
9179 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9180 reload_cmds='$CC -r -o $output$reload_objs'
9184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9185 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9188 runpath_var='LD_RUN_PATH'
9189 hardcode_shlibpath_var=no
9193 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9194 hardcode_shlibpath_var=no
9195 export_dynamic_flag_spec='-Bexport'
9199 if test -d /usr/nec; then
9200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9201 hardcode_shlibpath_var=no
9202 runpath_var=LD_RUN_PATH
9203 hardcode_runpath_var=yes
9208 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9209 no_undefined_flag='${wl}-z,text'
9210 archive_cmds_need_lc=no
9211 hardcode_shlibpath_var=no
9212 runpath_var='LD_RUN_PATH'
9214 if test "$GCC" = yes; then
9215 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9216 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9218 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9219 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9223 sysv5* | sco3.2v5* | sco5v6*)
9224 # Note: We can NOT use -z defs as we might desire, because we do not
9225 # link with -lc, and that would cause any symbols used from libc to
9226 # always be unresolved, which means just about no library would
9227 # ever link correctly. If we're not using GNU ld we use -z text
9228 # though, which does catch some bad symbols but isn't as heavy-handed
9230 no_undefined_flag='${wl}-z,text'
9231 allow_undefined_flag='${wl}-z,nodefs'
9232 archive_cmds_need_lc=no
9233 hardcode_shlibpath_var=no
9234 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9235 hardcode_libdir_separator=':'
9236 link_all_deplibs=yes
9237 export_dynamic_flag_spec='${wl}-Bexport'
9238 runpath_var='LD_RUN_PATH'
9240 if test "$GCC" = yes; then
9241 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9242 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9244 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9245 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9250 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9251 hardcode_libdir_flag_spec='-L$libdir'
9252 hardcode_shlibpath_var=no
9260 if test x$host_vendor = xsni; then
9262 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9263 export_dynamic_flag_spec='${wl}-Blargedynsym'
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9270 $as_echo "$ld_shlibs" >&6; }
9271 test "$ld_shlibs" = no && can_build_shared=no
9273 with_gnu_ld=$with_gnu_ld
9290 # Do we need to explicitly link libc?
9292 case "x$archive_cmds_need_lc" in
9294 # Assume -lc should be added
9295 archive_cmds_need_lc=yes
9297 if test "$enable_shared" = yes && test "$GCC" = yes; then
9298 case $archive_cmds in
9300 # FIXME: we may have to deal with multi-command sequences.
9303 # Test whether the compiler implicitly links with -lc since on some
9304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9305 # to ld, don't add -lc before -lgcc.
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9307 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9312 (eval $ac_compile) 2>&5
9314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9315 test $ac_status = 0; } 2>conftest.err; then
9318 libobjs=conftest.$ac_objext
9320 wl=$lt_prog_compiler_wl
9321 pic_flag=$lt_prog_compiler_pic
9327 lt_save_allow_undefined_flag=$allow_undefined_flag
9328 allow_undefined_flag=
9329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9330 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9333 test $ac_status = 0; }
9335 archive_cmds_need_lc=no
9337 archive_cmds_need_lc=yes
9339 allow_undefined_flag=$lt_save_allow_undefined_flag
9341 cat conftest.err 1>&5
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9345 $as_echo "$archive_cmds_need_lc" >&6; }
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9509 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9511 if test "$GCC" = yes; then
9513 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9514 *) lt_awk_arg="/^libraries:/" ;;
9516 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9517 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9518 # if the path contains ";" then we assume it to be the separator
9519 # otherwise default to the standard path separator (i.e. ":") - it is
9520 # assumed that no part of a normal pathname contains ";" but that should
9521 # okay in the real world where ";" in dirpaths is itself problematic.
9522 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9524 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9526 # Ok, now we have the path, separated by spaces, we can step through it
9527 # and add multilib dir if necessary.
9528 lt_tmp_lt_search_path_spec=
9529 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9530 for lt_sys_path in $lt_search_path_spec; do
9531 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9532 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9534 test -d "$lt_sys_path" && \
9535 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9538 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9539 BEGIN {RS=" "; FS="/|\n";} {
9542 for (lt_i = NF; lt_i > 0; lt_i--) {
9543 if ($lt_i != "" && $lt_i != ".") {
9544 if ($lt_i == "..") {
9547 if (lt_count == 0) {
9548 lt_foo="/" $lt_i lt_foo;
9555 if (lt_foo != "") { lt_freq[lt_foo]++; }
9556 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9558 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9560 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9563 libname_spec='lib$name'
9571 shlibpath_overrides_runpath=unknown
9573 dynamic_linker="$host_os ld.so"
9574 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9575 need_lib_prefix=unknown
9576 hardcode_into_libs=no
9578 # when you set need_version to no, make sure it does not cause -set_version
9579 # flags to be left without arguments
9580 need_version=unknown
9585 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9586 shlibpath_var=LIBPATH
9588 # AIX 3 has no versioning support, so we append a major version to the name.
9589 soname_spec='${libname}${release}${shared_ext}$major'
9596 hardcode_into_libs=yes
9597 if test "$host_cpu" = ia64; then
9598 # AIX 5 supports IA64
9599 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9600 shlibpath_var=LD_LIBRARY_PATH
9602 # With GCC up to 2.95.x, collect2 would create an import file
9603 # for dependence libraries. The import file would start with
9604 # the line `#! .'. This would cause the generated library to
9605 # depend on `.', always an invalid library. This was fixed in
9606 # development snapshots of GCC prior to 3.0.
9608 aix4 | aix4.[01] | aix4.[01].*)
9609 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9611 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9618 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9619 # soname into executable. Probably we can add versioning support to
9620 # collect2, so additional links can be useful in future.
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9623 # instead of lib<name>.a to let people know that these are not
9624 # typical AIX shared libraries.
9625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9627 # We preserve .a as extension for shared libraries through AIX4.2
9628 # and later when we are not doing run time linking.
9629 library_names_spec='${libname}${release}.a $libname.a'
9630 soname_spec='${libname}${release}${shared_ext}$major'
9632 shlibpath_var=LIBPATH
9639 # Since July 2007 AmigaOS4 officially supports .so libraries.
9640 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9644 library_names_spec='$libname.ixlibrary $libname.a'
9645 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9646 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'
9652 library_names_spec='${libname}${shared_ext}'
9653 dynamic_linker="$host_os ld.so"
9654 shlibpath_var=LIBRARY_PATH
9660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661 soname_spec='${libname}${release}${shared_ext}$major'
9662 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9663 shlibpath_var=LD_LIBRARY_PATH
9664 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9665 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9666 # the default ld.so.conf also contains /usr/contrib/lib and
9667 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9668 # libtool to hard-code these into programs
9671 cygwin* | mingw* | pw32* | cegcc*)
9672 version_type=windows
9677 case $GCC,$host_os in
9678 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9679 library_names_spec='$libname.dll.a'
9680 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9681 postinstall_cmds='base_file=`basename \${file}`~
9682 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9683 dldir=$destdir/`dirname \$dlpath`~
9684 test -d \$dldir || mkdir -p \$dldir~
9685 $install_prog $dir/$dlname \$dldir/$dlname~
9686 chmod a+x \$dldir/$dlname~
9687 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9688 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9691 dlpath=$dir/\$dldll~
9693 shlibpath_overrides_runpath=yes
9697 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9698 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9699 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9702 # MinGW DLLs use traditional 'lib' prefix
9703 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9704 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9705 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9706 # It is most probably a Windows format PATH printed by
9707 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9708 # path with ; separators, and with drive letters. We can handle the
9709 # drive letters (cygwin fileutils understands them), so leave them,
9710 # especially as we might pass files found there to a mingw objdump,
9711 # which wouldn't understand a cygwinified path. Ahh.
9712 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9714 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9718 # pw32 DLLs use 'pw' prefix rather than 'lib'
9719 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9725 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9728 dynamic_linker='Win32 ld.exe'
9729 # FIXME: first we should search . and the directory the executable is in
9733 darwin* | rhapsody*)
9734 dynamic_linker="$host_os dyld"
9738 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9739 soname_spec='${libname}${release}${major}$shared_ext'
9740 shlibpath_overrides_runpath=yes
9741 shlibpath_var=DYLD_LIBRARY_PATH
9742 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9744 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9745 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9753 soname_spec='${libname}${release}${shared_ext}$major'
9754 shlibpath_var=LD_LIBRARY_PATH
9761 freebsd* | dragonfly*)
9762 # DragonFly does not have aout. When/if they implement a new
9763 # versioning mechanism, adjust this.
9764 if test -x /usr/bin/objformat; then
9765 objformat=`/usr/bin/objformat`
9768 freebsd[123]*) objformat=aout ;;
9772 version_type=freebsd-$objformat
9773 case $version_type in
9775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9780 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9784 shlibpath_var=LD_LIBRARY_PATH
9787 shlibpath_overrides_runpath=yes
9789 freebsd3.[01]* | freebsdelf3.[01]*)
9790 shlibpath_overrides_runpath=yes
9791 hardcode_into_libs=yes
9793 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9794 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9795 shlibpath_overrides_runpath=no
9796 hardcode_into_libs=yes
9798 *) # from 4.6 on, and DragonFly
9799 shlibpath_overrides_runpath=yes
9800 hardcode_into_libs=yes
9809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9810 soname_spec='${libname}${release}${shared_ext}$major'
9811 shlibpath_var=LD_LIBRARY_PATH
9812 hardcode_into_libs=yes
9815 hpux9* | hpux10* | hpux11*)
9816 # Give a soname corresponding to the major version so that dld.sl refuses to
9817 # link against other versions.
9824 hardcode_into_libs=yes
9825 dynamic_linker="$host_os dld.so"
9826 shlibpath_var=LD_LIBRARY_PATH
9827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9829 soname_spec='${libname}${release}${shared_ext}$major'
9830 if test "X$HPUX_IA64_MODE" = X32; then
9831 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9833 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9835 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9839 hardcode_into_libs=yes
9840 dynamic_linker="$host_os dld.sl"
9841 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9842 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844 soname_spec='${libname}${release}${shared_ext}$major'
9845 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9846 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9850 dynamic_linker="$host_os dld.sl"
9851 shlibpath_var=SHLIB_PATH
9852 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9854 soname_spec='${libname}${release}${shared_ext}$major'
9857 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9858 postinstall_cmds='chmod 555 $lib'
9865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9866 soname_spec='${libname}${release}${shared_ext}$major'
9867 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9868 shlibpath_var=LD_LIBRARY_PATH
9869 shlibpath_overrides_runpath=no
9870 hardcode_into_libs=yes
9873 irix5* | irix6* | nonstopux*)
9875 nonstopux*) version_type=nonstopux ;;
9877 if test "$lt_cv_prog_gnu_ld" = yes; then
9885 soname_spec='${libname}${release}${shared_ext}$major'
9886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9888 irix5* | nonstopux*)
9892 case $LD in # libtool.m4 will add one of these switches to LD
9893 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9894 libsuff= shlibsuff= libmagic=32-bit;;
9895 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9896 libsuff=32 shlibsuff=N32 libmagic=N32;;
9897 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9898 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9899 *) libsuff= shlibsuff= libmagic=never-match;;
9903 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9904 shlibpath_overrides_runpath=no
9905 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9906 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9907 hardcode_into_libs=yes
9910 # No shared lib support for Linux oldld, aout, or coff.
9911 linux*oldld* | linux*aout* | linux*coff*)
9915 # This must be Linux ELF.
9916 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 soname_spec='${libname}${release}${shared_ext}$major'
9922 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9923 shlibpath_var=LD_LIBRARY_PATH
9924 shlibpath_overrides_runpath=no
9925 # Some binutils ld are patched to set DT_RUNPATH
9926 save_LDFLAGS=$LDFLAGS
9928 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9929 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9943 shlibpath_overrides_runpath=yes
9946 rm -f core conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9948 LDFLAGS=$save_LDFLAGS
9951 # This implies no fast_install, which is unacceptable.
9952 # Some rework will be needed to allow for fast_install
9953 # before this can be enabled.
9954 hardcode_into_libs=yes
9956 # Append ld.so.conf contents to the search path
9957 if test -f /etc/ld.so.conf; then
9958 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' ' '`
9959 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9962 # We used to test for /lib/ld.so.1 and disable shared libraries on
9963 # powerpc, because MkLinux only supported shared libraries with the
9964 # GNU dynamic linker. Since this was broken with cross compilers,
9965 # most powerpc-linux boxes support dynamic linking these days and
9966 # people can always --disable-shared, the test was removed, and we
9967 # assume the GNU/Linux dynamic linker is in use.
9968 dynamic_linker='GNU/Linux ld.so'
9975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9976 soname_spec='${libname}${release}${shared_ext}$major'
9977 shlibpath_var=LD_LIBRARY_PATH
9978 shlibpath_overrides_runpath=no
9979 hardcode_into_libs=yes
9980 dynamic_linker='NetBSD ld.elf_so'
9987 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9989 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9990 dynamic_linker='NetBSD (a.out) ld.so'
9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9993 soname_spec='${libname}${release}${shared_ext}$major'
9994 dynamic_linker='NetBSD ld.elf_so'
9996 shlibpath_var=LD_LIBRARY_PATH
9997 shlibpath_overrides_runpath=yes
9998 hardcode_into_libs=yes
10003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10004 shlibpath_var=LD_LIBRARY_PATH
10005 shlibpath_overrides_runpath=yes
10012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10013 soname_spec='${libname}${release}${shared_ext}$major'
10014 shlibpath_var=LD_LIBRARY_PATH
10015 shlibpath_overrides_runpath=no
10016 hardcode_into_libs=yes
10017 dynamic_linker='ldqnx.so'
10022 sys_lib_dlsearch_path_spec="/usr/lib"
10024 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10026 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10027 *) need_version=no ;;
10029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10030 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10031 shlibpath_var=LD_LIBRARY_PATH
10032 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10034 openbsd2.[89] | openbsd2.[89].*)
10035 shlibpath_overrides_runpath=no
10038 shlibpath_overrides_runpath=yes
10042 shlibpath_overrides_runpath=yes
10047 libname_spec='$name'
10050 library_names_spec='$libname${shared_ext} $libname.a'
10051 dynamic_linker='OS/2 ld.exe'
10052 shlibpath_var=LIBPATH
10055 osf3* | osf4* | osf5*)
10059 soname_spec='${libname}${release}${shared_ext}$major'
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 shlibpath_var=LD_LIBRARY_PATH
10062 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10063 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10075 soname_spec='${libname}${release}${shared_ext}$major'
10076 shlibpath_var=LD_LIBRARY_PATH
10077 shlibpath_overrides_runpath=yes
10078 hardcode_into_libs=yes
10079 # ldd complains unless libraries are executable
10080 postinstall_cmds='chmod +x $lib'
10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10086 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10087 shlibpath_var=LD_LIBRARY_PATH
10088 shlibpath_overrides_runpath=yes
10089 if test "$with_gnu_ld" = yes; then
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10098 soname_spec='${libname}${release}${shared_ext}$major'
10099 shlibpath_var=LD_LIBRARY_PATH
10100 case $host_vendor in
10102 shlibpath_overrides_runpath=no
10104 runpath_var=LD_RUN_PATH
10112 shlibpath_overrides_runpath=no
10113 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10119 if test -d /usr/nec ;then
10121 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10122 soname_spec='$libname${shared_ext}.$major'
10123 shlibpath_var=LD_LIBRARY_PATH
10127 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10128 version_type=freebsd-elf
10131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10132 soname_spec='${libname}${release}${shared_ext}$major'
10133 shlibpath_var=LD_LIBRARY_PATH
10134 shlibpath_overrides_runpath=yes
10135 hardcode_into_libs=yes
10136 if test "$with_gnu_ld" = yes; then
10137 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10139 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10142 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10146 sys_lib_dlsearch_path_spec='/usr/lib'
10150 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10155 shlibpath_var=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath=no
10157 hardcode_into_libs=yes
10162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 soname_spec='${libname}${release}${shared_ext}$major'
10164 shlibpath_var=LD_LIBRARY_PATH
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10172 $as_echo "$dynamic_linker" >&6; }
10173 test "$dynamic_linker" = no && can_build_shared=no
10175 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10176 if test "$GCC" = yes; then
10177 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10180 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10181 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10183 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10184 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10274 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10276 if test -n "$hardcode_libdir_flag_spec" ||
10277 test -n "$runpath_var" ||
10278 test "X$hardcode_automatic" = "Xyes" ; then
10280 # We can hardcode non-existent directories.
10281 if test "$hardcode_direct" != no &&
10282 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10283 # have to relink, otherwise we might link with an installed library
10284 # when we should be linking with a yet-to-be-installed one
10285 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10286 test "$hardcode_minus_L" != no; then
10287 # Linking always hardcodes the temporary library directory.
10288 hardcode_action=relink
10290 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10291 hardcode_action=immediate
10294 # We cannot hardcode anything, or else we can only hardcode existing
10296 hardcode_action=unsupported
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10299 $as_echo "$hardcode_action" >&6; }
10301 if test "$hardcode_action" = relink ||
10302 test "$inherit_rpath" = yes; then
10303 # Fast installation is not supported
10304 enable_fast_install=no
10305 elif test "$shlibpath_overrides_runpath" = yes ||
10306 test "$enable_shared" = no; then
10307 # Fast installation is not necessary
10308 enable_fast_install=needless
10316 if test "x$enable_dlopen" != xyes; then
10317 enable_dlopen=unknown
10318 enable_dlopen_self=unknown
10319 enable_dlopen_self_static=unknown
10326 lt_cv_dlopen="load_add_on"
10328 lt_cv_dlopen_self=yes
10331 mingw* | pw32* | cegcc*)
10332 lt_cv_dlopen="LoadLibrary"
10337 lt_cv_dlopen="dlopen"
10342 # if libdl is installed we need to link against it
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10346 $as_echo_n "(cached) " >&6
10348 ac_check_lib_save_LIBS=$LIBS
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_dl_dlopen=yes
10371 ac_cv_lib_dl_dlopen=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10378 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10379 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10380 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10383 lt_cv_dlopen="dyld"
10385 lt_cv_dlopen_self=yes
10392 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10393 if test "x$ac_cv_func_shl_load" = x""yes; then :
10394 lt_cv_dlopen="shl_load"
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10397 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10398 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10399 $as_echo_n "(cached) " >&6
10401 ac_check_lib_save_LIBS=$LIBS
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10416 return shl_load ();
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 ac_cv_lib_dld_shl_load=yes
10424 ac_cv_lib_dld_shl_load=no
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LIBS=$ac_check_lib_save_LIBS
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10431 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10432 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10433 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10435 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10436 if test "x$ac_cv_func_dlopen" = x""yes; then :
10437 lt_cv_dlopen="dlopen"
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10440 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10441 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10442 $as_echo_n "(cached) " >&6
10444 ac_check_lib_save_LIBS=$LIBS
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10464 if ac_fn_c_try_link "$LINENO"; then :
10465 ac_cv_lib_dl_dlopen=yes
10467 ac_cv_lib_dl_dlopen=no
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_lib_save_LIBS
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10474 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10475 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10476 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10479 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10480 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10481 $as_echo_n "(cached) " >&6
10483 ac_check_lib_save_LIBS=$LIBS
10484 LIBS="-lsvld $LIBS"
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_lib_svld_dlopen=yes
10506 ac_cv_lib_svld_dlopen=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10513 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10514 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10515 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10518 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10519 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10520 $as_echo_n "(cached) " >&6
10522 ac_check_lib_save_LIBS=$LIBS
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10537 return dld_link ();
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 ac_cv_lib_dld_dld_link=yes
10545 ac_cv_lib_dld_dld_link=no
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10552 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10553 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10554 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10575 if test "x$lt_cv_dlopen" != xno; then
10581 case $lt_cv_dlopen in
10583 save_CPPFLAGS="$CPPFLAGS"
10584 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10586 save_LDFLAGS="$LDFLAGS"
10587 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10590 LIBS="$lt_cv_dlopen_libs $LIBS"
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10593 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10594 if test "${lt_cv_dlopen_self+set}" = set; then :
10595 $as_echo_n "(cached) " >&6
10597 if test "$cross_compiling" = yes; then :
10598 lt_cv_dlopen_self=cross
10600 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10601 lt_status=$lt_dlunknown
10602 cat > conftest.$ac_ext <<_LT_EOF
10603 #line 10603 "configure"
10604 #include "confdefs.h"
10613 # define LT_DLGLOBAL RTLD_GLOBAL
10616 # define LT_DLGLOBAL DL_GLOBAL
10618 # define LT_DLGLOBAL 0
10622 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10623 find out it does not work in some platform. */
10624 #ifndef LT_DLLAZY_OR_NOW
10626 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10629 # define LT_DLLAZY_OR_NOW DL_LAZY
10632 # define LT_DLLAZY_OR_NOW RTLD_NOW
10635 # define LT_DLLAZY_OR_NOW DL_NOW
10637 # define LT_DLLAZY_OR_NOW 0
10644 void fnord() { int i=42;}
10647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10648 int status = $lt_dlunknown;
10652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10653 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10654 /* dlclose (self); */
10662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10663 (eval $ac_link) 2>&5
10665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10666 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10667 (./conftest; exit; ) >&5 2>/dev/null
10669 case x$lt_status in
10670 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10671 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10672 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10675 # compilation failed
10676 lt_cv_dlopen_self=no
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10684 $as_echo "$lt_cv_dlopen_self" >&6; }
10686 if test "x$lt_cv_dlopen_self" = xyes; then
10687 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10689 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10690 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10691 $as_echo_n "(cached) " >&6
10693 if test "$cross_compiling" = yes; then :
10694 lt_cv_dlopen_self_static=cross
10696 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10697 lt_status=$lt_dlunknown
10698 cat > conftest.$ac_ext <<_LT_EOF
10699 #line 10699 "configure"
10700 #include "confdefs.h"
10709 # define LT_DLGLOBAL RTLD_GLOBAL
10712 # define LT_DLGLOBAL DL_GLOBAL
10714 # define LT_DLGLOBAL 0
10718 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10719 find out it does not work in some platform. */
10720 #ifndef LT_DLLAZY_OR_NOW
10722 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10725 # define LT_DLLAZY_OR_NOW DL_LAZY
10728 # define LT_DLLAZY_OR_NOW RTLD_NOW
10731 # define LT_DLLAZY_OR_NOW DL_NOW
10733 # define LT_DLLAZY_OR_NOW 0
10740 void fnord() { int i=42;}
10743 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10744 int status = $lt_dlunknown;
10748 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10749 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10750 /* dlclose (self); */
10758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10759 (eval $ac_link) 2>&5
10761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10762 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10763 (./conftest; exit; ) >&5 2>/dev/null
10765 case x$lt_status in
10766 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10767 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10768 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10771 # compilation failed
10772 lt_cv_dlopen_self_static=no
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10780 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10783 CPPFLAGS="$save_CPPFLAGS"
10784 LDFLAGS="$save_LDFLAGS"
10789 case $lt_cv_dlopen_self in
10790 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10791 *) enable_dlopen_self=unknown ;;
10794 case $lt_cv_dlopen_self_static in
10795 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10796 *) enable_dlopen_self_static=unknown ;;
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10819 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10820 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10821 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10822 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10824 $as_echo "yes" >&6; }
10826 # FIXME - insert some real tests, host_os isn't really good enough
10829 if test -n "$STRIP" ; then
10830 striplib="$STRIP -x"
10831 old_striplib="$STRIP -S"
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10833 $as_echo "yes" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10836 $as_echo "no" >&6; }
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10841 $as_echo "no" >&6; }
10857 # Report which library types will actually be built
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10859 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10861 $as_echo "$can_build_shared" >&6; }
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10864 $as_echo_n "checking whether to build shared libraries... " >&6; }
10865 test "$can_build_shared" = "no" && enable_shared=no
10867 # On AIX, shared libraries and static libraries use the same namespace, and
10868 # are all built from PIC.
10871 test "$enable_shared" = yes && enable_static=no
10872 if test -n "$RANLIB"; then
10873 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10874 postinstall_cmds='$RANLIB $lib'
10879 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10880 test "$enable_shared" = yes && enable_static=no
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10885 $as_echo "$enable_shared" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10888 $as_echo_n "checking whether to build static libraries... " >&6; }
10889 # Make sure either enable_shared or enable_static is yes.
10890 test "$enable_shared" = yes || enable_static=yes
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10892 $as_echo "$enable_static" >&6; }
10899 ac_cpp='$CPP $CPPFLAGS'
10900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10918 ac_config_commands="$ac_config_commands libtool"
10923 # Only expand once:
10927 # Checks for programs.
10935 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10936 if test -n "$ac_tool_prefix"; then
10937 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10938 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10940 $as_echo_n "checking for $ac_word... " >&6; }
10941 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10942 $as_echo_n "(cached) " >&6
10944 case $PKG_CONFIG in
10946 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $PATH
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10956 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10967 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10968 if test -n "$PKG_CONFIG"; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10970 $as_echo "$PKG_CONFIG" >&6; }
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10973 $as_echo "no" >&6; }
10978 if test -z "$ac_cv_path_PKG_CONFIG"; then
10979 ac_pt_PKG_CONFIG=$PKG_CONFIG
10980 # Extract the first word of "pkg-config", so it can be a program name with args.
10981 set dummy pkg-config; ac_word=$2
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10983 $as_echo_n "checking for $ac_word... " >&6; }
10984 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 case $ac_pt_PKG_CONFIG in
10989 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10999 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11011 if test -n "$ac_pt_PKG_CONFIG"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11013 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016 $as_echo "no" >&6; }
11019 if test "x$ac_pt_PKG_CONFIG" = x; then
11022 case $cross_compiling:$ac_tool_warned in
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11026 ac_tool_warned=yes ;;
11028 PKG_CONFIG=$ac_pt_PKG_CONFIG
11031 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11035 if test -n "$PKG_CONFIG"; then
11036 _pkg_min_version=0.23
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11038 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11039 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11041 $as_echo "yes" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11044 $as_echo "no" >&6; }
11049 ac_cpp='$CPP $CPPFLAGS'
11050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11053 if test -n "$ac_tool_prefix"; then
11054 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11057 $as_echo_n "checking for $ac_word... " >&6; }
11058 if test "${ac_cv_prog_CC+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 if test -n "$CC"; then
11062 ac_cv_prog_CC="$CC" # Let the user override the test.
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11082 if test -n "$CC"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11084 $as_echo "$CC" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11087 $as_echo "no" >&6; }
11092 if test -z "$ac_cv_prog_CC"; then
11094 # Extract the first word of "gcc", so it can be a program name with args.
11095 set dummy gcc; ac_word=$2
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11097 $as_echo_n "checking for $ac_word... " >&6; }
11098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11101 if test -n "$ac_ct_CC"; then
11102 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11105 for as_dir in $PATH
11108 test -z "$as_dir" && as_dir=.
11109 for ac_exec_ext in '' $ac_executable_extensions; do
11110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11111 ac_cv_prog_ac_ct_CC="gcc"
11112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11122 if test -n "$ac_ct_CC"; then
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11124 $as_echo "$ac_ct_CC" >&6; }
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11127 $as_echo "no" >&6; }
11130 if test "x$ac_ct_CC" = x; then
11133 case $cross_compiling:$ac_tool_warned in
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11137 ac_tool_warned=yes ;;
11142 CC="$ac_cv_prog_CC"
11145 if test -z "$CC"; then
11146 if test -n "$ac_tool_prefix"; then
11147 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11148 set dummy ${ac_tool_prefix}cc; ac_word=$2
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11150 $as_echo_n "checking for $ac_word... " >&6; }
11151 if test "${ac_cv_prog_CC+set}" = set; then :
11152 $as_echo_n "(cached) " >&6
11154 if test -n "$CC"; then
11155 ac_cv_prog_CC="$CC" # Let the user override the test.
11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11158 for as_dir in $PATH
11161 test -z "$as_dir" && as_dir=.
11162 for ac_exec_ext in '' $ac_executable_extensions; do
11163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11164 ac_cv_prog_CC="${ac_tool_prefix}cc"
11165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 if test -n "$CC"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11177 $as_echo "$CC" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11180 $as_echo "no" >&6; }
11186 if test -z "$CC"; then
11187 # Extract the first word of "cc", so it can be a program name with args.
11188 set dummy cc; ac_word=$2
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11190 $as_echo_n "checking for $ac_word... " >&6; }
11191 if test "${ac_cv_prog_CC+set}" = set; then :
11192 $as_echo_n "(cached) " >&6
11194 if test -n "$CC"; then
11195 ac_cv_prog_CC="$CC" # Let the user override the test.
11197 ac_prog_rejected=no
11198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11199 for as_dir in $PATH
11202 test -z "$as_dir" && as_dir=.
11203 for ac_exec_ext in '' $ac_executable_extensions; do
11204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11205 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11206 ac_prog_rejected=yes
11210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11217 if test $ac_prog_rejected = yes; then
11218 # We found a bogon in the path, so make sure we never use it.
11219 set dummy $ac_cv_prog_CC
11221 if test $# != 0; then
11222 # We chose a different compiler from the bogus one.
11223 # However, it has the same basename, so the bogon will be chosen
11224 # first if we set CC to just the basename; use the full file name.
11226 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11232 if test -n "$CC"; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11234 $as_echo "$CC" >&6; }
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11237 $as_echo "no" >&6; }
11242 if test -z "$CC"; then
11243 if test -n "$ac_tool_prefix"; then
11244 for ac_prog in cl.exe
11246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11249 $as_echo_n "checking for $ac_word... " >&6; }
11250 if test "${ac_cv_prog_CC+set}" = set; then :
11251 $as_echo_n "(cached) " >&6
11253 if test -n "$CC"; then
11254 ac_cv_prog_CC="$CC" # Let the user override the test.
11256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11257 for as_dir in $PATH
11260 test -z "$as_dir" && as_dir=.
11261 for ac_exec_ext in '' $ac_executable_extensions; do
11262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11263 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11274 if test -n "$CC"; then
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11276 $as_echo "$CC" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11279 $as_echo "no" >&6; }
11283 test -n "$CC" && break
11286 if test -z "$CC"; then
11288 for ac_prog in cl.exe
11290 # Extract the first word of "$ac_prog", so it can be a program name with args.
11291 set dummy $ac_prog; ac_word=$2
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11293 $as_echo_n "checking for $ac_word... " >&6; }
11294 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11295 $as_echo_n "(cached) " >&6
11297 if test -n "$ac_ct_CC"; then
11298 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11301 for as_dir in $PATH
11304 test -z "$as_dir" && as_dir=.
11305 for ac_exec_ext in '' $ac_executable_extensions; do
11306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11307 ac_cv_prog_ac_ct_CC="$ac_prog"
11308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11318 if test -n "$ac_ct_CC"; then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11320 $as_echo "$ac_ct_CC" >&6; }
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11323 $as_echo "no" >&6; }
11327 test -n "$ac_ct_CC" && break
11330 if test "x$ac_ct_CC" = x; then
11333 case $cross_compiling:$ac_tool_warned in
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11337 ac_tool_warned=yes ;;
11346 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11348 as_fn_error $? "no acceptable C compiler found in \$PATH
11349 See \`config.log' for more details" "$LINENO" 5 ; }
11351 # Provide some information about the compiler.
11352 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11355 for ac_option in --version -v -V -qversion; do
11356 { { ac_try="$ac_compiler $ac_option >&5"
11357 case "(($ac_try" in
11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11362 $as_echo "$ac_try_echo"; } >&5
11363 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11365 if test -s conftest.err; then
11367 ... rest of stderr output deleted ...
11368 10q' conftest.err >conftest.er1
11369 cat conftest.er1 >&5
11371 rm -f conftest.er1 conftest.err
11372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11373 test $ac_status = 0; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11377 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11378 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11379 $as_echo_n "(cached) " >&6
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11395 if ac_fn_c_try_compile "$LINENO"; then :
11396 ac_compiler_gnu=yes
11400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11405 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11406 if test $ac_compiler_gnu = yes; then
11411 ac_test_CFLAGS=${CFLAGS+set}
11412 ac_save_CFLAGS=$CFLAGS
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11415 if test "${ac_cv_prog_cc_g+set}" = set; then :
11416 $as_echo_n "(cached) " >&6
11418 ac_save_c_werror_flag=$ac_c_werror_flag
11419 ac_c_werror_flag=yes
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11433 if ac_fn_c_try_compile "$LINENO"; then :
11434 ac_cv_prog_cc_g=yes
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11448 if ac_fn_c_try_compile "$LINENO"; then :
11451 ac_c_werror_flag=$ac_save_c_werror_flag
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11464 if ac_fn_c_try_compile "$LINENO"; then :
11465 ac_cv_prog_cc_g=yes
11467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11472 ac_c_werror_flag=$ac_save_c_werror_flag
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11475 $as_echo "$ac_cv_prog_cc_g" >&6; }
11476 if test "$ac_test_CFLAGS" = set; then
11477 CFLAGS=$ac_save_CFLAGS
11478 elif test $ac_cv_prog_cc_g = yes; then
11479 if test "$GCC" = yes; then
11485 if test "$GCC" = yes; then
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11492 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11493 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11494 $as_echo_n "(cached) " >&6
11496 ac_cv_prog_cc_c89=no
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11500 #include <stdarg.h>
11502 #include <sys/types.h>
11503 #include <sys/stat.h>
11504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11505 struct buf { int x; };
11506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11507 static char *e (p, i)
11513 static char *f (char * (*g) (char **, int), char **p, ...)
11518 s = g (p, va_arg (v,int));
11523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11524 function prototypes and stuff, but not '\xHH' hex character constants.
11525 These don't provoke an error unfortunately, instead are silently treated
11526 as 'x'. The following induces an error, until -std is added to get
11527 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11528 array size at least. It's necessary to write '\x00'==0 to get something
11529 that's true only with -std. */
11530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11532 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11533 inside strings and character constants. */
11535 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11537 int test (int i, double x);
11538 struct s1 {int (*f) (int a);};
11539 struct s2 {int (*f) (double a);};
11540 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11546 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11551 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11552 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11554 CC="$ac_save_CC $ac_arg"
11555 if ac_fn_c_try_compile "$LINENO"; then :
11556 ac_cv_prog_cc_c89=$ac_arg
11558 rm -f core conftest.err conftest.$ac_objext
11559 test "x$ac_cv_prog_cc_c89" != "xno" && break
11561 rm -f conftest.$ac_ext
11566 case "x$ac_cv_prog_cc_c89" in
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11569 $as_echo "none needed" >&6; } ;;
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11572 $as_echo "unsupported" >&6; } ;;
11574 CC="$CC $ac_cv_prog_cc_c89"
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11576 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11578 if test "x$ac_cv_prog_cc_c89" != xno; then :
11583 ac_cpp='$CPP $CPPFLAGS'
11584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11588 depcc="$CC" am_compiler_list=
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11591 $as_echo_n "checking dependency style of $depcc... " >&6; }
11592 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11593 $as_echo_n "(cached) " >&6
11595 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11596 # We make a subdir and do the tests there. Otherwise we can end up
11597 # making bogus files that we don't know about and never remove. For
11598 # instance it was reported that on HP-UX the gcc test will end up
11599 # making a dummy file named `D' -- because `-MD' means `put the output
11602 # Copy depcomp to subdir because otherwise we won't find it if we're
11603 # using a relative directory.
11604 cp "$am_depcomp" conftest.dir
11606 # We will build objects and dependencies in a subdirectory because
11607 # it helps to detect inapplicable dependency modes. For instance
11608 # both Tru64's cc and ICC support -MD to output dependencies as a
11609 # side effect of compilation, but ICC will put the dependencies in
11610 # the current directory while Tru64 will put them in the object
11614 am_cv_CC_dependencies_compiler_type=none
11615 if test "$am_compiler_list" = ""; then
11616 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11618 am__universal=false
11619 case " $depcc " in #(
11620 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11623 for depmode in $am_compiler_list; do
11624 # Setup a source with many dependencies, because some compilers
11625 # like to wrap large dependency lists on column 80 (with \), and
11626 # we should not choose a depcomp mode which is confused by this.
11628 # We need to recreate these files for each test, as the compiler may
11629 # overwrite some of them when testing with obscure command lines.
11630 # This happens at least with the AIX C compiler.
11632 for i in 1 2 3 4 5 6; do
11633 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11634 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11635 # Solaris 8's {/usr,}/bin/sh.
11636 touch sub/conftst$i.h
11638 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11640 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11641 # mode. It turns out that the SunPro C++ compiler does not properly
11642 # handle `-M -o', and we need to detect this. Also, some Intel
11643 # versions had trouble with output in subdirs
11644 am__obj=sub/conftest.${OBJEXT-o}
11645 am__minus_obj="-o $am__obj"
11648 # This depmode causes a compiler race in universal mode.
11649 test "$am__universal" = false || continue
11652 # after this tag, mechanisms are not by side-effect, so they'll
11653 # only be used when explicitly requested
11654 if test "x$enable_dependency_tracking" = xyes; then
11660 msvisualcpp | msvcmsys)
11661 # This compiler won't grok `-c -o', but also, the minuso test has
11662 # not run yet. These depmodes are late enough in the game, and
11663 # so weak that their functioning should not be impacted.
11664 am__obj=conftest.${OBJEXT-o}
11669 if depmode=$depmode \
11670 source=sub/conftest.c object=$am__obj \
11671 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11672 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11673 >/dev/null 2>conftest.err &&
11674 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11675 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11676 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11677 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11678 # icc doesn't choke on unknown options, it will just issue warnings
11679 # or remarks (even with -Werror). So we grep stderr for any message
11680 # that says an option was ignored or not supported.
11681 # When given -MP, icc 7.0 and 7.1 complain thusly:
11682 # icc: Command line warning: ignoring option '-M'; no argument required
11683 # The diagnosis changed in icc 8.0:
11684 # icc: Command line remark: option '-MP' not supported
11685 if (grep 'ignoring option' conftest.err ||
11686 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11687 am_cv_CC_dependencies_compiler_type=$depmode
11694 rm -rf conftest.dir
11696 am_cv_CC_dependencies_compiler_type=none
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11701 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11702 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11705 test "x$enable_dependency_tracking" != xno \
11706 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11707 am__fastdepCC_TRUE=
11708 am__fastdepCC_FALSE='#'
11710 am__fastdepCC_TRUE='#'
11711 am__fastdepCC_FALSE=
11715 if test "x$CC" != xcc; then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11717 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11720 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11722 set dummy $CC; ac_cc=`$as_echo "$2" |
11723 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11724 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11725 $as_echo_n "(cached) " >&6
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11738 # Make sure it works both with $CC and with simple cc.
11739 # We do the test twice because some compilers refuse to overwrite an
11740 # existing .o file with -o, though they will create one.
11741 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11743 if { { case "(($ac_try" in
11744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11745 *) ac_try_echo=$ac_try;;
11747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11748 $as_echo "$ac_try_echo"; } >&5
11749 (eval "$ac_try") 2>&5
11751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11752 test $ac_status = 0; } &&
11753 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11755 *) ac_try_echo=$ac_try;;
11757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11758 $as_echo "$ac_try_echo"; } >&5
11759 (eval "$ac_try") 2>&5
11761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11762 test $ac_status = 0; };
11764 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11765 if test "x$CC" != xcc; then
11766 # Test first that cc exists at all.
11767 if { ac_try='cc -c conftest.$ac_ext >&5'
11768 { { case "(($ac_try" in
11769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11770 *) ac_try_echo=$ac_try;;
11772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11773 $as_echo "$ac_try_echo"; } >&5
11774 (eval "$ac_try") 2>&5
11776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11777 test $ac_status = 0; }; }; then
11778 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11780 if { { case "(($ac_try" in
11781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11782 *) ac_try_echo=$ac_try;;
11784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11785 $as_echo "$ac_try_echo"; } >&5
11786 (eval "$ac_try") 2>&5
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; } &&
11790 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11792 *) ac_try_echo=$ac_try;;
11794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11795 $as_echo "$ac_try_echo"; } >&5
11796 (eval "$ac_try") 2>&5
11798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11799 test $ac_status = 0; };
11804 # cc exists but doesn't like -o.
11805 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11810 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11812 rm -f core conftest*
11815 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11817 $as_echo "yes" >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11820 $as_echo "no" >&6; }
11822 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11826 # FIXME: we rely on the cache variable name because
11827 # there is no other way.
11829 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11830 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11831 if test "$am_t" != yes; then
11832 # Losing compiler, so override with the script.
11833 # FIXME: It is wrong to rewrite CC.
11834 # But if we don't then we get into trouble of one sort or another.
11835 # A longer-term fix would be to have automake use am__CC in this case,
11836 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11837 CC="$am_aux_dir/compile $CC"
11841 # Extract the first word of "valac", so it can be a program name with args.
11842 set dummy valac; ac_word=$2
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11844 $as_echo_n "checking for $ac_word... " >&6; }
11845 if test "${ac_cv_path_VALAC+set}" = set; then :
11846 $as_echo_n "(cached) " >&6
11850 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11854 for as_dir in $PATH
11857 test -z "$as_dir" && as_dir=.
11858 for ac_exec_ext in '' $ac_executable_extensions; do
11859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11860 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11871 VALAC=$ac_cv_path_VALAC
11872 if test -n "$VALAC"; then
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11874 $as_echo "$VALAC" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11877 $as_echo "no" >&6; }
11881 if test -z "$VALAC"; then :
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
11883 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
11885 if test -n "0.9"; then :
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
11887 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
11888 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
11890 as_arg_v2="$am__vala_version"
11891 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11895 $as_echo "yes" >&6; } ;; #(
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11898 $as_echo "yes" >&6; } ;; #(
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11901 $as_echo "no" >&6; }
11902 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
11918 SERVER_IPC_MODULE="msrpc-glib2-1.0"
11919 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
11923 $as_echo_n "checking for GTK... " >&6; }
11925 if test -n "$GTK_CFLAGS"; then
11926 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
11927 elif test -n "$PKG_CONFIG"; then
11928 if test -n "$PKG_CONFIG" && \
11929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
11930 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
11932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11933 test $ac_status = 0; }; then
11934 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
11935 test "x$?" != "x0" && pkg_failed=yes
11942 if test -n "$GTK_LIBS"; then
11943 pkg_cv_GTK_LIBS="$GTK_LIBS"
11944 elif test -n "$PKG_CONFIG"; then
11945 if test -n "$PKG_CONFIG" && \
11946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
11947 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
11949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11950 test $ac_status = 0; }; then
11951 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
11952 test "x$?" != "x0" && pkg_failed=yes
11962 if test $pkg_failed = yes; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11967 _pkg_short_errors_supported=yes
11969 _pkg_short_errors_supported=no
11971 if test $_pkg_short_errors_supported = yes; then
11972 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
11974 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
11976 # Put the nasty error message in config.log where it belongs
11977 echo "$GTK_PKG_ERRORS" >&5
11979 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
11983 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11984 installed software in a non-standard prefix.
11986 Alternatively, you may set the environment variables GTK_CFLAGS
11987 and GTK_LIBS to avoid the need to call pkg-config.
11988 See the pkg-config man page for more details." "$LINENO" 5
11989 elif test $pkg_failed = untried; then
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11994 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11995 is in your PATH or set the PKG_CONFIG environment variable to the full
11996 path to pkg-config.
11998 Alternatively, you may set the environment variables GTK_CFLAGS
11999 and GTK_LIBS to avoid the need to call pkg-config.
12000 See the pkg-config man page for more details.
12002 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12003 See \`config.log' for more details" "$LINENO" 5 ; }
12005 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12006 GTK_LIBS=$pkg_cv_GTK_LIBS
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12008 $as_echo "yes" >&6; }
12009 GTK_VERSION="gtk+-2.0"
12019 # We require dbus-glib for the client library even if we are using GDBus
12020 # in the server. The reason we can't always use dbus-glib in the server is
12021 # because Vala drops support for it, but as it ships with DBus there is very
12022 # little danger of it being dropped by distros any time soon.
12023 CLIENT_IPC_MODULE="dbus-glib-1"
12024 SERVER_IPC_MODULE="dbus-glib-1"
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
12029 $as_echo_n "checking for MAC... " >&6; }
12031 if test -n "$MAC_CFLAGS"; then
12032 pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
12033 elif test -n "$PKG_CONFIG"; then
12034 if test -n "$PKG_CONFIG" && \
12035 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12037 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12041 test $ac_status = 0; }; then
12042 pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
12044 test "x$?" != "x0" && pkg_failed=yes
12051 if test -n "$MAC_LIBS"; then
12052 pkg_cv_MAC_LIBS="$MAC_LIBS"
12053 elif test -n "$PKG_CONFIG"; then
12054 if test -n "$PKG_CONFIG" && \
12055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
12057 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
12060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12061 test $ac_status = 0; }; then
12062 pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
12064 test "x$?" != "x0" && pkg_failed=yes
12074 if test $pkg_failed = yes; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12079 _pkg_short_errors_supported=yes
12081 _pkg_short_errors_supported=no
12083 if test $_pkg_short_errors_supported = yes; then
12084 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12087 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
12090 # Put the nasty error message in config.log where it belongs
12091 echo "$MAC_PKG_ERRORS" >&5
12093 as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
12098 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12099 installed software in a non-standard prefix.
12101 Alternatively, you may set the environment variables MAC_CFLAGS
12102 and MAC_LIBS to avoid the need to call pkg-config.
12103 See the pkg-config man page for more details." "$LINENO" 5
12104 elif test $pkg_failed = untried; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12109 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12110 is in your PATH or set the PKG_CONFIG environment variable to the full
12111 path to pkg-config.
12113 Alternatively, you may set the environment variables MAC_CFLAGS
12114 and MAC_LIBS to avoid the need to call pkg-config.
12115 See the pkg-config man page for more details.
12117 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12118 See \`config.log' for more details" "$LINENO" 5 ; }
12120 MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
12121 MAC_LIBS=$pkg_cv_MAC_LIBS
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12123 $as_echo "yes" >&6; }
12127 # TODO: Move to GTK+-3
12128 # [gtk+-3.0 >= 2.0],
12129 # [GTK_VERSION="gtk+-3.0"]
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12133 $as_echo_n "checking for GTK... " >&6; }
12135 if test -n "$GTK_CFLAGS"; then
12136 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12137 elif test -n "$PKG_CONFIG"; then
12138 if test -n "$PKG_CONFIG" && \
12139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12140 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12143 test $ac_status = 0; }; then
12144 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12145 test "x$?" != "x0" && pkg_failed=yes
12152 if test -n "$GTK_LIBS"; then
12153 pkg_cv_GTK_LIBS="$GTK_LIBS"
12154 elif test -n "$PKG_CONFIG"; then
12155 if test -n "$PKG_CONFIG" && \
12156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12157 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12160 test $ac_status = 0; }; then
12161 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12162 test "x$?" != "x0" && pkg_failed=yes
12172 if test $pkg_failed = yes; then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174 $as_echo "no" >&6; }
12176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12177 _pkg_short_errors_supported=yes
12179 _pkg_short_errors_supported=no
12181 if test $_pkg_short_errors_supported = yes; then
12182 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12184 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12186 # Put the nasty error message in config.log where it belongs
12187 echo "$GTK_PKG_ERRORS" >&5
12189 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12193 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12194 installed software in a non-standard prefix.
12196 Alternatively, you may set the environment variables GTK_CFLAGS
12197 and GTK_LIBS to avoid the need to call pkg-config.
12198 See the pkg-config man page for more details." "$LINENO" 5
12199 elif test $pkg_failed = untried; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12204 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12205 is in your PATH or set the PKG_CONFIG environment variable to the full
12206 path to pkg-config.
12208 Alternatively, you may set the environment variables GTK_CFLAGS
12209 and GTK_LIBS to avoid the need to call pkg-config.
12210 See the pkg-config man page for more details.
12212 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12213 See \`config.log' for more details" "$LINENO" 5 ; }
12215 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12216 GTK_LIBS=$pkg_cv_GTK_LIBS
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12218 $as_echo "yes" >&6; }
12219 GTK_VERSION="gtk+-2.0"
12229 # We require dbus-glib for the client library even if we are using GDBus
12230 # in the server. The reason we can't always use dbus-glib in the server is
12231 # because Vala drops support for it, but as it ships with DBus there is very
12232 # little danger of it being dropped by distros any time soon.
12233 CLIENT_IPC_MODULE="dbus-glib-1"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
12237 $as_echo_n "checking for GDBUS... " >&6; }
12239 if test -n "$GDBUS_CFLAGS"; then
12240 pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
12241 elif test -n "$PKG_CONFIG"; then
12242 if test -n "$PKG_CONFIG" && \
12243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12244 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12247 test $ac_status = 0; }; then
12248 pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
12249 test "x$?" != "x0" && pkg_failed=yes
12256 if test -n "$GDBUS_LIBS"; then
12257 pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
12258 elif test -n "$PKG_CONFIG"; then
12259 if test -n "$PKG_CONFIG" && \
12260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
12261 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264 test $ac_status = 0; }; then
12265 pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
12266 test "x$?" != "x0" && pkg_failed=yes
12276 if test $pkg_failed = yes; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12281 _pkg_short_errors_supported=yes
12283 _pkg_short_errors_supported=no
12285 if test $_pkg_short_errors_supported = yes; then
12286 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12288 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
12290 # Put the nasty error message in config.log where it belongs
12291 echo "$GDBUS_PKG_ERRORS" >&5
12293 SERVER_IPC_MODULE="dbus-glib-1"
12295 elif test $pkg_failed = untried; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297 $as_echo "no" >&6; }
12298 SERVER_IPC_MODULE="dbus-glib-1"
12301 GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
12302 GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12304 $as_echo "yes" >&6; }
12305 SERVER_IPC_MODULE="gio-2.0"
12307 # TODO: Move to GTK+-3
12308 # [gtk+-3.0 >= 2.0],
12309 # [GTK_VERSION="gtk+-3.0"]
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12313 $as_echo_n "checking for GTK... " >&6; }
12315 if test -n "$GTK_CFLAGS"; then
12316 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12317 elif test -n "$PKG_CONFIG"; then
12318 if test -n "$PKG_CONFIG" && \
12319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12320 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12323 test $ac_status = 0; }; then
12324 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12325 test "x$?" != "x0" && pkg_failed=yes
12332 if test -n "$GTK_LIBS"; then
12333 pkg_cv_GTK_LIBS="$GTK_LIBS"
12334 elif test -n "$PKG_CONFIG"; then
12335 if test -n "$PKG_CONFIG" && \
12336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12337 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12340 test $ac_status = 0; }; then
12341 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12342 test "x$?" != "x0" && pkg_failed=yes
12352 if test $pkg_failed = yes; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12354 $as_echo "no" >&6; }
12356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12357 _pkg_short_errors_supported=yes
12359 _pkg_short_errors_supported=no
12361 if test $_pkg_short_errors_supported = yes; then
12362 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12364 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12366 # Put the nasty error message in config.log where it belongs
12367 echo "$GTK_PKG_ERRORS" >&5
12369 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
12373 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12374 installed software in a non-standard prefix.
12376 Alternatively, you may set the environment variables GTK_CFLAGS
12377 and GTK_LIBS to avoid the need to call pkg-config.
12378 See the pkg-config man page for more details." "$LINENO" 5
12379 elif test $pkg_failed = untried; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12381 $as_echo "no" >&6; }
12382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12384 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12385 is in your PATH or set the PKG_CONFIG environment variable to the full
12386 path to pkg-config.
12388 Alternatively, you may set the environment variables GTK_CFLAGS
12389 and GTK_LIBS to avoid the need to call pkg-config.
12390 See the pkg-config man page for more details.
12392 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12393 See \`config.log' for more details" "$LINENO" 5 ; }
12395 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12396 GTK_LIBS=$pkg_cv_GTK_LIBS
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12398 $as_echo "yes" >&6; }
12399 GTK_VERSION="gtk+-2.0"
12406 if test "$linux" = "yes"; then
12414 if test "$win32" = "yes"; then
12422 if test "$macos" = "yes"; then
12431 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
12433 IPC_MSRPC_FALSE='#'
12439 if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
12447 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
12448 IPC_DBUS_GLIB_TRUE=
12449 IPC_DBUS_GLIB_FALSE='#'
12451 IPC_DBUS_GLIB_TRUE='#'
12452 IPC_DBUS_GLIB_FALSE=
12455 if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
12457 IPC_GDBUS_FALSE='#'
12464 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
12466 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
12467 vala_version=`$VALAC --version | sed 's/Vala *//'`
12469 as_arg_v2="$vala_version"
12470 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12473 vala_supports_dbus_glib="no" ;; #(
12475 vala_supports_dbus_glib="no" ;; #(
12477 vala_supports_dbus_glib="yes" ;; #(
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
12483 $as_echo "$vala_supports_dbus_glib" >&6; }
12484 if test "$vala_supports_dbus_glib" = "no"; then
12486 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
12487 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
12491 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
12494 pkg_config_args="msrpc-mingw-1.0"
12503 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12504 if test -n "$ac_tool_prefix"; then
12505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12508 $as_echo_n "checking for $ac_word... " >&6; }
12509 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12510 $as_echo_n "(cached) " >&6
12512 case $PKG_CONFIG in
12514 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12518 for as_dir in $PATH
12521 test -z "$as_dir" && as_dir=.
12522 for ac_exec_ext in '' $ac_executable_extensions; do
12523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12524 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12535 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12536 if test -n "$PKG_CONFIG"; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12538 $as_echo "$PKG_CONFIG" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12541 $as_echo "no" >&6; }
12546 if test -z "$ac_cv_path_PKG_CONFIG"; then
12547 ac_pt_PKG_CONFIG=$PKG_CONFIG
12548 # Extract the first word of "pkg-config", so it can be a program name with args.
12549 set dummy pkg-config; ac_word=$2
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12551 $as_echo_n "checking for $ac_word... " >&6; }
12552 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12553 $as_echo_n "(cached) " >&6
12555 case $ac_pt_PKG_CONFIG in
12557 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12561 for as_dir in $PATH
12564 test -z "$as_dir" && as_dir=.
12565 for ac_exec_ext in '' $ac_executable_extensions; do
12566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12567 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12578 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12579 if test -n "$ac_pt_PKG_CONFIG"; then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12581 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12584 $as_echo "no" >&6; }
12587 if test "x$ac_pt_PKG_CONFIG" = x; then
12590 case $cross_compiling:$ac_tool_warned in
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12594 ac_tool_warned=yes ;;
12596 PKG_CONFIG=$ac_pt_PKG_CONFIG
12599 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12603 if test -n "$PKG_CONFIG"; then
12604 _pkg_min_version=0.16
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12606 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12607 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12609 $as_echo "yes" >&6; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12612 $as_echo "no" >&6; }
12619 if test "x$PKG_CONFIG" = x ; then
12624 min_msrpc_mingw_version=0.1.0
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
12626 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
12628 if test x$PKG_CONFIG != xno ; then
12629 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12630 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
12633 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
12640 if test x"$no_msrpc" = x ; then
12641 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
12642 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12643 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12646 if test "x$no_msrpc" = x ; then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12648 $as_echo "yes" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12652 $as_echo "no" >&6; }
12653 if test "$PKG_CONFIG" = "no" ; then
12654 echo "*** A new enough version of pkg-config was not found."
12655 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12663 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
12670 # Extract the first word of "midl", so it can be a program name with args.
12671 set dummy midl; ac_word=$2
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12673 $as_echo_n "checking for $ac_word... " >&6; }
12674 if test "${ac_cv_path_MIDL+set}" = set; then :
12675 $as_echo_n "(cached) " >&6
12679 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
12686 test -z "$as_dir" && as_dir=.
12687 for ac_exec_ext in '' $ac_executable_extensions; do
12688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12689 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
12690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12697 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
12701 MIDL=$ac_cv_path_MIDL
12702 if test -n "$MIDL"; then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
12704 $as_echo "$MIDL" >&6; }
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12707 $as_echo "no" >&6; }
12711 if test "$MIDL" = "no"; then
12713 *** Could not find the Microsoft interface compiler MIDL.EXE.
12714 *** This program is available as part of the MS Windows SDK, in
12715 *** the Win32 Development Tools package. If it is not in the PATH
12716 *** or its default location you may set the 'MIDL' environment
12717 *** variable to point to its location and rerun configure." "$LINENO" 5
12721 if test "$win32" = "yes"; then
12722 # Other Windows-specific tools
12724 # LIB.EXE from MSVC to build an MSVC-compatible import library.
12725 # Extract the first word of "lib", so it can be a program name with args.
12726 set dummy lib; ac_word=$2
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12728 $as_echo_n "checking for $ac_word... " >&6; }
12729 if test "${ac_cv_path_MSVC_LIB+set}" = set; then :
12730 $as_echo_n "(cached) " >&6
12734 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
12737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12738 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
12741 test -z "$as_dir" && as_dir=.
12742 for ac_exec_ext in '' $ac_executable_extensions; do
12743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12744 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
12745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12752 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
12756 MSVC_LIB=$ac_cv_path_MSVC_LIB
12757 if test -n "$MSVC_LIB"; then
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
12759 $as_echo "$MSVC_LIB" >&6; }
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12767 if test "$MSVC_LIB" = "no"; then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12769 *** Could not find the Microsoft 'LIB.EXE' program. This is required
12770 *** to build the Visual C import library for libmoonshot. Use the
12771 *** MSVC_LIB environment variable to pass its location if this is
12772 *** outside the PATH." >&5
12773 $as_echo "$as_me: WARNING:
12774 *** Could not find the Microsoft 'LIB.EXE' program. This is required
12775 *** to build the Visual C import library for libmoonshot. Use the
12776 *** MSVC_LIB environment variable to pass its location if this is
12777 *** outside the PATH." >&2;}
12781 # ImageMagick for the 'make icons' target. Note that
12782 # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
12783 # Extract the first word of "convert", so it can be a program name with args.
12784 set dummy convert; ac_word=$2
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12786 $as_echo_n "checking for $ac_word... " >&6; }
12787 if test "${ac_cv_path_IMAGEMAGICK_CONVERT+set}" = set; then :
12788 $as_echo_n "(cached) " >&6
12790 case $IMAGEMAGICK_CONVERT in
12792 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
12795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12796 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
12799 test -z "$as_dir" && as_dir=.
12800 for ac_exec_ext in '' $ac_executable_extensions; do
12801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12802 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
12803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12810 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
12814 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
12815 if test -n "$IMAGEMAGICK_CONVERT"; then
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
12817 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12820 $as_echo "no" >&6; }
12825 if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12827 *** Could not find ImageMagick convert.exe. This is required for the
12828 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
12829 *** variable to pass its location if this is outside the PATH." >&5
12830 $as_echo "$as_me: WARNING:
12831 *** Could not find ImageMagick convert.exe. This is required for the
12832 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
12833 *** variable to pass its location if this is outside the PATH." >&2;}
12837 # Windows Installer XML tools
12838 # Extract the first word of "candle", so it can be a program name with args.
12839 set dummy candle; ac_word=$2
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12841 $as_echo_n "checking for $ac_word... " >&6; }
12842 if test "${ac_cv_path_WIX_CANDLE+set}" = set; then :
12843 $as_echo_n "(cached) " >&6
12845 case $WIX_CANDLE in
12847 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
12850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12851 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
12854 test -z "$as_dir" && as_dir=.
12855 for ac_exec_ext in '' $ac_executable_extensions; do
12856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12857 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
12858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12865 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
12869 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
12870 if test -n "$WIX_CANDLE"; then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
12872 $as_echo "$WIX_CANDLE" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12875 $as_echo "no" >&6; }
12879 # Extract the first word of "light", so it can be a program name with args.
12880 set dummy light; ac_word=$2
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12882 $as_echo_n "checking for $ac_word... " >&6; }
12883 if test "${ac_cv_path_WIX_LIGHT+set}" = set; then :
12884 $as_echo_n "(cached) " >&6
12888 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
12891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12892 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
12895 test -z "$as_dir" && as_dir=.
12896 for ac_exec_ext in '' $ac_executable_extensions; do
12897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12898 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
12899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12906 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
12910 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
12911 if test -n "$WIX_LIGHT"; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
12913 $as_echo "$WIX_LIGHT" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12921 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12923 *** Could not find the Windows Installer XML tools. These are required
12924 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
12925 *** environment variables to pass their locations if they are outside
12927 $as_echo "$as_me: WARNING:
12928 *** Could not find the Windows Installer XML tools. These are required
12929 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
12930 *** environment variables to pass their locations if they are outside
12931 *** the PATH." >&2;}
12935 if test "$linux" = "yes"; then
12936 # Extract the first word of "update-mime-database", so it can be a program name with args.
12937 set dummy update-mime-database; ac_word=$2
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12939 $as_echo_n "checking for $ac_word... " >&6; }
12940 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
12941 $as_echo_n "(cached) " >&6
12943 case $UPDATE_MIME_DATABASE in
12945 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
12948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12949 for as_dir in $PATH
12952 test -z "$as_dir" && as_dir=.
12953 for ac_exec_ext in '' $ac_executable_extensions; do
12954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12955 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
12956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12963 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
12967 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
12968 if test -n "$UPDATE_MIME_DATABASE"; then
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
12970 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 $as_echo "no" >&6; }
12977 if test "$UPDATE_MIME_DATABASE" = "no"; then
12979 *** Could not find the Freedesktop.org mime database update tool.
12980 *** Web provisioning files could not be automatically installed." "$LINENO" 5
12982 # Extract the first word of "update-desktop-database", so it can be a program name with args.
12983 set dummy update-desktop-database; ac_word=$2
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12985 $as_echo_n "checking for $ac_word... " >&6; }
12986 if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then :
12987 $as_echo_n "(cached) " >&6
12989 case $UPDATE_DESKTOP_DATABASE in
12991 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13001 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13009 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
13013 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
13014 if test -n "$UPDATE_DESKTOP_DATABASE"; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
13016 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019 $as_echo "no" >&6; }
13023 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
13025 *** Could not find the Freedesktop.org desktop entry database update
13026 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
13030 MOONSHOT_APP="$bindir/moonshot"
13031 MOONSHOT_WEBP="$bindir/moonshot-webp"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
13047 $as_echo_n "checking for moonshot... " >&6; }
13049 if test -n "$moonshot_CFLAGS"; then
13050 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
13051 elif test -n "$PKG_CONFIG"; then
13052 if test -n "$PKG_CONFIG" && \
13053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13056 gobject-2.0 >= 2.22
13059 \$SERVER_IPC_MODULE
13062 ($PKG_CONFIG --exists --print-errors "
13065 gobject-2.0 >= 2.22
13072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13073 test $ac_status = 0; }; then
13074 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
13077 gobject-2.0 >= 2.22
13083 test "x$?" != "x0" && pkg_failed=yes
13090 if test -n "$moonshot_LIBS"; then
13091 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
13092 elif test -n "$PKG_CONFIG"; then
13093 if test -n "$PKG_CONFIG" && \
13094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13097 gobject-2.0 >= 2.22
13100 \$SERVER_IPC_MODULE
13103 ($PKG_CONFIG --exists --print-errors "
13106 gobject-2.0 >= 2.22
13113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13114 test $ac_status = 0; }; then
13115 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
13118 gobject-2.0 >= 2.22
13124 test "x$?" != "x0" && pkg_failed=yes
13134 if test $pkg_failed = yes; then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13136 $as_echo "no" >&6; }
13138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13139 _pkg_short_errors_supported=yes
13141 _pkg_short_errors_supported=no
13143 if test $_pkg_short_errors_supported = yes; then
13144 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13147 gobject-2.0 >= 2.22
13154 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13157 gobject-2.0 >= 2.22
13164 # Put the nasty error message in config.log where it belongs
13165 echo "$moonshot_PKG_ERRORS" >&5
13167 as_fn_error $? "Package requirements (
13170 gobject-2.0 >= 2.22
13177 $moonshot_PKG_ERRORS
13179 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13180 installed software in a non-standard prefix.
13182 Alternatively, you may set the environment variables moonshot_CFLAGS
13183 and moonshot_LIBS to avoid the need to call pkg-config.
13184 See the pkg-config man page for more details." "$LINENO" 5
13185 elif test $pkg_failed = untried; then
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13190 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13191 is in your PATH or set the PKG_CONFIG environment variable to the full
13192 path to pkg-config.
13194 Alternatively, you may set the environment variables moonshot_CFLAGS
13195 and moonshot_LIBS to avoid the need to call pkg-config.
13196 See the pkg-config man page for more details.
13198 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13199 See \`config.log' for more details" "$LINENO" 5 ; }
13201 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
13202 moonshot_LIBS=$pkg_cv_moonshot_LIBS
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13204 $as_echo "yes" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
13211 $as_echo_n "checking for libmoonshot... " >&6; }
13213 if test -n "$libmoonshot_CFLAGS"; then
13214 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
13215 elif test -n "$PKG_CONFIG"; then
13216 if test -n "$PKG_CONFIG" && \
13217 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13218 \$CLIENT_IPC_MODULE
13220 ($PKG_CONFIG --exists --print-errors "
13224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13225 test $ac_status = 0; }; then
13226 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
13229 test "x$?" != "x0" && pkg_failed=yes
13236 if test -n "$libmoonshot_LIBS"; then
13237 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
13238 elif test -n "$PKG_CONFIG"; then
13239 if test -n "$PKG_CONFIG" && \
13240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13241 \$CLIENT_IPC_MODULE
13243 ($PKG_CONFIG --exists --print-errors "
13247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248 test $ac_status = 0; }; then
13249 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
13252 test "x$?" != "x0" && pkg_failed=yes
13262 if test $pkg_failed = yes; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13264 $as_echo "no" >&6; }
13266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13267 _pkg_short_errors_supported=yes
13269 _pkg_short_errors_supported=no
13271 if test $_pkg_short_errors_supported = yes; then
13272 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13276 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13280 # Put the nasty error message in config.log where it belongs
13281 echo "$libmoonshot_PKG_ERRORS" >&5
13283 as_fn_error $? "Package requirements (
13287 $libmoonshot_PKG_ERRORS
13289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13290 installed software in a non-standard prefix.
13292 Alternatively, you may set the environment variables libmoonshot_CFLAGS
13293 and libmoonshot_LIBS to avoid the need to call pkg-config.
13294 See the pkg-config man page for more details." "$LINENO" 5
13295 elif test $pkg_failed = untried; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13300 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13301 is in your PATH or set the PKG_CONFIG environment variable to the full
13302 path to pkg-config.
13304 Alternatively, you may set the environment variables libmoonshot_CFLAGS
13305 and libmoonshot_LIBS to avoid the need to call pkg-config.
13306 See the pkg-config man page for more details.
13308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13309 See \`config.log' for more details" "$LINENO" 5 ; }
13311 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
13312 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13314 $as_echo "yes" >&6; }
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13321 $as_echo_n "checking whether NLS is requested... " >&6; }
13322 # Check whether --enable-nls was given.
13323 if test "${enable_nls+set}" = set; then :
13324 enableval=$enable_nls; USE_NLS=$enableval
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13330 $as_echo "$USE_NLS" >&6; }
13335 GETTEXT_MACRO_VERSION=0.18
13340 # Prepare PATH_SEPARATOR.
13341 # The user is always right.
13342 if test "${PATH_SEPARATOR+set}" != set; then
13343 echo "#! /bin/sh" >conf$$.sh
13344 echo "exit 0" >>conf$$.sh
13346 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13354 # Find out how to test for executable files. Don't use a zero-byte file,
13355 # as systems may use methods other than mode bits to determine executability.
13356 cat >conf$$.file <<_ASEOF
13360 chmod +x conf$$.file
13361 if test -x conf$$.file >/dev/null 2>&1; then
13362 ac_executable_p="test -x"
13364 ac_executable_p="test -f"
13368 # Extract the first word of "msgfmt", so it can be a program name with args.
13369 set dummy msgfmt; ac_word=$2
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13371 $as_echo_n "checking for $ac_word... " >&6; }
13372 if test "${ac_cv_path_MSGFMT+set}" = set; then :
13373 $as_echo_n "(cached) " >&6
13377 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13380 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13381 for ac_dir in $PATH; do
13383 test -z "$ac_dir" && ac_dir=.
13384 for ac_exec_ext in '' $ac_executable_extensions; do
13385 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13386 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13387 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13388 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13389 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13396 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13400 MSGFMT="$ac_cv_path_MSGFMT"
13401 if test "$MSGFMT" != ":"; then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13403 $as_echo "$MSGFMT" >&6; }
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406 $as_echo "no" >&6; }
13409 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13410 set dummy gmsgfmt; ac_word=$2
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13412 $as_echo_n "checking for $ac_word... " >&6; }
13413 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13414 $as_echo_n "(cached) " >&6
13418 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13422 for as_dir in $PATH
13425 test -z "$as_dir" && as_dir=.
13426 for ac_exec_ext in '' $ac_executable_extensions; do
13427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13428 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13436 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13440 GMSGFMT=$ac_cv_path_GMSGFMT
13441 if test -n "$GMSGFMT"; then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13443 $as_echo "$GMSGFMT" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13446 $as_echo "no" >&6; }
13451 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13452 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13453 *) MSGFMT_015=$MSGFMT ;;
13456 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13457 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13458 *) GMSGFMT_015=$GMSGFMT ;;
13463 # Prepare PATH_SEPARATOR.
13464 # The user is always right.
13465 if test "${PATH_SEPARATOR+set}" != set; then
13466 echo "#! /bin/sh" >conf$$.sh
13467 echo "exit 0" >>conf$$.sh
13469 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13477 # Find out how to test for executable files. Don't use a zero-byte file,
13478 # as systems may use methods other than mode bits to determine executability.
13479 cat >conf$$.file <<_ASEOF
13483 chmod +x conf$$.file
13484 if test -x conf$$.file >/dev/null 2>&1; then
13485 ac_executable_p="test -x"
13487 ac_executable_p="test -f"
13491 # Extract the first word of "xgettext", so it can be a program name with args.
13492 set dummy xgettext; ac_word=$2
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13494 $as_echo_n "checking for $ac_word... " >&6; }
13495 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13496 $as_echo_n "(cached) " >&6
13498 case "$XGETTEXT" in
13500 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13503 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13504 for ac_dir in $PATH; do
13506 test -z "$ac_dir" && ac_dir=.
13507 for ac_exec_ext in '' $ac_executable_extensions; do
13508 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13509 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13510 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13511 (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
13512 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13519 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13523 XGETTEXT="$ac_cv_path_XGETTEXT"
13524 if test "$XGETTEXT" != ":"; then
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13526 $as_echo "$XGETTEXT" >&6; }
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13529 $as_echo "no" >&6; }
13534 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13535 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13536 *) XGETTEXT_015=$XGETTEXT ;;
13541 # Prepare PATH_SEPARATOR.
13542 # The user is always right.
13543 if test "${PATH_SEPARATOR+set}" != set; then
13544 echo "#! /bin/sh" >conf$$.sh
13545 echo "exit 0" >>conf$$.sh
13547 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13555 # Find out how to test for executable files. Don't use a zero-byte file,
13556 # as systems may use methods other than mode bits to determine executability.
13557 cat >conf$$.file <<_ASEOF
13561 chmod +x conf$$.file
13562 if test -x conf$$.file >/dev/null 2>&1; then
13563 ac_executable_p="test -x"
13565 ac_executable_p="test -f"
13569 # Extract the first word of "msgmerge", so it can be a program name with args.
13570 set dummy msgmerge; ac_word=$2
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13572 $as_echo_n "checking for $ac_word... " >&6; }
13573 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
13574 $as_echo_n "(cached) " >&6
13576 case "$MSGMERGE" in
13578 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13581 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13582 for ac_dir in $PATH; do
13584 test -z "$ac_dir" && ac_dir=.
13585 for ac_exec_ext in '' $ac_executable_extensions; do
13586 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13587 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13588 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13589 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13596 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13600 MSGMERGE="$ac_cv_path_MSGMERGE"
13601 if test "$MSGMERGE" != ":"; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13603 $as_echo "$MSGMERGE" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13606 $as_echo "no" >&6; }
13610 test -n "$localedir" || localedir='${datadir}/locale'
13613 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13616 ac_config_commands="$ac_config_commands po-directories"
13620 if test "X$prefix" = "XNONE"; then
13621 acl_final_prefix="$ac_default_prefix"
13623 acl_final_prefix="$prefix"
13625 if test "X$exec_prefix" = "XNONE"; then
13626 acl_final_exec_prefix='${prefix}'
13628 acl_final_exec_prefix="$exec_prefix"
13630 acl_save_prefix="$prefix"
13631 prefix="$acl_final_prefix"
13632 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13633 prefix="$acl_save_prefix"
13636 # Check whether --with-gnu-ld was given.
13637 if test "${with_gnu_ld+set}" = set; then :
13638 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13643 # Prepare PATH_SEPARATOR.
13644 # The user is always right.
13645 if test "${PATH_SEPARATOR+set}" != set; then
13646 echo "#! /bin/sh" >conf$$.sh
13647 echo "exit 0" >>conf$$.sh
13649 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13657 if test "$GCC" = yes; then
13658 # Check if gcc -print-prog-name=ld gives a path.
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13660 $as_echo_n "checking for ld used by GCC... " >&6; }
13663 # gcc leaves a trailing carriage return which upsets mingw
13664 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13666 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13669 # Accept absolute paths.
13670 [\\/]* | [A-Za-z]:[\\/]*)
13671 re_direlt='/[^/][^/]*/\.\./'
13672 # Canonicalize the path of ld
13673 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13674 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13675 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13677 test -z "$LD" && LD="$ac_prog"
13680 # If it fails, then pretend we aren't using GCC.
13684 # If it is relative, then search for the first ld in PATH.
13685 with_gnu_ld=unknown
13688 elif test "$with_gnu_ld" = yes; then
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13690 $as_echo_n "checking for GNU ld... " >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13693 $as_echo_n "checking for non-GNU ld... " >&6; }
13695 if test "${acl_cv_path_LD+set}" = set; then :
13696 $as_echo_n "(cached) " >&6
13698 if test -z "$LD"; then
13699 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13700 for ac_dir in $PATH; do
13701 test -z "$ac_dir" && ac_dir=.
13702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13703 acl_cv_path_LD="$ac_dir/$ac_prog"
13704 # Check to see if the program is GNU ld. I'd rather use --version,
13705 # but apparently some GNU ld's only accept -v.
13706 # Break only if it was the GNU/non-GNU ld that we prefer.
13707 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13708 *GNU* | *'with BFD'*)
13709 test "$with_gnu_ld" != no && break ;;
13711 test "$with_gnu_ld" != yes && break ;;
13717 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13721 LD="$acl_cv_path_LD"
13722 if test -n "$LD"; then
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13724 $as_echo "$LD" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13727 $as_echo "no" >&6; }
13729 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13731 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13732 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13733 $as_echo_n "(cached) " >&6
13735 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13736 case `$LD -v 2>&1 </dev/null` in
13737 *GNU* | *'with BFD'*)
13738 acl_cv_prog_gnu_ld=yes ;;
13740 acl_cv_prog_gnu_ld=no ;;
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13744 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13745 with_gnu_ld=$acl_cv_prog_gnu_ld
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13751 $as_echo_n "checking for shared library run path origin... " >&6; }
13752 if test "${acl_cv_rpath+set}" = set; then :
13753 $as_echo_n "(cached) " >&6
13756 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13757 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13759 rm -f ./conftest.sh
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13764 $as_echo "$acl_cv_rpath" >&6; }
13766 acl_libext="$acl_cv_libext"
13767 acl_shlibext="$acl_cv_shlibext"
13768 acl_libname_spec="$acl_cv_libname_spec"
13769 acl_library_names_spec="$acl_cv_library_names_spec"
13770 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13771 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13772 acl_hardcode_direct="$acl_cv_hardcode_direct"
13773 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13774 # Check whether --enable-rpath was given.
13775 if test "${enable_rpath+set}" = set; then :
13776 enableval=$enable_rpath; :
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13789 $as_echo_n "checking for 64-bit host... " >&6; }
13790 if test "${gl_cv_solaris_64bit+set}" = set; then :
13791 $as_echo_n "(cached) " >&6
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13802 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13803 gl_cv_solaris_64bit=yes
13805 gl_cv_solaris_64bit=no
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13812 $as_echo "$gl_cv_solaris_64bit" >&6; }
13813 if test $gl_cv_solaris_64bit = yes; then
13814 acl_libdirstem=lib/64
13815 case "$host_cpu" in
13816 sparc*) acl_libdirstem2=lib/sparcv9 ;;
13817 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13822 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13823 if test -n "$searchpath"; then
13824 acl_save_IFS="${IFS= }"; IFS=":"
13825 for searchdir in $searchpath; do
13826 if test -d "$searchdir"; then
13827 case "$searchdir" in
13828 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13830 # Better ignore directories of this form. They are misleading.
13832 *) searchdir=`cd "$searchdir" && pwd`
13833 case "$searchdir" in
13834 */lib64 ) acl_libdirstem=lib64 ;;
13839 IFS="$acl_save_IFS"
13843 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13858 acl_save_prefix="$prefix"
13859 prefix="$acl_final_prefix"
13860 acl_save_exec_prefix="$exec_prefix"
13861 exec_prefix="$acl_final_exec_prefix"
13863 eval additional_includedir=\"$includedir\"
13864 eval additional_libdir=\"$libdir\"
13866 exec_prefix="$acl_save_exec_prefix"
13867 prefix="$acl_save_prefix"
13870 # Check whether --with-libiconv-prefix was given.
13871 if test "${with_libiconv_prefix+set}" = set; then :
13872 withval=$with_libiconv_prefix;
13873 if test "X$withval" = "Xno"; then
13876 if test "X$withval" = "X"; then
13878 acl_save_prefix="$prefix"
13879 prefix="$acl_final_prefix"
13880 acl_save_exec_prefix="$exec_prefix"
13881 exec_prefix="$acl_final_exec_prefix"
13883 eval additional_includedir=\"$includedir\"
13884 eval additional_libdir=\"$libdir\"
13886 exec_prefix="$acl_save_exec_prefix"
13887 prefix="$acl_save_prefix"
13890 additional_includedir="$withval/include"
13891 additional_libdir="$withval/$acl_libdirstem"
13892 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13893 && ! test -d "$withval/$acl_libdirstem"; then
13894 additional_libdir="$withval/$acl_libdirstem2"
13908 names_already_handled=
13909 names_next_round='iconv '
13910 while test -n "$names_next_round"; do
13911 names_this_round="$names_next_round"
13913 for name in $names_this_round; do
13915 for n in $names_already_handled; do
13916 if test "$n" = "$name"; then
13917 already_handled=yes
13921 if test -z "$already_handled"; then
13922 names_already_handled="$names_already_handled $name"
13923 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13924 eval value=\"\$HAVE_LIB$uppername\"
13925 if test -n "$value"; then
13926 if test "$value" = yes; then
13927 eval value=\"\$LIB$uppername\"
13928 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13929 eval value=\"\$LTLIB$uppername\"
13930 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13939 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13940 if test -n "$acl_shlibext"; then
13941 shrext=".$acl_shlibext" # typically: shrext=.so
13945 if test $use_additional = yes; then
13946 dir="$additional_libdir"
13947 if test -n "$acl_shlibext"; then
13948 if test -f "$dir/$libname$shrext"; then
13950 found_so="$dir/$libname$shrext"
13952 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13953 ver=`(cd "$dir" && \
13954 for f in "$libname$shrext".*; do echo "$f"; done \
13955 | sed -e "s,^$libname$shrext\\\\.,," \
13956 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13957 | sed 1q ) 2>/dev/null`
13958 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13960 found_so="$dir/$libname$shrext.$ver"
13963 eval library_names=\"$acl_library_names_spec\"
13964 for f in $library_names; do
13965 if test -f "$dir/$f"; then
13974 if test "X$found_dir" = "X"; then
13975 if test -f "$dir/$libname.$acl_libext"; then
13977 found_a="$dir/$libname.$acl_libext"
13980 if test "X$found_dir" != "X"; then
13981 if test -f "$dir/$libname.la"; then
13982 found_la="$dir/$libname.la"
13986 if test "X$found_dir" = "X"; then
13987 for x in $LDFLAGS $LTLIBICONV; do
13989 acl_save_prefix="$prefix"
13990 prefix="$acl_final_prefix"
13991 acl_save_exec_prefix="$exec_prefix"
13992 exec_prefix="$acl_final_exec_prefix"
13994 exec_prefix="$acl_save_exec_prefix"
13995 prefix="$acl_save_prefix"
13999 dir=`echo "X$x" | sed -e 's/^X-L//'`
14000 if test -n "$acl_shlibext"; then
14001 if test -f "$dir/$libname$shrext"; then
14003 found_so="$dir/$libname$shrext"
14005 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14006 ver=`(cd "$dir" && \
14007 for f in "$libname$shrext".*; do echo "$f"; done \
14008 | sed -e "s,^$libname$shrext\\\\.,," \
14009 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14010 | sed 1q ) 2>/dev/null`
14011 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14013 found_so="$dir/$libname$shrext.$ver"
14016 eval library_names=\"$acl_library_names_spec\"
14017 for f in $library_names; do
14018 if test -f "$dir/$f"; then
14027 if test "X$found_dir" = "X"; then
14028 if test -f "$dir/$libname.$acl_libext"; then
14030 found_a="$dir/$libname.$acl_libext"
14033 if test "X$found_dir" != "X"; then
14034 if test -f "$dir/$libname.la"; then
14035 found_la="$dir/$libname.la"
14040 if test "X$found_dir" != "X"; then
14045 if test "X$found_dir" != "X"; then
14046 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14047 if test "X$found_so" != "X"; then
14048 if test "$enable_rpath" = no \
14049 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14050 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14051 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14054 for x in $ltrpathdirs; do
14055 if test "X$x" = "X$found_dir"; then
14060 if test -z "$haveit"; then
14061 ltrpathdirs="$ltrpathdirs $found_dir"
14063 if test "$acl_hardcode_direct" = yes; then
14064 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14066 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14067 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14069 for x in $rpathdirs; do
14070 if test "X$x" = "X$found_dir"; then
14075 if test -z "$haveit"; then
14076 rpathdirs="$rpathdirs $found_dir"
14080 for x in $LDFLAGS $LIBICONV; do
14082 acl_save_prefix="$prefix"
14083 prefix="$acl_final_prefix"
14084 acl_save_exec_prefix="$exec_prefix"
14085 exec_prefix="$acl_final_exec_prefix"
14087 exec_prefix="$acl_save_exec_prefix"
14088 prefix="$acl_save_prefix"
14090 if test "X$x" = "X-L$found_dir"; then
14095 if test -z "$haveit"; then
14096 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14098 if test "$acl_hardcode_minus_L" != no; then
14099 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14101 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14107 if test "X$found_a" != "X"; then
14108 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14110 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14113 additional_includedir=
14114 case "$found_dir" in
14115 */$acl_libdirstem | */$acl_libdirstem/)
14116 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14117 if test "$name" = 'iconv'; then
14118 LIBICONV_PREFIX="$basedir"
14120 additional_includedir="$basedir/include"
14122 */$acl_libdirstem2 | */$acl_libdirstem2/)
14123 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14124 if test "$name" = 'iconv'; then
14125 LIBICONV_PREFIX="$basedir"
14127 additional_includedir="$basedir/include"
14130 if test "X$additional_includedir" != "X"; then
14131 if test "X$additional_includedir" != "X/usr/include"; then
14133 if test "X$additional_includedir" = "X/usr/local/include"; then
14134 if test -n "$GCC"; then
14136 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14140 if test -z "$haveit"; then
14141 for x in $CPPFLAGS $INCICONV; do
14143 acl_save_prefix="$prefix"
14144 prefix="$acl_final_prefix"
14145 acl_save_exec_prefix="$exec_prefix"
14146 exec_prefix="$acl_final_exec_prefix"
14148 exec_prefix="$acl_save_exec_prefix"
14149 prefix="$acl_save_prefix"
14151 if test "X$x" = "X-I$additional_includedir"; then
14156 if test -z "$haveit"; then
14157 if test -d "$additional_includedir"; then
14158 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14164 if test -n "$found_la"; then
14165 save_libdir="$libdir"
14166 case "$found_la" in
14167 */* | *\\*) . "$found_la" ;;
14168 *) . "./$found_la" ;;
14170 libdir="$save_libdir"
14171 for dep in $dependency_libs; do
14174 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14175 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14176 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14178 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14179 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14180 if test -n "$GCC"; then
14182 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14186 if test -z "$haveit"; then
14188 for x in $LDFLAGS $LIBICONV; do
14190 acl_save_prefix="$prefix"
14191 prefix="$acl_final_prefix"
14192 acl_save_exec_prefix="$exec_prefix"
14193 exec_prefix="$acl_final_exec_prefix"
14195 exec_prefix="$acl_save_exec_prefix"
14196 prefix="$acl_save_prefix"
14198 if test "X$x" = "X-L$additional_libdir"; then
14203 if test -z "$haveit"; then
14204 if test -d "$additional_libdir"; then
14205 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14209 for x in $LDFLAGS $LTLIBICONV; do
14211 acl_save_prefix="$prefix"
14212 prefix="$acl_final_prefix"
14213 acl_save_exec_prefix="$exec_prefix"
14214 exec_prefix="$acl_final_exec_prefix"
14216 exec_prefix="$acl_save_exec_prefix"
14217 prefix="$acl_save_prefix"
14219 if test "X$x" = "X-L$additional_libdir"; then
14224 if test -z "$haveit"; then
14225 if test -d "$additional_libdir"; then
14226 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14233 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14234 if test "$enable_rpath" != no; then
14236 for x in $rpathdirs; do
14237 if test "X$x" = "X$dir"; then
14242 if test -z "$haveit"; then
14243 rpathdirs="$rpathdirs $dir"
14246 for x in $ltrpathdirs; do
14247 if test "X$x" = "X$dir"; then
14252 if test -z "$haveit"; then
14253 ltrpathdirs="$ltrpathdirs $dir"
14258 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14261 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14264 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14265 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14271 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14272 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14278 if test "X$rpathdirs" != "X"; then
14279 if test -n "$acl_hardcode_libdir_separator"; then
14281 for found_dir in $rpathdirs; do
14282 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14284 acl_save_libdir="$libdir"
14286 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14287 libdir="$acl_save_libdir"
14288 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14290 for found_dir in $rpathdirs; do
14291 acl_save_libdir="$libdir"
14292 libdir="$found_dir"
14293 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14294 libdir="$acl_save_libdir"
14295 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14299 if test "X$ltrpathdirs" != "X"; then
14300 for found_dir in $ltrpathdirs; do
14301 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14336 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14337 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
14338 $as_echo_n "(cached) " >&6
14340 gt_save_LIBS="$LIBS"
14341 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 #include <CoreFoundation/CFPreferences.h>
14348 CFPreferencesCopyAppValue(NULL, NULL)
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 gt_cv_func_CFPreferencesCopyAppValue=yes
14356 gt_cv_func_CFPreferencesCopyAppValue=no
14358 rm -f core conftest.err conftest.$ac_objext \
14359 conftest$ac_exeext conftest.$ac_ext
14360 LIBS="$gt_save_LIBS"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14363 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14364 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14366 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14370 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14371 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
14372 $as_echo_n "(cached) " >&6
14374 gt_save_LIBS="$LIBS"
14375 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14378 #include <CoreFoundation/CFLocale.h>
14382 CFLocaleCopyCurrent();
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 gt_cv_func_CFLocaleCopyCurrent=yes
14390 gt_cv_func_CFLocaleCopyCurrent=no
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 LIBS="$gt_save_LIBS"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14397 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14398 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14400 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14404 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14405 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14417 case " $gt_needs " in
14418 *" need-formatstring-macros "*) gt_api_version=3 ;;
14419 *" need-ngettext "*) gt_api_version=2 ;;
14420 *) gt_api_version=1 ;;
14422 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14423 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14425 if test "$USE_NLS" = "yes"; then
14426 gt_use_preinstalled_gnugettext=no
14429 if test $gt_api_version -ge 3; then
14430 gt_revision_test_code='
14431 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14432 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14434 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14437 gt_revision_test_code=
14439 if test $gt_api_version -ge 2; then
14440 gt_expression_test_code=' + * ngettext ("", "", 0)'
14442 gt_expression_test_code=
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14446 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14447 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
14448 $as_echo_n "(cached) " >&6
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 #include <libintl.h>
14453 $gt_revision_test_code
14454 extern int _nl_msg_cat_cntr;
14455 extern int *_nl_domain_bindings;
14459 bindtextdomain ("", "");
14460 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14465 if ac_fn_c_try_link "$LINENO"; then :
14466 eval "$gt_func_gnugettext_libc=yes"
14468 eval "$gt_func_gnugettext_libc=no"
14470 rm -f core conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14473 eval ac_res=\$$gt_func_gnugettext_libc
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14475 $as_echo "$ac_res" >&6; }
14477 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14483 am_save_CPPFLAGS="$CPPFLAGS"
14485 for element in $INCICONV; do
14487 for x in $CPPFLAGS; do
14489 acl_save_prefix="$prefix"
14490 prefix="$acl_final_prefix"
14491 acl_save_exec_prefix="$exec_prefix"
14492 exec_prefix="$acl_final_exec_prefix"
14494 exec_prefix="$acl_save_exec_prefix"
14495 prefix="$acl_save_prefix"
14497 if test "X$x" = "X$element"; then
14502 if test -z "$haveit"; then
14503 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14509 $as_echo_n "checking for iconv... " >&6; }
14510 if test "${am_cv_func_iconv+set}" = set; then :
14511 $as_echo_n "(cached) " >&6
14514 am_cv_func_iconv="no, consider installing GNU libiconv"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 #include <stdlib.h>
14523 iconv_t cd = iconv_open("","");
14524 iconv(cd,NULL,NULL,NULL,NULL);
14530 if ac_fn_c_try_link "$LINENO"; then :
14531 am_cv_func_iconv=yes
14533 rm -f core conftest.err conftest.$ac_objext \
14534 conftest$ac_exeext conftest.$ac_ext
14535 if test "$am_cv_func_iconv" != yes; then
14536 am_save_LIBS="$LIBS"
14537 LIBS="$LIBS $LIBICONV"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 #include <stdlib.h>
14545 iconv_t cd = iconv_open("","");
14546 iconv(cd,NULL,NULL,NULL,NULL);
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 am_cv_lib_iconv=yes
14554 am_cv_func_iconv=yes
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 LIBS="$am_save_LIBS"
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14563 $as_echo "$am_cv_func_iconv" >&6; }
14564 if test "$am_cv_func_iconv" = yes; then
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14566 $as_echo_n "checking for working iconv... " >&6; }
14567 if test "${am_cv_func_iconv_works+set}" = set; then :
14568 $as_echo_n "(cached) " >&6
14571 am_save_LIBS="$LIBS"
14572 if test $am_cv_lib_iconv = yes; then
14573 LIBS="$LIBS $LIBICONV"
14575 if test "$cross_compiling" = yes; then :
14577 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14578 *) am_cv_func_iconv_works="guessing yes" ;;
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14585 #include <string.h>
14588 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14591 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14592 if (cd_utf8_to_88591 != (iconv_t)(-1))
14594 static const char input[] = "\342\202\254"; /* EURO SIGN */
14596 const char *inptr = input;
14597 size_t inbytesleft = strlen (input);
14598 char *outptr = buf;
14599 size_t outbytesleft = sizeof (buf);
14600 size_t res = iconv (cd_utf8_to_88591,
14601 (char **) &inptr, &inbytesleft,
14602 &outptr, &outbytesleft);
14607 /* Test against Solaris 10 bug: Failures are not distinguishable from
14608 successful returns. */
14610 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14611 if (cd_ascii_to_88591 != (iconv_t)(-1))
14613 static const char input[] = "\263";
14615 const char *inptr = input;
14616 size_t inbytesleft = strlen (input);
14617 char *outptr = buf;
14618 size_t outbytesleft = sizeof (buf);
14619 size_t res = iconv (cd_ascii_to_88591,
14620 (char **) &inptr, &inbytesleft,
14621 &outptr, &outbytesleft);
14626 #if 0 /* This bug could be worked around by the caller. */
14627 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14629 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14630 if (cd_88591_to_utf8 != (iconv_t)(-1))
14632 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14634 const char *inptr = input;
14635 size_t inbytesleft = strlen (input);
14636 char *outptr = buf;
14637 size_t outbytesleft = sizeof (buf);
14638 size_t res = iconv (cd_88591_to_utf8,
14639 (char **) &inptr, &inbytesleft,
14640 &outptr, &outbytesleft);
14646 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14648 if (/* Try standardized names. */
14649 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14650 /* Try IRIX, OSF/1 names. */
14651 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14652 /* Try AIX names. */
14653 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14654 /* Try HP-UX names. */
14655 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14660 if ac_fn_c_try_run "$LINENO"; then :
14661 am_cv_func_iconv_works=yes
14663 am_cv_func_iconv_works=no
14665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14666 conftest.$ac_objext conftest.beam conftest.$ac_ext
14669 LIBS="$am_save_LIBS"
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14673 $as_echo "$am_cv_func_iconv_works" >&6; }
14674 case "$am_cv_func_iconv_works" in
14675 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14676 *) am_func_iconv=yes ;;
14679 am_func_iconv=no am_cv_lib_iconv=no
14681 if test "$am_func_iconv" = yes; then
14683 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14686 if test "$am_cv_lib_iconv" = yes; then
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14688 $as_echo_n "checking how to link with libiconv... " >&6; }
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14690 $as_echo "$LIBICONV" >&6; }
14692 CPPFLAGS="$am_save_CPPFLAGS"
14709 acl_save_prefix="$prefix"
14710 prefix="$acl_final_prefix"
14711 acl_save_exec_prefix="$exec_prefix"
14712 exec_prefix="$acl_final_exec_prefix"
14714 eval additional_includedir=\"$includedir\"
14715 eval additional_libdir=\"$libdir\"
14717 exec_prefix="$acl_save_exec_prefix"
14718 prefix="$acl_save_prefix"
14721 # Check whether --with-libintl-prefix was given.
14722 if test "${with_libintl_prefix+set}" = set; then :
14723 withval=$with_libintl_prefix;
14724 if test "X$withval" = "Xno"; then
14727 if test "X$withval" = "X"; then
14729 acl_save_prefix="$prefix"
14730 prefix="$acl_final_prefix"
14731 acl_save_exec_prefix="$exec_prefix"
14732 exec_prefix="$acl_final_exec_prefix"
14734 eval additional_includedir=\"$includedir\"
14735 eval additional_libdir=\"$libdir\"
14737 exec_prefix="$acl_save_exec_prefix"
14738 prefix="$acl_save_prefix"
14741 additional_includedir="$withval/include"
14742 additional_libdir="$withval/$acl_libdirstem"
14743 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14744 && ! test -d "$withval/$acl_libdirstem"; then
14745 additional_libdir="$withval/$acl_libdirstem2"
14759 names_already_handled=
14760 names_next_round='intl '
14761 while test -n "$names_next_round"; do
14762 names_this_round="$names_next_round"
14764 for name in $names_this_round; do
14766 for n in $names_already_handled; do
14767 if test "$n" = "$name"; then
14768 already_handled=yes
14772 if test -z "$already_handled"; then
14773 names_already_handled="$names_already_handled $name"
14774 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14775 eval value=\"\$HAVE_LIB$uppername\"
14776 if test -n "$value"; then
14777 if test "$value" = yes; then
14778 eval value=\"\$LIB$uppername\"
14779 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14780 eval value=\"\$LTLIB$uppername\"
14781 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14790 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14791 if test -n "$acl_shlibext"; then
14792 shrext=".$acl_shlibext" # typically: shrext=.so
14796 if test $use_additional = yes; then
14797 dir="$additional_libdir"
14798 if test -n "$acl_shlibext"; then
14799 if test -f "$dir/$libname$shrext"; then
14801 found_so="$dir/$libname$shrext"
14803 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14804 ver=`(cd "$dir" && \
14805 for f in "$libname$shrext".*; do echo "$f"; done \
14806 | sed -e "s,^$libname$shrext\\\\.,," \
14807 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14808 | sed 1q ) 2>/dev/null`
14809 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14811 found_so="$dir/$libname$shrext.$ver"
14814 eval library_names=\"$acl_library_names_spec\"
14815 for f in $library_names; do
14816 if test -f "$dir/$f"; then
14825 if test "X$found_dir" = "X"; then
14826 if test -f "$dir/$libname.$acl_libext"; then
14828 found_a="$dir/$libname.$acl_libext"
14831 if test "X$found_dir" != "X"; then
14832 if test -f "$dir/$libname.la"; then
14833 found_la="$dir/$libname.la"
14837 if test "X$found_dir" = "X"; then
14838 for x in $LDFLAGS $LTLIBINTL; do
14840 acl_save_prefix="$prefix"
14841 prefix="$acl_final_prefix"
14842 acl_save_exec_prefix="$exec_prefix"
14843 exec_prefix="$acl_final_exec_prefix"
14845 exec_prefix="$acl_save_exec_prefix"
14846 prefix="$acl_save_prefix"
14850 dir=`echo "X$x" | sed -e 's/^X-L//'`
14851 if test -n "$acl_shlibext"; then
14852 if test -f "$dir/$libname$shrext"; then
14854 found_so="$dir/$libname$shrext"
14856 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14857 ver=`(cd "$dir" && \
14858 for f in "$libname$shrext".*; do echo "$f"; done \
14859 | sed -e "s,^$libname$shrext\\\\.,," \
14860 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14861 | sed 1q ) 2>/dev/null`
14862 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14864 found_so="$dir/$libname$shrext.$ver"
14867 eval library_names=\"$acl_library_names_spec\"
14868 for f in $library_names; do
14869 if test -f "$dir/$f"; then
14878 if test "X$found_dir" = "X"; then
14879 if test -f "$dir/$libname.$acl_libext"; then
14881 found_a="$dir/$libname.$acl_libext"
14884 if test "X$found_dir" != "X"; then
14885 if test -f "$dir/$libname.la"; then
14886 found_la="$dir/$libname.la"
14891 if test "X$found_dir" != "X"; then
14896 if test "X$found_dir" != "X"; then
14897 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14898 if test "X$found_so" != "X"; then
14899 if test "$enable_rpath" = no \
14900 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14901 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14902 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14905 for x in $ltrpathdirs; do
14906 if test "X$x" = "X$found_dir"; then
14911 if test -z "$haveit"; then
14912 ltrpathdirs="$ltrpathdirs $found_dir"
14914 if test "$acl_hardcode_direct" = yes; then
14915 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14917 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14918 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14920 for x in $rpathdirs; do
14921 if test "X$x" = "X$found_dir"; then
14926 if test -z "$haveit"; then
14927 rpathdirs="$rpathdirs $found_dir"
14931 for x in $LDFLAGS $LIBINTL; do
14933 acl_save_prefix="$prefix"
14934 prefix="$acl_final_prefix"
14935 acl_save_exec_prefix="$exec_prefix"
14936 exec_prefix="$acl_final_exec_prefix"
14938 exec_prefix="$acl_save_exec_prefix"
14939 prefix="$acl_save_prefix"
14941 if test "X$x" = "X-L$found_dir"; then
14946 if test -z "$haveit"; then
14947 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14949 if test "$acl_hardcode_minus_L" != no; then
14950 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14952 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14958 if test "X$found_a" != "X"; then
14959 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14961 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14964 additional_includedir=
14965 case "$found_dir" in
14966 */$acl_libdirstem | */$acl_libdirstem/)
14967 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14968 if test "$name" = 'intl'; then
14969 LIBINTL_PREFIX="$basedir"
14971 additional_includedir="$basedir/include"
14973 */$acl_libdirstem2 | */$acl_libdirstem2/)
14974 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14975 if test "$name" = 'intl'; then
14976 LIBINTL_PREFIX="$basedir"
14978 additional_includedir="$basedir/include"
14981 if test "X$additional_includedir" != "X"; then
14982 if test "X$additional_includedir" != "X/usr/include"; then
14984 if test "X$additional_includedir" = "X/usr/local/include"; then
14985 if test -n "$GCC"; then
14987 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14991 if test -z "$haveit"; then
14992 for x in $CPPFLAGS $INCINTL; do
14994 acl_save_prefix="$prefix"
14995 prefix="$acl_final_prefix"
14996 acl_save_exec_prefix="$exec_prefix"
14997 exec_prefix="$acl_final_exec_prefix"
14999 exec_prefix="$acl_save_exec_prefix"
15000 prefix="$acl_save_prefix"
15002 if test "X$x" = "X-I$additional_includedir"; then
15007 if test -z "$haveit"; then
15008 if test -d "$additional_includedir"; then
15009 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15015 if test -n "$found_la"; then
15016 save_libdir="$libdir"
15017 case "$found_la" in
15018 */* | *\\*) . "$found_la" ;;
15019 *) . "./$found_la" ;;
15021 libdir="$save_libdir"
15022 for dep in $dependency_libs; do
15025 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15026 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15027 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15029 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15030 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15031 if test -n "$GCC"; then
15033 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15037 if test -z "$haveit"; then
15039 for x in $LDFLAGS $LIBINTL; do
15041 acl_save_prefix="$prefix"
15042 prefix="$acl_final_prefix"
15043 acl_save_exec_prefix="$exec_prefix"
15044 exec_prefix="$acl_final_exec_prefix"
15046 exec_prefix="$acl_save_exec_prefix"
15047 prefix="$acl_save_prefix"
15049 if test "X$x" = "X-L$additional_libdir"; then
15054 if test -z "$haveit"; then
15055 if test -d "$additional_libdir"; then
15056 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15060 for x in $LDFLAGS $LTLIBINTL; do
15062 acl_save_prefix="$prefix"
15063 prefix="$acl_final_prefix"
15064 acl_save_exec_prefix="$exec_prefix"
15065 exec_prefix="$acl_final_exec_prefix"
15067 exec_prefix="$acl_save_exec_prefix"
15068 prefix="$acl_save_prefix"
15070 if test "X$x" = "X-L$additional_libdir"; then
15075 if test -z "$haveit"; then
15076 if test -d "$additional_libdir"; then
15077 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15084 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15085 if test "$enable_rpath" != no; then
15087 for x in $rpathdirs; do
15088 if test "X$x" = "X$dir"; then
15093 if test -z "$haveit"; then
15094 rpathdirs="$rpathdirs $dir"
15097 for x in $ltrpathdirs; do
15098 if test "X$x" = "X$dir"; then
15103 if test -z "$haveit"; then
15104 ltrpathdirs="$ltrpathdirs $dir"
15109 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15112 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15115 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15116 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15122 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15123 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15129 if test "X$rpathdirs" != "X"; then
15130 if test -n "$acl_hardcode_libdir_separator"; then
15132 for found_dir in $rpathdirs; do
15133 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15135 acl_save_libdir="$libdir"
15137 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15138 libdir="$acl_save_libdir"
15139 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15141 for found_dir in $rpathdirs; do
15142 acl_save_libdir="$libdir"
15143 libdir="$found_dir"
15144 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15145 libdir="$acl_save_libdir"
15146 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15150 if test "X$ltrpathdirs" != "X"; then
15151 for found_dir in $ltrpathdirs; do
15152 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15162 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15163 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
15164 $as_echo_n "(cached) " >&6
15166 gt_save_CPPFLAGS="$CPPFLAGS"
15167 CPPFLAGS="$CPPFLAGS $INCINTL"
15168 gt_save_LIBS="$LIBS"
15169 LIBS="$LIBS $LIBINTL"
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172 #include <libintl.h>
15173 $gt_revision_test_code
15174 extern int _nl_msg_cat_cntr;
15179 const char *_nl_expand_alias (const char *);
15183 bindtextdomain ("", "");
15184 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 eval "$gt_func_gnugettext_libintl=yes"
15192 eval "$gt_func_gnugettext_libintl=no"
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15196 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15197 LIBS="$LIBS $LIBICONV"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 #include <libintl.h>
15201 $gt_revision_test_code
15202 extern int _nl_msg_cat_cntr;
15207 const char *_nl_expand_alias (const char *);
15211 bindtextdomain ("", "");
15212 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15217 if ac_fn_c_try_link "$LINENO"; then :
15218 LIBINTL="$LIBINTL $LIBICONV"
15219 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15220 eval "$gt_func_gnugettext_libintl=yes"
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15226 CPPFLAGS="$gt_save_CPPFLAGS"
15227 LIBS="$gt_save_LIBS"
15229 eval ac_res=\$$gt_func_gnugettext_libintl
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15231 $as_echo "$ac_res" >&6; }
15234 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15235 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15236 && test "$PACKAGE" != gettext-runtime \
15237 && test "$PACKAGE" != gettext-tools; }; then
15238 gt_use_preinstalled_gnugettext=yes
15247 if test -n "$INTL_MACOSX_LIBS"; then
15248 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15249 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15250 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15251 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15255 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15256 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15258 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15266 $as_echo_n "checking whether to use NLS... " >&6; }
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15268 $as_echo "$USE_NLS" >&6; }
15269 if test "$USE_NLS" = "yes"; then
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15271 $as_echo_n "checking where the gettext function comes from... " >&6; }
15272 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15273 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15274 gt_source="external libintl"
15279 gt_source="included intl directory"
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15282 $as_echo "$gt_source" >&6; }
15285 if test "$USE_NLS" = "yes"; then
15287 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15288 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15290 $as_echo_n "checking how to link with libintl... " >&6; }
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15292 $as_echo "$LIBINTL" >&6; }
15294 for element in $INCINTL; do
15296 for x in $CPPFLAGS; do
15298 acl_save_prefix="$prefix"
15299 prefix="$acl_final_prefix"
15300 acl_save_exec_prefix="$exec_prefix"
15301 exec_prefix="$acl_final_exec_prefix"
15303 exec_prefix="$acl_save_exec_prefix"
15304 prefix="$acl_save_prefix"
15306 if test "X$x" = "X$element"; then
15311 if test -z "$haveit"; then
15312 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15319 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15322 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15331 INTLLIBS="$LIBINTL"
15340 GETTEXT_PACKAGE=PACKAGE_TARNAME
15343 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
15346 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
15349 cat >confcache <<\_ACEOF
15350 # This file is a shell script that caches the results of configure
15351 # tests run on this system so they can be shared between configure
15352 # scripts and configure runs, see configure's option --config-cache.
15353 # It is not useful on other systems. If it contains results you don't
15354 # want to keep, you may remove or edit it.
15356 # config.status only pays attention to the cache file if you give it
15357 # the --recheck option to rerun configure.
15359 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15360 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15361 # following values.
15365 # The following way of writing the cache mishandles newlines in values,
15366 # but we know of no workaround that is simple, portable, and efficient.
15367 # So, we kill variables containing newlines.
15368 # Ultrix sh set writes to stderr and can't be redirected directly,
15369 # and sets the high bit in the cache file unless we assign to the vars.
15371 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15372 eval ac_val=\$$ac_var
15376 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15377 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15380 _ | IFS | as_nl) ;; #(
15381 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15382 *) { eval $ac_var=; unset $ac_var;} ;;
15388 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15389 *${as_nl}ac_space=\ *)
15390 # `set' does not quote correctly, so add quotes: double-quote
15391 # substitution turns \\\\ into \\, and sed turns \\ into \.
15394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15397 # `set' quotes correctly as required by POSIX, so do not add quotes.
15398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15409 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15411 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15412 if test -w "$cache_file"; then
15413 test "x$cache_file" != "x/dev/null" &&
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15415 $as_echo "$as_me: updating cache $cache_file" >&6;}
15416 cat confcache >$cache_file
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15419 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15424 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15425 # Let make expand exec_prefix.
15426 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15428 DEFS=-DHAVE_CONFIG_H
15433 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15434 # 1. Remove the extension, and $U if already installed.
15435 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15436 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15437 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15438 # will be set to the directory where LIBOBJS objects are built.
15439 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15440 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15442 LIBOBJS=$ac_libobjs
15444 LTLIBOBJS=$ac_ltlibobjs
15447 if test -n "$EXEEXT"; then
15449 am__EXEEXT_FALSE='#'
15451 am__EXEEXT_TRUE='#'
15455 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15456 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15459 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15460 as_fn_error $? "conditional \"AMDEP\" was never defined.
15461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15463 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15464 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15467 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15468 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15471 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
15472 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
15473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15475 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
15476 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
15477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15479 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
15480 as_fn_error $? "conditional \"OS_MACOS\" was never defined.
15481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15483 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
15484 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
15485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15487 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
15488 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
15489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15491 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
15492 as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
15493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15495 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
15496 as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
15497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15500 : ${CONFIG_STATUS=./config.status}
15502 ac_clean_files_save=$ac_clean_files
15503 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15505 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15507 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15509 # Generated by $as_me.
15510 # Run this file to recreate the current configuration.
15511 # Compiler output produced by configure, useful for debugging
15512 # configure, is in config.log if it exists.
15515 ac_cs_recheck=false
15518 SHELL=\${CONFIG_SHELL-$SHELL}
15521 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15522 ## -------------------- ##
15523 ## M4sh Initialization. ##
15524 ## -------------------- ##
15526 # Be more Bourne compatible
15527 DUALCASE=1; export DUALCASE # for MKS sh
15528 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15531 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15532 # is contrary to our usage. Disable this feature.
15533 alias -g '${1+"$@"}'='"$@"'
15534 setopt NO_GLOB_SUBST
15536 case `(set -o) 2>/dev/null` in #(
15548 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15549 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15550 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15551 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15552 # Prefer a ksh shell builtin over an external printf program on Solaris,
15553 # but without wasting forks for bash or zsh.
15554 if test -z "$BASH_VERSION$ZSH_VERSION" \
15555 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15556 as_echo='print -r --'
15557 as_echo_n='print -rn --'
15558 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15559 as_echo='printf %s\n'
15560 as_echo_n='printf %s'
15562 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15563 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15564 as_echo_n='/usr/ucb/echo -n'
15566 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15567 as_echo_n_body='eval
15571 expr "X$arg" : "X\\(.*\\)$as_nl";
15572 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15574 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15576 export as_echo_n_body
15577 as_echo_n='sh -c $as_echo_n_body as_echo'
15579 export as_echo_body
15580 as_echo='sh -c $as_echo_body as_echo'
15583 # The user is always right.
15584 if test "${PATH_SEPARATOR+set}" != set; then
15586 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15587 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15594 # We need space, tab and new line, in precisely that order. Quoting is
15595 # there to prevent editors from complaining about space-tab.
15596 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15597 # splitting by setting IFS to empty value.)
15600 # Find who we are. Look in the path if we contain no directory separator.
15602 *[\\/]* ) as_myself=$0 ;;
15603 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15604 for as_dir in $PATH
15607 test -z "$as_dir" && as_dir=.
15608 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15614 # We did not find ourselves, most probably we were run as `sh COMMAND'
15615 # in which case we are not to be found in the path.
15616 if test "x$as_myself" = x; then
15619 if test ! -f "$as_myself"; then
15620 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15624 # Unset variables that we do not need and which cause bugs (e.g. in
15625 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15626 # suppresses any "Segmentation fault" message there. '((' could
15627 # trigger a bug in pdksh 5.2.14.
15628 for as_var in BASH_ENV ENV MAIL MAILPATH
15629 do eval test x\${$as_var+set} = xset \
15630 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15643 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15646 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15647 # ----------------------------------------
15648 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15649 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15650 # script with STATUS, using 1 if that was 0.
15653 as_status=$1; test $as_status -eq 0 && as_status=1
15655 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15656 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15658 $as_echo "$as_me: error: $2" >&2
15659 as_fn_exit $as_status
15663 # as_fn_set_status STATUS
15664 # -----------------------
15665 # Set $? to STATUS, without forking.
15666 as_fn_set_status ()
15669 } # as_fn_set_status
15671 # as_fn_exit STATUS
15672 # -----------------
15673 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15677 as_fn_set_status $1
15683 # Portably unset VAR.
15686 { eval $1=; unset $1;}
15688 as_unset=as_fn_unset
15689 # as_fn_append VAR VALUE
15690 # ----------------------
15691 # Append the text in VALUE to the end of the definition contained in VAR. Take
15692 # advantage of any shell optimizations that allow amortized linear growth over
15693 # repeated appends, instead of the typical quadratic growth present in naive
15695 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15696 eval 'as_fn_append ()
15707 # as_fn_arith ARG...
15708 # ------------------
15709 # Perform arithmetic evaluation on the ARGs, and store the result in the
15710 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15711 # must be portable across $(()) and expr.
15712 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15713 eval 'as_fn_arith ()
15720 as_val=`expr "$@" || test $? -eq 1`
15725 if expr a : '\(a\)' >/dev/null 2>&1 &&
15726 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15732 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15733 as_basename=basename
15738 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15744 as_me=`$as_basename -- "$0" ||
15745 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15746 X"$0" : 'X\(//\)$' \| \
15747 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15749 sed '/^.*\/\([^/][^/]*\)\/*$/{
15763 # Avoid depending upon Character Ranges.
15764 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15765 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15766 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15767 as_cr_digits='0123456789'
15768 as_cr_alnum=$as_cr_Letters$as_cr_digits
15770 ECHO_C= ECHO_N= ECHO_T=
15771 case `echo -n x` in #(((((
15773 case `echo 'xy\c'` in
15774 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15776 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15783 rm -f conf$$ conf$$.exe conf$$.file
15784 if test -d conf$$.dir; then
15785 rm -f conf$$.dir/conf$$.file
15788 mkdir conf$$.dir 2>/dev/null
15790 if (echo >conf$$.file) 2>/dev/null; then
15791 if ln -s conf$$.file conf$$ 2>/dev/null; then
15793 # ... but there are two gotchas:
15794 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15795 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15796 # In both cases, we have to default to `cp -p'.
15797 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15799 elif ln conf$$.file conf$$ 2>/dev/null; then
15807 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15808 rmdir conf$$.dir 2>/dev/null
15813 # Create "$as_dir" as a directory, including parents if necessary.
15818 -*) as_dir=./$as_dir;;
15820 test -d "$as_dir" || eval $as_mkdir_p || {
15824 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15825 *) as_qdir=$as_dir;;
15827 as_dirs="'$as_qdir' $as_dirs"
15828 as_dir=`$as_dirname -- "$as_dir" ||
15829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15830 X"$as_dir" : 'X\(//\)[^/]' \| \
15831 X"$as_dir" : 'X\(//\)$' \| \
15832 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15833 $as_echo X"$as_dir" |
15834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15838 /^X\(\/\/\)[^/].*/{
15851 test -d "$as_dir" && break
15853 test -z "$as_dirs" || eval "mkdir $as_dirs"
15854 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15858 if mkdir -p . 2>/dev/null; then
15859 as_mkdir_p='mkdir -p "$as_dir"'
15861 test -d ./-p && rmdir ./-p
15865 if test -x / >/dev/null 2>&1; then
15866 as_test_x='test -x'
15868 if ls -dL / >/dev/null 2>&1; then
15875 if test -d "$1"; then
15881 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15882 ???[sx]*):;;*)false;;esac;fi
15886 as_executable_p=$as_test_x
15888 # Sed expression to map a string onto a valid CPP name.
15889 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15891 # Sed expression to map a string onto a valid variable name.
15892 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15896 ## ----------------------------------- ##
15897 ## Main body of $CONFIG_STATUS script. ##
15898 ## ----------------------------------- ##
15900 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15903 # Save the log message, to keep $0 and so on meaningful, and to
15904 # report actual input values of CONFIG_FILES etc. instead of their
15905 # values after options handling.
15907 This file was extended by Moonshot-ui $as_me 0.1, which was
15908 generated by GNU Autoconf 2.67. Invocation command line was
15910 CONFIG_FILES = $CONFIG_FILES
15911 CONFIG_HEADERS = $CONFIG_HEADERS
15912 CONFIG_LINKS = $CONFIG_LINKS
15913 CONFIG_COMMANDS = $CONFIG_COMMANDS
15916 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15921 case $ac_config_files in *"
15922 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15925 case $ac_config_headers in *"
15926 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15931 # Files that config.status was made for.
15932 config_files="$ac_config_files"
15933 config_headers="$ac_config_headers"
15934 config_commands="$ac_config_commands"
15938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15940 \`$as_me' instantiates files and other configuration actions
15941 from templates according to the current configuration. Unless the files
15942 and actions are specified as TAGs, all are instantiated by default.
15944 Usage: $0 [OPTION]... [TAG]...
15946 -h, --help print this help, then exit
15947 -V, --version print version number and configuration settings, then exit
15948 --config print configuration, then exit
15949 -q, --quiet, --silent
15950 do not print progress messages
15951 -d, --debug don't remove temporary files
15952 --recheck update $as_me by reconfiguring in the same conditions
15953 --file=FILE[:TEMPLATE]
15954 instantiate the configuration file FILE
15955 --header=FILE[:TEMPLATE]
15956 instantiate the configuration header FILE
15958 Configuration files:
15961 Configuration headers:
15964 Configuration commands:
15967 Report bugs to <moonshot-community@jiscmail.ac.uk>.
15968 Moonshot-ui home page: <http://www.project-moonshot.org/>."
15971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15972 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15974 Moonshot-ui config.status 0.1
15975 configured by $0, generated by GNU Autoconf 2.67,
15976 with options \\"\$ac_cs_config\\"
15978 Copyright (C) 2010 Free Software Foundation, Inc.
15979 This config.status script is free software; the Free Software Foundation
15980 gives unlimited permission to copy, distribute and modify it."
15987 test -n "\$AWK" || AWK=awk
15990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15991 # The default lists apply if the user does not specify any file.
15997 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15998 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16002 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16014 # Handling of the options.
16015 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16017 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16018 $as_echo "$ac_cs_version"; exit ;;
16019 --config | --confi | --conf | --con | --co | --c )
16020 $as_echo "$ac_cs_config"; exit ;;
16021 --debug | --debu | --deb | --de | --d | -d )
16023 --file | --fil | --fi | --f )
16026 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16027 '') as_fn_error $? "missing file argument" ;;
16029 as_fn_append CONFIG_FILES " '$ac_optarg'"
16030 ac_need_defaults=false;;
16031 --header | --heade | --head | --hea )
16034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16036 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16037 ac_need_defaults=false;;
16039 # Conflict between --help and --header
16040 as_fn_error $? "ambiguous option: \`$1'
16041 Try \`$0 --help' for more information.";;
16042 --help | --hel | -h )
16043 $as_echo "$ac_cs_usage"; exit ;;
16044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16045 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16048 # This is an error.
16049 -*) as_fn_error $? "unrecognized option: \`$1'
16050 Try \`$0 --help' for more information." ;;
16052 *) as_fn_append ac_config_targets " $1"
16053 ac_need_defaults=false ;;
16059 ac_configure_extra_args=
16061 if $ac_cs_silent; then
16063 ac_configure_extra_args="$ac_configure_extra_args --silent"
16067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16068 if \$ac_cs_recheck; then
16069 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16072 CONFIG_SHELL='$SHELL'
16073 export CONFIG_SHELL
16078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16083 ## Running $as_me. ##
16089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16093 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16096 # The HP-UX ksh and POSIX shell print the target directory to stdout
16097 # if CDPATH is set.
16098 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16100 sed_quote_subst='$sed_quote_subst'
16101 double_quote_subst='$double_quote_subst'
16102 delay_variable_subst='$delay_variable_subst'
16103 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16104 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16105 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16106 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16107 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16108 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16109 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16110 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16111 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16112 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16113 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16114 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16115 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16116 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16117 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16118 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16119 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16120 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16121 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16122 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16123 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16124 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16125 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16126 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16127 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16128 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16129 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16130 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16131 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16132 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16133 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16134 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16135 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16136 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16137 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16138 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16139 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16140 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16141 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16142 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16143 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16144 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16145 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16146 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16147 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16148 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16149 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"`'
16150 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"`'
16151 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16152 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16153 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16154 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16155 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16156 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16157 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16158 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16159 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16160 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16161 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16162 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16163 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16164 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16165 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16166 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16167 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16168 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16169 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16170 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16171 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16172 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16173 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16174 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16175 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16176 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16177 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16178 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16179 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16180 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16181 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16182 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16183 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16184 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16185 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16186 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16187 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16188 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16189 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16190 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16191 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16192 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16193 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16194 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16195 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16196 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16197 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16198 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16199 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16200 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16201 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16202 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16203 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16204 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16205 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16206 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16207 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16208 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16209 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16210 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16211 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16212 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16213 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16214 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16215 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16216 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16217 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16218 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16219 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16220 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16221 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16222 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16225 LTCFLAGS='$LTCFLAGS'
16226 compiler='$compiler_DEFAULT'
16228 # Quote evaled strings.
16239 deplibs_check_method \
16248 lt_cv_sys_global_symbol_pipe \
16249 lt_cv_sys_global_symbol_to_cdecl \
16250 lt_cv_sys_global_symbol_to_c_name_address \
16251 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16254 lt_prog_compiler_no_builtin_flag \
16255 lt_prog_compiler_wl \
16256 lt_prog_compiler_pic \
16257 lt_prog_compiler_static \
16258 lt_cv_prog_compiler_c_o \
16266 export_dynamic_flag_spec \
16267 whole_archive_flag_spec \
16268 compiler_needs_object \
16270 allow_undefined_flag \
16271 no_undefined_flag \
16272 hardcode_libdir_flag_spec \
16273 hardcode_libdir_flag_spec_ld \
16274 hardcode_libdir_separator \
16279 variables_saved_for_relink \
16281 library_names_spec \
16286 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16287 *[\\\\\\\`\\"\\\$]*)
16288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16296 # Double-quote double-evaled strings.
16297 for var in reload_cmds \
16298 old_postinstall_cmds \
16299 old_postuninstall_cmds \
16301 extract_expsyms_cmds \
16302 old_archive_from_new_cmds \
16303 old_archive_from_expsyms_cmds \
16305 archive_expsym_cmds \
16307 module_expsym_cmds \
16308 export_symbols_cmds \
16311 postuninstall_cmds \
16313 sys_lib_search_path_spec \
16314 sys_lib_dlsearch_path_spec; do
16315 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16316 *[\\\\\\\`\\"\\\$]*)
16317 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16320 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16325 # Fix-up fallback echo if it was mangled by the above quoting rules.
16327 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16331 ac_aux_dir='$ac_aux_dir'
16332 xsi_shell='$xsi_shell'
16333 lt_shell_append='$lt_shell_append'
16335 # See if we are running on zsh, and set the options which allow our
16336 # commands through without removal of \ escapes INIT.
16337 if test -n "\${ZSH_VERSION+set}" ; then
16338 setopt NO_GLOB_SUBST
16344 TIMESTAMP='$TIMESTAMP'
16350 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16351 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
16352 # from automake < 1.5.
16353 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16354 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16355 LINGUAS="${LINGUAS-%UNSET%}"
16360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16362 # Handling of arguments.
16363 for ac_config_target in $ac_config_targets
16365 case $ac_config_target in
16366 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16367 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16368 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16369 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
16370 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16371 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16372 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
16373 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
16374 "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
16376 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16381 # If the user did not use the arguments to specify the items to instantiate,
16382 # then the envvar interface is used. Set only those that are not.
16383 # We use the long form for the default assignment because of an extremely
16384 # bizarre bug on SunOS 4.1.3.
16385 if $ac_need_defaults; then
16386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16391 # Have a temporary directory for convenience. Make it in the build tree
16392 # simply because there is no reason against having it here, and in addition,
16393 # creating and moving files from /tmp can sometimes cause problems.
16394 # Hook for its removal unless debugging.
16395 # Note that there is a small window in which the directory will not be cleaned:
16396 # after its creation but before its name has been assigned to `$tmp'.
16400 trap 'exit_status=$?
16401 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16403 trap 'as_fn_exit 1' 1 2 13 15
16405 # Create a (secure) tmp directory for tmp files.
16408 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16409 test -n "$tmp" && test -d "$tmp"
16412 tmp=./conf$$-$RANDOM
16413 (umask 077 && mkdir "$tmp")
16414 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16416 # Set up the scripts for CONFIG_FILES section.
16417 # No need to generate them if there are no CONFIG_FILES.
16418 # This happens for instance with `./config.status config.h'.
16419 if test -n "$CONFIG_FILES"; then
16422 ac_cr=`echo X | tr X '\015'`
16423 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16424 # But we know of no other shell where ac_cr would be empty at this
16425 # point, so we can use a bashism as a fallback.
16426 if test "x$ac_cr" = x; then
16427 eval ac_cr=\$\'\\r\'
16429 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16430 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16433 ac_cs_awk_cr=$ac_cr
16436 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16441 echo "cat >conf$$subs.awk <<_ACEOF" &&
16442 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16444 } >conf$$subs.sh ||
16445 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16446 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16448 for ac_last_try in false false false false false :; do
16449 . ./conf$$subs.sh ||
16450 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16452 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16453 if test $ac_delim_n = $ac_delim_num; then
16455 elif $ac_last_try; then
16456 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16458 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16461 rm -f conf$$subs.sh
16463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16464 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16468 s/^/S["/; s/!.*/"]=/
16478 s/\(.\{148\}\)..*/\1/
16480 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16485 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16492 s/\(.\{148\}\)..*/\1/
16494 s/["\\]/\\&/g; s/^/"/; s/$/"/
16498 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16503 ' <conf$$subs.awk | sed '
16508 ' >>$CONFIG_STATUS || ac_write_fail=1
16509 rm -f conf$$subs.awk
16510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16512 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16513 for (key in S) S_is_set[key] = 1
16519 nfields = split(line, field, "@")
16521 len = length(field[1])
16522 for (i = 2; i < nfields; i++) {
16524 keylen = length(key)
16525 if (S_is_set[key]) {
16527 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16528 len += length(value) + length(field[++i])
16539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16540 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16541 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16544 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16545 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16548 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16549 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16550 # trailing colons and then remove the whole line if VPATH becomes empty
16551 # (actually we leave an empty line to preserve line numbers).
16552 if test "x$srcdir" = x.; then
16553 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16572 fi # test -n "$CONFIG_FILES"
16574 # Set up the scripts for CONFIG_HEADERS section.
16575 # No need to generate them if there are no CONFIG_HEADERS.
16576 # This happens for instance with `./config.status Makefile'.
16577 if test -n "$CONFIG_HEADERS"; then
16578 cat >"$tmp/defines.awk" <<\_ACAWK ||
16582 # Transform confdefs.h into an awk script `defines.awk', embedded as
16583 # here-document in config.status, that substitutes the proper values into
16584 # config.h.in to produce config.h.
16586 # Create a delimiter string that does not exist in confdefs.h, to ease
16587 # handling of long lines.
16589 for ac_last_try in false false :; do
16590 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16591 if test -z "$ac_t"; then
16593 elif $ac_last_try; then
16594 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16600 # For the awk script, D is an array of macro values keyed by name,
16601 # likewise P contains macro parameters if any. Preserve backslash
16602 # newline sequences.
16604 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16606 s/.\{148\}/&'"$ac_delim"'/g
16609 s/^[ ]*#[ ]*define[ ][ ]*/ /
16616 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16618 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16622 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16623 D["\1"]=" \3\\\\\\n"\\/p
16625 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16630 s/.\{148\}/&'"$ac_delim"'/g
16635 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16638 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16640 ' <confdefs.h | sed '
16641 s/'"$ac_delim"'/"\\\
16642 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16645 for (key in D) D_is_set[key] = 1
16648 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16650 split(line, arg, " ")
16651 if (arg[1] == "#") {
16655 defundef = substr(arg[1], 2)
16658 split(mac1, mac2, "(") #)
16660 prefix = substr(line, 1, index(line, defundef) - 1)
16661 if (D_is_set[macro]) {
16662 # Preserve the white space surrounding the "#".
16663 print prefix "define", macro P[macro] D[macro]
16666 # Replace #undef with comments. This is necessary, for example,
16667 # in the case of _POSIX_SOURCE, which is predefined and required
16668 # on some systems where configure will not decide to define it.
16669 if (defundef == "undef") {
16670 print "/*", prefix defundef, macro, "*/"
16678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16679 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16680 fi # test -n "$CONFIG_HEADERS"
16683 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16688 :[FHLC]) ac_mode=$ac_tag; continue;;
16690 case $ac_mode$ac_tag in
16692 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16693 :[FH]-) ac_tag=-:-;;
16694 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16711 -) ac_f="$tmp/stdin";;
16712 *) # Look for the file first in the build tree, then in the source tree
16713 # (if the path is not absolute). The absolute path cannot be DOS-style,
16714 # because $ac_f cannot contain `:'.
16718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16720 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16722 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16723 as_fn_append ac_file_inputs " '$ac_f'"
16726 # Let's still pretend it is `configure' which instantiates (i.e., don't
16727 # use $as_me), people would be surprised to read:
16728 # /* config.h. Generated by config.status. */
16729 configure_input='Generated from '`
16730 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16732 if test x"$ac_file" != x-; then
16733 configure_input="$ac_file. $configure_input"
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16735 $as_echo "$as_me: creating $ac_file" >&6;}
16737 # Neutralize special characters interpreted by sed in replacement strings.
16738 case $configure_input in #(
16739 *\&* | *\|* | *\\* )
16740 ac_sed_conf_input=`$as_echo "$configure_input" |
16741 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16742 *) ac_sed_conf_input=$configure_input;;
16746 *:-:* | *:-) cat >"$tmp/stdin" \
16747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16752 ac_dir=`$as_dirname -- "$ac_file" ||
16753 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16754 X"$ac_file" : 'X\(//\)[^/]' \| \
16755 X"$ac_file" : 'X\(//\)$' \| \
16756 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16757 $as_echo X"$ac_file" |
16758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16762 /^X\(\/\/\)[^/].*/{
16775 as_dir="$ac_dir"; as_fn_mkdir_p
16779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16781 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16782 # A ".." for each directory in $ac_dir_suffix.
16783 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16784 case $ac_top_builddir_sub in
16785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16789 ac_abs_top_builddir=$ac_pwd
16790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16791 # for backward compatibility:
16792 ac_top_builddir=$ac_top_build_prefix
16795 .) # We are building in place.
16797 ac_top_srcdir=$ac_top_builddir_sub
16798 ac_abs_top_srcdir=$ac_pwd ;;
16799 [\\/]* | ?:[\\/]* ) # Absolute name.
16800 ac_srcdir=$srcdir$ac_dir_suffix;
16801 ac_top_srcdir=$srcdir
16802 ac_abs_top_srcdir=$srcdir ;;
16803 *) # Relative name.
16804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16805 ac_top_srcdir=$ac_top_build_prefix$srcdir
16806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16818 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16819 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16821 ac_MKDIR_P=$MKDIR_P
16823 [\\/$]* | ?:[\\/]* ) ;;
16824 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16829 # If the template does not know about datarootdir, expand it.
16830 # FIXME: This hack should be removed a few years after 2.60.
16831 ac_datarootdir_hack=; ac_datarootdir_seen=
16842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16843 *datarootdir*) ac_datarootdir_seen=yes;;
16844 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16846 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16849 ac_datarootdir_hack='
16850 s&@datadir@&$datadir&g
16851 s&@docdir@&$docdir&g
16852 s&@infodir@&$infodir&g
16853 s&@localedir@&$localedir&g
16854 s&@mandir@&$mandir&g
16855 s&\\\${datarootdir}&$datarootdir&g' ;;
16859 # Neutralize VPATH when `$srcdir' = `.'.
16860 # Shell code in configure.ac might set extrasub.
16861 # FIXME: do we really want to maintain this feature?
16862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16863 ac_sed_extra="$ac_vpsub
16866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16869 s|@configure_input@|$ac_sed_conf_input|;t t
16870 s&@top_builddir@&$ac_top_builddir_sub&;t t
16871 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16872 s&@srcdir@&$ac_srcdir&;t t
16873 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16874 s&@top_srcdir@&$ac_top_srcdir&;t t
16875 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16876 s&@builddir@&$ac_builddir&;t t
16877 s&@abs_builddir@&$ac_abs_builddir&;t t
16878 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16879 s&@INSTALL@&$ac_INSTALL&;t t
16880 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16881 $ac_datarootdir_hack
16883 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16886 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16887 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16888 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16890 which seems to be undefined. Please make sure it is defined" >&5
16891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16892 which seems to be undefined. Please make sure it is defined" >&2;}
16896 -) cat "$tmp/out" && rm -f "$tmp/out";;
16897 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16905 if test x"$ac_file" != x-; then
16907 $as_echo "/* $configure_input */" \
16908 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16909 } >"$tmp/config.h" \
16910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16911 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16913 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16916 mv "$tmp/config.h" "$ac_file" \
16917 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16920 $as_echo "/* $configure_input */" \
16921 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16922 || as_fn_error $? "could not create -" "$LINENO" 5
16924 # Compute "$ac_file"'s index in $config_headers.
16927 for _am_header in $config_headers :; do
16928 case $_am_header in
16929 $_am_arg | $_am_arg:* )
16932 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16935 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16936 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16937 X"$_am_arg" : 'X\(//\)[^/]' \| \
16938 X"$_am_arg" : 'X\(//\)$' \| \
16939 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16940 $as_echo X"$_am_arg" |
16941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16945 /^X\(\/\/\)[^/].*/{
16957 s/.*/./; q'`/stamp-h$_am_stamp_count
16960 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16961 $as_echo "$as_me: executing $ac_file commands" >&6;}
16966 case $ac_file$ac_mode in
16967 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16968 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16969 # are listed without --file. Let's play safe and only enable the eval
16970 # if we detect the quoting.
16971 case $CONFIG_FILES in
16972 *\'*) eval set x "$CONFIG_FILES" ;;
16973 *) set x $CONFIG_FILES ;;
16978 # Strip MF so we end up with the name of the file.
16979 mf=`echo "$mf" | sed -e 's/:.*$//'`
16980 # Check whether this is an Automake generated Makefile or not.
16981 # We used to match only the files named `Makefile.in', but
16982 # some people rename them; so instead we look at the file content.
16983 # Grep'ing the first line is not enough: some people post-process
16984 # each Makefile.in and add a new line on top of each file to say so.
16985 # Grep'ing the whole file is not good either: AIX grep has a line
16986 # limit of 2048, but all sed's we know have understand at least 4000.
16987 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16988 dirpart=`$as_dirname -- "$mf" ||
16989 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16990 X"$mf" : 'X\(//\)[^/]' \| \
16991 X"$mf" : 'X\(//\)$' \| \
16992 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16998 /^X\(\/\/\)[^/].*/{
17014 # Extract the definition of DEPDIR, am__include, and am__quote
17015 # from the Makefile without running `make'.
17016 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17017 test -z "$DEPDIR" && continue
17018 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17019 test -z "am__include" && continue
17020 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17021 # When using ansi2knr, U may be empty or an underscore; expand it
17022 U=`sed -n 's/^U = //p' < "$mf"`
17023 # Find all dependency output files, they are included files with
17024 # $(DEPDIR) in their names. We invoke sed twice because it is the
17025 # simplest approach to changing $(DEPDIR) to its actual value in the
17027 for file in `sed -n "
17028 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17029 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17030 # Make sure the directory exists.
17031 test -f "$dirpart/$file" && continue
17032 fdir=`$as_dirname -- "$file" ||
17033 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17034 X"$file" : 'X\(//\)[^/]' \| \
17035 X"$file" : 'X\(//\)$' \| \
17036 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17037 $as_echo X"$file" |
17038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17042 /^X\(\/\/\)[^/].*/{
17055 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17056 # echo "creating $dirpart/$file"
17057 echo '# dummy' > "$dirpart/$file"
17064 # See if we are running on zsh, and set the options which allow our
17065 # commands through without removal of \ escapes.
17066 if test -n "${ZSH_VERSION+set}" ; then
17067 setopt NO_GLOB_SUBST
17070 cfgfile="${ofile}T"
17071 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17074 cat <<_LT_EOF >> "$cfgfile"
17077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17078 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17082 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17083 # 2006, 2007, 2008 Free Software Foundation, Inc.
17084 # Written by Gordon Matzigkeit, 1996
17086 # This file is part of GNU Libtool.
17088 # GNU Libtool is free software; you can redistribute it and/or
17089 # modify it under the terms of the GNU General Public License as
17090 # published by the Free Software Foundation; either version 2 of
17091 # the License, or (at your option) any later version.
17093 # As a special exception to the GNU General Public License,
17094 # if you distribute this file as part of a program or library that
17095 # is built using GNU Libtool, you may include this file under the
17096 # same distribution terms that you use for the rest of that program.
17098 # GNU Libtool is distributed in the hope that it will be useful,
17099 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17100 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17101 # GNU General Public License for more details.
17103 # You should have received a copy of the GNU General Public License
17104 # along with GNU Libtool; see the file COPYING. If not, a copy
17105 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17106 # obtained by writing to the Free Software Foundation, Inc.,
17107 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17110 # The names of the tagged configurations supported by this script.
17113 # ### BEGIN LIBTOOL CONFIG
17115 # Which release of libtool.m4 was used?
17116 macro_version=$macro_version
17117 macro_revision=$macro_revision
17119 # Assembler program.
17122 # DLL creation program.
17125 # Object dumper program.
17128 # Whether or not to build shared libraries.
17129 build_libtool_libs=$enable_shared
17131 # Whether or not to build static libraries.
17132 build_old_libs=$enable_static
17134 # What type of objects to build.
17137 # Whether or not to optimize for fast installation.
17138 fast_install=$enable_fast_install
17141 host_alias=$host_alias
17145 # The build system.
17146 build_alias=$build_alias
17150 # A sed program that does not truncate output.
17153 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17154 Xsed="\$SED -e 1s/^X//"
17156 # A grep program that handles long lines.
17162 # A literal string matcher.
17165 # A BSD- or MS-compatible name lister.
17168 # Whether we need soft or hard links.
17171 # What is the maximum length of a command?
17172 max_cmd_len=$max_cmd_len
17174 # Object file suffix (normally "o").
17177 # Executable file suffix (normally "").
17180 # whether the shell understands "unset".
17183 # turn spaces into newlines.
17186 # turn newlines into spaces.
17189 # How to create reloadable object files.
17190 reload_flag=$lt_reload_flag
17191 reload_cmds=$lt_reload_cmds
17193 # Method to check whether dependent libraries are shared objects.
17194 deplibs_check_method=$lt_deplibs_check_method
17196 # Command to use when deplibs_check_method == "file_magic".
17197 file_magic_cmd=$lt_file_magic_cmd
17201 AR_FLAGS=$lt_AR_FLAGS
17203 # A symbol stripping program.
17206 # Commands used to install an old-style archive.
17208 old_postinstall_cmds=$lt_old_postinstall_cmds
17209 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17214 # LTCC compiler flags.
17215 LTCFLAGS=$lt_CFLAGS
17217 # Take the output of nm and produce a listing of raw symbols and C names.
17218 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17220 # Transform the output of nm in a proper C declaration.
17221 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17223 # Transform the output of nm in a C name address pair.
17224 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17226 # Transform the output of nm in a C name address pair when lib prefix is needed.
17227 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17229 # The name of the directory that contains temporary libtool files.
17232 # Shell to use when invoking shell scripts.
17235 # An echo program that does not interpret backslashes.
17238 # Used to examine libraries when file_magic_cmd begins with "file".
17239 MAGIC_CMD=$MAGIC_CMD
17241 # Must we lock files when doing compilation?
17242 need_locks=$lt_need_locks
17244 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17245 DSYMUTIL=$lt_DSYMUTIL
17247 # Tool to change global to local symbols on Mac OS X.
17250 # Tool to manipulate fat objects and archives on Mac OS X.
17253 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17256 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17257 OTOOL64=$lt_OTOOL64
17259 # Old archive suffix (normally "a").
17262 # Shared library suffix (normally ".so").
17263 shrext_cmds=$lt_shrext_cmds
17265 # The commands to extract the exported symbol list from a shared archive.
17266 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17268 # Variables whose values should be saved in libtool wrapper scripts and
17269 # restored at link time.
17270 variables_saved_for_relink=$lt_variables_saved_for_relink
17272 # Do we need the "lib" prefix for modules?
17273 need_lib_prefix=$need_lib_prefix
17275 # Do we need a version for libraries?
17276 need_version=$need_version
17278 # Library versioning type.
17279 version_type=$version_type
17281 # Shared library runtime path variable.
17282 runpath_var=$runpath_var
17284 # Shared library path variable.
17285 shlibpath_var=$shlibpath_var
17287 # Is shlibpath searched before the hard-coded library search path?
17288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17290 # Format of library name prefix.
17291 libname_spec=$lt_libname_spec
17293 # List of archive names. First name is the real one, the rest are links.
17294 # The last name is the one that the linker finds with -lNAME
17295 library_names_spec=$lt_library_names_spec
17297 # The coded name of the library, if different from the real name.
17298 soname_spec=$lt_soname_spec
17300 # Command to use after installation of a shared archive.
17301 postinstall_cmds=$lt_postinstall_cmds
17303 # Command to use after uninstallation of a shared archive.
17304 postuninstall_cmds=$lt_postuninstall_cmds
17306 # Commands used to finish a libtool library installation in a directory.
17307 finish_cmds=$lt_finish_cmds
17309 # As "finish_cmds", except a single script fragment to be evaled but
17311 finish_eval=$lt_finish_eval
17313 # Whether we should hardcode library paths into libraries.
17314 hardcode_into_libs=$hardcode_into_libs
17316 # Compile-time system search path for libraries.
17317 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17319 # Run-time system search path for libraries.
17320 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17322 # Whether dlopen is supported.
17323 dlopen_support=$enable_dlopen
17325 # Whether dlopen of programs is supported.
17326 dlopen_self=$enable_dlopen_self
17328 # Whether dlopen of statically linked programs is supported.
17329 dlopen_self_static=$enable_dlopen_self_static
17331 # Commands to strip libraries.
17332 old_striplib=$lt_old_striplib
17333 striplib=$lt_striplib
17336 # The linker used to build libraries.
17339 # Commands used to build an old-style archive.
17340 old_archive_cmds=$lt_old_archive_cmds
17342 # A language specific compiler.
17345 # Is the compiler the GNU compiler?
17348 # Compiler flag to turn off builtin functions.
17349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17351 # How to pass a linker flag through the compiler.
17352 wl=$lt_lt_prog_compiler_wl
17354 # Additional compiler flags for building library objects.
17355 pic_flag=$lt_lt_prog_compiler_pic
17357 # Compiler flag to prevent dynamic linking.
17358 link_static_flag=$lt_lt_prog_compiler_static
17360 # Does compiler simultaneously support -c and -o options?
17361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17363 # Whether or not to add -lc for building shared libraries.
17364 build_libtool_need_lc=$archive_cmds_need_lc
17366 # Whether or not to disallow shared libs when runtime libs are static.
17367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17369 # Compiler flag to allow reflexive dlopens.
17370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17372 # Compiler flag to generate shared objects directly from archives.
17373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17375 # Whether the compiler copes with passing no objects directly.
17376 compiler_needs_object=$lt_compiler_needs_object
17378 # Create an old-style archive from a shared archive.
17379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17381 # Create a temporary old-style archive to link instead of a shared archive.
17382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17384 # Commands used to build a shared archive.
17385 archive_cmds=$lt_archive_cmds
17386 archive_expsym_cmds=$lt_archive_expsym_cmds
17388 # Commands used to build a loadable module if different from building
17389 # a shared archive.
17390 module_cmds=$lt_module_cmds
17391 module_expsym_cmds=$lt_module_expsym_cmds
17393 # Whether we are building with GNU ld or not.
17394 with_gnu_ld=$lt_with_gnu_ld
17396 # Flag that allows shared libraries with undefined symbols to be built.
17397 allow_undefined_flag=$lt_allow_undefined_flag
17399 # Flag that enforces no undefined symbols.
17400 no_undefined_flag=$lt_no_undefined_flag
17402 # Flag to hardcode \$libdir into a binary during linking.
17403 # This must work even if \$libdir does not exist
17404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17406 # If ld is used when linking, flag to hardcode \$libdir into a binary
17407 # during linking. This must work even if \$libdir does not exist.
17408 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17410 # Whether we need a single "-rpath" flag with a separated argument.
17411 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17414 # DIR into the resulting binary.
17415 hardcode_direct=$hardcode_direct
17417 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17418 # DIR into the resulting binary and the resulting library dependency is
17419 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17420 # library is relocated.
17421 hardcode_direct_absolute=$hardcode_direct_absolute
17423 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17424 # into the resulting binary.
17425 hardcode_minus_L=$hardcode_minus_L
17427 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17428 # into the resulting binary.
17429 hardcode_shlibpath_var=$hardcode_shlibpath_var
17431 # Set to "yes" if building a shared library automatically hardcodes DIR
17432 # into the library and all subsequent libraries and executables linked
17434 hardcode_automatic=$hardcode_automatic
17436 # Set to yes if linker adds runtime paths of dependent libraries
17437 # to runtime path list.
17438 inherit_rpath=$inherit_rpath
17440 # Whether libtool must link a program against all its dependency libraries.
17441 link_all_deplibs=$link_all_deplibs
17443 # Fix the shell variable \$srcfile for the compiler.
17444 fix_srcfile_path=$lt_fix_srcfile_path
17446 # Set to "yes" if exported symbols are required.
17447 always_export_symbols=$always_export_symbols
17449 # The commands to list exported symbols.
17450 export_symbols_cmds=$lt_export_symbols_cmds
17452 # Symbols that should not be listed in the preloaded symbols.
17453 exclude_expsyms=$lt_exclude_expsyms
17455 # Symbols that must always be exported.
17456 include_expsyms=$lt_include_expsyms
17458 # Commands necessary for linking programs (against libraries) with templates.
17459 prelink_cmds=$lt_prelink_cmds
17461 # Specify filename containing input files.
17462 file_list_spec=$lt_file_list_spec
17464 # How to hardcode a shared library path into an executable.
17465 hardcode_action=$hardcode_action
17467 # ### END LIBTOOL CONFIG
17473 cat <<\_LT_EOF >> "$cfgfile"
17474 # AIX sometimes has problems with the GCC collect2 program. For some
17475 # reason, if we set the COLLECT_NAMES environment variable, the problems
17476 # vanish in a puff of smoke.
17477 if test "X${COLLECT_NAMES+set}" != Xset; then
17479 export COLLECT_NAMES
17486 ltmain="$ac_aux_dir/ltmain.sh"
17489 # We use sed instead of cat because bash on DJGPP gets confused if
17490 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17491 # text mode, it properly converts lines to CR/LF. This bash problem
17492 # is reportedly fixed, but why not run on old versions too?
17493 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17494 || (rm -f "$cfgfile"; exit 1)
17498 cat << \_LT_EOF >> "$cfgfile"
17500 # func_dirname file append nondir_replacement
17501 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17502 # otherwise set result to NONDIR_REPLACEMENT.
17506 */*) func_dirname_result="${1%/*}${2}" ;;
17507 * ) func_dirname_result="${3}" ;;
17511 # func_basename file
17514 func_basename_result="${1##*/}"
17517 # func_dirname_and_basename file append nondir_replacement
17518 # perform func_basename and func_dirname in a single function
17520 # dirname: Compute the dirname of FILE. If nonempty,
17521 # add APPEND to the result, otherwise set result
17522 # to NONDIR_REPLACEMENT.
17523 # value returned in "$func_dirname_result"
17524 # basename: Compute filename of FILE.
17525 # value retuned in "$func_basename_result"
17526 # Implementation must be kept synchronized with func_dirname
17527 # and func_basename. For efficiency, we do not delegate to
17528 # those functions but instead duplicate the functionality here.
17529 func_dirname_and_basename ()
17532 */*) func_dirname_result="${1%/*}${2}" ;;
17533 * ) func_dirname_result="${3}" ;;
17535 func_basename_result="${1##*/}"
17538 # func_stripname prefix suffix name
17539 # strip PREFIX and SUFFIX off of NAME.
17540 # PREFIX and SUFFIX must not contain globbing or regex special
17541 # characters, hashes, percent signs, but SUFFIX may contain a leading
17542 # dot (in which case that matches only a dot).
17545 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17546 # positional parameters, so assign one to ordinary parameter first.
17547 func_stripname_result=${3}
17548 func_stripname_result=${func_stripname_result#"${1}"}
17549 func_stripname_result=${func_stripname_result%"${2}"}
17555 func_opt_split_opt=${1%%=*}
17556 func_opt_split_arg=${1#*=}
17563 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17564 *) func_lo2o_result=${1} ;;
17568 # func_xform libobj-or-source
17571 func_xform_result=${1%.*}.lo
17574 # func_arith arithmetic-term...
17577 func_arith_result=$(( $* ))
17581 # STRING may not start with a hyphen.
17584 func_len_result=${#1}
17589 *) # Bourne compatible functions.
17590 cat << \_LT_EOF >> "$cfgfile"
17592 # func_dirname file append nondir_replacement
17593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17594 # otherwise set result to NONDIR_REPLACEMENT.
17597 # Extract subdirectory from the argument.
17598 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17599 if test "X$func_dirname_result" = "X${1}"; then
17600 func_dirname_result="${3}"
17602 func_dirname_result="$func_dirname_result${2}"
17606 # func_basename file
17609 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17613 # func_stripname prefix suffix name
17614 # strip PREFIX and SUFFIX off of NAME.
17615 # PREFIX and SUFFIX must not contain globbing or regex special
17616 # characters, hashes, percent signs, but SUFFIX may contain a leading
17617 # dot (in which case that matches only a dot).
17618 # func_strip_suffix prefix name
17622 .*) func_stripname_result=`$ECHO "X${3}" \
17623 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17624 *) func_stripname_result=`$ECHO "X${3}" \
17625 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17630 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17631 my_sed_long_arg='1s/^-[^=]*=//'
17636 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17637 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17643 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17646 # func_xform libobj-or-source
17649 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17652 # func_arith arithmetic-term...
17655 func_arith_result=`expr "$@"`
17659 # STRING may not start with a hyphen.
17662 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17668 case $lt_shell_append in
17670 cat << \_LT_EOF >> "$cfgfile"
17672 # func_append var value
17673 # Append VALUE to the end of shell variable VAR.
17681 cat << \_LT_EOF >> "$cfgfile"
17683 # func_append var value
17684 # Append VALUE to the end of shell variable VAR.
17695 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17696 || (rm -f "$cfgfile"; exit 1)
17698 mv -f "$cfgfile" "$ofile" ||
17699 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17703 "po-directories":C)
17704 for ac_file in $CONFIG_FILES; do
17705 # Support "outfile[:infile[:infile...]]"
17707 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17709 # PO directories have a Makefile.in generated from Makefile.in.in.
17710 case "$ac_file" in */Makefile.in)
17711 # Adjust a relative srcdir.
17712 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17713 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
17714 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17715 # In autoconf-2.13 it is called $ac_given_srcdir.
17716 # In autoconf-2.50 it is called $srcdir.
17717 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17718 case "$ac_given_srcdir" in
17719 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17720 /*) top_srcdir="$ac_given_srcdir" ;;
17721 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
17723 # Treat a directory as a PO directory if and only if it has a
17724 # POTFILES.in file. This allows packages to have multiple PO
17725 # directories under different names or in different locations.
17726 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17727 rm -f "$ac_dir/POTFILES"
17728 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17729 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17730 POMAKEFILEDEPS="POTFILES.in"
17731 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
17732 # on $ac_dir but don't depend on user-specified configuration
17734 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17735 # The LINGUAS file contains the set of available languages.
17736 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17737 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
17739 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17740 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17741 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17742 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17744 # The set of available languages was given in configure.in.
17745 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17746 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17749 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
17750 # Compute UPDATEPOFILES
17751 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
17752 # Compute DUMMYPOFILES
17753 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
17755 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
17756 case "$ac_given_srcdir" in
17758 *) srcdirpre='$(srcdir)/' ;;
17764 for lang in $ALL_LINGUAS; do
17765 POFILES="$POFILES $srcdirpre$lang.po"
17766 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17767 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17768 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17770 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17771 # environment variable.
17773 if test -n "$ALL_LINGUAS"; then
17774 for presentlang in $ALL_LINGUAS; do
17776 if test "%UNSET%" != "$LINGUAS"; then
17777 desiredlanguages="$LINGUAS"
17779 desiredlanguages="$ALL_LINGUAS"
17781 for desiredlang in $desiredlanguages; do
17782 # Use the presentlang catalog if desiredlang is
17783 # a. equal to presentlang, or
17784 # b. a variant of presentlang (because in this case,
17785 # presentlang can be used as a fallback for messages
17786 # which are not translated in the desiredlang catalog).
17787 case "$desiredlang" in
17788 "$presentlang"*) useit=yes;;
17791 if test $useit = yes; then
17792 INST_LINGUAS="$INST_LINGUAS $presentlang"
17797 if test -n "$INST_LINGUAS"; then
17798 for lang in $INST_LINGUAS; do
17799 CATALOGS="$CATALOGS $lang.gmo"
17802 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17803 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"
17804 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17805 if test -f "$f"; then
17807 *.orig | *.bak | *~) ;;
17808 *) cat "$f" >> "$ac_dir/Makefile" ;;
17823 ac_clean_files=$ac_clean_files_save
17825 test $ac_write_fail = 0 ||
17826 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17829 # configure is writing to config.log, and then calls config.status.
17830 # config.status does its own redirection, appending to config.log.
17831 # Unfortunately, on DOS this fails, as config.log is still kept open
17832 # by configure, so config.status won't be able to write to it; its
17833 # output is simply discarded. So we exec the FD to /dev/null,
17834 # effectively closing config.log, so it can be properly (re)opened and
17835 # appended to by config.status. When coming back to configure, we
17836 # need to make the FD available again.
17837 if test "$no_create" != yes; then
17839 ac_config_status_args=
17840 test "$silent" = yes &&
17841 ac_config_status_args="$ac_config_status_args --quiet"
17843 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17845 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17846 # would make configure fail if this is the last instruction.
17847 $ac_cs_success || as_fn_exit 1
17849 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17851 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}