2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Moonshot 0.0.1.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
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'
763 PACKAGE_TARNAME='moonshot'
764 PACKAGE_VERSION='0.0.1'
765 PACKAGE_STRING='Moonshot 0.0.1'
766 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
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
904 MAINTAINER_MODE_FALSE
916 INSTALL_STRIP_PROGRAM
958 program_transform_name
971 enable_option_checking
973 enable_maintainer_mode
978 enable_dependency_tracking
986 ac_precious_vars='build_alias
1004 # Initialize some variables set by options.
1006 ac_init_version=false
1007 ac_unrecognized_opts=
1008 ac_unrecognized_sep=
1009 # The variables have the same names as the options, with
1010 # dashes changed to underlines.
1011 cache_file=/dev/null
1018 program_transform_name=s,x,x,
1026 # Installation directory options.
1027 # These are left unexpanded so users can "make install exec_prefix=/foo"
1028 # and all the variables that are supposed to be based on exec_prefix
1029 # by default will actually change.
1030 # Use braces instead of parens because sh, perl, etc. also accept them.
1031 # (The list follows the same order as the GNU Coding Standards.)
1032 bindir='${exec_prefix}/bin'
1033 sbindir='${exec_prefix}/sbin'
1034 libexecdir='${exec_prefix}/libexec'
1035 datarootdir='${prefix}/share'
1036 datadir='${datarootdir}'
1037 sysconfdir='${prefix}/etc'
1038 sharedstatedir='${prefix}/com'
1039 localstatedir='${prefix}/var'
1040 includedir='${prefix}/include'
1041 oldincludedir='/usr/include'
1042 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1043 infodir='${datarootdir}/info'
1048 libdir='${exec_prefix}/lib'
1049 localedir='${datarootdir}/locale'
1050 mandir='${datarootdir}/man'
1056 # If the previous option needs an argument, assign it.
1057 if test -n "$ac_prev"; then
1058 eval $ac_prev=\$ac_option
1064 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1069 # Accept the important Cygnus configure options, so we can diagnose typos.
1071 case $ac_dashdash$ac_option in
1075 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1077 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1078 bindir=$ac_optarg ;;
1080 -build | --build | --buil | --bui | --bu)
1081 ac_prev=build_alias ;;
1082 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1083 build_alias=$ac_optarg ;;
1085 -cache-file | --cache-file | --cache-fil | --cache-fi \
1086 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1087 ac_prev=cache_file ;;
1088 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1089 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1090 cache_file=$ac_optarg ;;
1092 --config-cache | -C)
1093 cache_file=config.cache ;;
1095 -datadir | --datadir | --datadi | --datad)
1097 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1098 datadir=$ac_optarg ;;
1100 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1101 | --dataroo | --dataro | --datar)
1102 ac_prev=datarootdir ;;
1103 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1104 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1105 datarootdir=$ac_optarg ;;
1107 -disable-* | --disable-*)
1108 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111 as_fn_error $? "invalid feature name: $ac_useropt"
1112 ac_useropt_orig=$ac_useropt
1113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1116 "enable_$ac_useropt"
1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1119 ac_unrecognized_sep=', ';;
1121 eval enable_$ac_useropt=no ;;
1123 -docdir | --docdir | --docdi | --doc | --do)
1125 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1126 docdir=$ac_optarg ;;
1128 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1130 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1131 dvidir=$ac_optarg ;;
1133 -enable-* | --enable-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid feature name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1142 "enable_$ac_useropt"
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval enable_$ac_useropt=\$ac_optarg ;;
1149 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1150 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1151 | --exec | --exe | --ex)
1152 ac_prev=exec_prefix ;;
1153 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1154 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1155 | --exec=* | --exe=* | --ex=*)
1156 exec_prefix=$ac_optarg ;;
1158 -gas | --gas | --ga | --g)
1159 # Obsolete; use --with-gas.
1162 -help | --help | --hel | --he | -h)
1163 ac_init_help=long ;;
1164 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1165 ac_init_help=recursive ;;
1166 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1167 ac_init_help=short ;;
1169 -host | --host | --hos | --ho)
1170 ac_prev=host_alias ;;
1171 -host=* | --host=* | --hos=* | --ho=*)
1172 host_alias=$ac_optarg ;;
1174 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1176 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1178 htmldir=$ac_optarg ;;
1180 -includedir | --includedir | --includedi | --included | --include \
1181 | --includ | --inclu | --incl | --inc)
1182 ac_prev=includedir ;;
1183 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1184 | --includ=* | --inclu=* | --incl=* | --inc=*)
1185 includedir=$ac_optarg ;;
1187 -infodir | --infodir | --infodi | --infod | --info | --inf)
1189 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1190 infodir=$ac_optarg ;;
1192 -libdir | --libdir | --libdi | --libd)
1194 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1195 libdir=$ac_optarg ;;
1197 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1198 | --libexe | --libex | --libe)
1199 ac_prev=libexecdir ;;
1200 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1201 | --libexe=* | --libex=* | --libe=*)
1202 libexecdir=$ac_optarg ;;
1204 -localedir | --localedir | --localedi | --localed | --locale)
1205 ac_prev=localedir ;;
1206 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1207 localedir=$ac_optarg ;;
1209 -localstatedir | --localstatedir | --localstatedi | --localstated \
1210 | --localstate | --localstat | --localsta | --localst | --locals)
1211 ac_prev=localstatedir ;;
1212 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1213 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1214 localstatedir=$ac_optarg ;;
1216 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1218 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1219 mandir=$ac_optarg ;;
1221 -nfp | --nfp | --nf)
1222 # Obsolete; use --without-fp.
1225 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1226 | --no-cr | --no-c | -n)
1229 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1230 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1233 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1234 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1235 | --oldin | --oldi | --old | --ol | --o)
1236 ac_prev=oldincludedir ;;
1237 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1238 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1239 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1240 oldincludedir=$ac_optarg ;;
1242 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1244 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1245 prefix=$ac_optarg ;;
1247 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1248 | --program-pre | --program-pr | --program-p)
1249 ac_prev=program_prefix ;;
1250 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1251 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1252 program_prefix=$ac_optarg ;;
1254 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1255 | --program-suf | --program-su | --program-s)
1256 ac_prev=program_suffix ;;
1257 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1258 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1259 program_suffix=$ac_optarg ;;
1261 -program-transform-name | --program-transform-name \
1262 | --program-transform-nam | --program-transform-na \
1263 | --program-transform-n | --program-transform- \
1264 | --program-transform | --program-transfor \
1265 | --program-transfo | --program-transf \
1266 | --program-trans | --program-tran \
1267 | --progr-tra | --program-tr | --program-t)
1268 ac_prev=program_transform_name ;;
1269 -program-transform-name=* | --program-transform-name=* \
1270 | --program-transform-nam=* | --program-transform-na=* \
1271 | --program-transform-n=* | --program-transform-=* \
1272 | --program-transform=* | --program-transfor=* \
1273 | --program-transfo=* | --program-transf=* \
1274 | --program-trans=* | --program-tran=* \
1275 | --progr-tra=* | --program-tr=* | --program-t=*)
1276 program_transform_name=$ac_optarg ;;
1278 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1280 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1281 pdfdir=$ac_optarg ;;
1283 -psdir | --psdir | --psdi | --psd | --ps)
1285 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1289 | -silent | --silent | --silen | --sile | --sil)
1292 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1294 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1296 sbindir=$ac_optarg ;;
1298 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1299 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1300 | --sharedst | --shareds | --shared | --share | --shar \
1302 ac_prev=sharedstatedir ;;
1303 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1304 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1305 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1307 sharedstatedir=$ac_optarg ;;
1309 -site | --site | --sit)
1311 -site=* | --site=* | --sit=*)
1314 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1316 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1317 srcdir=$ac_optarg ;;
1319 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1320 | --syscon | --sysco | --sysc | --sys | --sy)
1321 ac_prev=sysconfdir ;;
1322 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1323 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1324 sysconfdir=$ac_optarg ;;
1326 -target | --target | --targe | --targ | --tar | --ta | --t)
1327 ac_prev=target_alias ;;
1328 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1329 target_alias=$ac_optarg ;;
1331 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1334 -version | --version | --versio | --versi | --vers | -V)
1335 ac_init_version=: ;;
1338 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1339 # Reject names that are not valid shell variable names.
1340 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1341 as_fn_error $? "invalid package name: $ac_useropt"
1342 ac_useropt_orig=$ac_useropt
1343 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1344 case $ac_user_opts in
1348 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1349 ac_unrecognized_sep=', ';;
1351 eval with_$ac_useropt=\$ac_optarg ;;
1353 -without-* | --without-*)
1354 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1355 # Reject names that are not valid shell variable names.
1356 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1357 as_fn_error $? "invalid package name: $ac_useropt"
1358 ac_useropt_orig=$ac_useropt
1359 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360 case $ac_user_opts in
1364 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1365 ac_unrecognized_sep=', ';;
1367 eval with_$ac_useropt=no ;;
1370 # Obsolete; use --with-x.
1373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374 | --x-incl | --x-inc | --x-in | --x-i)
1375 ac_prev=x_includes ;;
1376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378 x_includes=$ac_optarg ;;
1380 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382 ac_prev=x_libraries ;;
1383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385 x_libraries=$ac_optarg ;;
1387 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1388 Try \`$0 --help' for more information"
1392 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1393 # Reject names that are not valid shell variable names.
1394 case $ac_envvar in #(
1395 '' | [0-9]* | *[!_$as_cr_alnum]* )
1396 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1398 eval $ac_envvar=\$ac_optarg
1399 export $ac_envvar ;;
1402 # FIXME: should be removed in autoconf 3.0.
1403 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1405 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1412 if test -n "$ac_prev"; then
1413 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414 as_fn_error $? "missing argument to $ac_option"
1417 if test -n "$ac_unrecognized_opts"; then
1418 case $enable_option_checking in
1420 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1421 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1425 # Check all directory arguments for consistency.
1426 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1427 datadir sysconfdir sharedstatedir localstatedir includedir \
1428 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1429 libdir localedir mandir
1431 eval ac_val=\$$ac_var
1432 # Remove trailing slashes.
1435 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1436 eval $ac_var=\$ac_val;;
1438 # Be sure to have absolute directory names.
1440 [\\/$]* | ?:[\\/]* ) continue;;
1441 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1443 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1446 # There might be people who depend on the old broken behavior: `$host'
1447 # used to hold the argument of --host etc.
1448 # FIXME: To remove some day.
1451 target=$target_alias
1453 # FIXME: To remove some day.
1454 if test "x$host_alias" != x; then
1455 if test "x$build_alias" = x; then
1456 cross_compiling=maybe
1457 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1458 If a cross compiler is detected then cross compile mode will be used" >&2
1459 elif test "x$build_alias" != "x$host_alias"; then
1465 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1467 test "$silent" = yes && exec 6>/dev/null
1470 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1471 ac_ls_di=`ls -di .` &&
1472 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1473 as_fn_error $? "working directory cannot be determined"
1474 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1475 as_fn_error $? "pwd does not report name of working directory"
1478 # Find the source files, if location was not specified.
1479 if test -z "$srcdir"; then
1480 ac_srcdir_defaulted=yes
1481 # Try the directory containing this script, then the parent directory.
1482 ac_confdir=`$as_dirname -- "$as_myself" ||
1483 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1484 X"$as_myself" : 'X\(//\)[^/]' \| \
1485 X"$as_myself" : 'X\(//\)$' \| \
1486 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1487 $as_echo X"$as_myself" |
1488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1506 if test ! -r "$srcdir/$ac_unique_file"; then
1510 ac_srcdir_defaulted=no
1512 if test ! -r "$srcdir/$ac_unique_file"; then
1513 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1514 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1516 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1518 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1520 # When building in place, set srcdir=.
1521 if test "$ac_abs_confdir" = "$ac_pwd"; then
1524 # Remove unnecessary trailing slashes from srcdir.
1525 # Double slashes in file names in object file debugging info
1526 # mess up M-x gdb in Emacs.
1528 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1530 for ac_var in $ac_precious_vars; do
1531 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1532 eval ac_env_${ac_var}_value=\$${ac_var}
1533 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1534 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1538 # Report the --help message.
1540 if test "$ac_init_help" = "long"; then
1541 # Omit some internal or obsolete options to make the list less imposing.
1542 # This message is too long to be a string in the A/UX 3.1 sh.
1544 \`configure' configures Moonshot 0.0.1 to adapt to many kinds of systems.
1546 Usage: $0 [OPTION]... [VAR=VALUE]...
1548 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1549 VAR=VALUE. See below for descriptions of some of the useful variables.
1551 Defaults for the options are specified in brackets.
1554 -h, --help display this help and exit
1555 --help=short display options specific to this package
1556 --help=recursive display the short help of all the included packages
1557 -V, --version display version information and exit
1558 -q, --quiet, --silent do not print \`checking ...' messages
1559 --cache-file=FILE cache test results in FILE [disabled]
1560 -C, --config-cache alias for \`--cache-file=config.cache'
1561 -n, --no-create do not create output files
1562 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1564 Installation directories:
1565 --prefix=PREFIX install architecture-independent files in PREFIX
1566 [$ac_default_prefix]
1567 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1570 By default, \`make install' will install all the files in
1571 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1572 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1573 for instance \`--prefix=\$HOME'.
1575 For better control, use the options below.
1577 Fine tuning of the installation directories:
1578 --bindir=DIR user executables [EPREFIX/bin]
1579 --sbindir=DIR system admin executables [EPREFIX/sbin]
1580 --libexecdir=DIR program executables [EPREFIX/libexec]
1581 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1582 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1583 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1584 --libdir=DIR object code libraries [EPREFIX/lib]
1585 --includedir=DIR C header files [PREFIX/include]
1586 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1587 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1588 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1589 --infodir=DIR info documentation [DATAROOTDIR/info]
1590 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1591 --mandir=DIR man documentation [DATAROOTDIR/man]
1592 --docdir=DIR documentation root [DATAROOTDIR/doc/moonshot]
1593 --htmldir=DIR html documentation [DOCDIR]
1594 --dvidir=DIR dvi documentation [DOCDIR]
1595 --pdfdir=DIR pdf documentation [DOCDIR]
1596 --psdir=DIR ps documentation [DOCDIR]
1602 --program-prefix=PREFIX prepend PREFIX to installed program names
1603 --program-suffix=SUFFIX append SUFFIX to installed program names
1604 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1607 --build=BUILD configure for building on BUILD [guessed]
1608 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1612 if test -n "$ac_init_help"; then
1613 case $ac_init_help in
1614 short | recursive ) echo "Configuration of Moonshot 0.0.1:";;
1619 --disable-option-checking ignore unrecognized --enable/--with options
1620 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1621 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1622 --enable-silent-rules less verbose build output (undo: `make V=1')
1623 --disable-silent-rules verbose build output (undo: `make V=0')
1624 --disable-maintainer-mode disable make rules and dependencies not useful
1625 (and sometimes confusing) to the casual installer
1626 --enable-shared[=PKGS] build shared libraries [default=yes]
1627 --enable-static[=PKGS] build static libraries [default=yes]
1628 --enable-fast-install[=PKGS]
1629 optimize for fast installation [default=yes]
1630 --disable-dependency-tracking speeds up one-time build
1631 --enable-dependency-tracking do not reject slow dependency extractors
1632 --disable-libtool-lock avoid locking (might break parallel builds)
1633 --disable-nls do not use Native Language Support
1634 --disable-rpath do not hardcode runtime library paths
1637 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1638 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1639 --with-pic try to use only PIC/non-PIC objects [default=use
1641 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1642 --with-gnu-ld assume the C compiler uses GNU ld default=no
1643 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1644 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1645 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1646 --without-libintl-prefix don't search for libintl in includedir and libdir
1648 Some influential environment variables:
1649 CC C compiler command
1650 CFLAGS C compiler flags
1651 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1652 nonstandard directory <lib dir>
1653 LIBS libraries to pass to the linker, e.g. -l<library>
1654 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1655 you have headers in a nonstandard directory <include dir>
1657 PKG_CONFIG path to pkg-config utility
1659 directories to add to pkg-config's search path
1661 path overriding pkg-config's built-in search path
1663 C compiler flags for moonshot, overriding pkg-config
1665 linker flags for moonshot, overriding pkg-config
1667 C compiler flags for libmoonshot, overriding pkg-config
1669 linker flags for libmoonshot, overriding pkg-config
1671 Use these variables to override the choices made by `configure' or to help
1672 it to find libraries and programs with nonstandard names/locations.
1674 Report bugs to <BUG-REPORT-ADDRESS>.
1679 if test "$ac_init_help" = "recursive"; then
1680 # If there are subdirs, report their specific --help.
1681 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1682 test -d "$ac_dir" ||
1683 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1691 # A ".." for each directory in $ac_dir_suffix.
1692 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1693 case $ac_top_builddir_sub in
1694 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1695 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1698 ac_abs_top_builddir=$ac_pwd
1699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1700 # for backward compatibility:
1701 ac_top_builddir=$ac_top_build_prefix
1704 .) # We are building in place.
1706 ac_top_srcdir=$ac_top_builddir_sub
1707 ac_abs_top_srcdir=$ac_pwd ;;
1708 [\\/]* | ?:[\\/]* ) # Absolute name.
1709 ac_srcdir=$srcdir$ac_dir_suffix;
1710 ac_top_srcdir=$srcdir
1711 ac_abs_top_srcdir=$srcdir ;;
1713 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1714 ac_top_srcdir=$ac_top_build_prefix$srcdir
1715 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1719 cd "$ac_dir" || { ac_status=$?; continue; }
1720 # Check for guested configure.
1721 if test -f "$ac_srcdir/configure.gnu"; then
1723 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1724 elif test -f "$ac_srcdir/configure"; then
1726 $SHELL "$ac_srcdir/configure" --help=recursive
1728 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1730 cd "$ac_pwd" || { ac_status=$?; break; }
1734 test -n "$ac_init_help" && exit $ac_status
1735 if $ac_init_version; then
1737 Moonshot configure 0.0.1
1738 generated by GNU Autoconf 2.67
1740 Copyright (C) 2010 Free Software Foundation, Inc.
1741 This configure script is free software; the Free Software Foundation
1742 gives unlimited permission to copy, distribute and modify it.
1747 ## ------------------------ ##
1748 ## Autoconf initialization. ##
1749 ## ------------------------ ##
1751 # ac_fn_c_try_compile LINENO
1752 # --------------------------
1753 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_compile ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 rm -f conftest.$ac_objext
1758 if { { ac_try="$ac_compile"
1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_compile") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest.$ac_objext; then :
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 as_fn_set_status $ac_retval
1787 } # ac_fn_c_try_compile
1789 # ac_fn_c_try_link LINENO
1790 # -----------------------
1791 # Try to link conftest.$ac_ext, and return whether this succeeded.
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 rm -f conftest.$ac_objext conftest$ac_exeext
1796 if { { ac_try="$ac_link"
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>conftest.err
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && {
1812 test -z "$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 } && test -s conftest$ac_exeext && {
1815 test "$cross_compiling" = yes ||
1816 $as_test_x conftest$ac_exeext
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1825 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1826 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1827 # interfere with the next link command; also delete a directory that is
1828 # left behind by Apple's compiler. We do this before executing the actions.
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 as_fn_set_status $ac_retval
1833 } # ac_fn_c_try_link
1835 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1836 # -------------------------------------------------------
1837 # Tests whether HEADER exists and can be compiled using the include files in
1838 # INCLUDES, setting the cache variable VAR accordingly.
1839 ac_fn_c_check_header_compile ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843 $as_echo_n "checking for $2... " >&6; }
1844 if eval "test \"\${$3+set}\"" = set; then :
1845 $as_echo_n "(cached) " >&6
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1852 if ac_fn_c_try_compile "$LINENO"; then :
1857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 } # ac_fn_c_check_header_compile
1866 # ac_fn_c_try_cpp LINENO
1867 # ----------------------
1868 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if { { ac_try="$ac_cpp conftest.$ac_ext"
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1881 if test -s conftest.err; then
1882 grep -v '^ *+' conftest.err >conftest.er1
1883 cat conftest.er1 >&5
1884 mv -f conftest.er1 conftest.err
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; } > conftest.i && {
1888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1889 test ! -s conftest.err
1893 $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 as_fn_set_status $ac_retval
1903 # ac_fn_c_try_run LINENO
1904 # ----------------------
1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1906 # that executables *can* be run.
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 if { { ac_try="$ac_link"
1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_link") 2>&5
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1921 { { case "(($ac_try" in
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_try") 2>&5
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; }; }; then :
1933 $as_echo "$as_me: program exited with status $ac_status" >&5
1934 $as_echo "$as_me: failed program was:" >&5
1935 sed 's/^/| /' conftest.$ac_ext >&5
1937 ac_retval=$ac_status
1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1940 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 as_fn_set_status $ac_retval
1945 # ac_fn_c_check_func LINENO FUNC VAR
1946 # ----------------------------------
1947 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1948 ac_fn_c_check_func ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval "test \"\${$3+set}\"" = set; then :
1954 $as_echo_n "(cached) " >&6
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1958 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1960 #define $2 innocuous_$2
1962 /* System header to define __stub macros and hopefully few prototypes,
1963 which can conflict with char $2 (); below.
1964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1965 <limits.h> exists even on freestanding compilers. */
1968 # include <limits.h>
1970 # include <assert.h>
1975 /* Override any GCC internal prototype to avoid an error.
1976 Use char because int might match the return type of a GCC
1977 builtin and then its argument prototype would still apply. */
1982 /* The GNU C library defines this for functions which it implements
1983 to always fail with ENOSYS. Some functions are actually named
1984 something starting with __ and the normal name is an alias. */
1985 #if defined __stub_$2 || defined __stub___$2
1997 if ac_fn_c_try_link "$LINENO"; then :
2002 rm -f core conftest.err conftest.$ac_objext \
2003 conftest$ac_exeext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010 } # ac_fn_c_check_func
2011 cat >config.log <<_ACEOF
2012 This file contains any messages produced by compilers while
2013 running configure, to aid debugging if configure makes a mistake.
2015 It was created by Moonshot $as_me 0.0.1, which was
2016 generated by GNU Autoconf 2.67. Invocation command line was
2028 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2029 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2030 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2031 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2032 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2034 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2035 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2037 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2038 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2039 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2040 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2041 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2042 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2043 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 $as_echo "PATH: $as_dir"
2068 # Keep a trace of the command line.
2069 # Strip out --no-create and --no-recursion so they do not pile up.
2070 # Strip out --silent because we don't want to record it for future runs.
2071 # Also quote any args containing shell meta-characters.
2072 # Make two passes to allow for proper duplicate-argument suppression.
2076 ac_must_keep_next=false
2082 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2084 | -silent | --silent | --silen | --sile | --sil)
2087 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2092 as_fn_append ac_configure_args1 " '$ac_arg'"
2093 if test $ac_must_keep_next = true; then
2094 ac_must_keep_next=false # Got value, back to normal.
2097 *=* | --config-cache | -C | -disable-* | --disable-* \
2098 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2099 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2100 | -with-* | --with-* | -without-* | --without-* | --x)
2101 case "$ac_configure_args0 " in
2102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105 -* ) ac_must_keep_next=true ;;
2108 as_fn_append ac_configure_args " '$ac_arg'"
2113 { ac_configure_args0=; unset ac_configure_args0;}
2114 { ac_configure_args1=; unset ac_configure_args1;}
2116 # When interrupted or exit'd, cleanup temporary files, and complete
2117 # config.log. We remove comments because anyway the quotes in there
2118 # would cause problems or look ugly.
2119 # WARNING: Use '\'' to represent an apostrophe within the trap.
2120 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2121 trap 'exit_status=$?
2122 # Save into config.log some information that might help in debugging.
2126 $as_echo "## ---------------- ##
2127 ## Cache variables. ##
2128 ## ---------------- ##"
2130 # The following way of writing the cache mishandles newlines in values,
2132 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2133 eval ac_val=\$$ac_var
2137 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2138 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141 _ | IFS | as_nl) ;; #(
2142 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2143 *) { eval $ac_var=; unset $ac_var;} ;;
2148 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2149 *${as_nl}ac_space=\ *)
2151 "s/'\''/'\''\\\\'\'''\''/g;
2152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162 $as_echo "## ----------------- ##
2163 ## Output variables. ##
2164 ## ----------------- ##"
2166 for ac_var in $ac_subst_vars
2168 eval ac_val=\$$ac_var
2170 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2172 $as_echo "$ac_var='\''$ac_val'\''"
2176 if test -n "$ac_subst_files"; then
2177 $as_echo "## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##"
2181 for ac_var in $ac_subst_files
2183 eval ac_val=\$$ac_var
2185 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 $as_echo "$ac_var='\''$ac_val'\''"
2192 if test -s confdefs.h; then
2193 $as_echo "## ----------- ##
2200 test "$ac_signal" != 0 &&
2201 $as_echo "$as_me: caught signal $ac_signal"
2202 $as_echo "$as_me: exit $exit_status"
2204 rm -f core *.core core.conftest.* &&
2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208 for ac_signal in 1 2 13 15; do
2209 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest* confdefs.h
2216 $as_echo "/* confdefs.h */" > confdefs.h
2218 # Predefined preprocessor variables.
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_URL "$PACKAGE_URL"
2245 # Let the site file select an alternate cache file if it wants to.
2246 # Prefer an explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 # We do not want a PATH search for config.site.
2251 case $CONFIG_SITE in #((
2252 -*) ac_site_file1=./$CONFIG_SITE;;
2253 */*) ac_site_file1=$CONFIG_SITE;;
2254 *) ac_site_file1=./$CONFIG_SITE;;
2256 elif test "x$prefix" != xNONE; then
2257 ac_site_file1=$prefix/share/config.site
2258 ac_site_file2=$prefix/etc/config.site
2260 ac_site_file1=$ac_default_prefix/share/config.site
2261 ac_site_file2=$ac_default_prefix/etc/config.site
2263 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2265 test "x$ac_site_file" = xNONE && continue
2266 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2268 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2269 sed 's/^/| /' "$ac_site_file" >&5
2271 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 as_fn_error $? "failed to load site script $ac_site_file
2274 See \`config.log' for more details" "$LINENO" 5 ; }
2278 if test -r "$cache_file"; then
2279 # Some versions of bash will fail to source /dev/null (special files
2280 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2281 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2283 $as_echo "$as_me: loading cache $cache_file" >&6;}
2285 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2286 *) . "./$cache_file";;
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2291 $as_echo "$as_me: creating cache $cache_file" >&6;}
2295 gt_needs="$gt_needs "
2296 # Check that the precious variables saved in the cache have kept the same
2298 ac_cache_corrupted=false
2299 for ac_var in $ac_precious_vars; do
2300 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2301 eval ac_new_set=\$ac_env_${ac_var}_set
2302 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2303 eval ac_new_val=\$ac_env_${ac_var}_value
2304 case $ac_old_set,$ac_new_set in
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2307 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2308 ac_cache_corrupted=: ;;
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2311 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2315 if test "x$ac_old_val" != "x$ac_new_val"; then
2316 # differences in whitespace do not lead to failure.
2317 ac_old_val_w=`echo x $ac_old_val`
2318 ac_new_val_w=`echo x $ac_new_val`
2319 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2321 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2322 ac_cache_corrupted=:
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2325 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2326 eval $ac_var=\$ac_old_val
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2329 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2331 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2350 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2351 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353 ## -------------------- ##
2354 ## Main body of script. ##
2355 ## -------------------- ##
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2365 ac_config_headers="$ac_config_headers config.h"
2370 for ac_dir in build-aux "$srcdir"/build-aux; do
2371 if test -f "$ac_dir/install-sh"; then
2373 ac_install_sh="$ac_aux_dir/install-sh -c"
2375 elif test -f "$ac_dir/install.sh"; then
2377 ac_install_sh="$ac_aux_dir/install.sh -c"
2379 elif test -f "$ac_dir/shtool"; then
2381 ac_install_sh="$ac_aux_dir/shtool install -c"
2385 if test -z "$ac_aux_dir"; then
2386 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2399 am__api_version='1.11'
2401 # Find a good install program. We prefer a C program (faster),
2402 # so one script is as good as another. But avoid the broken or
2403 # incompatible versions:
2404 # SysV /etc/install, /usr/sbin/install
2405 # SunOS /usr/etc/install
2406 # IRIX /sbin/install
2408 # AmigaOS /C/install, which installs bootblocks on floppy discs
2409 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2410 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2411 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2412 # OS/2's system install, which has a completely different semantic
2413 # ./install, which can be erroneously created by make from ./install.sh.
2414 # Reject install programs that cannot install multiple files.
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2416 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2417 if test -z "$INSTALL"; then
2418 if test "${ac_cv_path_install+set}" = set; then :
2419 $as_echo_n "(cached) " >&6
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 # Account for people who put trailing slashes in PATH elements.
2427 case $as_dir/ in #((
2428 ./ | .// | /[cC]/* | \
2429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2430 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2433 # OSF1 and SCO ODT 3.0 have their own names for install.
2434 # Don't use installbsd from OSF since it installs stuff as root
2436 for ac_prog in ginstall scoinst install; do
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2439 if test $ac_prog = install &&
2440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2441 # AIX install. It has an incompatible calling convention.
2443 elif test $ac_prog = install &&
2444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2445 # program-specific install script used by HP pwplus--don't use.
2448 rm -rf conftest.one conftest.two conftest.dir
2449 echo one > conftest.one
2450 echo two > conftest.two
2452 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2453 test -s conftest.one && test -s conftest.two &&
2454 test -s conftest.dir/conftest.one &&
2455 test -s conftest.dir/conftest.two
2457 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2470 rm -rf conftest.one conftest.two conftest.dir
2473 if test "${ac_cv_path_install+set}" = set; then
2474 INSTALL=$ac_cv_path_install
2476 # As a last resort, use the slow shell script. Don't cache a
2477 # value for INSTALL within a source directory, because that will
2478 # break other packages using the cache if that directory is
2479 # removed, or if the value is a relative name.
2480 INSTALL=$ac_install_sh
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2484 $as_echo "$INSTALL" >&6; }
2486 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2487 # It thinks the first close brace ends the variable substitution.
2488 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2490 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2492 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2495 $as_echo_n "checking whether build environment is sane... " >&6; }
2498 echo timestamp > conftest.file
2499 # Reject unsafe characters in $srcdir or the absolute working directory
2500 # name. Accept space and tab only in the latter.
2504 *[\\\"\#\$\&\'\`$am_lf]*)
2505 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2508 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2509 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2512 # Do `set' in a subshell so we don't clobber the current shell's
2513 # arguments. Must try -L first in case configure is actually a
2514 # symlink; some systems play weird games with the mod time of symlinks
2515 # (eg FreeBSD returns the mod time of the symlink's containing
2518 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2519 if test "$*" = "X"; then
2521 set X `ls -t "$srcdir/configure" conftest.file`
2524 if test "$*" != "X $srcdir/configure conftest.file" \
2525 && test "$*" != "X conftest.file $srcdir/configure"; then
2527 # If neither matched, then we have a broken ls. This can happen
2528 # if, for instance, CONFIG_SHELL is bash and it inherits a
2529 # broken ls alias from the environment. This has actually
2530 # happened. Such a system could not be considered "sane".
2531 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2532 alias in your environment" "$LINENO" 5
2535 test "$2" = conftest.file
2541 as_fn_error $? "newly created file is older than distributed files!
2542 Check your system clock" "$LINENO" 5
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2545 $as_echo "yes" >&6; }
2546 test "$program_prefix" != NONE &&
2547 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2548 # Use a double $ so make ignores it.
2549 test "$program_suffix" != NONE &&
2550 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2551 # Double any \ or $.
2552 # By default was `s,x,x', remove it if useless.
2553 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2554 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2556 # expand $ac_aux_dir to an absolute path
2557 am_aux_dir=`cd $ac_aux_dir && pwd`
2559 if test x"${MISSING+set}" != xset; then
2562 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2564 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2567 # Use eval to expand $SHELL
2568 if eval "$MISSING --run true"; then
2569 am_missing_run="$MISSING --run "
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2573 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2576 if test x"${install_sh}" != xset; then
2579 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2581 install_sh="\${SHELL} $am_aux_dir/install-sh"
2585 # Installed binaries are usually stripped using `strip' when the user
2586 # run `make install-strip'. However `strip' might not be the right
2587 # tool to use in cross-compilation environments, therefore Automake
2588 # will honor the `STRIP' environment variable to overrule this program.
2589 if test "$cross_compiling" != no; then
2590 if test -n "$ac_tool_prefix"; then
2591 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2592 set dummy ${ac_tool_prefix}strip; ac_word=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if test "${ac_cv_prog_STRIP+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$STRIP"; then
2599 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 STRIP=$ac_cv_prog_STRIP
2619 if test -n "$STRIP"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2621 $as_echo "$STRIP" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624 $as_echo "no" >&6; }
2629 if test -z "$ac_cv_prog_STRIP"; then
2631 # Extract the first word of "strip", so it can be a program name with args.
2632 set dummy strip; ac_word=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$ac_ct_STRIP"; then
2639 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2648 ac_cv_prog_ac_ct_STRIP="strip"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2659 if test -n "$ac_ct_STRIP"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2661 $as_echo "$ac_ct_STRIP" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2667 if test "x$ac_ct_STRIP" = x; then
2670 case $cross_compiling:$ac_tool_warned in
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2674 ac_tool_warned=yes ;;
2679 STRIP="$ac_cv_prog_STRIP"
2683 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2686 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2687 if test -z "$MKDIR_P"; then
2688 if test "${ac_cv_path_mkdir+set}" = set; then :
2689 $as_echo_n "(cached) " >&6
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2695 test -z "$as_dir" && as_dir=.
2696 for ac_prog in mkdir gmkdir; do
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2699 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2700 'mkdir (GNU coreutils) '* | \
2701 'mkdir (coreutils) '* | \
2702 'mkdir (fileutils) '4.1*)
2703 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2713 test -d ./--version && rmdir ./--version
2714 if test "${ac_cv_path_mkdir+set}" = set; then
2715 MKDIR_P="$ac_cv_path_mkdir -p"
2717 # As a last resort, use the slow shell script. Don't cache a
2718 # value for MKDIR_P within a source directory, because that will
2719 # break other packages using the cache if that directory is
2720 # removed, or if the value is a relative name.
2721 MKDIR_P="$ac_install_sh -d"
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2725 $as_echo "$MKDIR_P" >&6; }
2729 [\\/$]* | ?:[\\/]*) ;;
2730 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2733 for ac_prog in gawk mawk nawk awk
2735 # Extract the first word of "$ac_prog", so it can be a program name with args.
2736 set dummy $ac_prog; ac_word=$2
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738 $as_echo_n "checking for $ac_word... " >&6; }
2739 if test "${ac_cv_prog_AWK+set}" = set; then :
2740 $as_echo_n "(cached) " >&6
2742 if test -n "$AWK"; then
2743 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_AWK="$ac_prog"
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 if test -n "$AWK"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2765 $as_echo "$AWK" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2772 test -n "$AWK" && break
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2776 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2778 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2779 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 cat >conftest.make <<\_ACEOF
2785 @echo '@@@%%%=$(MAKE)=@@@%%%'
2787 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2788 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2790 eval ac_cv_prog_make_${ac_make}_set=yes;;
2792 eval ac_cv_prog_make_${ac_make}_set=no;;
2796 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2798 $as_echo "yes" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2803 SET_MAKE="MAKE=${MAKE-make}"
2806 rm -rf .tst 2>/dev/null
2807 mkdir .tst 2>/dev/null
2808 if test -d .tst; then
2813 rmdir .tst 2>/dev/null
2815 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2816 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2817 # is not polluted with repeated "-I."
2818 am__isrc=' -I$(srcdir)'
2819 # test to see if srcdir already configured
2820 if test -f $srcdir/config.status; then
2821 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2825 # test whether we have cygpath
2826 if test -z "$CYGPATH_W"; then
2827 if (cygpath --version) >/dev/null 2>/dev/null; then
2828 CYGPATH_W='cygpath -w'
2835 # Define the identity of the package.
2840 cat >>confdefs.h <<_ACEOF
2841 #define PACKAGE "$PACKAGE"
2845 cat >>confdefs.h <<_ACEOF
2846 #define VERSION "$VERSION"
2849 # Some tools Automake needs.
2851 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2854 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2857 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2860 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2863 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2865 # We need awk for the "check" target. The system "awk" is bad on
2867 # Always define AMTAR for backward compatibility.
2869 AMTAR=${AMTAR-"${am_missing_run}tar"}
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2873 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2874 # Loop over all known methods to create a tar archive until one works.
2875 _am_tools='gnutar pax cpio none'
2876 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2877 # Do not fold the above two line into one, because Tru64 sh and
2878 # Solaris sh will not grok spaces in the rhs of `-'.
2879 for _am_tool in $_am_tools
2883 for _am_tar in tar gnutar gtar;
2885 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2886 ($_am_tar --version) >&5 2>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } && break
2891 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2892 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2893 am__untar="$_am_tar -xf -"
2896 # Must skip GNU tar: if it does not support --format= it doesn't create
2897 # ustar tarball either.
2898 (tar --version) >/dev/null 2>&1 && continue
2899 am__tar='tar chf - "$$tardir"'
2900 am__tar_='tar chf - "$tardir"'
2901 am__untar='tar xf -'
2904 am__tar='pax -L -x pax -w "$$tardir"'
2905 am__tar_='pax -L -x pax -w "$tardir"'
2909 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2910 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2911 am__untar='cpio -i -H pax -d'
2920 # If the value was cached, stop now. We just wanted to have am__tar
2921 # and am__untar set.
2922 test -n "${am_cv_prog_tar_pax}" && break
2924 # tar/untar a dummy directory, and stop if the command works
2927 echo GrepMe > conftest.dir/file
2928 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2929 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }
2934 if test -s conftest.tar; then
2935 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2936 ($am__untar <conftest.tar) >&5 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }
2940 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2945 if test "${am_cv_prog_tar_pax+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2948 am_cv_prog_tar_pax=$_am_tool
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2952 $as_echo "$am_cv_prog_tar_pax" >&6; }
2958 # Check whether --enable-silent-rules was given.
2959 if test "${enable_silent_rules+set}" = set; then :
2960 enableval=$enable_silent_rules;
2963 case $enable_silent_rules in
2964 yes) AM_DEFAULT_VERBOSITY=0;;
2965 no) AM_DEFAULT_VERBOSITY=1;;
2966 *) AM_DEFAULT_VERBOSITY=0;;
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2972 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2973 # Check whether --enable-maintainer-mode was given.
2974 if test "${enable_maintainer_mode+set}" = set; then :
2975 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2977 USE_MAINTAINER_MODE=yes
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2981 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2982 if test $USE_MAINTAINER_MODE = yes; then
2983 MAINTAINER_MODE_TRUE=
2984 MAINTAINER_MODE_FALSE='#'
2986 MAINTAINER_MODE_TRUE='#'
2987 MAINTAINER_MODE_FALSE=
2990 MAINT=$MAINTAINER_MODE_TRUE
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2998 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3003 macro_version='2.2.6b'
3004 macro_revision='1.3017'
3018 ltmain="$ac_aux_dir/ltmain.sh"
3020 # Make sure we can run config.sub.
3021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3022 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3025 $as_echo_n "checking build system type... " >&6; }
3026 if test "${ac_cv_build+set}" = set; then :
3027 $as_echo_n "(cached) " >&6
3029 ac_build_alias=$build_alias
3030 test "x$ac_build_alias" = x &&
3031 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3032 test "x$ac_build_alias" = x &&
3033 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3035 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3039 $as_echo "$ac_cv_build" >&6; }
3040 case $ac_cv_build in
3042 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3045 ac_save_IFS=$IFS; IFS='-'
3051 # Remember, the first character of IFS is used to create $*,
3052 # except with old shells:
3055 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3059 $as_echo_n "checking host system type... " >&6; }
3060 if test "${ac_cv_host+set}" = set; then :
3061 $as_echo_n "(cached) " >&6
3063 if test "x$host_alias" = x; then
3064 ac_cv_host=$ac_cv_build
3066 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3067 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3072 $as_echo "$ac_cv_host" >&6; }
3075 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3078 ac_save_IFS=$IFS; IFS='-'
3084 # Remember, the first character of IFS is used to create $*,
3085 # except with old shells:
3088 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3091 DEPDIR="${am__leading_dot}deps"
3093 ac_config_commands="$ac_config_commands depfiles"
3096 am_make=${MAKE-make}
3097 cat > confinc << 'END'
3099 @echo this is the am__doit target
3102 # If we don't find an include directive, just comment out the code.
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3104 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3108 # First try GNU make style include.
3109 echo "include confinc" > confmf
3110 # Ignore all kinds of additional output from `make'.
3111 case `$am_make -s -f confmf 2> /dev/null` in #(
3112 *the\ am__doit\ target*)
3118 # Now try BSD make style include.
3119 if test "$am__include" = "#"; then
3120 echo '.include "confinc"' > confmf
3121 case `$am_make -s -f confmf 2> /dev/null` in #(
3122 *the\ am__doit\ target*)
3123 am__include=.include
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3132 $as_echo "$_am_result" >&6; }
3133 rm -f confinc confmf
3135 # Check whether --enable-dependency-tracking was given.
3136 if test "${enable_dependency_tracking+set}" = set; then :
3137 enableval=$enable_dependency_tracking;
3140 if test "x$enable_dependency_tracking" != xno; then
3141 am_depcomp="$ac_aux_dir/depcomp"
3144 if test "x$enable_dependency_tracking" != xno; then
3154 ac_cpp='$CPP $CPPFLAGS'
3155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3158 if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3160 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_CC+set}" = set; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$CC"; then
3167 ac_cv_prog_CC="$CC" # Let the user override the test.
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 if test -n "$CC"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3189 $as_echo "$CC" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3197 if test -z "$ac_cv_prog_CC"; then
3199 # Extract the first word of "gcc", so it can be a program name with args.
3200 set dummy gcc; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$ac_ct_CC"; then
3207 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 ac_cv_prog_ac_ct_CC="gcc"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3227 if test -n "$ac_ct_CC"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3229 $as_echo "$ac_ct_CC" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3235 if test "x$ac_ct_CC" = x; then
3238 case $cross_compiling:$ac_tool_warned in
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3242 ac_tool_warned=yes ;;
3250 if test -z "$CC"; then
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}cc; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_CC+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$CC"; then
3260 ac_cv_prog_CC="$CC" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_CC="${ac_tool_prefix}cc"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 if test -n "$CC"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3282 $as_echo "$CC" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3291 if test -z "$CC"; then
3292 # Extract the first word of "cc", so it can be a program name with args.
3293 set dummy cc; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_CC+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3299 if test -n "$CC"; then
3300 ac_cv_prog_CC="$CC" # Let the user override the test.
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3311 ac_prog_rejected=yes
3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 if test $ac_prog_rejected = yes; then
3323 # We found a bogon in the path, so make sure we never use it.
3324 set dummy $ac_cv_prog_CC
3326 if test $# != 0; then
3327 # We chose a different compiler from the bogus one.
3328 # However, it has the same basename, so the bogon will be chosen
3329 # first if we set CC to just the basename; use the full file name.
3331 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3337 if test -n "$CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3339 $as_echo "$CC" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3347 if test -z "$CC"; then
3348 if test -n "$ac_tool_prefix"; then
3349 for ac_prog in cl.exe
3351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if test "${ac_cv_prog_CC+set}" = set; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$CC"; then
3359 ac_cv_prog_CC="$CC" # Let the user override the test.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 if test -n "$CC"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3381 $as_echo "$CC" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3388 test -n "$CC" && break
3391 if test -z "$CC"; then
3393 for ac_prog in cl.exe
3395 # Extract the first word of "$ac_prog", so it can be a program name with args.
3396 set dummy $ac_prog; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3400 $as_echo_n "(cached) " >&6
3402 if test -n "$ac_ct_CC"; then
3403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3412 ac_cv_prog_ac_ct_CC="$ac_prog"
3413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3423 if test -n "$ac_ct_CC"; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3425 $as_echo "$ac_ct_CC" >&6; }
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428 $as_echo "no" >&6; }
3432 test -n "$ac_ct_CC" && break
3435 if test "x$ac_ct_CC" = x; then
3438 case $cross_compiling:$ac_tool_warned in
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3442 ac_tool_warned=yes ;;
3451 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error $? "no acceptable C compiler found in \$PATH
3454 See \`config.log' for more details" "$LINENO" 5 ; }
3456 # Provide some information about the compiler.
3457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3460 for ac_option in --version -v -V -qversion; do
3461 { { ac_try="$ac_compiler $ac_option >&5"
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3470 if test -s conftest.err; then
3472 ... rest of stderr output deleted ...
3473 10q' conftest.err >conftest.er1
3474 cat conftest.er1 >&5
3476 rm -f conftest.er1 conftest.err
3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478 test $ac_status = 0; }
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3492 ac_clean_files_save=$ac_clean_files
3493 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3494 # Try to create an executable without -o first, disregard a.out.
3495 # It will help us diagnose broken compilers, and finding out an intuition
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3498 $as_echo_n "checking whether the C compiler works... " >&6; }
3499 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3501 # The possible output files:
3502 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3505 for ac_file in $ac_files
3508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3509 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3514 if { { ac_try="$ac_link_default"
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521 (eval "$ac_link_default") 2>&5
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }; then :
3525 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3526 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3527 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3528 # so that the user can short-circuit this test for compilers unknown to
3530 for ac_file in $ac_files ''
3532 test -f "$ac_file" || continue
3534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3537 # We found the default executable, but exeext='' is most
3541 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3543 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3545 # We set ac_cv_exeext here because the later test for it is not
3546 # safe: cross compilers may not add the suffix if given an `-o'
3547 # argument, so we may need to know it at that point already.
3548 # Even if this section looks crufty: it has the advantage of
3555 test "$ac_cv_exeext" = no && ac_cv_exeext=
3560 if test -z "$ac_file"; then :
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3563 $as_echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 as_fn_error 77 "C compiler cannot create executables
3569 See \`config.log' for more details" "$LINENO" 5 ; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3572 $as_echo "yes" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3575 $as_echo_n "checking for C compiler default output file name... " >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3577 $as_echo "$ac_file" >&6; }
3578 ac_exeext=$ac_cv_exeext
3580 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3581 ac_clean_files=$ac_clean_files_save
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3583 $as_echo_n "checking for suffix of executables... " >&6; }
3584 if { { ac_try="$ac_link"
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590 $as_echo "$ac_try_echo"; } >&5
3591 (eval "$ac_link") 2>&5
3593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594 test $ac_status = 0; }; then :
3595 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3596 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3597 # work properly (i.e., refer to `conftest.exe'), while it won't with
3599 for ac_file in conftest.exe conftest conftest.*; do
3600 test -f "$ac_file" || continue
3602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3603 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3612 See \`config.log' for more details" "$LINENO" 5 ; }
3614 rm -f conftest conftest$ac_cv_exeext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3616 $as_echo "$ac_cv_exeext" >&6; }
3618 rm -f conftest.$ac_ext
3619 EXEEXT=$ac_cv_exeext
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3627 FILE *f = fopen ("conftest.out", "w");
3628 return ferror (f) || fclose (f) != 0;
3634 ac_clean_files="$ac_clean_files conftest.out"
3635 # Check that the compiler produces executables we can run. If not, either
3636 # the compiler is broken, or we cross compile.
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3638 $as_echo_n "checking whether we are cross compiling... " >&6; }
3639 if test "$cross_compiling" != yes; then
3640 { { ac_try="$ac_link"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 $as_echo "$ac_try_echo"; } >&5
3647 (eval "$ac_link") 2>&5
3649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650 test $ac_status = 0; }
3651 if { ac_try='./conftest$ac_cv_exeext'
3652 { { case "(($ac_try" in
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657 $as_echo "$ac_try_echo"; } >&5
3658 (eval "$ac_try") 2>&5
3660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3661 test $ac_status = 0; }; }; then
3664 if test "$cross_compiling" = maybe; then
3667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669 as_fn_error $? "cannot run C compiled programs.
3670 If you meant to cross compile, use \`--host'.
3671 See \`config.log' for more details" "$LINENO" 5 ; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3676 $as_echo "$cross_compiling" >&6; }
3678 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3679 ac_clean_files=$ac_clean_files_save
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3681 $as_echo_n "checking for suffix of object files... " >&6; }
3682 if test "${ac_cv_objext+set}" = set; then :
3683 $as_echo_n "(cached) " >&6
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3696 rm -f conftest.o conftest.obj
3697 if { { ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3703 $as_echo "$ac_try_echo"; } >&5
3704 (eval "$ac_compile") 2>&5
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 test $ac_status = 0; }; then :
3708 for ac_file in conftest.o conftest.obj conftest.*; do
3709 test -f "$ac_file" || continue;
3711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3712 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3717 $as_echo "$as_me: failed program was:" >&5
3718 sed 's/^/| /' conftest.$ac_ext >&5
3720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $? "cannot compute suffix of object files: cannot compile
3723 See \`config.log' for more details" "$LINENO" 5 ; }
3725 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3728 $as_echo "$ac_cv_objext" >&6; }
3729 OBJEXT=$ac_cv_objext
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3732 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3733 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3750 if ac_fn_c_try_compile "$LINENO"; then :
3755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3760 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3761 if test $ac_compiler_gnu = yes; then
3766 ac_test_CFLAGS=${CFLAGS+set}
3767 ac_save_CFLAGS=$CFLAGS
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3769 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3770 if test "${ac_cv_prog_cc_g+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3773 ac_save_c_werror_flag=$ac_c_werror_flag
3774 ac_c_werror_flag=yes
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3803 if ac_fn_c_try_compile "$LINENO"; then :
3806 ac_c_werror_flag=$ac_save_c_werror_flag
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 ac_c_werror_flag=$ac_save_c_werror_flag
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3830 $as_echo "$ac_cv_prog_cc_g" >&6; }
3831 if test "$ac_test_CFLAGS" = set; then
3832 CFLAGS=$ac_save_CFLAGS
3833 elif test $ac_cv_prog_cc_g = yes; then
3834 if test "$GCC" = yes; then
3840 if test "$GCC" = yes; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3847 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3848 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3849 $as_echo_n "(cached) " >&6
3851 ac_cv_prog_cc_c89=no
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3857 #include <sys/types.h>
3858 #include <sys/stat.h>
3859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3860 struct buf { int x; };
3861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3862 static char *e (p, i)
3868 static char *f (char * (*g) (char **, int), char **p, ...)
3873 s = g (p, va_arg (v,int));
3878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3879 function prototypes and stuff, but not '\xHH' hex character constants.
3880 These don't provoke an error unfortunately, instead are silently treated
3881 as 'x'. The following induces an error, until -std is added to get
3882 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3883 array size at least. It's necessary to write '\x00'==0 to get something
3884 that's true only with -std. */
3885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3887 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3888 inside strings and character constants. */
3890 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3892 int test (int i, double x);
3893 struct s1 {int (*f) (int a);};
3894 struct s2 {int (*f) (double a);};
3895 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3901 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3906 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3907 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3909 CC="$ac_save_CC $ac_arg"
3910 if ac_fn_c_try_compile "$LINENO"; then :
3911 ac_cv_prog_cc_c89=$ac_arg
3913 rm -f core conftest.err conftest.$ac_objext
3914 test "x$ac_cv_prog_cc_c89" != "xno" && break
3916 rm -f conftest.$ac_ext
3921 case "x$ac_cv_prog_cc_c89" in
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3924 $as_echo "none needed" >&6; } ;;
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3927 $as_echo "unsupported" >&6; } ;;
3929 CC="$CC $ac_cv_prog_cc_c89"
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3931 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3933 if test "x$ac_cv_prog_cc_c89" != xno; then :
3938 ac_cpp='$CPP $CPPFLAGS'
3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 depcc="$CC" am_compiler_list=
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3946 $as_echo_n "checking dependency style of $depcc... " >&6; }
3947 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3951 # We make a subdir and do the tests there. Otherwise we can end up
3952 # making bogus files that we don't know about and never remove. For
3953 # instance it was reported that on HP-UX the gcc test will end up
3954 # making a dummy file named `D' -- because `-MD' means `put the output
3957 # Copy depcomp to subdir because otherwise we won't find it if we're
3958 # using a relative directory.
3959 cp "$am_depcomp" conftest.dir
3961 # We will build objects and dependencies in a subdirectory because
3962 # it helps to detect inapplicable dependency modes. For instance
3963 # both Tru64's cc and ICC support -MD to output dependencies as a
3964 # side effect of compilation, but ICC will put the dependencies in
3965 # the current directory while Tru64 will put them in the object
3969 am_cv_CC_dependencies_compiler_type=none
3970 if test "$am_compiler_list" = ""; then
3971 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3974 case " $depcc " in #(
3975 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3978 for depmode in $am_compiler_list; do
3979 # Setup a source with many dependencies, because some compilers
3980 # like to wrap large dependency lists on column 80 (with \), and
3981 # we should not choose a depcomp mode which is confused by this.
3983 # We need to recreate these files for each test, as the compiler may
3984 # overwrite some of them when testing with obscure command lines.
3985 # This happens at least with the AIX C compiler.
3987 for i in 1 2 3 4 5 6; do
3988 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3989 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3990 # Solaris 8's {/usr,}/bin/sh.
3991 touch sub/conftst$i.h
3993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3995 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3996 # mode. It turns out that the SunPro C++ compiler does not properly
3997 # handle `-M -o', and we need to detect this. Also, some Intel
3998 # versions had trouble with output in subdirs
3999 am__obj=sub/conftest.${OBJEXT-o}
4000 am__minus_obj="-o $am__obj"
4003 # This depmode causes a compiler race in universal mode.
4004 test "$am__universal" = false || continue
4007 # after this tag, mechanisms are not by side-effect, so they'll
4008 # only be used when explicitly requested
4009 if test "x$enable_dependency_tracking" = xyes; then
4015 msvisualcpp | msvcmsys)
4016 # This compiler won't grok `-c -o', but also, the minuso test has
4017 # not run yet. These depmodes are late enough in the game, and
4018 # so weak that their functioning should not be impacted.
4019 am__obj=conftest.${OBJEXT-o}
4024 if depmode=$depmode \
4025 source=sub/conftest.c object=$am__obj \
4026 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4027 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4028 >/dev/null 2>conftest.err &&
4029 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4030 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4031 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4032 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4033 # icc doesn't choke on unknown options, it will just issue warnings
4034 # or remarks (even with -Werror). So we grep stderr for any message
4035 # that says an option was ignored or not supported.
4036 # When given -MP, icc 7.0 and 7.1 complain thusly:
4037 # icc: Command line warning: ignoring option '-M'; no argument required
4038 # The diagnosis changed in icc 8.0:
4039 # icc: Command line remark: option '-MP' not supported
4040 if (grep 'ignoring option' conftest.err ||
4041 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4042 am_cv_CC_dependencies_compiler_type=$depmode
4051 am_cv_CC_dependencies_compiler_type=none
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4056 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4057 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4060 test "x$enable_dependency_tracking" != xno \
4061 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4063 am__fastdepCC_FALSE='#'
4065 am__fastdepCC_TRUE='#'
4066 am__fastdepCC_FALSE=
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4071 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4072 if test "${ac_cv_path_SED+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4076 for ac_i in 1 2 3 4 5 6 7; do
4077 ac_script="$ac_script$as_nl$ac_script"
4079 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4080 { ac_script=; unset ac_script;}
4081 if test -z "$SED"; then
4082 ac_path_SED_found=false
4083 # Loop through the user's path and test for each of PROGNAME-LIST
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 test -z "$as_dir" && as_dir=.
4089 for ac_prog in sed gsed; do
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4092 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4093 # Check for GNU ac_path_SED and select it if it is found.
4094 # Check for GNU $ac_path_SED
4095 case `"$ac_path_SED" --version 2>&1` in
4097 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4100 $as_echo_n 0123456789 >"conftest.in"
4103 cat "conftest.in" "conftest.in" >"conftest.tmp"
4104 mv "conftest.tmp" "conftest.in"
4105 cp "conftest.in" "conftest.nl"
4106 $as_echo '' >> "conftest.nl"
4107 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4108 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4109 as_fn_arith $ac_count + 1 && ac_count=$as_val
4110 if test $ac_count -gt ${ac_path_SED_max-0}; then
4111 # Best one so far, save it but keep looking for a better one
4112 ac_cv_path_SED="$ac_path_SED"
4113 ac_path_SED_max=$ac_count
4115 # 10*(2^10) chars as input seems more than enough
4116 test $ac_count -gt 10 && break
4118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4121 $ac_path_SED_found && break 3
4126 if test -z "$ac_cv_path_SED"; then
4127 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4135 $as_echo "$ac_cv_path_SED" >&6; }
4136 SED="$ac_cv_path_SED"
4139 test -z "$SED" && SED=sed
4140 Xsed="$SED -e 1s/^X//"
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4153 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4154 if test "${ac_cv_path_GREP+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 if test -z "$GREP"; then
4158 ac_path_GREP_found=false
4159 # Loop through the user's path and test for each of PROGNAME-LIST
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4164 test -z "$as_dir" && as_dir=.
4165 for ac_prog in grep ggrep; do
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4168 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4169 # Check for GNU ac_path_GREP and select it if it is found.
4170 # Check for GNU $ac_path_GREP
4171 case `"$ac_path_GREP" --version 2>&1` in
4173 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4176 $as_echo_n 0123456789 >"conftest.in"
4179 cat "conftest.in" "conftest.in" >"conftest.tmp"
4180 mv "conftest.tmp" "conftest.in"
4181 cp "conftest.in" "conftest.nl"
4182 $as_echo 'GREP' >> "conftest.nl"
4183 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4185 as_fn_arith $ac_count + 1 && ac_count=$as_val
4186 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4187 # Best one so far, save it but keep looking for a better one
4188 ac_cv_path_GREP="$ac_path_GREP"
4189 ac_path_GREP_max=$ac_count
4191 # 10*(2^10) chars as input seems more than enough
4192 test $ac_count -gt 10 && break
4194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4197 $ac_path_GREP_found && break 3
4202 if test -z "$ac_cv_path_GREP"; then
4203 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4206 ac_cv_path_GREP=$GREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4211 $as_echo "$ac_cv_path_GREP" >&6; }
4212 GREP="$ac_cv_path_GREP"
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4216 $as_echo_n "checking for egrep... " >&6; }
4217 if test "${ac_cv_path_EGREP+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4220 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4221 then ac_cv_path_EGREP="$GREP -E"
4223 if test -z "$EGREP"; then
4224 ac_path_EGREP_found=false
4225 # Loop through the user's path and test for each of PROGNAME-LIST
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4230 test -z "$as_dir" && as_dir=.
4231 for ac_prog in egrep; do
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4234 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4235 # Check for GNU ac_path_EGREP and select it if it is found.
4236 # Check for GNU $ac_path_EGREP
4237 case `"$ac_path_EGREP" --version 2>&1` in
4239 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4242 $as_echo_n 0123456789 >"conftest.in"
4245 cat "conftest.in" "conftest.in" >"conftest.tmp"
4246 mv "conftest.tmp" "conftest.in"
4247 cp "conftest.in" "conftest.nl"
4248 $as_echo 'EGREP' >> "conftest.nl"
4249 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4250 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4251 as_fn_arith $ac_count + 1 && ac_count=$as_val
4252 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4253 # Best one so far, save it but keep looking for a better one
4254 ac_cv_path_EGREP="$ac_path_EGREP"
4255 ac_path_EGREP_max=$ac_count
4257 # 10*(2^10) chars as input seems more than enough
4258 test $ac_count -gt 10 && break
4260 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4263 $ac_path_EGREP_found && break 3
4268 if test -z "$ac_cv_path_EGREP"; then
4269 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4272 ac_cv_path_EGREP=$EGREP
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4278 $as_echo "$ac_cv_path_EGREP" >&6; }
4279 EGREP="$ac_cv_path_EGREP"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4283 $as_echo_n "checking for fgrep... " >&6; }
4284 if test "${ac_cv_path_FGREP+set}" = set; then :
4285 $as_echo_n "(cached) " >&6
4287 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4288 then ac_cv_path_FGREP="$GREP -F"
4290 if test -z "$FGREP"; then
4291 ac_path_FGREP_found=false
4292 # Loop through the user's path and test for each of PROGNAME-LIST
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4297 test -z "$as_dir" && as_dir=.
4298 for ac_prog in fgrep; do
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4301 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4302 # Check for GNU ac_path_FGREP and select it if it is found.
4303 # Check for GNU $ac_path_FGREP
4304 case `"$ac_path_FGREP" --version 2>&1` in
4306 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4309 $as_echo_n 0123456789 >"conftest.in"
4312 cat "conftest.in" "conftest.in" >"conftest.tmp"
4313 mv "conftest.tmp" "conftest.in"
4314 cp "conftest.in" "conftest.nl"
4315 $as_echo 'FGREP' >> "conftest.nl"
4316 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4318 as_fn_arith $ac_count + 1 && ac_count=$as_val
4319 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_FGREP="$ac_path_FGREP"
4322 ac_path_FGREP_max=$ac_count
4324 # 10*(2^10) chars as input seems more than enough
4325 test $ac_count -gt 10 && break
4327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4330 $ac_path_FGREP_found && break 3
4335 if test -z "$ac_cv_path_FGREP"; then
4336 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4339 ac_cv_path_FGREP=$FGREP
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4345 $as_echo "$ac_cv_path_FGREP" >&6; }
4346 FGREP="$ac_cv_path_FGREP"
4349 test -z "$GREP" && GREP=grep
4369 # Check whether --with-gnu-ld was given.
4370 if test "${with_gnu_ld+set}" = set; then :
4371 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4377 if test "$GCC" = yes; then
4378 # Check if gcc -print-prog-name=ld gives a path.
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4380 $as_echo_n "checking for ld used by $CC... " >&6; }
4383 # gcc leaves a trailing carriage return which upsets mingw
4384 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 # Accept absolute paths.
4391 re_direlt='/[^/][^/]*/\.\./'
4392 # Canonicalize the pathname of ld
4393 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4394 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4395 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4397 test -z "$LD" && LD="$ac_prog"
4400 # If it fails, then pretend we aren't using GCC.
4404 # If it is relative, then search for the first ld in PATH.
4408 elif test "$with_gnu_ld" = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4410 $as_echo_n "checking for GNU ld... " >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4413 $as_echo_n "checking for non-GNU ld... " >&6; }
4415 if test "${lt_cv_path_LD+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -z "$LD"; then
4419 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4420 for ac_dir in $PATH; do
4422 test -z "$ac_dir" && ac_dir=.
4423 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4424 lt_cv_path_LD="$ac_dir/$ac_prog"
4425 # Check to see if the program is GNU ld. I'd rather use --version,
4426 # but apparently some variants of GNU ld only accept -v.
4427 # Break only if it was the GNU/non-GNU ld that we prefer.
4428 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4429 *GNU* | *'with BFD'*)
4430 test "$with_gnu_ld" != no && break
4433 test "$with_gnu_ld" != yes && break
4440 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4445 if test -n "$LD"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4447 $as_echo "$LD" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4452 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4455 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4456 $as_echo_n "(cached) " >&6
4458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4459 case `$LD -v 2>&1 </dev/null` in
4460 *GNU* | *'with BFD'*)
4461 lt_cv_prog_gnu_ld=yes
4464 lt_cv_prog_gnu_ld=no
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4470 with_gnu_ld=$lt_cv_prog_gnu_ld
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4481 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4482 if test "${lt_cv_path_NM+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$NM"; then
4486 # Let the user override the test.
4489 lt_nm_to_check="${ac_tool_prefix}nm"
4490 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4491 lt_nm_to_check="$lt_nm_to_check nm"
4493 for lt_tmp_nm in $lt_nm_to_check; do
4494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4495 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4497 test -z "$ac_dir" && ac_dir=.
4498 tmp_nm="$ac_dir/$lt_tmp_nm"
4499 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4500 # Check to see if the nm accepts a BSD-compat flag.
4501 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4502 # nm: unknown option "B" ignored
4503 # Tru64's nm complains that /dev/null is an invalid object file
4504 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4505 */dev/null* | *'Invalid file or object type'*)
4506 lt_cv_path_NM="$tmp_nm -B"
4510 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4512 lt_cv_path_NM="$tmp_nm -p"
4516 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4517 continue # so that we can try to find one that supports BSD flags
4526 : ${lt_cv_path_NM=no}
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4530 $as_echo "$lt_cv_path_NM" >&6; }
4531 if test "$lt_cv_path_NM" != "no"; then
4534 # Didn't find any BSD compatible name lister, look for dumpbin.
4535 if test -n "$ac_tool_prefix"; then
4536 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$DUMPBIN"; then
4546 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 DUMPBIN=$ac_cv_prog_DUMPBIN
4566 if test -n "$DUMPBIN"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4568 $as_echo "$DUMPBIN" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$DUMPBIN" && break
4578 if test -z "$DUMPBIN"; then
4579 ac_ct_DUMPBIN=$DUMPBIN
4580 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set dummy $ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 if test -n "$ac_ct_DUMPBIN"; then
4590 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4599 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4610 if test -n "$ac_ct_DUMPBIN"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4612 $as_echo "$ac_ct_DUMPBIN" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$ac_ct_DUMPBIN" && break
4622 if test "x$ac_ct_DUMPBIN" = x; then
4625 case $cross_compiling:$ac_tool_warned in
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4631 DUMPBIN=$ac_ct_DUMPBIN
4636 if test "$DUMPBIN" != ":"; then
4640 test -z "$NM" && NM=nm
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4648 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4649 if test "${lt_cv_nm_interface+set}" = set; then :
4650 $as_echo_n "(cached) " >&6
4652 lt_cv_nm_interface="BSD nm"
4653 echo "int some_variable = 0;" > conftest.$ac_ext
4654 (eval echo "\"\$as_me:4654: $ac_compile\"" >&5)
4655 (eval "$ac_compile" 2>conftest.err)
4656 cat conftest.err >&5
4657 (eval echo "\"\$as_me:4657: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4658 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4659 cat conftest.err >&5
4660 (eval echo "\"\$as_me:4660: output\"" >&5)
4661 cat conftest.out >&5
4662 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4663 lt_cv_nm_interface="MS dumpbin"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4668 $as_echo "$lt_cv_nm_interface" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4671 $as_echo_n "checking whether ln -s works... " >&6; }
4673 if test "$LN_S" = "ln -s"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4675 $as_echo "yes" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4678 $as_echo "no, using $LN_S" >&6; }
4681 # find the maximum length of command line arguments
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4683 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4684 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4685 $as_echo_n "(cached) " >&6
4692 # On DJGPP, this test can blow up pretty badly due to problems in libc
4693 # (any single argument exceeding 2000 bytes causes a buffer overrun
4694 # during glob expansion). Even if it were fixed, the result of this
4695 # check would be larger than it should be.
4696 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4700 # Under GNU Hurd, this test is not required because there is
4701 # no limit to the length of command line arguments.
4702 # Libtool will interpret -1 as no limit whatsoever
4703 lt_cv_sys_max_cmd_len=-1;
4706 cygwin* | mingw* | cegcc*)
4707 # On Win9x/ME, this test blows up -- it succeeds, but takes
4708 # about 5 minutes as the teststring grows exponentially.
4709 # Worse, since 9x/ME are not pre-emptively multitasking,
4710 # you end up with a "frozen" computer, even though with patience
4711 # the test eventually succeeds (with a max line length of 256k).
4712 # Instead, let's just punt: use the minimum linelength reported by
4713 # all of the supported platforms: 8192 (on NT/2K/XP).
4714 lt_cv_sys_max_cmd_len=8192;
4718 # On AmigaOS with pdksh, this test takes hours, literally.
4719 # So we just punt and use a minimum line length of 8192.
4720 lt_cv_sys_max_cmd_len=8192;
4723 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4724 # This has been around since 386BSD, at least. Likely further.
4725 if test -x /sbin/sysctl; then
4726 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4727 elif test -x /usr/sbin/sysctl; then
4728 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4730 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4732 # And add a safety zone
4733 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4738 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4739 lt_cv_sys_max_cmd_len=196608
4743 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4744 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4745 # nice to cause kernel panics so lets avoid the loop below.
4746 # First set a reasonable default.
4747 lt_cv_sys_max_cmd_len=16384
4749 if test -x /sbin/sysconfig; then
4750 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4751 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4756 lt_cv_sys_max_cmd_len=102400
4758 sysv5* | sco5v6* | sysv4.2uw2*)
4759 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4760 if test -n "$kargmax"; then
4761 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4763 lt_cv_sys_max_cmd_len=32768
4767 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4768 if test -n "$lt_cv_sys_max_cmd_len"; then
4769 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4770 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4772 # Make teststring a little bigger before we do anything with it.
4773 # a 1K string should be a reasonable start.
4774 for i in 1 2 3 4 5 6 7 8 ; do
4775 teststring=$teststring$teststring
4777 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4778 # If test is not a shell built-in, we'll probably end up computing a
4779 # maximum length that is only half of the actual maximum length, but
4781 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4782 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4783 test $i != 17 # 1/2 MB should be enough
4786 teststring=$teststring$teststring
4788 # Only check the string length outside the loop.
4789 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4791 # Add a significant safety factor because C++ compilers can tack on
4792 # massive amounts of additional arguments before passing them to the
4793 # linker. It appears as though 1/2 is a usable value.
4794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4801 if test -n $lt_cv_sys_max_cmd_len ; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4803 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4806 $as_echo "none" >&6; }
4808 max_cmd_len=$lt_cv_sys_max_cmd_len
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4820 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4821 # Try some XSI features
4824 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4826 && eval 'test $(( 1 + 1 )) -eq 2 \
4827 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4830 $as_echo "$xsi_shell" >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4834 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4836 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4838 && lt_shell_append=yes
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4840 $as_echo "$lt_shell_append" >&6; }
4843 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4853 # test EBCDIC or ASCII
4854 case `echo X|tr X '\101'` in
4855 A) # ASCII based system
4856 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4857 lt_SP2NL='tr \040 \012'
4858 lt_NL2SP='tr \015\012 \040\040'
4860 *) # EBCDIC based system
4861 lt_SP2NL='tr \100 \n'
4862 lt_NL2SP='tr \r\n \100\100'
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4875 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4876 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 lt_cv_ld_reload_flag='-r'
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4882 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4883 reload_flag=$lt_cv_ld_reload_flag
4884 case $reload_flag in
4886 *) reload_flag=" $reload_flag" ;;
4888 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4891 if test "$GCC" = yes; then
4892 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4894 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4907 if test -n "$ac_tool_prefix"; then
4908 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4909 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4913 $as_echo_n "(cached) " >&6
4915 if test -n "$OBJDUMP"; then
4916 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir=.
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 OBJDUMP=$ac_cv_prog_OBJDUMP
4936 if test -n "$OBJDUMP"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4938 $as_echo "$OBJDUMP" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4946 if test -z "$ac_cv_prog_OBJDUMP"; then
4947 ac_ct_OBJDUMP=$OBJDUMP
4948 # Extract the first word of "objdump", so it can be a program name with args.
4949 set dummy objdump; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4955 if test -n "$ac_ct_OBJDUMP"; then
4956 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4976 if test -n "$ac_ct_OBJDUMP"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4978 $as_echo "$ac_ct_OBJDUMP" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4984 if test "x$ac_ct_OBJDUMP" = x; then
4987 case $cross_compiling:$ac_tool_warned in
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4991 ac_tool_warned=yes ;;
4993 OBJDUMP=$ac_ct_OBJDUMP
4996 OBJDUMP="$ac_cv_prog_OBJDUMP"
4999 test -z "$OBJDUMP" && OBJDUMP=objdump
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5007 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5008 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5009 $as_echo_n "(cached) " >&6
5011 lt_cv_file_magic_cmd='$MAGIC_CMD'
5012 lt_cv_file_magic_test_file=
5013 lt_cv_deplibs_check_method='unknown'
5014 # Need to set the preceding variable on all platforms that support
5015 # interlibrary dependencies.
5016 # 'none' -- dependencies not supported.
5017 # `unknown' -- same as none, but documents that we really don't know.
5018 # 'pass_all' -- all dependencies passed with no checks.
5019 # 'test_compile' -- check by making test program.
5020 # 'file_magic [[regex]]' -- check by looking for files in library path
5021 # which responds to the $file_magic_cmd with a given extended regex.
5022 # If you have `file' or equivalent on your system and you're not sure
5023 # whether `pass_all' will *always* work, you probably want this one.
5027 lt_cv_deplibs_check_method=pass_all
5031 lt_cv_deplibs_check_method=pass_all
5035 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5036 lt_cv_file_magic_cmd='/usr/bin/file -L'
5037 lt_cv_file_magic_test_file=/shlib/libc.so
5041 # func_win32_libid is a shell function defined in ltmain.sh
5042 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5043 lt_cv_file_magic_cmd='func_win32_libid'
5047 # Base MSYS/MinGW do not provide the 'file' command needed by
5048 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5049 # unless we find 'file', for example because we are cross-compiling.
5050 if ( file / ) >/dev/null 2>&1; then
5051 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5052 lt_cv_file_magic_cmd='func_win32_libid'
5054 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5055 lt_cv_file_magic_cmd='$OBJDUMP -f'
5060 # use the weaker test based on 'objdump'. See mingw*.
5061 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5062 lt_cv_file_magic_cmd='$OBJDUMP -f'
5065 darwin* | rhapsody*)
5066 lt_cv_deplibs_check_method=pass_all
5069 freebsd* | dragonfly*)
5070 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5073 # Not sure whether the presence of OpenBSD here was a mistake.
5074 # Let's accept both of them until this is cleared up.
5075 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5076 lt_cv_file_magic_cmd=/usr/bin/file
5077 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5081 lt_cv_deplibs_check_method=pass_all
5086 lt_cv_deplibs_check_method=pass_all
5089 hpux10.20* | hpux11*)
5090 lt_cv_file_magic_cmd=/usr/bin/file
5093 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5094 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5097 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]'
5098 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5101 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5102 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5108 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5112 irix5* | irix6* | nonstopux*)
5114 *-32|*"-32 ") libmagic=32-bit;;
5115 *-n32|*"-n32 ") libmagic=N32;;
5116 *-64|*"-64 ") libmagic=64-bit;;
5117 *) libmagic=never-match;;
5119 lt_cv_deplibs_check_method=pass_all
5122 # This must be Linux ELF.
5123 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5124 lt_cv_deplibs_check_method=pass_all
5127 netbsd* | netbsdelf*-gnu)
5128 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5137 lt_cv_file_magic_cmd=/usr/bin/file
5138 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5142 lt_cv_deplibs_check_method=pass_all
5146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5153 osf3* | osf4* | osf5*)
5154 lt_cv_deplibs_check_method=pass_all
5158 lt_cv_deplibs_check_method=pass_all
5162 lt_cv_deplibs_check_method=pass_all
5165 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5166 lt_cv_deplibs_check_method=pass_all
5170 case $host_vendor in
5172 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]'
5173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5176 lt_cv_deplibs_check_method=pass_all
5179 lt_cv_file_magic_cmd='/bin/file'
5180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5183 lt_cv_file_magic_cmd='/bin/file'
5184 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5185 lt_cv_file_magic_test_file=/lib/libc.so
5188 lt_cv_deplibs_check_method=pass_all
5191 lt_cv_deplibs_check_method=pass_all
5197 lt_cv_deplibs_check_method=pass_all
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5203 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5204 file_magic_cmd=$lt_cv_file_magic_cmd
5205 deplibs_check_method=$lt_cv_deplibs_check_method
5206 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}ar; ac_word=$2
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223 $as_echo_n "checking for $ac_word... " >&6; }
5224 if test "${ac_cv_prog_AR+set}" = set; then :
5225 $as_echo_n "(cached) " >&6
5227 if test -n "$AR"; then
5228 ac_cv_prog_AR="$AR" # Let the user override the test.
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_AR="${ac_tool_prefix}ar"
5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 if test -n "$AR"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5250 $as_echo "$AR" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5258 if test -z "$ac_cv_prog_AR"; then
5260 # Extract the first word of "ar", so it can be a program name with args.
5261 set dummy ar; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5265 $as_echo_n "(cached) " >&6
5267 if test -n "$ac_ct_AR"; then
5268 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_AR="ar"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5288 if test -n "$ac_ct_AR"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5290 $as_echo "$ac_ct_AR" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5296 if test "x$ac_ct_AR" = x; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5311 test -z "$AR" && AR=ar
5312 test -z "$AR_FLAGS" && AR_FLAGS=cru
5324 if test -n "$ac_tool_prefix"; then
5325 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5326 set dummy ${ac_tool_prefix}strip; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if test "${ac_cv_prog_STRIP+set}" = set; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -n "$STRIP"; then
5333 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 STRIP=$ac_cv_prog_STRIP
5353 if test -n "$STRIP"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5355 $as_echo "$STRIP" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5363 if test -z "$ac_cv_prog_STRIP"; then
5365 # Extract the first word of "strip", so it can be a program name with args.
5366 set dummy strip; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$ac_ct_STRIP"; then
5373 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_prog_ac_ct_STRIP="strip"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5393 if test -n "$ac_ct_STRIP"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5395 $as_echo "$ac_ct_STRIP" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5401 if test "x$ac_ct_STRIP" = x; then
5404 case $cross_compiling:$ac_tool_warned in
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408 ac_tool_warned=yes ;;
5413 STRIP="$ac_cv_prog_STRIP"
5416 test -z "$STRIP" && STRIP=:
5423 if test -n "$ac_tool_prefix"; then
5424 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5425 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5429 $as_echo_n "(cached) " >&6
5431 if test -n "$RANLIB"; then
5432 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 RANLIB=$ac_cv_prog_RANLIB
5452 if test -n "$RANLIB"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5454 $as_echo "$RANLIB" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5462 if test -z "$ac_cv_prog_RANLIB"; then
5463 ac_ct_RANLIB=$RANLIB
5464 # Extract the first word of "ranlib", so it can be a program name with args.
5465 set dummy ranlib; ac_word=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5471 if test -n "$ac_ct_RANLIB"; then
5472 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5481 ac_cv_prog_ac_ct_RANLIB="ranlib"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5492 if test -n "$ac_ct_RANLIB"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5494 $as_echo "$ac_ct_RANLIB" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5500 if test "x$ac_ct_RANLIB" = x; then
5503 case $cross_compiling:$ac_tool_warned in
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5507 ac_tool_warned=yes ;;
5509 RANLIB=$ac_ct_RANLIB
5512 RANLIB="$ac_cv_prog_RANLIB"
5515 test -z "$RANLIB" && RANLIB=:
5522 # Determine commands to create old-style static archives.
5523 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5524 old_postinstall_cmds='chmod 644 $oldlib'
5525 old_postuninstall_cmds=
5527 if test -n "$RANLIB"; then
5530 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5533 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5536 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5572 # If no C compiler was specified, use CC.
5575 # If no C compiler flags were specified, use CFLAGS.
5576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5578 # Allow CC to be a program name with arguments.
5582 # Check for command to grab the raw symbol name followed by C symbol from nm.
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5584 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5585 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5586 $as_echo_n "(cached) " >&6
5589 # These are sane defaults that work on at least a few old systems.
5590 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5592 # Character class describing NM global symbol codes.
5593 symcode='[BCDEGRST]'
5595 # Regexp to match symbols that can be accessed directly from C.
5596 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5598 # Define system-specific variables.
5603 cygwin* | mingw* | pw32* | cegcc*)
5604 symcode='[ABCDGISTW]'
5607 if test "$host_cpu" = ia64; then
5608 symcode='[ABCDEGRST]'
5612 symcode='[BCDEGRST]'
5615 symcode='[BCDEGQRST]'
5626 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5634 # If we're using GNU nm, then use its standard symbol codes.
5635 case `$NM -V 2>&1` in
5636 *GNU* | *'with BFD'*)
5637 symcode='[ABCDGIRSTW]' ;;
5640 # Transform an extracted symbol line into a proper C declaration.
5641 # Some systems (esp. on ia64) link data and code symbols differently,
5642 # so use this general approach.
5643 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5645 # Transform an extracted symbol line into symbol name and symbol address
5646 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5647 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'"
5649 # Handle CRLF in mingw tool chain
5653 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5657 # Try without a prefix underscore, then with it.
5658 for ac_symprfx in "" "_"; do
5660 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5661 symxfrm="\\1 $ac_symprfx\\2 \\2"
5663 # Write the raw and C identifiers.
5664 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5665 # Fake it for dumpbin and say T for any non-static function
5666 # and D for any global variable.
5667 # Also find C++ and __fastcall symbols from MSVC++,
5668 # which start with @ or ?.
5669 lt_cv_sys_global_symbol_pipe="$AWK '"\
5670 " {last_section=section; section=\$ 3};"\
5671 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5672 " \$ 0!~/External *\|/{next};"\
5673 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5674 " {if(hide[section]) next};"\
5675 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5676 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5677 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5678 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5679 " ' prfx=^$ac_symprfx"
5681 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5684 # Check to see that the pipe works correctly.
5688 cat > conftest.$ac_ext <<_LT_EOF
5693 void nm_test_func(void);
5694 void nm_test_func(void){}
5698 int main(){nm_test_var='a';nm_test_func();return(0);}
5701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5702 (eval $ac_compile) 2>&5
5704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5705 test $ac_status = 0; }; then
5706 # Now try to grab the symbols.
5708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5709 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5712 test $ac_status = 0; } && test -s "$nlist"; then
5713 # Try sorting and uniquifying the output.
5714 if sort "$nlist" | uniq > "$nlist"T; then
5715 mv -f "$nlist"T "$nlist"
5720 # Make sure that we snagged all the symbols we need.
5721 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5722 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5723 cat <<_LT_EOF > conftest.$ac_ext
5729 # Now generate the symbol file.
5730 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5732 cat <<_LT_EOF >> conftest.$ac_ext
5734 /* The mapping between symbol names and symbols. */
5739 lt__PROGRAM__LTX_preloaded_symbols[] =
5741 { "@PROGRAM@", (void *) 0 },
5743 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5744 cat <<\_LT_EOF >> conftest.$ac_ext
5748 /* This works around a problem in FreeBSD linker */
5749 #ifdef FREEBSD_WORKAROUND
5750 static const void *lt_preloaded_setup() {
5751 return lt__PROGRAM__LTX_preloaded_symbols;
5759 # Now try linking the two files.
5760 mv conftest.$ac_objext conftstm.$ac_objext
5761 lt_save_LIBS="$LIBS"
5762 lt_save_CFLAGS="$CFLAGS"
5763 LIBS="conftstm.$ac_objext"
5764 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5766 (eval $ac_link) 2>&5
5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5769 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5772 LIBS="$lt_save_LIBS"
5773 CFLAGS="$lt_save_CFLAGS"
5775 echo "cannot find nm_test_func in $nlist" >&5
5778 echo "cannot find nm_test_var in $nlist" >&5
5781 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5784 echo "$progname: failed program was:" >&5
5785 cat conftest.$ac_ext >&5
5787 rm -rf conftest* conftst*
5789 # Do not use the global_symbol_pipe unless it works.
5790 if test "$pipe_works" = yes; then
5793 lt_cv_sys_global_symbol_pipe=
5799 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5800 lt_cv_sys_global_symbol_to_cdecl=
5802 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5804 $as_echo "failed" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5807 $as_echo "ok" >&6; }
5832 # Check whether --enable-libtool-lock was given.
5833 if test "${enable_libtool_lock+set}" = set; then :
5834 enableval=$enable_libtool_lock;
5837 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5839 # Some flags need to be propagated to the compiler or linker for good
5843 # Find out which ABI we are using.
5844 echo 'int i;' > conftest.$ac_ext
5845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5846 (eval $ac_compile) 2>&5
5848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5849 test $ac_status = 0; }; then
5850 case `/usr/bin/file conftest.$ac_objext` in
5862 # Find out which ABI we are using.
5863 echo '#line 5863 "configure"' > conftest.$ac_ext
5864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5865 (eval $ac_compile) 2>&5
5867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5868 test $ac_status = 0; }; then
5869 if test "$lt_cv_prog_gnu_ld" = yes; then
5870 case `/usr/bin/file conftest.$ac_objext` in
5872 LD="${LD-ld} -melf32bsmip"
5875 LD="${LD-ld} -melf32bmipn32"
5878 LD="${LD-ld} -melf64bmip"
5882 case `/usr/bin/file conftest.$ac_objext` in
5898 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5899 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5900 # Find out which ABI we are using.
5901 echo 'int i;' > conftest.$ac_ext
5902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5903 (eval $ac_compile) 2>&5
5905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5906 test $ac_status = 0; }; then
5907 case `/usr/bin/file conftest.o` in
5910 x86_64-*kfreebsd*-gnu)
5911 LD="${LD-ld} -m elf_i386_fbsd"
5914 LD="${LD-ld} -m elf_i386"
5916 ppc64-*linux*|powerpc64-*linux*)
5917 LD="${LD-ld} -m elf32ppclinux"
5920 LD="${LD-ld} -m elf_s390"
5923 LD="${LD-ld} -m elf32_sparc"
5929 x86_64-*kfreebsd*-gnu)
5930 LD="${LD-ld} -m elf_x86_64_fbsd"
5933 LD="${LD-ld} -m elf_x86_64"
5935 ppc*-*linux*|powerpc*-*linux*)
5936 LD="${LD-ld} -m elf64ppc"
5938 s390*-*linux*|s390*-*tpf*)
5939 LD="${LD-ld} -m elf64_s390"
5942 LD="${LD-ld} -m elf64_sparc"
5952 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5953 SAVE_CFLAGS="$CFLAGS"
5954 CFLAGS="$CFLAGS -belf"
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5956 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5957 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5958 $as_echo_n "(cached) " >&6
5961 ac_cpp='$CPP $CPPFLAGS'
5962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5977 if ac_fn_c_try_link "$LINENO"; then :
5978 lt_cv_cc_needs_belf=yes
5980 lt_cv_cc_needs_belf=no
5982 rm -f core conftest.err conftest.$ac_objext \
5983 conftest$ac_exeext conftest.$ac_ext
5985 ac_cpp='$CPP $CPPFLAGS'
5986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5992 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5993 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5994 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5995 CFLAGS="$SAVE_CFLAGS"
5999 # Find out which ABI we are using.
6000 echo 'int i;' > conftest.$ac_ext
6001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6002 (eval $ac_compile) 2>&5
6004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6005 test $ac_status = 0; }; then
6006 case `/usr/bin/file conftest.o` in
6008 case $lt_cv_prog_gnu_ld in
6009 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6011 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6023 need_locks="$enable_libtool_lock"
6027 rhapsody* | darwin*)
6028 if test -n "$ac_tool_prefix"; then
6029 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6034 $as_echo_n "(cached) " >&6
6036 if test -n "$DSYMUTIL"; then
6037 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6057 if test -n "$DSYMUTIL"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6059 $as_echo "$DSYMUTIL" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6067 if test -z "$ac_cv_prog_DSYMUTIL"; then
6068 ac_ct_DSYMUTIL=$DSYMUTIL
6069 # Extract the first word of "dsymutil", so it can be a program name with args.
6070 set dummy dsymutil; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6076 if test -n "$ac_ct_DSYMUTIL"; then
6077 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6086 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6097 if test -n "$ac_ct_DSYMUTIL"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6105 if test "x$ac_ct_DSYMUTIL" = x; then
6108 case $cross_compiling:$ac_tool_warned in
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6112 ac_tool_warned=yes ;;
6114 DSYMUTIL=$ac_ct_DSYMUTIL
6117 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6120 if test -n "$ac_tool_prefix"; then
6121 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6126 $as_echo_n "(cached) " >&6
6128 if test -n "$NMEDIT"; then
6129 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 NMEDIT=$ac_cv_prog_NMEDIT
6149 if test -n "$NMEDIT"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6151 $as_echo "$NMEDIT" >&6; }
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6159 if test -z "$ac_cv_prog_NMEDIT"; then
6160 ac_ct_NMEDIT=$NMEDIT
6161 # Extract the first word of "nmedit", so it can be a program name with args.
6162 set dummy nmedit; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6166 $as_echo_n "(cached) " >&6
6168 if test -n "$ac_ct_NMEDIT"; then
6169 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6189 if test -n "$ac_ct_NMEDIT"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6191 $as_echo "$ac_ct_NMEDIT" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6197 if test "x$ac_ct_NMEDIT" = x; then
6200 case $cross_compiling:$ac_tool_warned in
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6204 ac_tool_warned=yes ;;
6206 NMEDIT=$ac_ct_NMEDIT
6209 NMEDIT="$ac_cv_prog_NMEDIT"
6212 if test -n "$ac_tool_prefix"; then
6213 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216 $as_echo_n "checking for $ac_word... " >&6; }
6217 if test "${ac_cv_prog_LIPO+set}" = set; then :
6218 $as_echo_n "(cached) " >&6
6220 if test -n "$LIPO"; then
6221 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6230 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 LIPO=$ac_cv_prog_LIPO
6241 if test -n "$LIPO"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6243 $as_echo "$LIPO" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 $as_echo "no" >&6; }
6251 if test -z "$ac_cv_prog_LIPO"; then
6253 # Extract the first word of "lipo", so it can be a program name with args.
6254 set dummy lipo; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6258 $as_echo_n "(cached) " >&6
6260 if test -n "$ac_ct_LIPO"; then
6261 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_ac_ct_LIPO="lipo"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6281 if test -n "$ac_ct_LIPO"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6283 $as_echo "$ac_ct_LIPO" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6289 if test "x$ac_ct_LIPO" = x; then
6292 case $cross_compiling:$ac_tool_warned in
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6296 ac_tool_warned=yes ;;
6301 LIPO="$ac_cv_prog_LIPO"
6304 if test -n "$ac_tool_prefix"; then
6305 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6306 set dummy ${ac_tool_prefix}otool; ac_word=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6310 $as_echo_n "(cached) " >&6
6312 if test -n "$OTOOL"; then
6313 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir=.
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 OTOOL=$ac_cv_prog_OTOOL
6333 if test -n "$OTOOL"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6335 $as_echo "$OTOOL" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6343 if test -z "$ac_cv_prog_OTOOL"; then
6345 # Extract the first word of "otool", so it can be a program name with args.
6346 set dummy otool; ac_word=$2
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348 $as_echo_n "checking for $ac_word... " >&6; }
6349 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6350 $as_echo_n "(cached) " >&6
6352 if test -n "$ac_ct_OTOOL"; then
6353 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6362 ac_cv_prog_ac_ct_OTOOL="otool"
6363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6373 if test -n "$ac_ct_OTOOL"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6375 $as_echo "$ac_ct_OTOOL" >&6; }
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6381 if test "x$ac_ct_OTOOL" = x; then
6384 case $cross_compiling:$ac_tool_warned in
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6388 ac_tool_warned=yes ;;
6393 OTOOL="$ac_cv_prog_OTOOL"
6396 if test -n "$ac_tool_prefix"; then
6397 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$OTOOL64"; then
6405 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 OTOOL64=$ac_cv_prog_OTOOL64
6425 if test -n "$OTOOL64"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6427 $as_echo "$OTOOL64" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6435 if test -z "$ac_cv_prog_OTOOL64"; then
6436 ac_ct_OTOOL64=$OTOOL64
6437 # Extract the first word of "otool64", so it can be a program name with args.
6438 set dummy otool64; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6444 if test -n "$ac_ct_OTOOL64"; then
6445 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_ac_ct_OTOOL64="otool64"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6465 if test -n "$ac_ct_OTOOL64"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6467 $as_echo "$ac_ct_OTOOL64" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6473 if test "x$ac_ct_OTOOL64" = x; then
6476 case $cross_compiling:$ac_tool_warned in
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6480 ac_tool_warned=yes ;;
6482 OTOOL64=$ac_ct_OTOOL64
6485 OTOOL64="$ac_cv_prog_OTOOL64"
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6515 $as_echo_n "checking for -single_module linker flag... " >&6; }
6516 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6517 $as_echo_n "(cached) " >&6
6519 lt_cv_apple_cc_single_mod=no
6520 if test -z "${LT_MULTI_MODULE}"; then
6521 # By default we will add the -single_module flag. You can override
6522 # by either setting the environment variable LT_MULTI_MODULE
6523 # non-empty at configure time, or by adding -multi_module to the
6525 rm -rf libconftest.dylib*
6526 echo "int foo(void){return 1;}" > conftest.c
6527 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6528 -dynamiclib -Wl,-single_module conftest.c" >&5
6529 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6530 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6532 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6533 lt_cv_apple_cc_single_mod=yes
6535 cat conftest.err >&5
6537 rm -rf libconftest.dylib*
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6542 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6544 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6545 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6546 $as_echo_n "(cached) " >&6
6548 lt_cv_ld_exported_symbols_list=no
6549 save_LDFLAGS=$LDFLAGS
6550 echo "_main" > conftest.sym
6551 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6563 if ac_fn_c_try_link "$LINENO"; then :
6564 lt_cv_ld_exported_symbols_list=yes
6566 lt_cv_ld_exported_symbols_list=no
6568 rm -f core conftest.err conftest.$ac_objext \
6569 conftest$ac_exeext conftest.$ac_ext
6570 LDFLAGS="$save_LDFLAGS"
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6576 rhapsody* | darwin1.[012])
6577 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6579 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6580 darwin*) # darwin 5.x on
6581 # if running on 10.5 or later, the deployment target defaults
6582 # to the OS version, if on x86, and 10.4, the deployment
6583 # target defaults to 10.4. Don't you love it?
6584 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6585 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6586 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6588 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6590 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6594 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6595 _lt_dar_single_mod='$single_module'
6597 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6598 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6600 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6602 if test "$DSYMUTIL" != ":"; then
6603 _lt_dsymutil='~$DSYMUTIL $lib || :'
6611 ac_cpp='$CPP $CPPFLAGS'
6612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6616 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6617 # On Suns, sometimes $CPP names a directory.
6618 if test -n "$CPP" && test -d "$CPP"; then
6621 if test -z "$CPP"; then
6622 if test "${ac_cv_prog_CPP+set}" = set; then :
6623 $as_echo_n "(cached) " >&6
6625 # Double quotes because CPP needs to be expanded
6626 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6629 for ac_c_preproc_warn_flag in '' yes
6631 # Use a header file that comes with gcc, so configuring glibc
6632 # with a fresh cross-compiler works.
6633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6634 # <limits.h> exists even on freestanding compilers.
6635 # On the NeXT, cc -E runs the code through the compiler's parser,
6636 # not just through cpp. "Syntax error" is here to catch this case.
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6640 # include <limits.h>
6642 # include <assert.h>
6646 if ac_fn_c_try_cpp "$LINENO"; then :
6649 # Broken: fails on valid input.
6652 rm -f conftest.err conftest.i conftest.$ac_ext
6654 # OK, works on sane cases. Now check whether nonexistent headers
6655 # can be detected and how.
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 #include <ac_nonexistent.h>
6660 if ac_fn_c_try_cpp "$LINENO"; then :
6661 # Broken: success on invalid input.
6664 # Passes both tests.
6668 rm -f conftest.err conftest.i conftest.$ac_ext
6671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6672 rm -f conftest.i conftest.err conftest.$ac_ext
6673 if $ac_preproc_ok; then :
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6686 $as_echo "$CPP" >&6; }
6688 for ac_c_preproc_warn_flag in '' yes
6690 # Use a header file that comes with gcc, so configuring glibc
6691 # with a fresh cross-compiler works.
6692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6693 # <limits.h> exists even on freestanding compilers.
6694 # On the NeXT, cc -E runs the code through the compiler's parser,
6695 # not just through cpp. "Syntax error" is here to catch this case.
6696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6699 # include <limits.h>
6701 # include <assert.h>
6705 if ac_fn_c_try_cpp "$LINENO"; then :
6708 # Broken: fails on valid input.
6711 rm -f conftest.err conftest.i conftest.$ac_ext
6713 # OK, works on sane cases. Now check whether nonexistent headers
6714 # can be detected and how.
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 #include <ac_nonexistent.h>
6719 if ac_fn_c_try_cpp "$LINENO"; then :
6720 # Broken: success on invalid input.
6723 # Passes both tests.
6727 rm -f conftest.err conftest.i conftest.$ac_ext
6730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6731 rm -f conftest.i conftest.err conftest.$ac_ext
6732 if $ac_preproc_ok; then :
6735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6737 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6738 See \`config.log' for more details" "$LINENO" 5 ; }
6742 ac_cpp='$CPP $CPPFLAGS'
6743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6749 $as_echo_n "checking for ANSI C header files... " >&6; }
6750 if test "${ac_cv_header_stdc+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6768 if ac_fn_c_try_compile "$LINENO"; then :
6769 ac_cv_header_stdc=yes
6771 ac_cv_header_stdc=no
6773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6775 if test $ac_cv_header_stdc = yes; then
6776 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6778 /* end confdefs.h. */
6782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6783 $EGREP "memchr" >/dev/null 2>&1; then :
6786 ac_cv_header_stdc=no
6792 if test $ac_cv_header_stdc = yes; then
6793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6800 $EGREP "free" >/dev/null 2>&1; then :
6803 ac_cv_header_stdc=no
6809 if test $ac_cv_header_stdc = yes; then
6810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6811 if test "$cross_compiling" = yes; then :
6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6818 #if ((' ' & 0x0FF) == 0x020)
6819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6822 # define ISLOWER(c) \
6823 (('a' <= (c) && (c) <= 'i') \
6824 || ('j' <= (c) && (c) <= 'r') \
6825 || ('s' <= (c) && (c) <= 'z'))
6826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6834 for (i = 0; i < 256; i++)
6835 if (XOR (islower (i), ISLOWER (i))
6836 || toupper (i) != TOUPPER (i))
6841 if ac_fn_c_try_run "$LINENO"; then :
6844 ac_cv_header_stdc=no
6846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6847 conftest.$ac_objext conftest.beam conftest.$ac_ext
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6853 $as_echo "$ac_cv_header_stdc" >&6; }
6854 if test $ac_cv_header_stdc = yes; then
6856 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6860 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6861 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6862 inttypes.h stdint.h unistd.h
6864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6877 for ac_header in dlfcn.h
6879 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6881 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define HAVE_DLFCN_H 1
6893 enable_win32_dll=yes
6896 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6897 if test -n "$ac_tool_prefix"; then
6898 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6899 set dummy ${ac_tool_prefix}as; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6901 $as_echo_n "checking for $ac_word... " >&6; }
6902 if test "${ac_cv_prog_AS+set}" = set; then :
6903 $as_echo_n "(cached) " >&6
6905 if test -n "$AS"; then
6906 ac_cv_prog_AS="$AS" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_AS="${ac_tool_prefix}as"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 if test -n "$AS"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6928 $as_echo "$AS" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931 $as_echo "no" >&6; }
6936 if test -z "$ac_cv_prog_AS"; then
6938 # Extract the first word of "as", so it can be a program name with args.
6939 set dummy as; ac_word=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6943 $as_echo_n "(cached) " >&6
6945 if test -n "$ac_ct_AS"; then
6946 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6955 ac_cv_prog_ac_ct_AS="as"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6966 if test -n "$ac_ct_AS"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6968 $as_echo "$ac_ct_AS" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6974 if test "x$ac_ct_AS" = x; then
6977 case $cross_compiling:$ac_tool_warned in
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6981 ac_tool_warned=yes ;;
6989 if test -n "$ac_tool_prefix"; then
6990 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6991 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993 $as_echo_n "checking for $ac_word... " >&6; }
6994 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6995 $as_echo_n "(cached) " >&6
6997 if test -n "$DLLTOOL"; then
6998 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 DLLTOOL=$ac_cv_prog_DLLTOOL
7018 if test -n "$DLLTOOL"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7020 $as_echo "$DLLTOOL" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7028 if test -z "$ac_cv_prog_DLLTOOL"; then
7029 ac_ct_DLLTOOL=$DLLTOOL
7030 # Extract the first word of "dlltool", so it can be a program name with args.
7031 set dummy dlltool; ac_word=$2
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033 $as_echo_n "checking for $ac_word... " >&6; }
7034 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7035 $as_echo_n "(cached) " >&6
7037 if test -n "$ac_ct_DLLTOOL"; then
7038 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7044 test -z "$as_dir" && as_dir=.
7045 for ac_exec_ext in '' $ac_executable_extensions; do
7046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7047 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7058 if test -n "$ac_ct_DLLTOOL"; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7060 $as_echo "$ac_ct_DLLTOOL" >&6; }
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063 $as_echo "no" >&6; }
7066 if test "x$ac_ct_DLLTOOL" = x; then
7069 case $cross_compiling:$ac_tool_warned in
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7073 ac_tool_warned=yes ;;
7075 DLLTOOL=$ac_ct_DLLTOOL
7078 DLLTOOL="$ac_cv_prog_DLLTOOL"
7081 if test -n "$ac_tool_prefix"; then
7082 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7083 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085 $as_echo_n "checking for $ac_word... " >&6; }
7086 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7087 $as_echo_n "(cached) " >&6
7089 if test -n "$OBJDUMP"; then
7090 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 test -z "$as_dir" && as_dir=.
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7099 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109 OBJDUMP=$ac_cv_prog_OBJDUMP
7110 if test -n "$OBJDUMP"; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7112 $as_echo "$OBJDUMP" >&6; }
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115 $as_echo "no" >&6; }
7120 if test -z "$ac_cv_prog_OBJDUMP"; then
7121 ac_ct_OBJDUMP=$OBJDUMP
7122 # Extract the first word of "objdump", so it can be a program name with args.
7123 set dummy objdump; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7127 $as_echo_n "(cached) " >&6
7129 if test -n "$ac_ct_OBJDUMP"; then
7130 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7150 if test -n "$ac_ct_OBJDUMP"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7152 $as_echo "$ac_ct_OBJDUMP" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7158 if test "x$ac_ct_OBJDUMP" = x; then
7161 case $cross_compiling:$ac_tool_warned in
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7165 ac_tool_warned=yes ;;
7167 OBJDUMP=$ac_ct_OBJDUMP
7170 OBJDUMP="$ac_cv_prog_OBJDUMP"
7176 test -z "$AS" && AS=as
7182 test -z "$DLLTOOL" && DLLTOOL=dlltool
7188 test -z "$OBJDUMP" && OBJDUMP=objdump
7200 # Check whether --enable-shared was given.
7201 if test "${enable_shared+set}" = set; then :
7202 enableval=$enable_shared; p=${PACKAGE-default}
7204 yes) enable_shared=yes ;;
7205 no) enable_shared=no ;;
7208 # Look at the argument we got. We use all the common list separators.
7209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7210 for pkg in $enableval; do
7212 if test "X$pkg" = "X$p"; then
7231 # Check whether --enable-static was given.
7232 if test "${enable_static+set}" = set; then :
7233 enableval=$enable_static; p=${PACKAGE-default}
7235 yes) enable_static=yes ;;
7236 no) enable_static=no ;;
7239 # Look at the argument we got. We use all the common list separators.
7240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7241 for pkg in $enableval; do
7243 if test "X$pkg" = "X$p"; then
7263 # Check whether --with-pic was given.
7264 if test "${with_pic+set}" = set; then :
7265 withval=$with_pic; pic_mode="$withval"
7271 test -z "$pic_mode" && pic_mode=default
7279 # Check whether --enable-fast-install was given.
7280 if test "${enable_fast_install+set}" = set; then :
7281 enableval=$enable_fast_install; p=${PACKAGE-default}
7283 yes) enable_fast_install=yes ;;
7284 no) enable_fast_install=no ;;
7286 enable_fast_install=no
7287 # Look at the argument we got. We use all the common list separators.
7288 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7289 for pkg in $enableval; do
7291 if test "X$pkg" = "X$p"; then
7292 enable_fast_install=yes
7299 enable_fast_install=yes
7312 # This can be used to rebuild libtool when needed
7313 LIBTOOL_DEPS="$ltmain"
7315 # Always use our own libtool.
7316 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7342 test -z "$LN_S" && LN_S="ln -s"
7357 if test -n "${ZSH_VERSION+set}" ; then
7358 setopt NO_GLOB_SUBST
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7362 $as_echo_n "checking for objdir... " >&6; }
7363 if test "${lt_cv_objdir+set}" = set; then :
7364 $as_echo_n "(cached) " >&6
7366 rm -f .libs 2>/dev/null
7367 mkdir .libs 2>/dev/null
7368 if test -d .libs; then
7371 # MS-DOS does not allow filenames that begin with a dot.
7374 rmdir .libs 2>/dev/null
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7377 $as_echo "$lt_cv_objdir" >&6; }
7378 objdir=$lt_cv_objdir
7384 cat >>confdefs.h <<_ACEOF
7385 #define LT_OBJDIR "$lt_cv_objdir/"
7406 # AIX sometimes has problems with the GCC collect2 program. For some
7407 # reason, if we set the COLLECT_NAMES environment variable, the problems
7408 # vanish in a puff of smoke.
7409 if test "X${COLLECT_NAMES+set}" != Xset; then
7411 export COLLECT_NAMES
7416 # Sed substitution that helps us do robust quoting. It backslashifies
7417 # metacharacters that are still active within double-quoted strings.
7418 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7420 # Same as above, but do not quote variable references.
7421 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7423 # Sed substitution to delay expansion of an escaped shell variable in a
7424 # double_quote_subst'ed string.
7425 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7427 # Sed substitution to delay expansion of an escaped single quote.
7428 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7430 # Sed substitution to avoid accidental globbing in evaled expressions
7431 no_glob_subst='s/\*/\\\*/g'
7435 can_build_shared=yes
7437 # All known linkers require a `.a' archive for static linking (except MSVC,
7438 # which needs '.lib').
7441 with_gnu_ld="$lt_cv_prog_gnu_ld"
7444 old_CFLAGS="$CFLAGS"
7446 # Set sane defaults for various variables
7447 test -z "$CC" && CC=cc
7448 test -z "$LTCC" && LTCC=$CC
7449 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7450 test -z "$LD" && LD=ld
7451 test -z "$ac_objext" && ac_objext=o
7453 for cc_temp in $compiler""; do
7455 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7456 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7461 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7464 # Only perform the check for file, if the check method requires it
7465 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7466 case $deplibs_check_method in
7468 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7470 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7471 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7472 $as_echo_n "(cached) " >&6
7476 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7479 lt_save_MAGIC_CMD="$MAGIC_CMD"
7480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7481 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7482 for ac_dir in $ac_dummy; do
7484 test -z "$ac_dir" && ac_dir=.
7485 if test -f $ac_dir/${ac_tool_prefix}file; then
7486 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7487 if test -n "$file_magic_test_file"; then
7488 case $deplibs_check_method in
7490 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7491 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7492 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7493 $EGREP "$file_magic_regex" > /dev/null; then
7498 *** Warning: the command libtool uses to detect shared libraries,
7499 *** $file_magic_cmd, produces output that libtool cannot recognize.
7500 *** The result is that libtool may fail to recognize shared libraries
7501 *** as such. This will affect the creation of libtool libraries that
7502 *** depend on shared libraries, but programs linked with such libtool
7503 *** libraries will work regardless of this problem. Nevertheless, you
7504 *** may want to report the problem to your system manager and/or to
7505 *** bug-libtool@gnu.org
7515 MAGIC_CMD="$lt_save_MAGIC_CMD"
7520 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7521 if test -n "$MAGIC_CMD"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7523 $as_echo "$MAGIC_CMD" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7533 if test -z "$lt_cv_path_MAGIC_CMD"; then
7534 if test -n "$ac_tool_prefix"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7536 $as_echo_n "checking for file... " >&6; }
7537 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7542 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7545 lt_save_MAGIC_CMD="$MAGIC_CMD"
7546 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7547 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7548 for ac_dir in $ac_dummy; do
7550 test -z "$ac_dir" && ac_dir=.
7551 if test -f $ac_dir/file; then
7552 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7553 if test -n "$file_magic_test_file"; then
7554 case $deplibs_check_method in
7556 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7557 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7558 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7559 $EGREP "$file_magic_regex" > /dev/null; then
7564 *** Warning: the command libtool uses to detect shared libraries,
7565 *** $file_magic_cmd, produces output that libtool cannot recognize.
7566 *** The result is that libtool may fail to recognize shared libraries
7567 *** as such. This will affect the creation of libtool libraries that
7568 *** depend on shared libraries, but programs linked with such libtool
7569 *** libraries will work regardless of this problem. Nevertheless, you
7570 *** may want to report the problem to your system manager and/or to
7571 *** bug-libtool@gnu.org
7581 MAGIC_CMD="$lt_save_MAGIC_CMD"
7586 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7587 if test -n "$MAGIC_CMD"; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7589 $as_echo "$MAGIC_CMD" >&6; }
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7592 $as_echo "no" >&6; }
7605 # Use C for the default configuration in the libtool script
7609 ac_cpp='$CPP $CPPFLAGS'
7610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7615 # Source file extension for C test sources.
7618 # Object file extension for compiled C test sources.
7622 # Code to be used in simple compile tests
7623 lt_simple_compile_test_code="int some_variable = 0;"
7625 # Code to be used in simple link tests
7626 lt_simple_link_test_code='int main(){return(0);}'
7634 # If no C compiler was specified, use CC.
7637 # If no C compiler flags were specified, use CFLAGS.
7638 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7640 # Allow CC to be a program name with arguments.
7643 # Save the default compiler, since it gets overwritten when the other
7644 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7645 compiler_DEFAULT=$CC
7647 # save warnings/boilerplate of simple test code
7648 ac_outfile=conftest.$ac_objext
7649 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7650 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7651 _lt_compiler_boilerplate=`cat conftest.err`
7654 ac_outfile=conftest.$ac_objext
7655 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7656 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7657 _lt_linker_boilerplate=`cat conftest.err`
7662 ## There is no encapsulation within the following macros, do not change
7663 ## the running order or otherwise move them around unless you know exactly
7664 ## what you are doing...
7665 if test -n "$compiler"; then
7667 lt_prog_compiler_no_builtin_flag=
7669 if test "$GCC" = yes; then
7670 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7673 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7674 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7675 $as_echo_n "(cached) " >&6
7677 lt_cv_prog_compiler_rtti_exceptions=no
7678 ac_outfile=conftest.$ac_objext
7679 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7680 lt_compiler_flag="-fno-rtti -fno-exceptions"
7681 # Insert the option either (1) after the last *FLAGS variable, or
7682 # (2) before a word containing "conftest.", or (3) at the end.
7683 # Note that $ac_compile itself does not contain backslashes and begins
7684 # with a dollar sign (not a hyphen), so the echo should work correctly.
7685 # The option is referenced via a variable to avoid confusing sed.
7686 lt_compile=`echo "$ac_compile" | $SED \
7687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7689 -e 's:$: $lt_compiler_flag:'`
7690 (eval echo "\"\$as_me:7690: $lt_compile\"" >&5)
7691 (eval "$lt_compile" 2>conftest.err)
7693 cat conftest.err >&5
7694 echo "$as_me:7694: \$? = $ac_status" >&5
7695 if (exit $ac_status) && test -s "$ac_outfile"; then
7696 # The compiler can only warn and ignore the option if not recognized
7697 # So say no if there are warnings other than the usual output.
7698 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7699 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7700 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7701 lt_cv_prog_compiler_rtti_exceptions=yes
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7708 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7710 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7711 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7723 lt_prog_compiler_wl=
7724 lt_prog_compiler_pic=
7725 lt_prog_compiler_static=
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7728 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7730 if test "$GCC" = yes; then
7731 lt_prog_compiler_wl='-Wl,'
7732 lt_prog_compiler_static='-static'
7736 # All AIX code is PIC.
7737 if test "$host_cpu" = ia64; then
7738 # AIX 5 now supports IA64 processor
7739 lt_prog_compiler_static='-Bstatic'
7746 # see comment about AmigaOS4 .so support
7747 lt_prog_compiler_pic='-fPIC'
7750 # FIXME: we need at least 68020 code to build shared libraries, but
7751 # adding the `-m68020' flag to GCC prevents building anything better,
7753 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7758 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7759 # PIC is the default for these OSes.
7762 mingw* | cygwin* | pw32* | os2* | cegcc*)
7763 # This hack is so that the source file can tell whether it is being
7764 # built for inclusion in a dll (and should export symbols for example).
7765 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7766 # (--disable-auto-import) libraries
7767 lt_prog_compiler_pic='-DDLL_EXPORT'
7770 darwin* | rhapsody*)
7771 # PIC is the default on this platform
7772 # Common symbols not allowed in MH_DYLIB files
7773 lt_prog_compiler_pic='-fno-common'
7777 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7778 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7779 # sets the default TLS model and affects inlining.
7785 lt_prog_compiler_pic='-fPIC'
7791 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7792 # Instead, we relocate shared libraries at runtime.
7796 # Just because we use GCC doesn't mean we suddenly get shared libraries
7797 # on systems that don't support them.
7798 lt_prog_compiler_can_build_shared=no
7803 # QNX uses GNU C++, but need to define -shared option too, otherwise
7805 lt_prog_compiler_pic='-fPIC -shared'
7809 if test -d /usr/nec; then
7810 lt_prog_compiler_pic=-Kconform_pic
7815 lt_prog_compiler_pic='-fPIC'
7819 # PORTME Check for flag to pass linker flags through the system compiler.
7822 lt_prog_compiler_wl='-Wl,'
7823 if test "$host_cpu" = ia64; then
7824 # AIX 5 now supports IA64 processor
7825 lt_prog_compiler_static='-Bstatic'
7827 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7831 mingw* | cygwin* | pw32* | os2* | cegcc*)
7832 # This hack is so that the source file can tell whether it is being
7833 # built for inclusion in a dll (and should export symbols for example).
7834 lt_prog_compiler_pic='-DDLL_EXPORT'
7837 hpux9* | hpux10* | hpux11*)
7838 lt_prog_compiler_wl='-Wl,'
7839 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7846 lt_prog_compiler_pic='+Z'
7849 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7850 lt_prog_compiler_static='${wl}-a ${wl}archive'
7853 irix5* | irix6* | nonstopux*)
7854 lt_prog_compiler_wl='-Wl,'
7855 # PIC (with -KPIC) is the default.
7856 lt_prog_compiler_static='-non_shared'
7859 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7860 case $cc_basename in
7861 # old Intel for x86_64 which still supported -KPIC.
7863 lt_prog_compiler_wl='-Wl,'
7864 lt_prog_compiler_pic='-KPIC'
7865 lt_prog_compiler_static='-static'
7867 # icc used to be incompatible with GCC.
7868 # ICC 10 doesn't accept -KPIC any more.
7870 lt_prog_compiler_wl='-Wl,'
7871 lt_prog_compiler_pic='-fPIC'
7872 lt_prog_compiler_static='-static'
7874 # Lahey Fortran 8.1.
7876 lt_prog_compiler_wl='-Wl,'
7877 lt_prog_compiler_pic='--shared'
7878 lt_prog_compiler_static='--static'
7880 pgcc* | pgf77* | pgf90* | pgf95*)
7881 # Portland Group compilers (*not* the Pentium gcc compiler,
7882 # which looks to be a dead project)
7883 lt_prog_compiler_wl='-Wl,'
7884 lt_prog_compiler_pic='-fpic'
7885 lt_prog_compiler_static='-Bstatic'
7888 lt_prog_compiler_wl='-Wl,'
7889 # All Alpha code is PIC.
7890 lt_prog_compiler_static='-non_shared'
7893 # IBM XL C 8.0/Fortran 10.1 on PPC
7894 lt_prog_compiler_wl='-Wl,'
7895 lt_prog_compiler_pic='-qpic'
7896 lt_prog_compiler_static='-qstaticlink'
7899 case `$CC -V 2>&1 | sed 5q` in
7902 lt_prog_compiler_pic='-KPIC'
7903 lt_prog_compiler_static='-Bstatic'
7904 lt_prog_compiler_wl='-Wl,'
7907 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7908 lt_prog_compiler_pic='-KPIC'
7909 lt_prog_compiler_static='-Bstatic'
7910 lt_prog_compiler_wl=''
7918 lt_prog_compiler_pic='-KPIC'
7919 lt_prog_compiler_static='-Bstatic'
7923 # QNX uses GNU C++, but need to define -shared option too, otherwise
7925 lt_prog_compiler_pic='-fPIC -shared'
7928 osf3* | osf4* | osf5*)
7929 lt_prog_compiler_wl='-Wl,'
7930 # All OSF/1 code is PIC.
7931 lt_prog_compiler_static='-non_shared'
7935 lt_prog_compiler_static='-non_shared'
7939 lt_prog_compiler_pic='-KPIC'
7940 lt_prog_compiler_static='-Bstatic'
7941 case $cc_basename in
7943 lt_prog_compiler_wl='-Qoption ld ';;
7945 lt_prog_compiler_wl='-Wl,';;
7950 lt_prog_compiler_wl='-Qoption ld '
7951 lt_prog_compiler_pic='-PIC'
7952 lt_prog_compiler_static='-Bstatic'
7955 sysv4 | sysv4.2uw2* | sysv4.3*)
7956 lt_prog_compiler_wl='-Wl,'
7957 lt_prog_compiler_pic='-KPIC'
7958 lt_prog_compiler_static='-Bstatic'
7962 if test -d /usr/nec ;then
7963 lt_prog_compiler_pic='-Kconform_pic'
7964 lt_prog_compiler_static='-Bstatic'
7968 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7969 lt_prog_compiler_wl='-Wl,'
7970 lt_prog_compiler_pic='-KPIC'
7971 lt_prog_compiler_static='-Bstatic'
7975 lt_prog_compiler_wl='-Wl,'
7976 lt_prog_compiler_can_build_shared=no
7980 lt_prog_compiler_pic='-pic'
7981 lt_prog_compiler_static='-Bstatic'
7985 lt_prog_compiler_can_build_shared=no
7991 # For platforms which do not support PIC, -DPIC is meaningless:
7993 lt_prog_compiler_pic=
7996 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8000 $as_echo "$lt_prog_compiler_pic" >&6; }
8008 # Check to make sure the PIC flag actually works.
8010 if test -n "$lt_prog_compiler_pic"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8012 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8013 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8014 $as_echo_n "(cached) " >&6
8016 lt_cv_prog_compiler_pic_works=no
8017 ac_outfile=conftest.$ac_objext
8018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8019 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8020 # Insert the option either (1) after the last *FLAGS variable, or
8021 # (2) before a word containing "conftest.", or (3) at the end.
8022 # Note that $ac_compile itself does not contain backslashes and begins
8023 # with a dollar sign (not a hyphen), so the echo should work correctly.
8024 # The option is referenced via a variable to avoid confusing sed.
8025 lt_compile=`echo "$ac_compile" | $SED \
8026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8028 -e 's:$: $lt_compiler_flag:'`
8029 (eval echo "\"\$as_me:8029: $lt_compile\"" >&5)
8030 (eval "$lt_compile" 2>conftest.err)
8032 cat conftest.err >&5
8033 echo "$as_me:8033: \$? = $ac_status" >&5
8034 if (exit $ac_status) && test -s "$ac_outfile"; then
8035 # The compiler can only warn and ignore the option if not recognized
8036 # So say no if there are warnings other than the usual output.
8037 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8039 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8040 lt_cv_prog_compiler_pic_works=yes
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8047 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8049 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8050 case $lt_prog_compiler_pic in
8052 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8055 lt_prog_compiler_pic=
8056 lt_prog_compiler_can_build_shared=no
8067 # Check to make sure the static flag actually works.
8069 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8071 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8072 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8073 $as_echo_n "(cached) " >&6
8075 lt_cv_prog_compiler_static_works=no
8076 save_LDFLAGS="$LDFLAGS"
8077 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8078 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8079 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8080 # The linker can only warn and ignore the option if not recognized
8081 # So say no if there are warnings
8082 if test -s conftest.err; then
8083 # Append any errors to the config.log.
8084 cat conftest.err 1>&5
8085 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8086 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8087 if diff conftest.exp conftest.er2 >/dev/null; then
8088 lt_cv_prog_compiler_static_works=yes
8091 lt_cv_prog_compiler_static_works=yes
8095 LDFLAGS="$save_LDFLAGS"
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8099 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8101 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8104 lt_prog_compiler_static=
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8114 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8115 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8116 $as_echo_n "(cached) " >&6
8118 lt_cv_prog_compiler_c_o=no
8119 $RM -r conftest 2>/dev/null
8123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8125 lt_compiler_flag="-o out/conftest2.$ac_objext"
8126 # Insert the option either (1) after the last *FLAGS variable, or
8127 # (2) before a word containing "conftest.", or (3) at the end.
8128 # Note that $ac_compile itself does not contain backslashes and begins
8129 # with a dollar sign (not a hyphen), so the echo should work correctly.
8130 lt_compile=`echo "$ac_compile" | $SED \
8131 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8133 -e 's:$: $lt_compiler_flag:'`
8134 (eval echo "\"\$as_me:8134: $lt_compile\"" >&5)
8135 (eval "$lt_compile" 2>out/conftest.err)
8137 cat out/conftest.err >&5
8138 echo "$as_me:8138: \$? = $ac_status" >&5
8139 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8141 # The compiler can only warn and ignore the option if not recognized
8142 # So say no if there are warnings
8143 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8144 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8145 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8146 lt_cv_prog_compiler_c_o=yes
8151 # SGI C++ compiler will create directory out/ii_files/ for
8152 # template instantiation
8153 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8154 $RM out/* && rmdir out
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8161 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8169 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8170 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8171 $as_echo_n "(cached) " >&6
8173 lt_cv_prog_compiler_c_o=no
8174 $RM -r conftest 2>/dev/null
8178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8180 lt_compiler_flag="-o out/conftest2.$ac_objext"
8181 # Insert the option either (1) after the last *FLAGS variable, or
8182 # (2) before a word containing "conftest.", or (3) at the end.
8183 # Note that $ac_compile itself does not contain backslashes and begins
8184 # with a dollar sign (not a hyphen), so the echo should work correctly.
8185 lt_compile=`echo "$ac_compile" | $SED \
8186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8188 -e 's:$: $lt_compiler_flag:'`
8189 (eval echo "\"\$as_me:8189: $lt_compile\"" >&5)
8190 (eval "$lt_compile" 2>out/conftest.err)
8192 cat out/conftest.err >&5
8193 echo "$as_me:8193: \$? = $ac_status" >&5
8194 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8196 # The compiler can only warn and ignore the option if not recognized
8197 # So say no if there are warnings
8198 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8199 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8200 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8201 lt_cv_prog_compiler_c_o=yes
8206 # SGI C++ compiler will create directory out/ii_files/ for
8207 # template instantiation
8208 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8209 $RM out/* && rmdir out
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8216 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8221 hard_links="nottested"
8222 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8223 # do not overwrite the value of need_locks provided by the user
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8225 $as_echo_n "checking if we can lock with hard links... " >&6; }
8228 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8230 ln conftest.a conftest.b 2>&5 || hard_links=no
8231 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8233 $as_echo "$hard_links" >&6; }
8234 if test "$hard_links" = no; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8236 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8249 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8252 allow_undefined_flag=
8253 always_export_symbols=no
8255 archive_expsym_cmds=
8256 compiler_needs_object=no
8257 enable_shared_with_static_runtimes=no
8258 export_dynamic_flag_spec=
8259 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8260 hardcode_automatic=no
8262 hardcode_direct_absolute=no
8263 hardcode_libdir_flag_spec=
8264 hardcode_libdir_flag_spec_ld=
8265 hardcode_libdir_separator=
8267 hardcode_shlibpath_var=unsupported
8269 link_all_deplibs=unknown
8272 old_archive_from_new_cmds=
8273 old_archive_from_expsyms_cmds=
8274 thread_safe_flag_spec=
8275 whole_archive_flag_spec=
8276 # include_expsyms should be a list of space-separated symbols to be *always*
8277 # included in the symbol list
8279 # exclude_expsyms can be an extended regexp of symbols to exclude
8280 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8281 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8282 # as well as any symbol that contains `d'.
8283 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8284 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8285 # platforms (ab)use it in PIC code, but their linkers get confused if
8286 # the symbol is explicitly referenced. Since portable code cannot
8287 # rely on this symbol name, it's probably fine to never include it in
8288 # preloaded symbol tables.
8289 # Exclude shared library initialization/finalization symbols.
8290 extract_expsyms_cmds=
8293 cygwin* | mingw* | pw32* | cegcc*)
8294 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8295 # When not using gcc, we currently assume that we are using
8296 # Microsoft Visual C++.
8297 if test "$GCC" != yes; then
8302 # we just hope/assume this is gcc and not c89 (= MSVC++)
8308 linux* | k*bsd*-gnu)
8314 if test "$with_gnu_ld" = yes; then
8315 # If archive_cmds runs LD, not CC, wlarc should be empty
8318 # Set some defaults for GNU ld with shared library support. These
8319 # are reset later if shared libraries are not supported. Putting them
8320 # here allows them to be overridden if necessary.
8321 runpath_var=LD_RUN_PATH
8322 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8323 export_dynamic_flag_spec='${wl}--export-dynamic'
8324 # ancient GNU ld didn't support --whole-archive et. al.
8325 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8326 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8328 whole_archive_flag_spec=
8330 supports_anon_versioning=no
8331 case `$LD -v 2>&1` in
8332 *GNU\ gold*) supports_anon_versioning=yes ;;
8333 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8334 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8335 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8336 *\ 2.11.*) ;; # other 2.11 versions
8337 *) supports_anon_versioning=yes ;;
8340 # See if GNU ld supports shared libraries.
8343 # On AIX/PPC, the GNU linker is very broken
8344 if test "$host_cpu" != ia64; then
8348 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8349 *** to be unable to reliably create shared libraries on AIX.
8350 *** Therefore, libtool is disabling shared libraries support. If you
8351 *** really care for shared libraries, you may want to modify your PATH
8352 *** so that a non-GNU linker is found, and then restart.
8361 # see comment about AmigaOS4 .so support
8362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8363 archive_expsym_cmds=''
8366 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)'
8367 hardcode_libdir_flag_spec='-L$libdir'
8368 hardcode_minus_L=yes
8374 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8375 allow_undefined_flag=unsupported
8376 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8377 # support --undefined. This deserves some investigation. FIXME
8378 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8384 cygwin* | mingw* | pw32* | cegcc*)
8385 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8386 # as there is no search path for DLLs.
8387 hardcode_libdir_flag_spec='-L$libdir'
8388 allow_undefined_flag=unsupported
8389 always_export_symbols=no
8390 enable_shared_with_static_runtimes=yes
8391 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8393 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8395 # If the export-symbols file already is a .def file (1st line
8396 # is EXPORTS), use it as is; otherwise, prepend...
8397 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8398 cp $export_symbols $output_objdir/$soname.def;
8400 echo EXPORTS > $output_objdir/$soname.def;
8401 cat $export_symbols >> $output_objdir/$soname.def;
8403 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8411 hardcode_shlibpath_var=no
8412 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8413 export_dynamic_flag_spec='${wl}-E'
8414 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8415 # Instead, shared libraries are loaded at an image base (0x10000000 by
8416 # default) and relocated if they conflict, which is a slow very memory
8417 # consuming and fragmenting process. To avoid this, we pick a random,
8418 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8419 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8420 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8421 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'
8424 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8426 if test "$host_os" = linux-dietlibc; then
8427 case $cc_basename in
8428 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8431 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8432 && test "$tmp_diet" = no
8435 tmp_sharedflag='-shared'
8436 case $cc_basename,$host_cpu in
8437 pgcc*) # Portland Group C compiler
8438 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'
8439 tmp_addflag=' $pic_flag'
8441 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8442 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'
8443 tmp_addflag=' $pic_flag -Mnomain' ;;
8444 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8445 tmp_addflag=' -i_dynamic' ;;
8446 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8447 tmp_addflag=' -i_dynamic -nofor_main' ;;
8448 ifc* | ifort*) # Intel Fortran compiler
8449 tmp_addflag=' -nofor_main' ;;
8450 lf95*) # Lahey Fortran 8.1
8451 whole_archive_flag_spec=
8452 tmp_sharedflag='--shared' ;;
8453 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8454 tmp_sharedflag='-qmkshrobj'
8457 case `$CC -V 2>&1 | sed 5q` in
8458 *Sun\ C*) # Sun C 5.9
8459 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'
8460 compiler_needs_object=yes
8461 tmp_sharedflag='-G' ;;
8462 *Sun\ F*) # Sun Fortran 8.3
8463 tmp_sharedflag='-G' ;;
8465 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8467 if test "x$supports_anon_versioning" = xyes; then
8468 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8469 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8470 echo "local: *; };" >> $output_objdir/$libname.ver~
8471 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8474 case $cc_basename in
8476 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8477 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8478 hardcode_libdir_flag_spec=
8479 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8480 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8481 if test "x$supports_anon_versioning" = xyes; then
8482 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8483 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8484 echo "local: *; };" >> $output_objdir/$libname.ver~
8485 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8494 netbsd* | netbsdelf*-gnu)
8495 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8496 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8500 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8505 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8509 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8510 *** create shared libraries on Solaris systems. Therefore, libtool
8511 *** is disabling shared libraries support. We urge you to upgrade GNU
8512 *** binutils to release 2.9.1 or newer. Another option is to modify
8513 *** your PATH or compiler configuration so that the native linker is
8514 *** used, and then restart.
8517 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8519 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8525 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8526 case `$LD -v 2>&1` in
8527 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8531 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8532 *** reliably create shared libraries on SCO systems. Therefore, libtool
8533 *** is disabling shared libraries support. We urge you to upgrade GNU
8534 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8535 *** your PATH or compiler configuration so that the native linker is
8536 *** used, and then restart.
8541 # For security reasons, it is highly recommended that you always
8542 # use absolute paths for naming shared libraries, and exclude the
8543 # DT_RUNPATH tag from executables and libraries. But doing so
8544 # requires that you compile everything twice, which is a pain.
8545 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8546 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8557 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8560 hardcode_shlibpath_var=no
8564 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8565 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8566 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8573 if test "$ld_shlibs" = no; then
8575 hardcode_libdir_flag_spec=
8576 export_dynamic_flag_spec=
8577 whole_archive_flag_spec=
8580 # PORTME fill in a description of your system's linker (not GNU ld)
8583 allow_undefined_flag=unsupported
8584 always_export_symbols=yes
8585 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'
8586 # Note: this linker hardcodes the directories in LIBPATH if there
8587 # are no directories specified by -L.
8588 hardcode_minus_L=yes
8589 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8590 # Neither direct hardcoding nor static linking is supported with a
8592 hardcode_direct=unsupported
8597 if test "$host_cpu" = ia64; then
8598 # On IA64, the linker does run time linking by default, so we don't
8599 # have to do anything special.
8600 aix_use_runtimelinking=no
8601 exp_sym_flag='-Bexport'
8604 # If we're using GNU nm, then we don't want the "-C" option.
8605 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8606 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8607 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'
8609 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'
8611 aix_use_runtimelinking=no
8613 # Test if we are trying to use run time linking or normal
8614 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8615 # need to do runtime linking.
8616 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8617 for ld_flag in $LDFLAGS; do
8618 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8619 aix_use_runtimelinking=yes
8626 exp_sym_flag='-bexport'
8627 no_entry_flag='-bnoentry'
8630 # When large executables or shared objects are built, AIX ld can
8631 # have problems creating the table of contents. If linking a library
8632 # or program results in "error TOC overflow" add -mminimal-toc to
8633 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8634 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8638 hardcode_direct_absolute=yes
8639 hardcode_libdir_separator=':'
8640 link_all_deplibs=yes
8641 file_list_spec='${wl}-f,'
8643 if test "$GCC" = yes; then
8644 case $host_os in aix4.[012]|aix4.[012].*)
8645 # We only want to do this on AIX 4.2 and lower, the check
8646 # below for broken collect2 doesn't work under 4.3+
8647 collect2name=`${CC} -print-prog-name=collect2`
8648 if test -f "$collect2name" &&
8649 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8651 # We have reworked collect2
8654 # We have old collect2
8655 hardcode_direct=unsupported
8656 # It fails to find uninstalled libraries when the uninstalled
8657 # path is not listed in the libpath. Setting hardcode_minus_L
8658 # to unsupported forces relinking
8659 hardcode_minus_L=yes
8660 hardcode_libdir_flag_spec='-L$libdir'
8661 hardcode_libdir_separator=
8665 shared_flag='-shared'
8666 if test "$aix_use_runtimelinking" = yes; then
8667 shared_flag="$shared_flag "'${wl}-G'
8672 if test "$host_cpu" = ia64; then
8673 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8674 # chokes on -Wl,-G. The following line is correct:
8677 if test "$aix_use_runtimelinking" = yes; then
8678 shared_flag='${wl}-G'
8680 shared_flag='${wl}-bM:SRE'
8685 export_dynamic_flag_spec='${wl}-bexpall'
8686 # It seems that -bexpall does not export symbols beginning with
8687 # underscore (_), so it is better to generate a list of symbols to export.
8688 always_export_symbols=yes
8689 if test "$aix_use_runtimelinking" = yes; then
8690 # Warning - without using the other runtime loading flags (-brtl),
8691 # -berok will link without error, but may produce a broken library.
8692 allow_undefined_flag='-berok'
8693 # Determine the default libpath from the value encoded in an
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8706 if ac_fn_c_try_link "$LINENO"; then :
8708 lt_aix_libpath_sed='
8709 /Import File Strings/,/^$/ {
8715 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8716 # Check for a 64-bit object if we didn't find anything.
8717 if test -z "$aix_libpath"; then
8718 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8725 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8726 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"
8728 if test "$host_cpu" = ia64; then
8729 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8730 allow_undefined_flag="-z nodefs"
8731 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"
8733 # Determine the default libpath from the value encoded in an
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8746 if ac_fn_c_try_link "$LINENO"; then :
8748 lt_aix_libpath_sed='
8749 /Import File Strings/,/^$/ {
8755 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8756 # Check for a 64-bit object if we didn't find anything.
8757 if test -z "$aix_libpath"; then
8758 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8765 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8766 # Warning - without using the other run time loading flags,
8767 # -berok will link without error, but may produce a broken library.
8768 no_undefined_flag=' ${wl}-bernotok'
8769 allow_undefined_flag=' ${wl}-berok'
8770 # Exported symbols can be pulled into shared objects from archives
8771 whole_archive_flag_spec='$convenience'
8772 archive_cmds_need_lc=yes
8773 # This is similar to how AIX traditionally builds its shared libraries.
8774 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'
8782 # see comment about AmigaOS4 .so support
8783 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8784 archive_expsym_cmds=''
8787 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)'
8788 hardcode_libdir_flag_spec='-L$libdir'
8789 hardcode_minus_L=yes
8795 export_dynamic_flag_spec=-rdynamic
8798 cygwin* | mingw* | pw32* | cegcc*)
8799 # When not using gcc, we currently assume that we are using
8800 # Microsoft Visual C++.
8801 # hardcode_libdir_flag_spec is actually meaningless, as there is
8802 # no search path for DLLs.
8803 hardcode_libdir_flag_spec=' '
8804 allow_undefined_flag=unsupported
8805 # Tell ltmain to make .lib files, not .a files.
8807 # Tell ltmain to make .dll files, not .so files.
8809 # FIXME: Setting linknames here is a bad hack.
8810 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8811 # The linker will automatically build a .lib file if we build a DLL.
8812 old_archive_from_new_cmds='true'
8813 # FIXME: Should let the user specify the lib program.
8814 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8815 fix_srcfile_path='`cygpath -w "$srcfile"`'
8816 enable_shared_with_static_runtimes=yes
8819 darwin* | rhapsody*)
8822 archive_cmds_need_lc=no
8824 hardcode_automatic=yes
8825 hardcode_shlibpath_var=unsupported
8826 whole_archive_flag_spec=''
8827 link_all_deplibs=yes
8828 allow_undefined_flag="$_lt_dar_allow_undefined"
8829 case $cc_basename in
8830 ifort*) _lt_dar_can_shared=yes ;;
8831 *) _lt_dar_can_shared=$GCC ;;
8833 if test "$_lt_dar_can_shared" = "yes"; then
8834 output_verbose_link_cmd=echo
8835 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8836 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8837 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}"
8838 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}"
8847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8848 hardcode_libdir_flag_spec='-L$libdir'
8849 hardcode_shlibpath_var=no
8856 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8857 # support. Future versions do this automatically, but an explicit c++rt0.o
8858 # does not break anything, and helps significantly (at the cost of a little
8861 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8862 hardcode_libdir_flag_spec='-R$libdir'
8864 hardcode_shlibpath_var=no
8867 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8869 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8871 hardcode_minus_L=yes
8872 hardcode_shlibpath_var=no
8875 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8876 freebsd* | dragonfly*)
8877 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8878 hardcode_libdir_flag_spec='-R$libdir'
8880 hardcode_shlibpath_var=no
8884 if test "$GCC" = yes; then
8885 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'
8887 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'
8889 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8890 hardcode_libdir_separator=:
8893 # hardcode_minus_L: Not really in the search PATH,
8894 # but as the default location of the library.
8895 hardcode_minus_L=yes
8896 export_dynamic_flag_spec='${wl}-E'
8900 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8901 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8903 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8905 if test "$with_gnu_ld" = no; then
8906 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8907 hardcode_libdir_flag_spec_ld='+b $libdir'
8908 hardcode_libdir_separator=:
8910 hardcode_direct_absolute=yes
8911 export_dynamic_flag_spec='${wl}-E'
8912 # hardcode_minus_L: Not really in the search PATH,
8913 # but as the default location of the library.
8914 hardcode_minus_L=yes
8919 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8922 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8925 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8928 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8934 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8937 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8940 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8944 if test "$with_gnu_ld" = no; then
8945 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8946 hardcode_libdir_separator=:
8951 hardcode_shlibpath_var=no
8955 hardcode_direct_absolute=yes
8956 export_dynamic_flag_spec='${wl}-E'
8958 # hardcode_minus_L: Not really in the search PATH,
8959 # but as the default location of the library.
8960 hardcode_minus_L=yes
8966 irix5* | irix6* | nonstopux*)
8967 if test "$GCC" = yes; then
8968 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'
8969 # Try to use the -exported_symbol ld option, if it does not
8970 # work, assume that -exports_file does not work either and
8971 # implicitly export all symbols.
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8978 if ac_fn_c_try_link "$LINENO"; then :
8979 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'
8982 rm -f core conftest.err conftest.$ac_objext \
8983 conftest$ac_exeext conftest.$ac_ext
8984 LDFLAGS="$save_LDFLAGS"
8986 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'
8987 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'
8989 archive_cmds_need_lc='no'
8990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8991 hardcode_libdir_separator=:
8993 link_all_deplibs=yes
8996 netbsd* | netbsdelf*-gnu)
8997 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8998 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9000 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9002 hardcode_libdir_flag_spec='-R$libdir'
9004 hardcode_shlibpath_var=no
9008 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9010 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9011 hardcode_libdir_separator=:
9012 hardcode_shlibpath_var=no
9019 if test -f /usr/libexec/ld.so; then
9021 hardcode_shlibpath_var=no
9022 hardcode_direct_absolute=yes
9023 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9024 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9025 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9026 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9027 export_dynamic_flag_spec='${wl}-E'
9030 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9031 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9032 hardcode_libdir_flag_spec='-R$libdir'
9035 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9036 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9046 hardcode_libdir_flag_spec='-L$libdir'
9047 hardcode_minus_L=yes
9048 allow_undefined_flag=unsupported
9049 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'
9050 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9054 if test "$GCC" = yes; then
9055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9056 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'
9058 allow_undefined_flag=' -expect_unresolved \*'
9059 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'
9061 archive_cmds_need_lc='no'
9062 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9063 hardcode_libdir_separator=:
9066 osf4* | osf5*) # as osf3* with the addition of -msym flag
9067 if test "$GCC" = yes; then
9068 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9069 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'
9070 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9072 allow_undefined_flag=' -expect_unresolved \*'
9073 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'
9074 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~
9075 $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'
9077 # Both c and cxx compiler support -rpath directly
9078 hardcode_libdir_flag_spec='-rpath $libdir'
9080 archive_cmds_need_lc='no'
9081 hardcode_libdir_separator=:
9085 no_undefined_flag=' -z defs'
9086 if test "$GCC" = yes; then
9088 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9090 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9092 case `$CC -V 2>&1` in
9095 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9096 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9097 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9101 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9102 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9103 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9107 hardcode_libdir_flag_spec='-R$libdir'
9108 hardcode_shlibpath_var=no
9110 solaris2.[0-5] | solaris2.[0-5].*) ;;
9112 # The compiler driver will combine and reorder linker options,
9113 # but understands `-z linker_flag'. GCC discards it without `$wl',
9114 # but is careful enough not to reorder.
9115 # Supported since Solaris 2.6 (maybe 2.5.1?)
9116 if test "$GCC" = yes; then
9117 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9119 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9123 link_all_deplibs=yes
9127 if test "x$host_vendor" = xsequent; then
9128 # Use $CC to link under sequent, because it throws in some extra .o
9129 # files that make .init and .fini sections work.
9130 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9134 hardcode_libdir_flag_spec='-L$libdir'
9136 hardcode_minus_L=yes
9137 hardcode_shlibpath_var=no
9141 case $host_vendor in
9143 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9144 hardcode_direct=yes # is this really true???
9147 ## LD is ld it makes a PLAMLIB
9148 ## CC just makes a GrossModule.
9149 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9150 reload_cmds='$CC -r -o $output$reload_objs'
9154 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9155 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9158 runpath_var='LD_RUN_PATH'
9159 hardcode_shlibpath_var=no
9163 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9164 hardcode_shlibpath_var=no
9165 export_dynamic_flag_spec='-Bexport'
9169 if test -d /usr/nec; then
9170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9171 hardcode_shlibpath_var=no
9172 runpath_var=LD_RUN_PATH
9173 hardcode_runpath_var=yes
9178 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9179 no_undefined_flag='${wl}-z,text'
9180 archive_cmds_need_lc=no
9181 hardcode_shlibpath_var=no
9182 runpath_var='LD_RUN_PATH'
9184 if test "$GCC" = yes; then
9185 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9189 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9193 sysv5* | sco3.2v5* | sco5v6*)
9194 # Note: We can NOT use -z defs as we might desire, because we do not
9195 # link with -lc, and that would cause any symbols used from libc to
9196 # always be unresolved, which means just about no library would
9197 # ever link correctly. If we're not using GNU ld we use -z text
9198 # though, which does catch some bad symbols but isn't as heavy-handed
9200 no_undefined_flag='${wl}-z,text'
9201 allow_undefined_flag='${wl}-z,nodefs'
9202 archive_cmds_need_lc=no
9203 hardcode_shlibpath_var=no
9204 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9205 hardcode_libdir_separator=':'
9206 link_all_deplibs=yes
9207 export_dynamic_flag_spec='${wl}-Bexport'
9208 runpath_var='LD_RUN_PATH'
9210 if test "$GCC" = yes; then
9211 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9212 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9214 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9215 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9220 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9221 hardcode_libdir_flag_spec='-L$libdir'
9222 hardcode_shlibpath_var=no
9230 if test x$host_vendor = xsni; then
9232 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9233 export_dynamic_flag_spec='${wl}-Blargedynsym'
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9240 $as_echo "$ld_shlibs" >&6; }
9241 test "$ld_shlibs" = no && can_build_shared=no
9243 with_gnu_ld=$with_gnu_ld
9260 # Do we need to explicitly link libc?
9262 case "x$archive_cmds_need_lc" in
9264 # Assume -lc should be added
9265 archive_cmds_need_lc=yes
9267 if test "$enable_shared" = yes && test "$GCC" = yes; then
9268 case $archive_cmds in
9270 # FIXME: we may have to deal with multi-command sequences.
9273 # Test whether the compiler implicitly links with -lc since on some
9274 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9275 # to ld, don't add -lc before -lgcc.
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9277 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9279 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9282 (eval $ac_compile) 2>&5
9284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9285 test $ac_status = 0; } 2>conftest.err; then
9288 libobjs=conftest.$ac_objext
9290 wl=$lt_prog_compiler_wl
9291 pic_flag=$lt_prog_compiler_pic
9297 lt_save_allow_undefined_flag=$allow_undefined_flag
9298 allow_undefined_flag=
9299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9300 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9303 test $ac_status = 0; }
9305 archive_cmds_need_lc=no
9307 archive_cmds_need_lc=yes
9309 allow_undefined_flag=$lt_save_allow_undefined_flag
9311 cat conftest.err 1>&5
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9315 $as_echo "$archive_cmds_need_lc" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9479 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9481 if test "$GCC" = yes; then
9483 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9484 *) lt_awk_arg="/^libraries:/" ;;
9486 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9487 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9488 # if the path contains ";" then we assume it to be the separator
9489 # otherwise default to the standard path separator (i.e. ":") - it is
9490 # assumed that no part of a normal pathname contains ";" but that should
9491 # okay in the real world where ";" in dirpaths is itself problematic.
9492 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9494 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9496 # Ok, now we have the path, separated by spaces, we can step through it
9497 # and add multilib dir if necessary.
9498 lt_tmp_lt_search_path_spec=
9499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9500 for lt_sys_path in $lt_search_path_spec; do
9501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9504 test -d "$lt_sys_path" && \
9505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9508 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9509 BEGIN {RS=" "; FS="/|\n";} {
9512 for (lt_i = NF; lt_i > 0; lt_i--) {
9513 if ($lt_i != "" && $lt_i != ".") {
9514 if ($lt_i == "..") {
9517 if (lt_count == 0) {
9518 lt_foo="/" $lt_i lt_foo;
9525 if (lt_foo != "") { lt_freq[lt_foo]++; }
9526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9528 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9530 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9533 libname_spec='lib$name'
9541 shlibpath_overrides_runpath=unknown
9543 dynamic_linker="$host_os ld.so"
9544 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9545 need_lib_prefix=unknown
9546 hardcode_into_libs=no
9548 # when you set need_version to no, make sure it does not cause -set_version
9549 # flags to be left without arguments
9550 need_version=unknown
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9556 shlibpath_var=LIBPATH
9558 # AIX 3 has no versioning support, so we append a major version to the name.
9559 soname_spec='${libname}${release}${shared_ext}$major'
9566 hardcode_into_libs=yes
9567 if test "$host_cpu" = ia64; then
9568 # AIX 5 supports IA64
9569 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9570 shlibpath_var=LD_LIBRARY_PATH
9572 # With GCC up to 2.95.x, collect2 would create an import file
9573 # for dependence libraries. The import file would start with
9574 # the line `#! .'. This would cause the generated library to
9575 # depend on `.', always an invalid library. This was fixed in
9576 # development snapshots of GCC prior to 3.0.
9578 aix4 | aix4.[01] | aix4.[01].*)
9579 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9581 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9588 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9589 # soname into executable. Probably we can add versioning support to
9590 # collect2, so additional links can be useful in future.
9591 if test "$aix_use_runtimelinking" = yes; then
9592 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9593 # instead of lib<name>.a to let people know that these are not
9594 # typical AIX shared libraries.
9595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597 # We preserve .a as extension for shared libraries through AIX4.2
9598 # and later when we are not doing run time linking.
9599 library_names_spec='${libname}${release}.a $libname.a'
9600 soname_spec='${libname}${release}${shared_ext}$major'
9602 shlibpath_var=LIBPATH
9609 # Since July 2007 AmigaOS4 officially supports .so libraries.
9610 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9614 library_names_spec='$libname.ixlibrary $libname.a'
9615 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9616 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'
9622 library_names_spec='${libname}${shared_ext}'
9623 dynamic_linker="$host_os ld.so"
9624 shlibpath_var=LIBRARY_PATH
9630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9631 soname_spec='${libname}${release}${shared_ext}$major'
9632 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9633 shlibpath_var=LD_LIBRARY_PATH
9634 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9635 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9636 # the default ld.so.conf also contains /usr/contrib/lib and
9637 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9638 # libtool to hard-code these into programs
9641 cygwin* | mingw* | pw32* | cegcc*)
9642 version_type=windows
9647 case $GCC,$host_os in
9648 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9649 library_names_spec='$libname.dll.a'
9650 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9651 postinstall_cmds='base_file=`basename \${file}`~
9652 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9653 dldir=$destdir/`dirname \$dlpath`~
9654 test -d \$dldir || mkdir -p \$dldir~
9655 $install_prog $dir/$dlname \$dldir/$dlname~
9656 chmod a+x \$dldir/$dlname~
9657 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9658 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9660 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9661 dlpath=$dir/\$dldll~
9663 shlibpath_overrides_runpath=yes
9667 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9668 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9669 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9672 # MinGW DLLs use traditional 'lib' prefix
9673 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9674 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9675 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9676 # It is most probably a Windows format PATH printed by
9677 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9678 # path with ; separators, and with drive letters. We can handle the
9679 # drive letters (cygwin fileutils understands them), so leave them,
9680 # especially as we might pass files found there to a mingw objdump,
9681 # which wouldn't understand a cygwinified path. Ahh.
9682 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9684 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9688 # pw32 DLLs use 'pw' prefix rather than 'lib'
9689 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9695 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9698 dynamic_linker='Win32 ld.exe'
9699 # FIXME: first we should search . and the directory the executable is in
9703 darwin* | rhapsody*)
9704 dynamic_linker="$host_os dyld"
9708 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9709 soname_spec='${libname}${release}${major}$shared_ext'
9710 shlibpath_overrides_runpath=yes
9711 shlibpath_var=DYLD_LIBRARY_PATH
9712 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9714 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9715 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9723 soname_spec='${libname}${release}${shared_ext}$major'
9724 shlibpath_var=LD_LIBRARY_PATH
9731 freebsd* | dragonfly*)
9732 # DragonFly does not have aout. When/if they implement a new
9733 # versioning mechanism, adjust this.
9734 if test -x /usr/bin/objformat; then
9735 objformat=`/usr/bin/objformat`
9738 freebsd[123]*) objformat=aout ;;
9742 version_type=freebsd-$objformat
9743 case $version_type in
9745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9750 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9754 shlibpath_var=LD_LIBRARY_PATH
9757 shlibpath_overrides_runpath=yes
9759 freebsd3.[01]* | freebsdelf3.[01]*)
9760 shlibpath_overrides_runpath=yes
9761 hardcode_into_libs=yes
9763 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9764 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9765 shlibpath_overrides_runpath=no
9766 hardcode_into_libs=yes
9768 *) # from 4.6 on, and DragonFly
9769 shlibpath_overrides_runpath=yes
9770 hardcode_into_libs=yes
9779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9780 soname_spec='${libname}${release}${shared_ext}$major'
9781 shlibpath_var=LD_LIBRARY_PATH
9782 hardcode_into_libs=yes
9785 hpux9* | hpux10* | hpux11*)
9786 # Give a soname corresponding to the major version so that dld.sl refuses to
9787 # link against other versions.
9794 hardcode_into_libs=yes
9795 dynamic_linker="$host_os dld.so"
9796 shlibpath_var=LD_LIBRARY_PATH
9797 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9799 soname_spec='${libname}${release}${shared_ext}$major'
9800 if test "X$HPUX_IA64_MODE" = X32; then
9801 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9803 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9805 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9809 hardcode_into_libs=yes
9810 dynamic_linker="$host_os dld.sl"
9811 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9814 soname_spec='${libname}${release}${shared_ext}$major'
9815 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9816 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9820 dynamic_linker="$host_os dld.sl"
9821 shlibpath_var=SHLIB_PATH
9822 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9824 soname_spec='${libname}${release}${shared_ext}$major'
9827 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9828 postinstall_cmds='chmod 555 $lib'
9835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9836 soname_spec='${libname}${release}${shared_ext}$major'
9837 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9838 shlibpath_var=LD_LIBRARY_PATH
9839 shlibpath_overrides_runpath=no
9840 hardcode_into_libs=yes
9843 irix5* | irix6* | nonstopux*)
9845 nonstopux*) version_type=nonstopux ;;
9847 if test "$lt_cv_prog_gnu_ld" = yes; then
9855 soname_spec='${libname}${release}${shared_ext}$major'
9856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9858 irix5* | nonstopux*)
9862 case $LD in # libtool.m4 will add one of these switches to LD
9863 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9864 libsuff= shlibsuff= libmagic=32-bit;;
9865 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9866 libsuff=32 shlibsuff=N32 libmagic=N32;;
9867 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9868 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9869 *) libsuff= shlibsuff= libmagic=never-match;;
9873 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9874 shlibpath_overrides_runpath=no
9875 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9876 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9877 hardcode_into_libs=yes
9880 # No shared lib support for Linux oldld, aout, or coff.
9881 linux*oldld* | linux*aout* | linux*coff*)
9885 # This must be Linux ELF.
9886 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9891 soname_spec='${libname}${release}${shared_ext}$major'
9892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9893 shlibpath_var=LD_LIBRARY_PATH
9894 shlibpath_overrides_runpath=no
9895 # Some binutils ld are patched to set DT_RUNPATH
9896 save_LDFLAGS=$LDFLAGS
9898 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9899 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9913 shlibpath_overrides_runpath=yes
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LDFLAGS=$save_LDFLAGS
9921 # This implies no fast_install, which is unacceptable.
9922 # Some rework will be needed to allow for fast_install
9923 # before this can be enabled.
9924 hardcode_into_libs=yes
9926 # Append ld.so.conf contents to the search path
9927 if test -f /etc/ld.so.conf; then
9928 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' ' '`
9929 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9932 # We used to test for /lib/ld.so.1 and disable shared libraries on
9933 # powerpc, because MkLinux only supported shared libraries with the
9934 # GNU dynamic linker. Since this was broken with cross compilers,
9935 # most powerpc-linux boxes support dynamic linking these days and
9936 # people can always --disable-shared, the test was removed, and we
9937 # assume the GNU/Linux dynamic linker is in use.
9938 dynamic_linker='GNU/Linux ld.so'
9945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9946 soname_spec='${libname}${release}${shared_ext}$major'
9947 shlibpath_var=LD_LIBRARY_PATH
9948 shlibpath_overrides_runpath=no
9949 hardcode_into_libs=yes
9950 dynamic_linker='NetBSD ld.elf_so'
9957 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9960 dynamic_linker='NetBSD (a.out) ld.so'
9962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9963 soname_spec='${libname}${release}${shared_ext}$major'
9964 dynamic_linker='NetBSD ld.elf_so'
9966 shlibpath_var=LD_LIBRARY_PATH
9967 shlibpath_overrides_runpath=yes
9968 hardcode_into_libs=yes
9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9974 shlibpath_var=LD_LIBRARY_PATH
9975 shlibpath_overrides_runpath=yes
9982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9983 soname_spec='${libname}${release}${shared_ext}$major'
9984 shlibpath_var=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath=no
9986 hardcode_into_libs=yes
9987 dynamic_linker='ldqnx.so'
9992 sys_lib_dlsearch_path_spec="/usr/lib"
9994 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9996 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9997 *) need_version=no ;;
9999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10000 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10001 shlibpath_var=LD_LIBRARY_PATH
10002 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10004 openbsd2.[89] | openbsd2.[89].*)
10005 shlibpath_overrides_runpath=no
10008 shlibpath_overrides_runpath=yes
10012 shlibpath_overrides_runpath=yes
10017 libname_spec='$name'
10020 library_names_spec='$libname${shared_ext} $libname.a'
10021 dynamic_linker='OS/2 ld.exe'
10022 shlibpath_var=LIBPATH
10025 osf3* | osf4* | osf5*)
10029 soname_spec='${libname}${release}${shared_ext}$major'
10030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10031 shlibpath_var=LD_LIBRARY_PATH
10032 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10033 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10045 soname_spec='${libname}${release}${shared_ext}$major'
10046 shlibpath_var=LD_LIBRARY_PATH
10047 shlibpath_overrides_runpath=yes
10048 hardcode_into_libs=yes
10049 # ldd complains unless libraries are executable
10050 postinstall_cmds='chmod +x $lib'
10055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10056 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10057 shlibpath_var=LD_LIBRARY_PATH
10058 shlibpath_overrides_runpath=yes
10059 if test "$with_gnu_ld" = yes; then
10067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10068 soname_spec='${libname}${release}${shared_ext}$major'
10069 shlibpath_var=LD_LIBRARY_PATH
10070 case $host_vendor in
10072 shlibpath_overrides_runpath=no
10074 runpath_var=LD_RUN_PATH
10082 shlibpath_overrides_runpath=no
10083 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10089 if test -d /usr/nec ;then
10091 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10092 soname_spec='$libname${shared_ext}.$major'
10093 shlibpath_var=LD_LIBRARY_PATH
10097 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10098 version_type=freebsd-elf
10101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10102 soname_spec='${libname}${release}${shared_ext}$major'
10103 shlibpath_var=LD_LIBRARY_PATH
10104 shlibpath_overrides_runpath=yes
10105 hardcode_into_libs=yes
10106 if test "$with_gnu_ld" = yes; then
10107 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10109 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10112 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10116 sys_lib_dlsearch_path_spec='/usr/lib'
10120 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125 shlibpath_var=LD_LIBRARY_PATH
10126 shlibpath_overrides_runpath=no
10127 hardcode_into_libs=yes
10132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10133 soname_spec='${libname}${release}${shared_ext}$major'
10134 shlibpath_var=LD_LIBRARY_PATH
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10142 $as_echo "$dynamic_linker" >&6; }
10143 test "$dynamic_linker" = no && can_build_shared=no
10145 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10146 if test "$GCC" = yes; then
10147 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10150 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10151 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10153 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10154 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10244 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10246 if test -n "$hardcode_libdir_flag_spec" ||
10247 test -n "$runpath_var" ||
10248 test "X$hardcode_automatic" = "Xyes" ; then
10250 # We can hardcode non-existent directories.
10251 if test "$hardcode_direct" != no &&
10252 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10253 # have to relink, otherwise we might link with an installed library
10254 # when we should be linking with a yet-to-be-installed one
10255 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10256 test "$hardcode_minus_L" != no; then
10257 # Linking always hardcodes the temporary library directory.
10258 hardcode_action=relink
10260 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10261 hardcode_action=immediate
10264 # We cannot hardcode anything, or else we can only hardcode existing
10266 hardcode_action=unsupported
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10269 $as_echo "$hardcode_action" >&6; }
10271 if test "$hardcode_action" = relink ||
10272 test "$inherit_rpath" = yes; then
10273 # Fast installation is not supported
10274 enable_fast_install=no
10275 elif test "$shlibpath_overrides_runpath" = yes ||
10276 test "$enable_shared" = no; then
10277 # Fast installation is not necessary
10278 enable_fast_install=needless
10286 if test "x$enable_dlopen" != xyes; then
10287 enable_dlopen=unknown
10288 enable_dlopen_self=unknown
10289 enable_dlopen_self_static=unknown
10296 lt_cv_dlopen="load_add_on"
10298 lt_cv_dlopen_self=yes
10301 mingw* | pw32* | cegcc*)
10302 lt_cv_dlopen="LoadLibrary"
10307 lt_cv_dlopen="dlopen"
10312 # if libdl is installed we need to link against it
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10314 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10315 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10316 $as_echo_n "(cached) " >&6
10318 ac_check_lib_save_LIBS=$LIBS
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10323 /* Override any GCC internal prototype to avoid an error.
10324 Use char because int might match the return type of a GCC
10325 builtin and then its argument prototype would still apply. */
10338 if ac_fn_c_try_link "$LINENO"; then :
10339 ac_cv_lib_dl_dlopen=yes
10341 ac_cv_lib_dl_dlopen=no
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_lib_save_LIBS
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10348 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10349 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10350 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10353 lt_cv_dlopen="dyld"
10355 lt_cv_dlopen_self=yes
10362 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10363 if test "x$ac_cv_func_shl_load" = x""yes; then :
10364 lt_cv_dlopen="shl_load"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10367 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10368 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10369 $as_echo_n "(cached) " >&6
10371 ac_check_lib_save_LIBS=$LIBS
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10386 return shl_load ();
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 ac_cv_lib_dld_shl_load=yes
10394 ac_cv_lib_dld_shl_load=no
10396 rm -f core conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10398 LIBS=$ac_check_lib_save_LIBS
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10401 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10402 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10403 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10405 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10406 if test "x$ac_cv_func_dlopen" = x""yes; then :
10407 lt_cv_dlopen="dlopen"
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10410 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10411 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10412 $as_echo_n "(cached) " >&6
10414 ac_check_lib_save_LIBS=$LIBS
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10419 /* Override any GCC internal prototype to avoid an error.
10420 Use char because int might match the return type of a GCC
10421 builtin and then its argument prototype would still apply. */
10434 if ac_fn_c_try_link "$LINENO"; then :
10435 ac_cv_lib_dl_dlopen=yes
10437 ac_cv_lib_dl_dlopen=no
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_lib_save_LIBS
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10444 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10445 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10446 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10449 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10450 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10451 $as_echo_n "(cached) " >&6
10453 ac_check_lib_save_LIBS=$LIBS
10454 LIBS="-lsvld $LIBS"
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_lib_svld_dlopen=yes
10476 ac_cv_lib_svld_dlopen=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_lib_save_LIBS
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10483 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10484 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10485 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10488 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10489 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10490 $as_echo_n "(cached) " >&6
10492 ac_check_lib_save_LIBS=$LIBS
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10507 return dld_link ();
10512 if ac_fn_c_try_link "$LINENO"; then :
10513 ac_cv_lib_dld_dld_link=yes
10515 ac_cv_lib_dld_dld_link=no
10517 rm -f core conftest.err conftest.$ac_objext \
10518 conftest$ac_exeext conftest.$ac_ext
10519 LIBS=$ac_check_lib_save_LIBS
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10522 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10523 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10524 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10545 if test "x$lt_cv_dlopen" != xno; then
10551 case $lt_cv_dlopen in
10553 save_CPPFLAGS="$CPPFLAGS"
10554 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10556 save_LDFLAGS="$LDFLAGS"
10557 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10560 LIBS="$lt_cv_dlopen_libs $LIBS"
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10563 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10564 if test "${lt_cv_dlopen_self+set}" = set; then :
10565 $as_echo_n "(cached) " >&6
10567 if test "$cross_compiling" = yes; then :
10568 lt_cv_dlopen_self=cross
10570 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10571 lt_status=$lt_dlunknown
10572 cat > conftest.$ac_ext <<_LT_EOF
10573 #line 10573 "configure"
10574 #include "confdefs.h"
10583 # define LT_DLGLOBAL RTLD_GLOBAL
10586 # define LT_DLGLOBAL DL_GLOBAL
10588 # define LT_DLGLOBAL 0
10592 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10593 find out it does not work in some platform. */
10594 #ifndef LT_DLLAZY_OR_NOW
10596 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10599 # define LT_DLLAZY_OR_NOW DL_LAZY
10602 # define LT_DLLAZY_OR_NOW RTLD_NOW
10605 # define LT_DLLAZY_OR_NOW DL_NOW
10607 # define LT_DLLAZY_OR_NOW 0
10614 void fnord() { int i=42;}
10617 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10618 int status = $lt_dlunknown;
10622 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10623 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10624 /* dlclose (self); */
10632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10633 (eval $ac_link) 2>&5
10635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10636 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10637 (./conftest; exit; ) >&5 2>/dev/null
10639 case x$lt_status in
10640 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10641 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10642 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10645 # compilation failed
10646 lt_cv_dlopen_self=no
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10654 $as_echo "$lt_cv_dlopen_self" >&6; }
10656 if test "x$lt_cv_dlopen_self" = xyes; then
10657 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10659 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10660 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10661 $as_echo_n "(cached) " >&6
10663 if test "$cross_compiling" = yes; then :
10664 lt_cv_dlopen_self_static=cross
10666 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10667 lt_status=$lt_dlunknown
10668 cat > conftest.$ac_ext <<_LT_EOF
10669 #line 10669 "configure"
10670 #include "confdefs.h"
10679 # define LT_DLGLOBAL RTLD_GLOBAL
10682 # define LT_DLGLOBAL DL_GLOBAL
10684 # define LT_DLGLOBAL 0
10688 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10689 find out it does not work in some platform. */
10690 #ifndef LT_DLLAZY_OR_NOW
10692 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10695 # define LT_DLLAZY_OR_NOW DL_LAZY
10698 # define LT_DLLAZY_OR_NOW RTLD_NOW
10701 # define LT_DLLAZY_OR_NOW DL_NOW
10703 # define LT_DLLAZY_OR_NOW 0
10710 void fnord() { int i=42;}
10713 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10714 int status = $lt_dlunknown;
10718 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10719 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10720 /* dlclose (self); */
10728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10729 (eval $ac_link) 2>&5
10731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10732 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10733 (./conftest; exit; ) >&5 2>/dev/null
10735 case x$lt_status in
10736 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10737 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10738 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10741 # compilation failed
10742 lt_cv_dlopen_self_static=no
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10750 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10753 CPPFLAGS="$save_CPPFLAGS"
10754 LDFLAGS="$save_LDFLAGS"
10759 case $lt_cv_dlopen_self in
10760 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10761 *) enable_dlopen_self=unknown ;;
10764 case $lt_cv_dlopen_self_static in
10765 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10766 *) enable_dlopen_self_static=unknown ;;
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10789 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10790 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10791 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10792 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10794 $as_echo "yes" >&6; }
10796 # FIXME - insert some real tests, host_os isn't really good enough
10799 if test -n "$STRIP" ; then
10800 striplib="$STRIP -x"
10801 old_striplib="$STRIP -S"
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10803 $as_echo "yes" >&6; }
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10806 $as_echo "no" >&6; }
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10811 $as_echo "no" >&6; }
10827 # Report which library types will actually be built
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10829 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10831 $as_echo "$can_build_shared" >&6; }
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10834 $as_echo_n "checking whether to build shared libraries... " >&6; }
10835 test "$can_build_shared" = "no" && enable_shared=no
10837 # On AIX, shared libraries and static libraries use the same namespace, and
10838 # are all built from PIC.
10841 test "$enable_shared" = yes && enable_static=no
10842 if test -n "$RANLIB"; then
10843 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10844 postinstall_cmds='$RANLIB $lib'
10849 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10850 test "$enable_shared" = yes && enable_static=no
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10855 $as_echo "$enable_shared" >&6; }
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10858 $as_echo_n "checking whether to build static libraries... " >&6; }
10859 # Make sure either enable_shared or enable_static is yes.
10860 test "$enable_shared" = yes || enable_static=yes
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10862 $as_echo "$enable_static" >&6; }
10869 ac_cpp='$CPP $CPPFLAGS'
10870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10888 ac_config_commands="$ac_config_commands libtool"
10893 # Only expand once:
10904 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10905 if test -n "$ac_tool_prefix"; then
10906 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10907 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10909 $as_echo_n "checking for $ac_word... " >&6; }
10910 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10911 $as_echo_n "(cached) " >&6
10913 case $PKG_CONFIG in
10915 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10925 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10936 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10937 if test -n "$PKG_CONFIG"; then
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10939 $as_echo "$PKG_CONFIG" >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10942 $as_echo "no" >&6; }
10947 if test -z "$ac_cv_path_PKG_CONFIG"; then
10948 ac_pt_PKG_CONFIG=$PKG_CONFIG
10949 # Extract the first word of "pkg-config", so it can be a program name with args.
10950 set dummy pkg-config; ac_word=$2
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10952 $as_echo_n "checking for $ac_word... " >&6; }
10953 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10954 $as_echo_n "(cached) " >&6
10956 case $ac_pt_PKG_CONFIG in
10958 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10962 for as_dir in $PATH
10965 test -z "$as_dir" && as_dir=.
10966 for ac_exec_ext in '' $ac_executable_extensions; do
10967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10968 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10979 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10980 if test -n "$ac_pt_PKG_CONFIG"; then
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10982 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10985 $as_echo "no" >&6; }
10988 if test "x$ac_pt_PKG_CONFIG" = x; then
10991 case $cross_compiling:$ac_tool_warned in
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10995 ac_tool_warned=yes ;;
10997 PKG_CONFIG=$ac_pt_PKG_CONFIG
11000 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11004 if test -n "$PKG_CONFIG"; then
11005 _pkg_min_version=0.24
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11007 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11008 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11010 $as_echo "yes" >&6; }
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11013 $as_echo "no" >&6; }
11024 SERVER_IPC_MODULE="msrpc-glib2-1.0"
11025 CLIENT_IPC_MODULE="msrpc-mingw-1.0"
11029 SERVER_IPC_MODULE="dbus-glib-1"
11030 CLIENT_IPC_MODULE="dbus-glib-1"
11034 if test "$win32" != "yes"; then
11042 if test "$win32" = "yes"; then
11050 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
11052 IPC_MSRPC_FALSE='#'
11058 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
11067 # Checks for programs.
11069 ac_cpp='$CPP $CPPFLAGS'
11070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11073 if test -n "$ac_tool_prefix"; then
11074 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11075 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11077 $as_echo_n "checking for $ac_word... " >&6; }
11078 if test "${ac_cv_prog_CC+set}" = set; then :
11079 $as_echo_n "(cached) " >&6
11081 if test -n "$CC"; then
11082 ac_cv_prog_CC="$CC" # Let the user override the test.
11084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11085 for as_dir in $PATH
11088 test -z "$as_dir" && as_dir=.
11089 for ac_exec_ext in '' $ac_executable_extensions; do
11090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11091 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11102 if test -n "$CC"; then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11104 $as_echo "$CC" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11107 $as_echo "no" >&6; }
11112 if test -z "$ac_cv_prog_CC"; then
11114 # Extract the first word of "gcc", so it can be a program name with args.
11115 set dummy gcc; ac_word=$2
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11117 $as_echo_n "checking for $ac_word... " >&6; }
11118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11119 $as_echo_n "(cached) " >&6
11121 if test -n "$ac_ct_CC"; then
11122 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11125 for as_dir in $PATH
11128 test -z "$as_dir" && as_dir=.
11129 for ac_exec_ext in '' $ac_executable_extensions; do
11130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11131 ac_cv_prog_ac_ct_CC="gcc"
11132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11141 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11142 if test -n "$ac_ct_CC"; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11144 $as_echo "$ac_ct_CC" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11147 $as_echo "no" >&6; }
11150 if test "x$ac_ct_CC" = x; then
11153 case $cross_compiling:$ac_tool_warned in
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11157 ac_tool_warned=yes ;;
11162 CC="$ac_cv_prog_CC"
11165 if test -z "$CC"; then
11166 if test -n "$ac_tool_prefix"; then
11167 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11168 set dummy ${ac_tool_prefix}cc; ac_word=$2
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11170 $as_echo_n "checking for $ac_word... " >&6; }
11171 if test "${ac_cv_prog_CC+set}" = set; then :
11172 $as_echo_n "(cached) " >&6
11174 if test -n "$CC"; then
11175 ac_cv_prog_CC="$CC" # Let the user override the test.
11177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11178 for as_dir in $PATH
11181 test -z "$as_dir" && as_dir=.
11182 for ac_exec_ext in '' $ac_executable_extensions; do
11183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11184 ac_cv_prog_CC="${ac_tool_prefix}cc"
11185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11195 if test -n "$CC"; then
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11197 $as_echo "$CC" >&6; }
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11200 $as_echo "no" >&6; }
11206 if test -z "$CC"; then
11207 # Extract the first word of "cc", so it can be a program name with args.
11208 set dummy cc; ac_word=$2
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11210 $as_echo_n "checking for $ac_word... " >&6; }
11211 if test "${ac_cv_prog_CC+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11214 if test -n "$CC"; then
11215 ac_cv_prog_CC="$CC" # Let the user override the test.
11217 ac_prog_rejected=no
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11225 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11226 ac_prog_rejected=yes
11230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11237 if test $ac_prog_rejected = yes; then
11238 # We found a bogon in the path, so make sure we never use it.
11239 set dummy $ac_cv_prog_CC
11241 if test $# != 0; then
11242 # We chose a different compiler from the bogus one.
11243 # However, it has the same basename, so the bogon will be chosen
11244 # first if we set CC to just the basename; use the full file name.
11246 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11252 if test -n "$CC"; then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11254 $as_echo "$CC" >&6; }
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11257 $as_echo "no" >&6; }
11262 if test -z "$CC"; then
11263 if test -n "$ac_tool_prefix"; then
11264 for ac_prog in cl.exe
11266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11269 $as_echo_n "checking for $ac_word... " >&6; }
11270 if test "${ac_cv_prog_CC+set}" = set; then :
11271 $as_echo_n "(cached) " >&6
11273 if test -n "$CC"; then
11274 ac_cv_prog_CC="$CC" # Let the user override the test.
11276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11277 for as_dir in $PATH
11280 test -z "$as_dir" && as_dir=.
11281 for ac_exec_ext in '' $ac_executable_extensions; do
11282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11283 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11294 if test -n "$CC"; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11296 $as_echo "$CC" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11299 $as_echo "no" >&6; }
11303 test -n "$CC" && break
11306 if test -z "$CC"; then
11308 for ac_prog in cl.exe
11310 # Extract the first word of "$ac_prog", so it can be a program name with args.
11311 set dummy $ac_prog; ac_word=$2
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11313 $as_echo_n "checking for $ac_word... " >&6; }
11314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11315 $as_echo_n "(cached) " >&6
11317 if test -n "$ac_ct_CC"; then
11318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11321 for as_dir in $PATH
11324 test -z "$as_dir" && as_dir=.
11325 for ac_exec_ext in '' $ac_executable_extensions; do
11326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11327 ac_cv_prog_ac_ct_CC="$ac_prog"
11328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11338 if test -n "$ac_ct_CC"; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11340 $as_echo "$ac_ct_CC" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11347 test -n "$ac_ct_CC" && break
11350 if test "x$ac_ct_CC" = x; then
11353 case $cross_compiling:$ac_tool_warned in
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11357 ac_tool_warned=yes ;;
11366 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11368 as_fn_error $? "no acceptable C compiler found in \$PATH
11369 See \`config.log' for more details" "$LINENO" 5 ; }
11371 # Provide some information about the compiler.
11372 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11375 for ac_option in --version -v -V -qversion; do
11376 { { ac_try="$ac_compiler $ac_option >&5"
11377 case "(($ac_try" in
11378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379 *) ac_try_echo=$ac_try;;
11381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11382 $as_echo "$ac_try_echo"; } >&5
11383 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11385 if test -s conftest.err; then
11387 ... rest of stderr output deleted ...
11388 10q' conftest.err >conftest.er1
11389 cat conftest.er1 >&5
11391 rm -f conftest.er1 conftest.err
11392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11393 test $ac_status = 0; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11397 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11398 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11399 $as_echo_n "(cached) " >&6
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11415 if ac_fn_c_try_compile "$LINENO"; then :
11416 ac_compiler_gnu=yes
11420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11425 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11426 if test $ac_compiler_gnu = yes; then
11431 ac_test_CFLAGS=${CFLAGS+set}
11432 ac_save_CFLAGS=$CFLAGS
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11434 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11435 if test "${ac_cv_prog_cc_g+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11438 ac_save_c_werror_flag=$ac_c_werror_flag
11439 ac_c_werror_flag=yes
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11453 if ac_fn_c_try_compile "$LINENO"; then :
11454 ac_cv_prog_cc_g=yes
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11468 if ac_fn_c_try_compile "$LINENO"; then :
11471 ac_c_werror_flag=$ac_save_c_werror_flag
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11484 if ac_fn_c_try_compile "$LINENO"; then :
11485 ac_cv_prog_cc_g=yes
11487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11492 ac_c_werror_flag=$ac_save_c_werror_flag
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11495 $as_echo "$ac_cv_prog_cc_g" >&6; }
11496 if test "$ac_test_CFLAGS" = set; then
11497 CFLAGS=$ac_save_CFLAGS
11498 elif test $ac_cv_prog_cc_g = yes; then
11499 if test "$GCC" = yes; then
11505 if test "$GCC" = yes; then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11512 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11513 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11516 ac_cv_prog_cc_c89=no
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520 #include <stdarg.h>
11522 #include <sys/types.h>
11523 #include <sys/stat.h>
11524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11525 struct buf { int x; };
11526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11527 static char *e (p, i)
11533 static char *f (char * (*g) (char **, int), char **p, ...)
11538 s = g (p, va_arg (v,int));
11543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11544 function prototypes and stuff, but not '\xHH' hex character constants.
11545 These don't provoke an error unfortunately, instead are silently treated
11546 as 'x'. The following induces an error, until -std is added to get
11547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11548 array size at least. It's necessary to write '\x00'==0 to get something
11549 that's true only with -std. */
11550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11553 inside strings and character constants. */
11555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11557 int test (int i, double x);
11558 struct s1 {int (*f) (int a);};
11559 struct s2 {int (*f) (double a);};
11560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11574 CC="$ac_save_CC $ac_arg"
11575 if ac_fn_c_try_compile "$LINENO"; then :
11576 ac_cv_prog_cc_c89=$ac_arg
11578 rm -f core conftest.err conftest.$ac_objext
11579 test "x$ac_cv_prog_cc_c89" != "xno" && break
11581 rm -f conftest.$ac_ext
11586 case "x$ac_cv_prog_cc_c89" in
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11589 $as_echo "none needed" >&6; } ;;
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11592 $as_echo "unsupported" >&6; } ;;
11594 CC="$CC $ac_cv_prog_cc_c89"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11596 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11598 if test "x$ac_cv_prog_cc_c89" != xno; then :
11603 ac_cpp='$CPP $CPPFLAGS'
11604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11608 depcc="$CC" am_compiler_list=
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11611 $as_echo_n "checking dependency style of $depcc... " >&6; }
11612 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11613 $as_echo_n "(cached) " >&6
11615 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11616 # We make a subdir and do the tests there. Otherwise we can end up
11617 # making bogus files that we don't know about and never remove. For
11618 # instance it was reported that on HP-UX the gcc test will end up
11619 # making a dummy file named `D' -- because `-MD' means `put the output
11622 # Copy depcomp to subdir because otherwise we won't find it if we're
11623 # using a relative directory.
11624 cp "$am_depcomp" conftest.dir
11626 # We will build objects and dependencies in a subdirectory because
11627 # it helps to detect inapplicable dependency modes. For instance
11628 # both Tru64's cc and ICC support -MD to output dependencies as a
11629 # side effect of compilation, but ICC will put the dependencies in
11630 # the current directory while Tru64 will put them in the object
11634 am_cv_CC_dependencies_compiler_type=none
11635 if test "$am_compiler_list" = ""; then
11636 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11638 am__universal=false
11639 case " $depcc " in #(
11640 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11643 for depmode in $am_compiler_list; do
11644 # Setup a source with many dependencies, because some compilers
11645 # like to wrap large dependency lists on column 80 (with \), and
11646 # we should not choose a depcomp mode which is confused by this.
11648 # We need to recreate these files for each test, as the compiler may
11649 # overwrite some of them when testing with obscure command lines.
11650 # This happens at least with the AIX C compiler.
11652 for i in 1 2 3 4 5 6; do
11653 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11654 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11655 # Solaris 8's {/usr,}/bin/sh.
11656 touch sub/conftst$i.h
11658 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11660 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11661 # mode. It turns out that the SunPro C++ compiler does not properly
11662 # handle `-M -o', and we need to detect this. Also, some Intel
11663 # versions had trouble with output in subdirs
11664 am__obj=sub/conftest.${OBJEXT-o}
11665 am__minus_obj="-o $am__obj"
11668 # This depmode causes a compiler race in universal mode.
11669 test "$am__universal" = false || continue
11672 # after this tag, mechanisms are not by side-effect, so they'll
11673 # only be used when explicitly requested
11674 if test "x$enable_dependency_tracking" = xyes; then
11680 msvisualcpp | msvcmsys)
11681 # This compiler won't grok `-c -o', but also, the minuso test has
11682 # not run yet. These depmodes are late enough in the game, and
11683 # so weak that their functioning should not be impacted.
11684 am__obj=conftest.${OBJEXT-o}
11689 if depmode=$depmode \
11690 source=sub/conftest.c object=$am__obj \
11691 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11692 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11693 >/dev/null 2>conftest.err &&
11694 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11695 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11696 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11697 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11698 # icc doesn't choke on unknown options, it will just issue warnings
11699 # or remarks (even with -Werror). So we grep stderr for any message
11700 # that says an option was ignored or not supported.
11701 # When given -MP, icc 7.0 and 7.1 complain thusly:
11702 # icc: Command line warning: ignoring option '-M'; no argument required
11703 # The diagnosis changed in icc 8.0:
11704 # icc: Command line remark: option '-MP' not supported
11705 if (grep 'ignoring option' conftest.err ||
11706 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11707 am_cv_CC_dependencies_compiler_type=$depmode
11714 rm -rf conftest.dir
11716 am_cv_CC_dependencies_compiler_type=none
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11721 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11722 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11725 test "x$enable_dependency_tracking" != xno \
11726 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11727 am__fastdepCC_TRUE=
11728 am__fastdepCC_FALSE='#'
11730 am__fastdepCC_TRUE='#'
11731 am__fastdepCC_FALSE=
11735 if test "x$CC" != xcc; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11737 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11740 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11742 set dummy $CC; ac_cc=`$as_echo "$2" |
11743 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11744 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11745 $as_echo_n "(cached) " >&6
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11758 # Make sure it works both with $CC and with simple cc.
11759 # We do the test twice because some compilers refuse to overwrite an
11760 # existing .o file with -o, though they will create one.
11761 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11763 if { { case "(($ac_try" in
11764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11765 *) ac_try_echo=$ac_try;;
11767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11768 $as_echo "$ac_try_echo"; } >&5
11769 (eval "$ac_try") 2>&5
11771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11772 test $ac_status = 0; } &&
11773 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11775 *) ac_try_echo=$ac_try;;
11777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11778 $as_echo "$ac_try_echo"; } >&5
11779 (eval "$ac_try") 2>&5
11781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11782 test $ac_status = 0; };
11784 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11785 if test "x$CC" != xcc; then
11786 # Test first that cc exists at all.
11787 if { ac_try='cc -c conftest.$ac_ext >&5'
11788 { { case "(($ac_try" in
11789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11790 *) ac_try_echo=$ac_try;;
11792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11793 $as_echo "$ac_try_echo"; } >&5
11794 (eval "$ac_try") 2>&5
11796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11797 test $ac_status = 0; }; }; then
11798 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11800 if { { case "(($ac_try" in
11801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11802 *) ac_try_echo=$ac_try;;
11804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11805 $as_echo "$ac_try_echo"; } >&5
11806 (eval "$ac_try") 2>&5
11808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11809 test $ac_status = 0; } &&
11810 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11812 *) ac_try_echo=$ac_try;;
11814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11815 $as_echo "$ac_try_echo"; } >&5
11816 (eval "$ac_try") 2>&5
11818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11819 test $ac_status = 0; };
11824 # cc exists but doesn't like -o.
11825 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11830 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11832 rm -f core conftest*
11835 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11837 $as_echo "yes" >&6; }
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11842 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11846 # FIXME: we rely on the cache variable name because
11847 # there is no other way.
11849 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11850 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11851 if test "$am_t" != yes; then
11852 # Losing compiler, so override with the script.
11853 # FIXME: It is wrong to rewrite CC.
11854 # But if we don't then we get into trouble of one sort or another.
11855 # A longer-term fix would be to have automake use am__CC in this case,
11856 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11857 CC="$am_aux_dir/compile $CC"
11861 # Extract the first word of "valac", so it can be a program name with args.
11862 set dummy valac; ac_word=$2
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11864 $as_echo_n "checking for $ac_word... " >&6; }
11865 if test "${ac_cv_path_VALAC+set}" = set; then :
11866 $as_echo_n "(cached) " >&6
11870 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11877 test -z "$as_dir" && as_dir=.
11878 for ac_exec_ext in '' $ac_executable_extensions; do
11879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11880 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 VALAC=$ac_cv_path_VALAC
11892 if test -n "$VALAC"; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11894 $as_echo "$VALAC" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11901 if test -z "$VALAC"; then :
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
11903 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
11905 if test -n "0.9"; then :
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.9" >&5
11907 $as_echo_n "checking $VALAC is at least version 0.9... " >&6; }
11908 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
11910 as_arg_v2="$am__vala_version"
11911 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11915 $as_echo "yes" >&6; } ;; #(
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11918 $as_echo "yes" >&6; } ;; #(
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11922 as_fn_error $? "Vala 0.9 not found." "$LINENO" 5 ;; #(
11930 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
11933 pkg_config_args="msrpc-mingw-1.0"
11942 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11943 if test -n "$ac_tool_prefix"; then
11944 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11945 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947 $as_echo_n "checking for $ac_word... " >&6; }
11948 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11949 $as_echo_n "(cached) " >&6
11951 case $PKG_CONFIG in
11953 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11960 test -z "$as_dir" && as_dir=.
11961 for ac_exec_ext in '' $ac_executable_extensions; do
11962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11974 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11975 if test -n "$PKG_CONFIG"; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11977 $as_echo "$PKG_CONFIG" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11980 $as_echo "no" >&6; }
11985 if test -z "$ac_cv_path_PKG_CONFIG"; then
11986 ac_pt_PKG_CONFIG=$PKG_CONFIG
11987 # Extract the first word of "pkg-config", so it can be a program name with args.
11988 set dummy pkg-config; ac_word=$2
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11990 $as_echo_n "checking for $ac_word... " >&6; }
11991 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11992 $as_echo_n "(cached) " >&6
11994 case $ac_pt_PKG_CONFIG in
11996 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12000 for as_dir in $PATH
12003 test -z "$as_dir" && as_dir=.
12004 for ac_exec_ext in '' $ac_executable_extensions; do
12005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12006 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12017 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12018 if test -n "$ac_pt_PKG_CONFIG"; then
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12020 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12023 $as_echo "no" >&6; }
12026 if test "x$ac_pt_PKG_CONFIG" = x; then
12029 case $cross_compiling:$ac_tool_warned in
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12033 ac_tool_warned=yes ;;
12035 PKG_CONFIG=$ac_pt_PKG_CONFIG
12038 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12042 if test -n "$PKG_CONFIG"; then
12043 _pkg_min_version=0.16
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12045 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12046 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12048 $as_echo "yes" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12051 $as_echo "no" >&6; }
12058 if test "x$PKG_CONFIG" = x ; then
12063 min_msrpc_mingw_version=0.1.0
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
12065 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
12067 if test x$PKG_CONFIG != xno ; then
12068 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12069 echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
12072 if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
12079 if test x"$no_msrpc" = x ; then
12080 MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
12081 MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
12082 MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
12085 if test "x$no_msrpc" = x ; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12087 $as_echo "yes" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12091 $as_echo "no" >&6; }
12092 if test "$PKG_CONFIG" = "no" ; then
12093 echo "*** A new enough version of pkg-config was not found."
12094 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
12102 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
12109 # Extract the first word of "midl", so it can be a program name with args.
12110 set dummy midl; ac_word=$2
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12112 $as_echo_n "checking for $ac_word... " >&6; }
12113 if test "${ac_cv_path_MIDL+set}" = set; then :
12114 $as_echo_n "(cached) " >&6
12118 ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
12121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12122 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
12125 test -z "$as_dir" && as_dir=.
12126 for ac_exec_ext in '' $ac_executable_extensions; do
12127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12128 ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
12129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12136 test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
12140 MIDL=$ac_cv_path_MIDL
12141 if test -n "$MIDL"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
12143 $as_echo "$MIDL" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12146 $as_echo "no" >&6; }
12150 if test "$MIDL" = "no"; then
12152 *** Could not find the Microsoft interface compiler MIDL.EXE.
12153 *** This program is available as part of the MS Windows SDK, in
12154 *** the Win32 Development Tools package. If it is not in the PATH
12155 *** or its default location you may set the 'MIDL' environment
12156 *** variable to point to its location and rerun configure." "$LINENO" 5
12160 if test "$win32" = "yes"; then
12161 # Other Windows-specific tools
12163 # LIB.EXE from MSVC to build an MSVC-compatible import library.
12164 # Extract the first word of "lib", so it can be a program name with args.
12165 set dummy lib; ac_word=$2
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12167 $as_echo_n "checking for $ac_word... " >&6; }
12168 if test "${ac_cv_path_MSVC_LIB+set}" = set; then :
12169 $as_echo_n "(cached) " >&6
12173 ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
12176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12177 for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
12180 test -z "$as_dir" && as_dir=.
12181 for ac_exec_ext in '' $ac_executable_extensions; do
12182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12183 ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
12184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12191 test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
12195 MSVC_LIB=$ac_cv_path_MSVC_LIB
12196 if test -n "$MSVC_LIB"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
12198 $as_echo "$MSVC_LIB" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12206 if test "$MSVC_LIB" = "no"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12208 *** Could not find the Microsoft 'LIB.EXE' program. This is required
12209 *** to build the Visual C import library for libmoonshot. Use the
12210 *** MSVC_LIB environment variable to pass its location if this is
12211 *** outside the PATH." >&5
12212 $as_echo "$as_me: WARNING:
12213 *** Could not find the Microsoft 'LIB.EXE' program. This is required
12214 *** to build the Visual C import library for libmoonshot. Use the
12215 *** MSVC_LIB environment variable to pass its location if this is
12216 *** outside the PATH." >&2;}
12220 # ImageMagick for the 'make icons' target. Watch that it doesn't pick up
12221 # c:/windows/system32/convert.exe, which is nothing to do with ImageMagick
12222 # Extract the first word of "convert", so it can be a program name with args.
12223 set dummy convert; ac_word=$2
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12225 $as_echo_n "checking for $ac_word... " >&6; }
12226 if test "${ac_cv_path_IMAGEMAGICK_CONVERT+set}" = set; then :
12227 $as_echo_n "(cached) " >&6
12229 case $IMAGEMAGICK_CONVERT in
12231 ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
12234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12235 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR$PATH
12238 test -z "$as_dir" && as_dir=.
12239 for ac_exec_ext in '' $ac_executable_extensions; do
12240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12241 ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
12242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12249 test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
12253 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
12254 if test -n "$IMAGEMAGICK_CONVERT"; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
12256 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12259 $as_echo "no" >&6; }
12264 if test "$IMAGEMAGICK_CONVERT" = "no"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12266 *** Could not find ImageMagick convert.exe. This is required for the
12267 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
12268 *** variable to pass its location if this is outside the PATH." >&5
12269 $as_echo "$as_me: WARNING:
12270 *** Could not find ImageMagick convert.exe. This is required for the
12271 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
12272 *** variable to pass its location if this is outside the PATH." >&2;}
12276 # Windows Installer XML tools
12277 # Extract the first word of "candle", so it can be a program name with args.
12278 set dummy candle; ac_word=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12280 $as_echo_n "checking for $ac_word... " >&6; }
12281 if test "${ac_cv_path_WIX_CANDLE+set}" = set; then :
12282 $as_echo_n "(cached) " >&6
12284 case $WIX_CANDLE in
12286 ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
12293 test -z "$as_dir" && as_dir=.
12294 for ac_exec_ext in '' $ac_executable_extensions; do
12295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12296 ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
12297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12304 test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
12308 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
12309 if test -n "$WIX_CANDLE"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
12311 $as_echo "$WIX_CANDLE" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12318 # Extract the first word of "light", so it can be a program name with args.
12319 set dummy light; ac_word=$2
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12321 $as_echo_n "checking for $ac_word... " >&6; }
12322 if test "${ac_cv_path_WIX_LIGHT+set}" = set; then :
12323 $as_echo_n "(cached) " >&6
12327 ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
12338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12345 test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
12349 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
12350 if test -n "$WIX_LIGHT"; then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
12352 $as_echo "$WIX_LIGHT" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12355 $as_echo "no" >&6; }
12360 if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12362 *** Could not find the Windows Installer XML tools. These are required
12363 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
12364 *** environment variables to pass their locations if they are outside
12366 $as_echo "$as_me: WARNING:
12367 *** Could not find the Windows Installer XML tools. These are required
12368 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
12369 *** environment variables to pass their locations if they are outside
12370 *** the PATH." >&2;}
12374 if test "$win32" != "yes"; then
12375 # Extract the first word of "update-mime-database", so it can be a program name with args.
12376 set dummy update-mime-database; ac_word=$2
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12378 $as_echo_n "checking for $ac_word... " >&6; }
12379 if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
12380 $as_echo_n "(cached) " >&6
12382 case $UPDATE_MIME_DATABASE in
12384 ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
12387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12388 for as_dir in $PATH
12391 test -z "$as_dir" && as_dir=.
12392 for ac_exec_ext in '' $ac_executable_extensions; do
12393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12394 ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
12395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12402 test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
12406 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
12407 if test -n "$UPDATE_MIME_DATABASE"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
12409 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12416 if test "$UPDATE_MIME_DATABASE" = "no"; then
12418 *** Could not find the Freedesktop.org mime database update tool.
12419 *** Web provisioning files could not be automatically installed." "$LINENO" 5
12421 # Extract the first word of "update-desktop-database", so it can be a program name with args.
12422 set dummy update-desktop-database; ac_word=$2
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12424 $as_echo_n "checking for $ac_word... " >&6; }
12425 if test "${ac_cv_path_UPDATE_DESKTOP_DATABASE+set}" = set; then :
12426 $as_echo_n "(cached) " >&6
12428 case $UPDATE_DESKTOP_DATABASE in
12430 ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
12433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12434 for as_dir in $PATH
12437 test -z "$as_dir" && as_dir=.
12438 for ac_exec_ext in '' $ac_executable_extensions; do
12439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12440 ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
12441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12448 test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
12452 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
12453 if test -n "$UPDATE_DESKTOP_DATABASE"; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
12455 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12458 $as_echo "no" >&6; }
12462 if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
12464 *** Could not find the Freedesktop.org desktop entry database update
12465 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
12469 MOONSHOT_APP="$bindir/moonshot"
12470 MOONSHOT_WEBP="$bindir/moonshot-webp"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
12486 $as_echo_n "checking for moonshot... " >&6; }
12488 if test -n "$moonshot_CFLAGS"; then
12489 pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
12490 elif test -n "$PKG_CONFIG"; then
12491 if test -n "$PKG_CONFIG" && \
12492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12495 gobject-2.0 >= 2.24
12497 \$SERVER_IPC_MODULE
12499 ($PKG_CONFIG --exists --print-errors "
12502 gobject-2.0 >= 2.24
12507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12508 test $ac_status = 0; }; then
12509 pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
12512 gobject-2.0 >= 2.24
12516 test "x$?" != "x0" && pkg_failed=yes
12523 if test -n "$moonshot_LIBS"; then
12524 pkg_cv_moonshot_LIBS="$moonshot_LIBS"
12525 elif test -n "$PKG_CONFIG"; then
12526 if test -n "$PKG_CONFIG" && \
12527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12530 gobject-2.0 >= 2.24
12532 \$SERVER_IPC_MODULE
12534 ($PKG_CONFIG --exists --print-errors "
12537 gobject-2.0 >= 2.24
12542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12543 test $ac_status = 0; }; then
12544 pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
12547 gobject-2.0 >= 2.24
12551 test "x$?" != "x0" && pkg_failed=yes
12561 if test $pkg_failed = yes; then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12563 $as_echo "no" >&6; }
12565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12566 _pkg_short_errors_supported=yes
12568 _pkg_short_errors_supported=no
12570 if test $_pkg_short_errors_supported = yes; then
12571 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
12574 gobject-2.0 >= 2.24
12579 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
12582 gobject-2.0 >= 2.24
12587 # Put the nasty error message in config.log where it belongs
12588 echo "$moonshot_PKG_ERRORS" >&5
12590 as_fn_error $? "Package requirements (
12593 gobject-2.0 >= 2.24
12598 $moonshot_PKG_ERRORS
12600 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12601 installed software in a non-standard prefix.
12603 Alternatively, you may set the environment variables moonshot_CFLAGS
12604 and moonshot_LIBS to avoid the need to call pkg-config.
12605 See the pkg-config man page for more details." "$LINENO" 5
12606 elif test $pkg_failed = untried; then
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12608 $as_echo "no" >&6; }
12609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12611 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12612 is in your PATH or set the PKG_CONFIG environment variable to the full
12613 path to pkg-config.
12615 Alternatively, you may set the environment variables moonshot_CFLAGS
12616 and moonshot_LIBS to avoid the need to call pkg-config.
12617 See the pkg-config man page for more details.
12619 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12620 See \`config.log' for more details" "$LINENO" 5 ; }
12622 moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
12623 moonshot_LIBS=$pkg_cv_moonshot_LIBS
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12625 $as_echo "yes" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
12632 $as_echo_n "checking for libmoonshot... " >&6; }
12634 if test -n "$libmoonshot_CFLAGS"; then
12635 pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
12636 elif test -n "$PKG_CONFIG"; then
12637 if test -n "$PKG_CONFIG" && \
12638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12639 \$CLIENT_IPC_MODULE
12641 ($PKG_CONFIG --exists --print-errors "
12645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646 test $ac_status = 0; }; then
12647 pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
12650 test "x$?" != "x0" && pkg_failed=yes
12657 if test -n "$libmoonshot_LIBS"; then
12658 pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
12659 elif test -n "$PKG_CONFIG"; then
12660 if test -n "$PKG_CONFIG" && \
12661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12662 \$CLIENT_IPC_MODULE
12664 ($PKG_CONFIG --exists --print-errors "
12668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12669 test $ac_status = 0; }; then
12670 pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
12673 test "x$?" != "x0" && pkg_failed=yes
12683 if test $pkg_failed = yes; then
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12685 $as_echo "no" >&6; }
12687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12688 _pkg_short_errors_supported=yes
12690 _pkg_short_errors_supported=no
12692 if test $_pkg_short_errors_supported = yes; then
12693 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
12697 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
12701 # Put the nasty error message in config.log where it belongs
12702 echo "$libmoonshot_PKG_ERRORS" >&5
12704 as_fn_error $? "Package requirements (
12708 $libmoonshot_PKG_ERRORS
12710 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12711 installed software in a non-standard prefix.
12713 Alternatively, you may set the environment variables libmoonshot_CFLAGS
12714 and libmoonshot_LIBS to avoid the need to call pkg-config.
12715 See the pkg-config man page for more details." "$LINENO" 5
12716 elif test $pkg_failed = untried; then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12718 $as_echo "no" >&6; }
12719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12721 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12722 is in your PATH or set the PKG_CONFIG environment variable to the full
12723 path to pkg-config.
12725 Alternatively, you may set the environment variables libmoonshot_CFLAGS
12726 and libmoonshot_LIBS to avoid the need to call pkg-config.
12727 See the pkg-config man page for more details.
12729 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12730 See \`config.log' for more details" "$LINENO" 5 ; }
12732 libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
12733 libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12735 $as_echo "yes" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12742 $as_echo_n "checking whether NLS is requested... " >&6; }
12743 # Check whether --enable-nls was given.
12744 if test "${enable_nls+set}" = set; then :
12745 enableval=$enable_nls; USE_NLS=$enableval
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12751 $as_echo "$USE_NLS" >&6; }
12756 GETTEXT_MACRO_VERSION=0.18
12761 # Prepare PATH_SEPARATOR.
12762 # The user is always right.
12763 if test "${PATH_SEPARATOR+set}" != set; then
12764 echo "#! /bin/sh" >conf$$.sh
12765 echo "exit 0" >>conf$$.sh
12767 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12775 # Find out how to test for executable files. Don't use a zero-byte file,
12776 # as systems may use methods other than mode bits to determine executability.
12777 cat >conf$$.file <<_ASEOF
12781 chmod +x conf$$.file
12782 if test -x conf$$.file >/dev/null 2>&1; then
12783 ac_executable_p="test -x"
12785 ac_executable_p="test -f"
12789 # Extract the first word of "msgfmt", so it can be a program name with args.
12790 set dummy msgfmt; ac_word=$2
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12792 $as_echo_n "checking for $ac_word... " >&6; }
12793 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12794 $as_echo_n "(cached) " >&6
12798 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12801 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12802 for ac_dir in $PATH; do
12804 test -z "$ac_dir" && ac_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12807 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12808 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12809 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12810 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12817 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12821 MSGFMT="$ac_cv_path_MSGFMT"
12822 if test "$MSGFMT" != ":"; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12824 $as_echo "$MSGFMT" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12827 $as_echo "no" >&6; }
12830 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12831 set dummy gmsgfmt; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12833 $as_echo_n "checking for $ac_word... " >&6; }
12834 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12835 $as_echo_n "(cached) " >&6
12839 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12857 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12861 GMSGFMT=$ac_cv_path_GMSGFMT
12862 if test -n "$GMSGFMT"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12864 $as_echo "$GMSGFMT" >&6; }
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12867 $as_echo "no" >&6; }
12872 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12873 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12874 *) MSGFMT_015=$MSGFMT ;;
12877 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12878 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12879 *) GMSGFMT_015=$GMSGFMT ;;
12884 # Prepare PATH_SEPARATOR.
12885 # The user is always right.
12886 if test "${PATH_SEPARATOR+set}" != set; then
12887 echo "#! /bin/sh" >conf$$.sh
12888 echo "exit 0" >>conf$$.sh
12890 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12898 # Find out how to test for executable files. Don't use a zero-byte file,
12899 # as systems may use methods other than mode bits to determine executability.
12900 cat >conf$$.file <<_ASEOF
12904 chmod +x conf$$.file
12905 if test -x conf$$.file >/dev/null 2>&1; then
12906 ac_executable_p="test -x"
12908 ac_executable_p="test -f"
12912 # Extract the first word of "xgettext", so it can be a program name with args.
12913 set dummy xgettext; ac_word=$2
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12915 $as_echo_n "checking for $ac_word... " >&6; }
12916 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12917 $as_echo_n "(cached) " >&6
12919 case "$XGETTEXT" in
12921 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12924 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12925 for ac_dir in $PATH; do
12927 test -z "$ac_dir" && ac_dir=.
12928 for ac_exec_ext in '' $ac_executable_extensions; do
12929 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12930 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12931 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12932 (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
12933 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12940 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12944 XGETTEXT="$ac_cv_path_XGETTEXT"
12945 if test "$XGETTEXT" != ":"; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12947 $as_echo "$XGETTEXT" >&6; }
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12950 $as_echo "no" >&6; }
12955 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12956 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12957 *) XGETTEXT_015=$XGETTEXT ;;
12962 # Prepare PATH_SEPARATOR.
12963 # The user is always right.
12964 if test "${PATH_SEPARATOR+set}" != set; then
12965 echo "#! /bin/sh" >conf$$.sh
12966 echo "exit 0" >>conf$$.sh
12968 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12976 # Find out how to test for executable files. Don't use a zero-byte file,
12977 # as systems may use methods other than mode bits to determine executability.
12978 cat >conf$$.file <<_ASEOF
12982 chmod +x conf$$.file
12983 if test -x conf$$.file >/dev/null 2>&1; then
12984 ac_executable_p="test -x"
12986 ac_executable_p="test -f"
12990 # Extract the first word of "msgmerge", so it can be a program name with args.
12991 set dummy msgmerge; ac_word=$2
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12993 $as_echo_n "checking for $ac_word... " >&6; }
12994 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12995 $as_echo_n "(cached) " >&6
12997 case "$MSGMERGE" in
12999 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13002 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13003 for ac_dir in $PATH; do
13005 test -z "$ac_dir" && ac_dir=.
13006 for ac_exec_ext in '' $ac_executable_extensions; do
13007 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13008 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13009 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13010 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13017 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13021 MSGMERGE="$ac_cv_path_MSGMERGE"
13022 if test "$MSGMERGE" != ":"; then
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13024 $as_echo "$MSGMERGE" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027 $as_echo "no" >&6; }
13031 test -n "$localedir" || localedir='${datadir}/locale'
13034 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13037 ac_config_commands="$ac_config_commands po-directories"
13041 if test "X$prefix" = "XNONE"; then
13042 acl_final_prefix="$ac_default_prefix"
13044 acl_final_prefix="$prefix"
13046 if test "X$exec_prefix" = "XNONE"; then
13047 acl_final_exec_prefix='${prefix}'
13049 acl_final_exec_prefix="$exec_prefix"
13051 acl_save_prefix="$prefix"
13052 prefix="$acl_final_prefix"
13053 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13054 prefix="$acl_save_prefix"
13057 # Check whether --with-gnu-ld was given.
13058 if test "${with_gnu_ld+set}" = set; then :
13059 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13064 # Prepare PATH_SEPARATOR.
13065 # The user is always right.
13066 if test "${PATH_SEPARATOR+set}" != set; then
13067 echo "#! /bin/sh" >conf$$.sh
13068 echo "exit 0" >>conf$$.sh
13070 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13078 if test "$GCC" = yes; then
13079 # Check if gcc -print-prog-name=ld gives a path.
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13081 $as_echo_n "checking for ld used by GCC... " >&6; }
13084 # gcc leaves a trailing carriage return which upsets mingw
13085 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13087 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13090 # Accept absolute paths.
13091 [\\/]* | [A-Za-z]:[\\/]*)
13092 re_direlt='/[^/][^/]*/\.\./'
13093 # Canonicalize the path of ld
13094 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13095 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13096 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13098 test -z "$LD" && LD="$ac_prog"
13101 # If it fails, then pretend we aren't using GCC.
13105 # If it is relative, then search for the first ld in PATH.
13106 with_gnu_ld=unknown
13109 elif test "$with_gnu_ld" = yes; then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13111 $as_echo_n "checking for GNU ld... " >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13114 $as_echo_n "checking for non-GNU ld... " >&6; }
13116 if test "${acl_cv_path_LD+set}" = set; then :
13117 $as_echo_n "(cached) " >&6
13119 if test -z "$LD"; then
13120 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13121 for ac_dir in $PATH; do
13122 test -z "$ac_dir" && ac_dir=.
13123 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13124 acl_cv_path_LD="$ac_dir/$ac_prog"
13125 # Check to see if the program is GNU ld. I'd rather use --version,
13126 # but apparently some GNU ld's only accept -v.
13127 # Break only if it was the GNU/non-GNU ld that we prefer.
13128 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13129 *GNU* | *'with BFD'*)
13130 test "$with_gnu_ld" != no && break ;;
13132 test "$with_gnu_ld" != yes && break ;;
13138 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13142 LD="$acl_cv_path_LD"
13143 if test -n "$LD"; then
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13145 $as_echo "$LD" >&6; }
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148 $as_echo "no" >&6; }
13150 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13152 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13153 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
13154 $as_echo_n "(cached) " >&6
13156 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13157 case `$LD -v 2>&1 </dev/null` in
13158 *GNU* | *'with BFD'*)
13159 acl_cv_prog_gnu_ld=yes ;;
13161 acl_cv_prog_gnu_ld=no ;;
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13165 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13166 with_gnu_ld=$acl_cv_prog_gnu_ld
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13172 $as_echo_n "checking for shared library run path origin... " >&6; }
13173 if test "${acl_cv_rpath+set}" = set; then :
13174 $as_echo_n "(cached) " >&6
13177 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13178 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13180 rm -f ./conftest.sh
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13185 $as_echo "$acl_cv_rpath" >&6; }
13187 acl_libext="$acl_cv_libext"
13188 acl_shlibext="$acl_cv_shlibext"
13189 acl_libname_spec="$acl_cv_libname_spec"
13190 acl_library_names_spec="$acl_cv_library_names_spec"
13191 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13192 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13193 acl_hardcode_direct="$acl_cv_hardcode_direct"
13194 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13195 # Check whether --enable-rpath was given.
13196 if test "${enable_rpath+set}" = set; then :
13197 enableval=$enable_rpath; :
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13210 $as_echo_n "checking for 64-bit host... " >&6; }
13211 if test "${gl_cv_solaris_64bit+set}" = set; then :
13212 $as_echo_n "(cached) " >&6
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13223 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13224 gl_cv_solaris_64bit=yes
13226 gl_cv_solaris_64bit=no
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13233 $as_echo "$gl_cv_solaris_64bit" >&6; }
13234 if test $gl_cv_solaris_64bit = yes; then
13235 acl_libdirstem=lib/64
13236 case "$host_cpu" in
13237 sparc*) acl_libdirstem2=lib/sparcv9 ;;
13238 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13243 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13244 if test -n "$searchpath"; then
13245 acl_save_IFS="${IFS= }"; IFS=":"
13246 for searchdir in $searchpath; do
13247 if test -d "$searchdir"; then
13248 case "$searchdir" in
13249 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13251 # Better ignore directories of this form. They are misleading.
13253 *) searchdir=`cd "$searchdir" && pwd`
13254 case "$searchdir" in
13255 */lib64 ) acl_libdirstem=lib64 ;;
13260 IFS="$acl_save_IFS"
13264 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13279 acl_save_prefix="$prefix"
13280 prefix="$acl_final_prefix"
13281 acl_save_exec_prefix="$exec_prefix"
13282 exec_prefix="$acl_final_exec_prefix"
13284 eval additional_includedir=\"$includedir\"
13285 eval additional_libdir=\"$libdir\"
13287 exec_prefix="$acl_save_exec_prefix"
13288 prefix="$acl_save_prefix"
13291 # Check whether --with-libiconv-prefix was given.
13292 if test "${with_libiconv_prefix+set}" = set; then :
13293 withval=$with_libiconv_prefix;
13294 if test "X$withval" = "Xno"; then
13297 if test "X$withval" = "X"; then
13299 acl_save_prefix="$prefix"
13300 prefix="$acl_final_prefix"
13301 acl_save_exec_prefix="$exec_prefix"
13302 exec_prefix="$acl_final_exec_prefix"
13304 eval additional_includedir=\"$includedir\"
13305 eval additional_libdir=\"$libdir\"
13307 exec_prefix="$acl_save_exec_prefix"
13308 prefix="$acl_save_prefix"
13311 additional_includedir="$withval/include"
13312 additional_libdir="$withval/$acl_libdirstem"
13313 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13314 && ! test -d "$withval/$acl_libdirstem"; then
13315 additional_libdir="$withval/$acl_libdirstem2"
13329 names_already_handled=
13330 names_next_round='iconv '
13331 while test -n "$names_next_round"; do
13332 names_this_round="$names_next_round"
13334 for name in $names_this_round; do
13336 for n in $names_already_handled; do
13337 if test "$n" = "$name"; then
13338 already_handled=yes
13342 if test -z "$already_handled"; then
13343 names_already_handled="$names_already_handled $name"
13344 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13345 eval value=\"\$HAVE_LIB$uppername\"
13346 if test -n "$value"; then
13347 if test "$value" = yes; then
13348 eval value=\"\$LIB$uppername\"
13349 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13350 eval value=\"\$LTLIB$uppername\"
13351 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13360 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13361 if test -n "$acl_shlibext"; then
13362 shrext=".$acl_shlibext" # typically: shrext=.so
13366 if test $use_additional = yes; then
13367 dir="$additional_libdir"
13368 if test -n "$acl_shlibext"; then
13369 if test -f "$dir/$libname$shrext"; then
13371 found_so="$dir/$libname$shrext"
13373 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13374 ver=`(cd "$dir" && \
13375 for f in "$libname$shrext".*; do echo "$f"; done \
13376 | sed -e "s,^$libname$shrext\\\\.,," \
13377 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13378 | sed 1q ) 2>/dev/null`
13379 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13381 found_so="$dir/$libname$shrext.$ver"
13384 eval library_names=\"$acl_library_names_spec\"
13385 for f in $library_names; do
13386 if test -f "$dir/$f"; then
13395 if test "X$found_dir" = "X"; then
13396 if test -f "$dir/$libname.$acl_libext"; then
13398 found_a="$dir/$libname.$acl_libext"
13401 if test "X$found_dir" != "X"; then
13402 if test -f "$dir/$libname.la"; then
13403 found_la="$dir/$libname.la"
13407 if test "X$found_dir" = "X"; then
13408 for x in $LDFLAGS $LTLIBICONV; do
13410 acl_save_prefix="$prefix"
13411 prefix="$acl_final_prefix"
13412 acl_save_exec_prefix="$exec_prefix"
13413 exec_prefix="$acl_final_exec_prefix"
13415 exec_prefix="$acl_save_exec_prefix"
13416 prefix="$acl_save_prefix"
13420 dir=`echo "X$x" | sed -e 's/^X-L//'`
13421 if test -n "$acl_shlibext"; then
13422 if test -f "$dir/$libname$shrext"; then
13424 found_so="$dir/$libname$shrext"
13426 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13427 ver=`(cd "$dir" && \
13428 for f in "$libname$shrext".*; do echo "$f"; done \
13429 | sed -e "s,^$libname$shrext\\\\.,," \
13430 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13431 | sed 1q ) 2>/dev/null`
13432 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13434 found_so="$dir/$libname$shrext.$ver"
13437 eval library_names=\"$acl_library_names_spec\"
13438 for f in $library_names; do
13439 if test -f "$dir/$f"; then
13448 if test "X$found_dir" = "X"; then
13449 if test -f "$dir/$libname.$acl_libext"; then
13451 found_a="$dir/$libname.$acl_libext"
13454 if test "X$found_dir" != "X"; then
13455 if test -f "$dir/$libname.la"; then
13456 found_la="$dir/$libname.la"
13461 if test "X$found_dir" != "X"; then
13466 if test "X$found_dir" != "X"; then
13467 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13468 if test "X$found_so" != "X"; then
13469 if test "$enable_rpath" = no \
13470 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
13471 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13472 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13475 for x in $ltrpathdirs; do
13476 if test "X$x" = "X$found_dir"; then
13481 if test -z "$haveit"; then
13482 ltrpathdirs="$ltrpathdirs $found_dir"
13484 if test "$acl_hardcode_direct" = yes; then
13485 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13487 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13488 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13490 for x in $rpathdirs; do
13491 if test "X$x" = "X$found_dir"; then
13496 if test -z "$haveit"; then
13497 rpathdirs="$rpathdirs $found_dir"
13501 for x in $LDFLAGS $LIBICONV; do
13503 acl_save_prefix="$prefix"
13504 prefix="$acl_final_prefix"
13505 acl_save_exec_prefix="$exec_prefix"
13506 exec_prefix="$acl_final_exec_prefix"
13508 exec_prefix="$acl_save_exec_prefix"
13509 prefix="$acl_save_prefix"
13511 if test "X$x" = "X-L$found_dir"; then
13516 if test -z "$haveit"; then
13517 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13519 if test "$acl_hardcode_minus_L" != no; then
13520 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13522 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13528 if test "X$found_a" != "X"; then
13529 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13531 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13534 additional_includedir=
13535 case "$found_dir" in
13536 */$acl_libdirstem | */$acl_libdirstem/)
13537 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13538 if test "$name" = 'iconv'; then
13539 LIBICONV_PREFIX="$basedir"
13541 additional_includedir="$basedir/include"
13543 */$acl_libdirstem2 | */$acl_libdirstem2/)
13544 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
13545 if test "$name" = 'iconv'; then
13546 LIBICONV_PREFIX="$basedir"
13548 additional_includedir="$basedir/include"
13551 if test "X$additional_includedir" != "X"; then
13552 if test "X$additional_includedir" != "X/usr/include"; then
13554 if test "X$additional_includedir" = "X/usr/local/include"; then
13555 if test -n "$GCC"; then
13557 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13561 if test -z "$haveit"; then
13562 for x in $CPPFLAGS $INCICONV; do
13564 acl_save_prefix="$prefix"
13565 prefix="$acl_final_prefix"
13566 acl_save_exec_prefix="$exec_prefix"
13567 exec_prefix="$acl_final_exec_prefix"
13569 exec_prefix="$acl_save_exec_prefix"
13570 prefix="$acl_save_prefix"
13572 if test "X$x" = "X-I$additional_includedir"; then
13577 if test -z "$haveit"; then
13578 if test -d "$additional_includedir"; then
13579 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13585 if test -n "$found_la"; then
13586 save_libdir="$libdir"
13587 case "$found_la" in
13588 */* | *\\*) . "$found_la" ;;
13589 *) . "./$found_la" ;;
13591 libdir="$save_libdir"
13592 for dep in $dependency_libs; do
13595 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13596 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
13597 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
13599 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
13600 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
13601 if test -n "$GCC"; then
13603 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13607 if test -z "$haveit"; then
13609 for x in $LDFLAGS $LIBICONV; do
13611 acl_save_prefix="$prefix"
13612 prefix="$acl_final_prefix"
13613 acl_save_exec_prefix="$exec_prefix"
13614 exec_prefix="$acl_final_exec_prefix"
13616 exec_prefix="$acl_save_exec_prefix"
13617 prefix="$acl_save_prefix"
13619 if test "X$x" = "X-L$additional_libdir"; then
13624 if test -z "$haveit"; then
13625 if test -d "$additional_libdir"; then
13626 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13630 for x in $LDFLAGS $LTLIBICONV; do
13632 acl_save_prefix="$prefix"
13633 prefix="$acl_final_prefix"
13634 acl_save_exec_prefix="$exec_prefix"
13635 exec_prefix="$acl_final_exec_prefix"
13637 exec_prefix="$acl_save_exec_prefix"
13638 prefix="$acl_save_prefix"
13640 if test "X$x" = "X-L$additional_libdir"; then
13645 if test -z "$haveit"; then
13646 if test -d "$additional_libdir"; then
13647 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13654 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13655 if test "$enable_rpath" != no; then
13657 for x in $rpathdirs; do
13658 if test "X$x" = "X$dir"; then
13663 if test -z "$haveit"; then
13664 rpathdirs="$rpathdirs $dir"
13667 for x in $ltrpathdirs; do
13668 if test "X$x" = "X$dir"; then
13673 if test -z "$haveit"; then
13674 ltrpathdirs="$ltrpathdirs $dir"
13679 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13682 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13685 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13686 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13692 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13693 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13699 if test "X$rpathdirs" != "X"; then
13700 if test -n "$acl_hardcode_libdir_separator"; then
13702 for found_dir in $rpathdirs; do
13703 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13705 acl_save_libdir="$libdir"
13707 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13708 libdir="$acl_save_libdir"
13709 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13711 for found_dir in $rpathdirs; do
13712 acl_save_libdir="$libdir"
13713 libdir="$found_dir"
13714 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13715 libdir="$acl_save_libdir"
13716 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13720 if test "X$ltrpathdirs" != "X"; then
13721 for found_dir in $ltrpathdirs; do
13722 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13757 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13758 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13759 $as_echo_n "(cached) " >&6
13761 gt_save_LIBS="$LIBS"
13762 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13765 #include <CoreFoundation/CFPreferences.h>
13769 CFPreferencesCopyAppValue(NULL, NULL)
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 gt_cv_func_CFPreferencesCopyAppValue=yes
13777 gt_cv_func_CFPreferencesCopyAppValue=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS="$gt_save_LIBS"
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13784 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13785 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13787 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13791 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13792 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13793 $as_echo_n "(cached) " >&6
13795 gt_save_LIBS="$LIBS"
13796 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 #include <CoreFoundation/CFLocale.h>
13803 CFLocaleCopyCurrent();
13808 if ac_fn_c_try_link "$LINENO"; then :
13809 gt_cv_func_CFLocaleCopyCurrent=yes
13811 gt_cv_func_CFLocaleCopyCurrent=no
13813 rm -f core conftest.err conftest.$ac_objext \
13814 conftest$ac_exeext conftest.$ac_ext
13815 LIBS="$gt_save_LIBS"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13818 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13819 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13821 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13825 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13826 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13838 case " $gt_needs " in
13839 *" need-formatstring-macros "*) gt_api_version=3 ;;
13840 *" need-ngettext "*) gt_api_version=2 ;;
13841 *) gt_api_version=1 ;;
13843 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13844 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13846 if test "$USE_NLS" = "yes"; then
13847 gt_use_preinstalled_gnugettext=no
13850 if test $gt_api_version -ge 3; then
13851 gt_revision_test_code='
13852 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13853 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13855 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13858 gt_revision_test_code=
13860 if test $gt_api_version -ge 2; then
13861 gt_expression_test_code=' + * ngettext ("", "", 0)'
13863 gt_expression_test_code=
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13867 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13868 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13869 $as_echo_n "(cached) " >&6
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 #include <libintl.h>
13874 $gt_revision_test_code
13875 extern int _nl_msg_cat_cntr;
13876 extern int *_nl_domain_bindings;
13880 bindtextdomain ("", "");
13881 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 eval "$gt_func_gnugettext_libc=yes"
13889 eval "$gt_func_gnugettext_libc=no"
13891 rm -f core conftest.err conftest.$ac_objext \
13892 conftest$ac_exeext conftest.$ac_ext
13894 eval ac_res=\$$gt_func_gnugettext_libc
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13896 $as_echo "$ac_res" >&6; }
13898 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13904 am_save_CPPFLAGS="$CPPFLAGS"
13906 for element in $INCICONV; do
13908 for x in $CPPFLAGS; do
13910 acl_save_prefix="$prefix"
13911 prefix="$acl_final_prefix"
13912 acl_save_exec_prefix="$exec_prefix"
13913 exec_prefix="$acl_final_exec_prefix"
13915 exec_prefix="$acl_save_exec_prefix"
13916 prefix="$acl_save_prefix"
13918 if test "X$x" = "X$element"; then
13923 if test -z "$haveit"; then
13924 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13930 $as_echo_n "checking for iconv... " >&6; }
13931 if test "${am_cv_func_iconv+set}" = set; then :
13932 $as_echo_n "(cached) " >&6
13935 am_cv_func_iconv="no, consider installing GNU libiconv"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 #include <stdlib.h>
13944 iconv_t cd = iconv_open("","");
13945 iconv(cd,NULL,NULL,NULL,NULL);
13951 if ac_fn_c_try_link "$LINENO"; then :
13952 am_cv_func_iconv=yes
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 if test "$am_cv_func_iconv" != yes; then
13957 am_save_LIBS="$LIBS"
13958 LIBS="$LIBS $LIBICONV"
13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13961 #include <stdlib.h>
13966 iconv_t cd = iconv_open("","");
13967 iconv(cd,NULL,NULL,NULL,NULL);
13973 if ac_fn_c_try_link "$LINENO"; then :
13974 am_cv_lib_iconv=yes
13975 am_cv_func_iconv=yes
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS="$am_save_LIBS"
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13984 $as_echo "$am_cv_func_iconv" >&6; }
13985 if test "$am_cv_func_iconv" = yes; then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13987 $as_echo_n "checking for working iconv... " >&6; }
13988 if test "${am_cv_func_iconv_works+set}" = set; then :
13989 $as_echo_n "(cached) " >&6
13992 am_save_LIBS="$LIBS"
13993 if test $am_cv_lib_iconv = yes; then
13994 LIBS="$LIBS $LIBICONV"
13996 if test "$cross_compiling" = yes; then :
13998 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13999 *) am_cv_func_iconv_works="guessing yes" ;;
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14006 #include <string.h>
14009 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14012 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14013 if (cd_utf8_to_88591 != (iconv_t)(-1))
14015 static const char input[] = "\342\202\254"; /* EURO SIGN */
14017 const char *inptr = input;
14018 size_t inbytesleft = strlen (input);
14019 char *outptr = buf;
14020 size_t outbytesleft = sizeof (buf);
14021 size_t res = iconv (cd_utf8_to_88591,
14022 (char **) &inptr, &inbytesleft,
14023 &outptr, &outbytesleft);
14028 /* Test against Solaris 10 bug: Failures are not distinguishable from
14029 successful returns. */
14031 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14032 if (cd_ascii_to_88591 != (iconv_t)(-1))
14034 static const char input[] = "\263";
14036 const char *inptr = input;
14037 size_t inbytesleft = strlen (input);
14038 char *outptr = buf;
14039 size_t outbytesleft = sizeof (buf);
14040 size_t res = iconv (cd_ascii_to_88591,
14041 (char **) &inptr, &inbytesleft,
14042 &outptr, &outbytesleft);
14047 #if 0 /* This bug could be worked around by the caller. */
14048 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14050 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14051 if (cd_88591_to_utf8 != (iconv_t)(-1))
14053 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14055 const char *inptr = input;
14056 size_t inbytesleft = strlen (input);
14057 char *outptr = buf;
14058 size_t outbytesleft = sizeof (buf);
14059 size_t res = iconv (cd_88591_to_utf8,
14060 (char **) &inptr, &inbytesleft,
14061 &outptr, &outbytesleft);
14067 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14069 if (/* Try standardized names. */
14070 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14071 /* Try IRIX, OSF/1 names. */
14072 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14073 /* Try AIX names. */
14074 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14075 /* Try HP-UX names. */
14076 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14081 if ac_fn_c_try_run "$LINENO"; then :
14082 am_cv_func_iconv_works=yes
14084 am_cv_func_iconv_works=no
14086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14087 conftest.$ac_objext conftest.beam conftest.$ac_ext
14090 LIBS="$am_save_LIBS"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14094 $as_echo "$am_cv_func_iconv_works" >&6; }
14095 case "$am_cv_func_iconv_works" in
14096 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14097 *) am_func_iconv=yes ;;
14100 am_func_iconv=no am_cv_lib_iconv=no
14102 if test "$am_func_iconv" = yes; then
14104 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14107 if test "$am_cv_lib_iconv" = yes; then
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14109 $as_echo_n "checking how to link with libiconv... " >&6; }
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14111 $as_echo "$LIBICONV" >&6; }
14113 CPPFLAGS="$am_save_CPPFLAGS"
14130 acl_save_prefix="$prefix"
14131 prefix="$acl_final_prefix"
14132 acl_save_exec_prefix="$exec_prefix"
14133 exec_prefix="$acl_final_exec_prefix"
14135 eval additional_includedir=\"$includedir\"
14136 eval additional_libdir=\"$libdir\"
14138 exec_prefix="$acl_save_exec_prefix"
14139 prefix="$acl_save_prefix"
14142 # Check whether --with-libintl-prefix was given.
14143 if test "${with_libintl_prefix+set}" = set; then :
14144 withval=$with_libintl_prefix;
14145 if test "X$withval" = "Xno"; then
14148 if test "X$withval" = "X"; then
14150 acl_save_prefix="$prefix"
14151 prefix="$acl_final_prefix"
14152 acl_save_exec_prefix="$exec_prefix"
14153 exec_prefix="$acl_final_exec_prefix"
14155 eval additional_includedir=\"$includedir\"
14156 eval additional_libdir=\"$libdir\"
14158 exec_prefix="$acl_save_exec_prefix"
14159 prefix="$acl_save_prefix"
14162 additional_includedir="$withval/include"
14163 additional_libdir="$withval/$acl_libdirstem"
14164 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14165 && ! test -d "$withval/$acl_libdirstem"; then
14166 additional_libdir="$withval/$acl_libdirstem2"
14180 names_already_handled=
14181 names_next_round='intl '
14182 while test -n "$names_next_round"; do
14183 names_this_round="$names_next_round"
14185 for name in $names_this_round; do
14187 for n in $names_already_handled; do
14188 if test "$n" = "$name"; then
14189 already_handled=yes
14193 if test -z "$already_handled"; then
14194 names_already_handled="$names_already_handled $name"
14195 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14196 eval value=\"\$HAVE_LIB$uppername\"
14197 if test -n "$value"; then
14198 if test "$value" = yes; then
14199 eval value=\"\$LIB$uppername\"
14200 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14201 eval value=\"\$LTLIB$uppername\"
14202 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14211 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14212 if test -n "$acl_shlibext"; then
14213 shrext=".$acl_shlibext" # typically: shrext=.so
14217 if test $use_additional = yes; then
14218 dir="$additional_libdir"
14219 if test -n "$acl_shlibext"; then
14220 if test -f "$dir/$libname$shrext"; then
14222 found_so="$dir/$libname$shrext"
14224 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14225 ver=`(cd "$dir" && \
14226 for f in "$libname$shrext".*; do echo "$f"; done \
14227 | sed -e "s,^$libname$shrext\\\\.,," \
14228 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14229 | sed 1q ) 2>/dev/null`
14230 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14232 found_so="$dir/$libname$shrext.$ver"
14235 eval library_names=\"$acl_library_names_spec\"
14236 for f in $library_names; do
14237 if test -f "$dir/$f"; then
14246 if test "X$found_dir" = "X"; then
14247 if test -f "$dir/$libname.$acl_libext"; then
14249 found_a="$dir/$libname.$acl_libext"
14252 if test "X$found_dir" != "X"; then
14253 if test -f "$dir/$libname.la"; then
14254 found_la="$dir/$libname.la"
14258 if test "X$found_dir" = "X"; then
14259 for x in $LDFLAGS $LTLIBINTL; do
14261 acl_save_prefix="$prefix"
14262 prefix="$acl_final_prefix"
14263 acl_save_exec_prefix="$exec_prefix"
14264 exec_prefix="$acl_final_exec_prefix"
14266 exec_prefix="$acl_save_exec_prefix"
14267 prefix="$acl_save_prefix"
14271 dir=`echo "X$x" | sed -e 's/^X-L//'`
14272 if test -n "$acl_shlibext"; then
14273 if test -f "$dir/$libname$shrext"; then
14275 found_so="$dir/$libname$shrext"
14277 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14278 ver=`(cd "$dir" && \
14279 for f in "$libname$shrext".*; do echo "$f"; done \
14280 | sed -e "s,^$libname$shrext\\\\.,," \
14281 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14282 | sed 1q ) 2>/dev/null`
14283 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14285 found_so="$dir/$libname$shrext.$ver"
14288 eval library_names=\"$acl_library_names_spec\"
14289 for f in $library_names; do
14290 if test -f "$dir/$f"; then
14299 if test "X$found_dir" = "X"; then
14300 if test -f "$dir/$libname.$acl_libext"; then
14302 found_a="$dir/$libname.$acl_libext"
14305 if test "X$found_dir" != "X"; then
14306 if test -f "$dir/$libname.la"; then
14307 found_la="$dir/$libname.la"
14312 if test "X$found_dir" != "X"; then
14317 if test "X$found_dir" != "X"; then
14318 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14319 if test "X$found_so" != "X"; then
14320 if test "$enable_rpath" = no \
14321 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14322 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14323 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14326 for x in $ltrpathdirs; do
14327 if test "X$x" = "X$found_dir"; then
14332 if test -z "$haveit"; then
14333 ltrpathdirs="$ltrpathdirs $found_dir"
14335 if test "$acl_hardcode_direct" = yes; then
14336 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14338 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14339 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14341 for x in $rpathdirs; do
14342 if test "X$x" = "X$found_dir"; then
14347 if test -z "$haveit"; then
14348 rpathdirs="$rpathdirs $found_dir"
14352 for x in $LDFLAGS $LIBINTL; do
14354 acl_save_prefix="$prefix"
14355 prefix="$acl_final_prefix"
14356 acl_save_exec_prefix="$exec_prefix"
14357 exec_prefix="$acl_final_exec_prefix"
14359 exec_prefix="$acl_save_exec_prefix"
14360 prefix="$acl_save_prefix"
14362 if test "X$x" = "X-L$found_dir"; then
14367 if test -z "$haveit"; then
14368 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14370 if test "$acl_hardcode_minus_L" != no; then
14371 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14373 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14379 if test "X$found_a" != "X"; then
14380 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14382 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14385 additional_includedir=
14386 case "$found_dir" in
14387 */$acl_libdirstem | */$acl_libdirstem/)
14388 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14389 if test "$name" = 'intl'; then
14390 LIBINTL_PREFIX="$basedir"
14392 additional_includedir="$basedir/include"
14394 */$acl_libdirstem2 | */$acl_libdirstem2/)
14395 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14396 if test "$name" = 'intl'; then
14397 LIBINTL_PREFIX="$basedir"
14399 additional_includedir="$basedir/include"
14402 if test "X$additional_includedir" != "X"; then
14403 if test "X$additional_includedir" != "X/usr/include"; then
14405 if test "X$additional_includedir" = "X/usr/local/include"; then
14406 if test -n "$GCC"; then
14408 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14412 if test -z "$haveit"; then
14413 for x in $CPPFLAGS $INCINTL; do
14415 acl_save_prefix="$prefix"
14416 prefix="$acl_final_prefix"
14417 acl_save_exec_prefix="$exec_prefix"
14418 exec_prefix="$acl_final_exec_prefix"
14420 exec_prefix="$acl_save_exec_prefix"
14421 prefix="$acl_save_prefix"
14423 if test "X$x" = "X-I$additional_includedir"; then
14428 if test -z "$haveit"; then
14429 if test -d "$additional_includedir"; then
14430 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14436 if test -n "$found_la"; then
14437 save_libdir="$libdir"
14438 case "$found_la" in
14439 */* | *\\*) . "$found_la" ;;
14440 *) . "./$found_la" ;;
14442 libdir="$save_libdir"
14443 for dep in $dependency_libs; do
14446 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14447 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14448 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14450 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14451 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14452 if test -n "$GCC"; then
14454 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14458 if test -z "$haveit"; then
14460 for x in $LDFLAGS $LIBINTL; do
14462 acl_save_prefix="$prefix"
14463 prefix="$acl_final_prefix"
14464 acl_save_exec_prefix="$exec_prefix"
14465 exec_prefix="$acl_final_exec_prefix"
14467 exec_prefix="$acl_save_exec_prefix"
14468 prefix="$acl_save_prefix"
14470 if test "X$x" = "X-L$additional_libdir"; then
14475 if test -z "$haveit"; then
14476 if test -d "$additional_libdir"; then
14477 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14481 for x in $LDFLAGS $LTLIBINTL; do
14483 acl_save_prefix="$prefix"
14484 prefix="$acl_final_prefix"
14485 acl_save_exec_prefix="$exec_prefix"
14486 exec_prefix="$acl_final_exec_prefix"
14488 exec_prefix="$acl_save_exec_prefix"
14489 prefix="$acl_save_prefix"
14491 if test "X$x" = "X-L$additional_libdir"; then
14496 if test -z "$haveit"; then
14497 if test -d "$additional_libdir"; then
14498 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14505 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14506 if test "$enable_rpath" != no; then
14508 for x in $rpathdirs; do
14509 if test "X$x" = "X$dir"; then
14514 if test -z "$haveit"; then
14515 rpathdirs="$rpathdirs $dir"
14518 for x in $ltrpathdirs; do
14519 if test "X$x" = "X$dir"; then
14524 if test -z "$haveit"; then
14525 ltrpathdirs="$ltrpathdirs $dir"
14530 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14533 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14536 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14537 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14543 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14544 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14550 if test "X$rpathdirs" != "X"; then
14551 if test -n "$acl_hardcode_libdir_separator"; then
14553 for found_dir in $rpathdirs; do
14554 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14556 acl_save_libdir="$libdir"
14558 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14559 libdir="$acl_save_libdir"
14560 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14562 for found_dir in $rpathdirs; do
14563 acl_save_libdir="$libdir"
14564 libdir="$found_dir"
14565 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14566 libdir="$acl_save_libdir"
14567 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14571 if test "X$ltrpathdirs" != "X"; then
14572 for found_dir in $ltrpathdirs; do
14573 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14583 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14584 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
14585 $as_echo_n "(cached) " >&6
14587 gt_save_CPPFLAGS="$CPPFLAGS"
14588 CPPFLAGS="$CPPFLAGS $INCINTL"
14589 gt_save_LIBS="$LIBS"
14590 LIBS="$LIBS $LIBINTL"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14593 #include <libintl.h>
14594 $gt_revision_test_code
14595 extern int _nl_msg_cat_cntr;
14600 const char *_nl_expand_alias (const char *);
14604 bindtextdomain ("", "");
14605 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 eval "$gt_func_gnugettext_libintl=yes"
14613 eval "$gt_func_gnugettext_libintl=no"
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14618 LIBS="$LIBS $LIBICONV"
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 #include <libintl.h>
14622 $gt_revision_test_code
14623 extern int _nl_msg_cat_cntr;
14628 const char *_nl_expand_alias (const char *);
14632 bindtextdomain ("", "");
14633 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14638 if ac_fn_c_try_link "$LINENO"; then :
14639 LIBINTL="$LIBINTL $LIBICONV"
14640 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14641 eval "$gt_func_gnugettext_libintl=yes"
14644 rm -f core conftest.err conftest.$ac_objext \
14645 conftest$ac_exeext conftest.$ac_ext
14647 CPPFLAGS="$gt_save_CPPFLAGS"
14648 LIBS="$gt_save_LIBS"
14650 eval ac_res=\$$gt_func_gnugettext_libintl
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14652 $as_echo "$ac_res" >&6; }
14655 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14656 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14657 && test "$PACKAGE" != gettext-runtime \
14658 && test "$PACKAGE" != gettext-tools; }; then
14659 gt_use_preinstalled_gnugettext=yes
14668 if test -n "$INTL_MACOSX_LIBS"; then
14669 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14670 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14671 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14672 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14676 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14677 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14679 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14687 $as_echo_n "checking whether to use NLS... " >&6; }
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14689 $as_echo "$USE_NLS" >&6; }
14690 if test "$USE_NLS" = "yes"; then
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14692 $as_echo_n "checking where the gettext function comes from... " >&6; }
14693 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14694 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14695 gt_source="external libintl"
14700 gt_source="included intl directory"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14703 $as_echo "$gt_source" >&6; }
14706 if test "$USE_NLS" = "yes"; then
14708 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14709 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14711 $as_echo_n "checking how to link with libintl... " >&6; }
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14713 $as_echo "$LIBINTL" >&6; }
14715 for element in $INCINTL; do
14717 for x in $CPPFLAGS; do
14719 acl_save_prefix="$prefix"
14720 prefix="$acl_final_prefix"
14721 acl_save_exec_prefix="$exec_prefix"
14722 exec_prefix="$acl_final_exec_prefix"
14724 exec_prefix="$acl_save_exec_prefix"
14725 prefix="$acl_save_prefix"
14727 if test "X$x" = "X$element"; then
14732 if test -z "$haveit"; then
14733 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14740 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14743 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14752 INTLLIBS="$LIBINTL"
14761 GETTEXT_PACKAGE=PACKAGE_TARNAME
14764 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
14767 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop"
14770 cat >confcache <<\_ACEOF
14771 # This file is a shell script that caches the results of configure
14772 # tests run on this system so they can be shared between configure
14773 # scripts and configure runs, see configure's option --config-cache.
14774 # It is not useful on other systems. If it contains results you don't
14775 # want to keep, you may remove or edit it.
14777 # config.status only pays attention to the cache file if you give it
14778 # the --recheck option to rerun configure.
14780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14782 # following values.
14786 # The following way of writing the cache mishandles newlines in values,
14787 # but we know of no workaround that is simple, portable, and efficient.
14788 # So, we kill variables containing newlines.
14789 # Ultrix sh set writes to stderr and can't be redirected directly,
14790 # and sets the high bit in the cache file unless we assign to the vars.
14792 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14793 eval ac_val=\$$ac_var
14797 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14798 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14801 _ | IFS | as_nl) ;; #(
14802 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14803 *) { eval $ac_var=; unset $ac_var;} ;;
14809 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14810 *${as_nl}ac_space=\ *)
14811 # `set' does not quote correctly, so add quotes: double-quote
14812 # substitution turns \\\\ into \\, and sed turns \\ into \.
14815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14818 # `set' quotes correctly as required by POSIX, so do not add quotes.
14819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14830 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14832 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14833 if test -w "$cache_file"; then
14834 test "x$cache_file" != "x/dev/null" &&
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14836 $as_echo "$as_me: updating cache $cache_file" >&6;}
14837 cat confcache >$cache_file
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14840 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14845 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14846 # Let make expand exec_prefix.
14847 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14849 DEFS=-DHAVE_CONFIG_H
14854 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14855 # 1. Remove the extension, and $U if already installed.
14856 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14857 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14858 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14859 # will be set to the directory where LIBOBJS objects are built.
14860 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14861 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14863 LIBOBJS=$ac_libobjs
14865 LTLIBOBJS=$ac_ltlibobjs
14868 if test -n "$EXEEXT"; then
14870 am__EXEEXT_FALSE='#'
14872 am__EXEEXT_TRUE='#'
14876 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14877 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14880 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14881 as_fn_error $? "conditional \"AMDEP\" was never defined.
14882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14884 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14885 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14888 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
14889 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
14890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14892 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14893 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14896 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
14897 as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
14898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14900 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
14901 as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
14902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14904 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14905 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14909 : ${CONFIG_STATUS=./config.status}
14911 ac_clean_files_save=$ac_clean_files
14912 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14914 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14916 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14918 # Generated by $as_me.
14919 # Run this file to recreate the current configuration.
14920 # Compiler output produced by configure, useful for debugging
14921 # configure, is in config.log if it exists.
14924 ac_cs_recheck=false
14927 SHELL=\${CONFIG_SHELL-$SHELL}
14930 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14931 ## -------------------- ##
14932 ## M4sh Initialization. ##
14933 ## -------------------- ##
14935 # Be more Bourne compatible
14936 DUALCASE=1; export DUALCASE # for MKS sh
14937 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14940 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14941 # is contrary to our usage. Disable this feature.
14942 alias -g '${1+"$@"}'='"$@"'
14943 setopt NO_GLOB_SUBST
14945 case `(set -o) 2>/dev/null` in #(
14957 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14958 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14959 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14960 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14961 # Prefer a ksh shell builtin over an external printf program on Solaris,
14962 # but without wasting forks for bash or zsh.
14963 if test -z "$BASH_VERSION$ZSH_VERSION" \
14964 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14965 as_echo='print -r --'
14966 as_echo_n='print -rn --'
14967 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14968 as_echo='printf %s\n'
14969 as_echo_n='printf %s'
14971 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14972 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14973 as_echo_n='/usr/ucb/echo -n'
14975 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14976 as_echo_n_body='eval
14980 expr "X$arg" : "X\\(.*\\)$as_nl";
14981 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14983 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14985 export as_echo_n_body
14986 as_echo_n='sh -c $as_echo_n_body as_echo'
14988 export as_echo_body
14989 as_echo='sh -c $as_echo_body as_echo'
14992 # The user is always right.
14993 if test "${PATH_SEPARATOR+set}" != set; then
14995 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14996 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15003 # We need space, tab and new line, in precisely that order. Quoting is
15004 # there to prevent editors from complaining about space-tab.
15005 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15006 # splitting by setting IFS to empty value.)
15009 # Find who we are. Look in the path if we contain no directory separator.
15011 *[\\/]* ) as_myself=$0 ;;
15012 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15013 for as_dir in $PATH
15016 test -z "$as_dir" && as_dir=.
15017 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15023 # We did not find ourselves, most probably we were run as `sh COMMAND'
15024 # in which case we are not to be found in the path.
15025 if test "x$as_myself" = x; then
15028 if test ! -f "$as_myself"; then
15029 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15033 # Unset variables that we do not need and which cause bugs (e.g. in
15034 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15035 # suppresses any "Segmentation fault" message there. '((' could
15036 # trigger a bug in pdksh 5.2.14.
15037 for as_var in BASH_ENV ENV MAIL MAILPATH
15038 do eval test x\${$as_var+set} = xset \
15039 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15052 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15055 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15056 # ----------------------------------------
15057 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15058 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15059 # script with STATUS, using 1 if that was 0.
15062 as_status=$1; test $as_status -eq 0 && as_status=1
15064 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15065 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15067 $as_echo "$as_me: error: $2" >&2
15068 as_fn_exit $as_status
15072 # as_fn_set_status STATUS
15073 # -----------------------
15074 # Set $? to STATUS, without forking.
15075 as_fn_set_status ()
15078 } # as_fn_set_status
15080 # as_fn_exit STATUS
15081 # -----------------
15082 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15086 as_fn_set_status $1
15092 # Portably unset VAR.
15095 { eval $1=; unset $1;}
15097 as_unset=as_fn_unset
15098 # as_fn_append VAR VALUE
15099 # ----------------------
15100 # Append the text in VALUE to the end of the definition contained in VAR. Take
15101 # advantage of any shell optimizations that allow amortized linear growth over
15102 # repeated appends, instead of the typical quadratic growth present in naive
15104 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15105 eval 'as_fn_append ()
15116 # as_fn_arith ARG...
15117 # ------------------
15118 # Perform arithmetic evaluation on the ARGs, and store the result in the
15119 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15120 # must be portable across $(()) and expr.
15121 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15122 eval 'as_fn_arith ()
15129 as_val=`expr "$@" || test $? -eq 1`
15134 if expr a : '\(a\)' >/dev/null 2>&1 &&
15135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15141 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15142 as_basename=basename
15147 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15153 as_me=`$as_basename -- "$0" ||
15154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15155 X"$0" : 'X\(//\)$' \| \
15156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15158 sed '/^.*\/\([^/][^/]*\)\/*$/{
15172 # Avoid depending upon Character Ranges.
15173 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15174 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15175 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15176 as_cr_digits='0123456789'
15177 as_cr_alnum=$as_cr_Letters$as_cr_digits
15179 ECHO_C= ECHO_N= ECHO_T=
15180 case `echo -n x` in #(((((
15182 case `echo 'xy\c'` in
15183 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15185 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15192 rm -f conf$$ conf$$.exe conf$$.file
15193 if test -d conf$$.dir; then
15194 rm -f conf$$.dir/conf$$.file
15197 mkdir conf$$.dir 2>/dev/null
15199 if (echo >conf$$.file) 2>/dev/null; then
15200 if ln -s conf$$.file conf$$ 2>/dev/null; then
15202 # ... but there are two gotchas:
15203 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15204 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15205 # In both cases, we have to default to `cp -p'.
15206 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15208 elif ln conf$$.file conf$$ 2>/dev/null; then
15216 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15217 rmdir conf$$.dir 2>/dev/null
15222 # Create "$as_dir" as a directory, including parents if necessary.
15227 -*) as_dir=./$as_dir;;
15229 test -d "$as_dir" || eval $as_mkdir_p || {
15233 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15234 *) as_qdir=$as_dir;;
15236 as_dirs="'$as_qdir' $as_dirs"
15237 as_dir=`$as_dirname -- "$as_dir" ||
15238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15239 X"$as_dir" : 'X\(//\)[^/]' \| \
15240 X"$as_dir" : 'X\(//\)$' \| \
15241 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15242 $as_echo X"$as_dir" |
15243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15247 /^X\(\/\/\)[^/].*/{
15260 test -d "$as_dir" && break
15262 test -z "$as_dirs" || eval "mkdir $as_dirs"
15263 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15267 if mkdir -p . 2>/dev/null; then
15268 as_mkdir_p='mkdir -p "$as_dir"'
15270 test -d ./-p && rmdir ./-p
15274 if test -x / >/dev/null 2>&1; then
15275 as_test_x='test -x'
15277 if ls -dL / >/dev/null 2>&1; then
15284 if test -d "$1"; then
15290 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15291 ???[sx]*):;;*)false;;esac;fi
15295 as_executable_p=$as_test_x
15297 # Sed expression to map a string onto a valid CPP name.
15298 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15300 # Sed expression to map a string onto a valid variable name.
15301 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15305 ## ----------------------------------- ##
15306 ## Main body of $CONFIG_STATUS script. ##
15307 ## ----------------------------------- ##
15309 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15312 # Save the log message, to keep $0 and so on meaningful, and to
15313 # report actual input values of CONFIG_FILES etc. instead of their
15314 # values after options handling.
15316 This file was extended by Moonshot $as_me 0.0.1, which was
15317 generated by GNU Autoconf 2.67. Invocation command line was
15319 CONFIG_FILES = $CONFIG_FILES
15320 CONFIG_HEADERS = $CONFIG_HEADERS
15321 CONFIG_LINKS = $CONFIG_LINKS
15322 CONFIG_COMMANDS = $CONFIG_COMMANDS
15325 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15330 case $ac_config_files in *"
15331 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15334 case $ac_config_headers in *"
15335 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15340 # Files that config.status was made for.
15341 config_files="$ac_config_files"
15342 config_headers="$ac_config_headers"
15343 config_commands="$ac_config_commands"
15347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15349 \`$as_me' instantiates files and other configuration actions
15350 from templates according to the current configuration. Unless the files
15351 and actions are specified as TAGs, all are instantiated by default.
15353 Usage: $0 [OPTION]... [TAG]...
15355 -h, --help print this help, then exit
15356 -V, --version print version number and configuration settings, then exit
15357 --config print configuration, then exit
15358 -q, --quiet, --silent
15359 do not print progress messages
15360 -d, --debug don't remove temporary files
15361 --recheck update $as_me by reconfiguring in the same conditions
15362 --file=FILE[:TEMPLATE]
15363 instantiate the configuration file FILE
15364 --header=FILE[:TEMPLATE]
15365 instantiate the configuration header FILE
15367 Configuration files:
15370 Configuration headers:
15373 Configuration commands:
15376 Report bugs to <BUG-REPORT-ADDRESS>."
15379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15380 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15382 Moonshot config.status 0.0.1
15383 configured by $0, generated by GNU Autoconf 2.67,
15384 with options \\"\$ac_cs_config\\"
15386 Copyright (C) 2010 Free Software Foundation, Inc.
15387 This config.status script is free software; the Free Software Foundation
15388 gives unlimited permission to copy, distribute and modify it."
15395 test -n "\$AWK" || AWK=awk
15398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15399 # The default lists apply if the user does not specify any file.
15405 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15406 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15410 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15422 # Handling of the options.
15423 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15425 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15426 $as_echo "$ac_cs_version"; exit ;;
15427 --config | --confi | --conf | --con | --co | --c )
15428 $as_echo "$ac_cs_config"; exit ;;
15429 --debug | --debu | --deb | --de | --d | -d )
15431 --file | --fil | --fi | --f )
15434 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15435 '') as_fn_error $? "missing file argument" ;;
15437 as_fn_append CONFIG_FILES " '$ac_optarg'"
15438 ac_need_defaults=false;;
15439 --header | --heade | --head | --hea )
15442 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15444 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15445 ac_need_defaults=false;;
15447 # Conflict between --help and --header
15448 as_fn_error $? "ambiguous option: \`$1'
15449 Try \`$0 --help' for more information.";;
15450 --help | --hel | -h )
15451 $as_echo "$ac_cs_usage"; exit ;;
15452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15453 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15456 # This is an error.
15457 -*) as_fn_error $? "unrecognized option: \`$1'
15458 Try \`$0 --help' for more information." ;;
15460 *) as_fn_append ac_config_targets " $1"
15461 ac_need_defaults=false ;;
15467 ac_configure_extra_args=
15469 if $ac_cs_silent; then
15471 ac_configure_extra_args="$ac_configure_extra_args --silent"
15475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15476 if \$ac_cs_recheck; then
15477 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15479 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15480 CONFIG_SHELL='$SHELL'
15481 export CONFIG_SHELL
15486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15490 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15491 ## Running $as_me. ##
15497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15501 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15504 # The HP-UX ksh and POSIX shell print the target directory to stdout
15505 # if CDPATH is set.
15506 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15508 sed_quote_subst='$sed_quote_subst'
15509 double_quote_subst='$double_quote_subst'
15510 delay_variable_subst='$delay_variable_subst'
15511 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15512 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15513 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15514 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15515 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15516 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15517 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15518 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15519 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15520 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15521 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15522 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15523 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15524 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15525 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15526 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15527 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15528 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15529 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15530 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15531 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15532 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15533 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15534 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15535 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15536 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15537 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15538 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15539 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15540 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15541 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15542 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15543 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15544 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15545 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15546 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15547 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15548 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15549 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15550 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15551 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15552 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15553 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15554 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15555 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15556 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15557 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"`'
15558 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"`'
15559 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15560 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15561 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15562 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15563 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15564 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15565 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15566 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15567 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15568 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15569 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15570 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15571 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15572 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15573 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15574 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15575 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15576 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15577 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15578 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15579 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15580 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15581 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15582 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15583 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15584 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15585 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15586 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15587 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15588 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15589 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15590 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15591 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15592 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15593 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15594 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15595 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15596 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15597 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15598 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15599 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15600 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15601 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15602 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15603 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15604 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15605 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15606 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15607 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15608 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15609 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15610 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15611 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15612 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15613 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15614 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15615 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15616 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15617 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15618 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15619 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15620 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15621 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15622 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15623 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15624 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15625 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15626 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15627 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15628 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15629 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15630 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15633 LTCFLAGS='$LTCFLAGS'
15634 compiler='$compiler_DEFAULT'
15636 # Quote evaled strings.
15647 deplibs_check_method \
15656 lt_cv_sys_global_symbol_pipe \
15657 lt_cv_sys_global_symbol_to_cdecl \
15658 lt_cv_sys_global_symbol_to_c_name_address \
15659 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15662 lt_prog_compiler_no_builtin_flag \
15663 lt_prog_compiler_wl \
15664 lt_prog_compiler_pic \
15665 lt_prog_compiler_static \
15666 lt_cv_prog_compiler_c_o \
15674 export_dynamic_flag_spec \
15675 whole_archive_flag_spec \
15676 compiler_needs_object \
15678 allow_undefined_flag \
15679 no_undefined_flag \
15680 hardcode_libdir_flag_spec \
15681 hardcode_libdir_flag_spec_ld \
15682 hardcode_libdir_separator \
15687 variables_saved_for_relink \
15689 library_names_spec \
15694 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15695 *[\\\\\\\`\\"\\\$]*)
15696 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15699 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15704 # Double-quote double-evaled strings.
15705 for var in reload_cmds \
15706 old_postinstall_cmds \
15707 old_postuninstall_cmds \
15709 extract_expsyms_cmds \
15710 old_archive_from_new_cmds \
15711 old_archive_from_expsyms_cmds \
15713 archive_expsym_cmds \
15715 module_expsym_cmds \
15716 export_symbols_cmds \
15719 postuninstall_cmds \
15721 sys_lib_search_path_spec \
15722 sys_lib_dlsearch_path_spec; do
15723 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15724 *[\\\\\\\`\\"\\\$]*)
15725 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15728 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15733 # Fix-up fallback echo if it was mangled by the above quoting rules.
15735 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15739 ac_aux_dir='$ac_aux_dir'
15740 xsi_shell='$xsi_shell'
15741 lt_shell_append='$lt_shell_append'
15743 # See if we are running on zsh, and set the options which allow our
15744 # commands through without removal of \ escapes INIT.
15745 if test -n "\${ZSH_VERSION+set}" ; then
15746 setopt NO_GLOB_SUBST
15752 TIMESTAMP='$TIMESTAMP'
15758 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15759 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
15760 # from automake < 1.5.
15761 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15762 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15763 LINGUAS="${LINGUAS-%UNSET%}"
15768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15770 # Handling of arguments.
15771 for ac_config_target in $ac_config_targets
15773 case $ac_config_target in
15774 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15775 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15776 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15777 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15778 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15779 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15780 "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
15781 "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
15783 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15788 # If the user did not use the arguments to specify the items to instantiate,
15789 # then the envvar interface is used. Set only those that are not.
15790 # We use the long form for the default assignment because of an extremely
15791 # bizarre bug on SunOS 4.1.3.
15792 if $ac_need_defaults; then
15793 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15794 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15795 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15798 # Have a temporary directory for convenience. Make it in the build tree
15799 # simply because there is no reason against having it here, and in addition,
15800 # creating and moving files from /tmp can sometimes cause problems.
15801 # Hook for its removal unless debugging.
15802 # Note that there is a small window in which the directory will not be cleaned:
15803 # after its creation but before its name has been assigned to `$tmp'.
15807 trap 'exit_status=$?
15808 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15810 trap 'as_fn_exit 1' 1 2 13 15
15812 # Create a (secure) tmp directory for tmp files.
15815 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15816 test -n "$tmp" && test -d "$tmp"
15819 tmp=./conf$$-$RANDOM
15820 (umask 077 && mkdir "$tmp")
15821 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15823 # Set up the scripts for CONFIG_FILES section.
15824 # No need to generate them if there are no CONFIG_FILES.
15825 # This happens for instance with `./config.status config.h'.
15826 if test -n "$CONFIG_FILES"; then
15829 ac_cr=`echo X | tr X '\015'`
15830 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15831 # But we know of no other shell where ac_cr would be empty at this
15832 # point, so we can use a bashism as a fallback.
15833 if test "x$ac_cr" = x; then
15834 eval ac_cr=\$\'\\r\'
15836 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15837 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15840 ac_cs_awk_cr=$ac_cr
15843 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15848 echo "cat >conf$$subs.awk <<_ACEOF" &&
15849 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15851 } >conf$$subs.sh ||
15852 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15853 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15855 for ac_last_try in false false false false false :; do
15856 . ./conf$$subs.sh ||
15857 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15859 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15860 if test $ac_delim_n = $ac_delim_num; then
15862 elif $ac_last_try; then
15863 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15865 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15868 rm -f conf$$subs.sh
15870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15871 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15875 s/^/S["/; s/!.*/"]=/
15885 s/\(.\{148\}\)..*/\1/
15887 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15892 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15899 s/\(.\{148\}\)..*/\1/
15901 s/["\\]/\\&/g; s/^/"/; s/$/"/
15905 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15910 ' <conf$$subs.awk | sed '
15915 ' >>$CONFIG_STATUS || ac_write_fail=1
15916 rm -f conf$$subs.awk
15917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15919 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15920 for (key in S) S_is_set[key] = 1
15926 nfields = split(line, field, "@")
15928 len = length(field[1])
15929 for (i = 2; i < nfields; i++) {
15931 keylen = length(key)
15932 if (S_is_set[key]) {
15934 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15935 len += length(value) + length(field[++i])
15946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15947 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15948 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15951 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15952 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15955 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15956 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15957 # trailing colons and then remove the whole line if VPATH becomes empty
15958 # (actually we leave an empty line to preserve line numbers).
15959 if test "x$srcdir" = x.; then
15960 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15979 fi # test -n "$CONFIG_FILES"
15981 # Set up the scripts for CONFIG_HEADERS section.
15982 # No need to generate them if there are no CONFIG_HEADERS.
15983 # This happens for instance with `./config.status Makefile'.
15984 if test -n "$CONFIG_HEADERS"; then
15985 cat >"$tmp/defines.awk" <<\_ACAWK ||
15989 # Transform confdefs.h into an awk script `defines.awk', embedded as
15990 # here-document in config.status, that substitutes the proper values into
15991 # config.h.in to produce config.h.
15993 # Create a delimiter string that does not exist in confdefs.h, to ease
15994 # handling of long lines.
15996 for ac_last_try in false false :; do
15997 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15998 if test -z "$ac_t"; then
16000 elif $ac_last_try; then
16001 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16003 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16007 # For the awk script, D is an array of macro values keyed by name,
16008 # likewise P contains macro parameters if any. Preserve backslash
16009 # newline sequences.
16011 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16013 s/.\{148\}/&'"$ac_delim"'/g
16016 s/^[ ]*#[ ]*define[ ][ ]*/ /
16023 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16025 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16029 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16030 D["\1"]=" \3\\\\\\n"\\/p
16032 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16037 s/.\{148\}/&'"$ac_delim"'/g
16042 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16045 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16047 ' <confdefs.h | sed '
16048 s/'"$ac_delim"'/"\\\
16049 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16052 for (key in D) D_is_set[key] = 1
16055 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16057 split(line, arg, " ")
16058 if (arg[1] == "#") {
16062 defundef = substr(arg[1], 2)
16065 split(mac1, mac2, "(") #)
16067 prefix = substr(line, 1, index(line, defundef) - 1)
16068 if (D_is_set[macro]) {
16069 # Preserve the white space surrounding the "#".
16070 print prefix "define", macro P[macro] D[macro]
16073 # Replace #undef with comments. This is necessary, for example,
16074 # in the case of _POSIX_SOURCE, which is predefined and required
16075 # on some systems where configure will not decide to define it.
16076 if (defundef == "undef") {
16077 print "/*", prefix defundef, macro, "*/"
16085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16086 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16087 fi # test -n "$CONFIG_HEADERS"
16090 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16095 :[FHLC]) ac_mode=$ac_tag; continue;;
16097 case $ac_mode$ac_tag in
16099 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16100 :[FH]-) ac_tag=-:-;;
16101 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16118 -) ac_f="$tmp/stdin";;
16119 *) # Look for the file first in the build tree, then in the source tree
16120 # (if the path is not absolute). The absolute path cannot be DOS-style,
16121 # because $ac_f cannot contain `:'.
16125 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16127 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16129 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16130 as_fn_append ac_file_inputs " '$ac_f'"
16133 # Let's still pretend it is `configure' which instantiates (i.e., don't
16134 # use $as_me), people would be surprised to read:
16135 # /* config.h. Generated by config.status. */
16136 configure_input='Generated from '`
16137 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16139 if test x"$ac_file" != x-; then
16140 configure_input="$ac_file. $configure_input"
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16142 $as_echo "$as_me: creating $ac_file" >&6;}
16144 # Neutralize special characters interpreted by sed in replacement strings.
16145 case $configure_input in #(
16146 *\&* | *\|* | *\\* )
16147 ac_sed_conf_input=`$as_echo "$configure_input" |
16148 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16149 *) ac_sed_conf_input=$configure_input;;
16153 *:-:* | *:-) cat >"$tmp/stdin" \
16154 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16159 ac_dir=`$as_dirname -- "$ac_file" ||
16160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16161 X"$ac_file" : 'X\(//\)[^/]' \| \
16162 X"$ac_file" : 'X\(//\)$' \| \
16163 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16164 $as_echo X"$ac_file" |
16165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16169 /^X\(\/\/\)[^/].*/{
16182 as_dir="$ac_dir"; as_fn_mkdir_p
16186 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16188 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16189 # A ".." for each directory in $ac_dir_suffix.
16190 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16191 case $ac_top_builddir_sub in
16192 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16193 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16196 ac_abs_top_builddir=$ac_pwd
16197 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16198 # for backward compatibility:
16199 ac_top_builddir=$ac_top_build_prefix
16202 .) # We are building in place.
16204 ac_top_srcdir=$ac_top_builddir_sub
16205 ac_abs_top_srcdir=$ac_pwd ;;
16206 [\\/]* | ?:[\\/]* ) # Absolute name.
16207 ac_srcdir=$srcdir$ac_dir_suffix;
16208 ac_top_srcdir=$srcdir
16209 ac_abs_top_srcdir=$srcdir ;;
16210 *) # Relative name.
16211 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16212 ac_top_srcdir=$ac_top_build_prefix$srcdir
16213 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16215 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16225 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16226 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16228 ac_MKDIR_P=$MKDIR_P
16230 [\\/$]* | ?:[\\/]* ) ;;
16231 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16236 # If the template does not know about datarootdir, expand it.
16237 # FIXME: This hack should be removed a few years after 2.60.
16238 ac_datarootdir_hack=; ac_datarootdir_seen=
16249 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16250 *datarootdir*) ac_datarootdir_seen=yes;;
16251 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16253 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16256 ac_datarootdir_hack='
16257 s&@datadir@&$datadir&g
16258 s&@docdir@&$docdir&g
16259 s&@infodir@&$infodir&g
16260 s&@localedir@&$localedir&g
16261 s&@mandir@&$mandir&g
16262 s&\\\${datarootdir}&$datarootdir&g' ;;
16266 # Neutralize VPATH when `$srcdir' = `.'.
16267 # Shell code in configure.ac might set extrasub.
16268 # FIXME: do we really want to maintain this feature?
16269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16270 ac_sed_extra="$ac_vpsub
16273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16276 s|@configure_input@|$ac_sed_conf_input|;t t
16277 s&@top_builddir@&$ac_top_builddir_sub&;t t
16278 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16279 s&@srcdir@&$ac_srcdir&;t t
16280 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16281 s&@top_srcdir@&$ac_top_srcdir&;t t
16282 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16283 s&@builddir@&$ac_builddir&;t t
16284 s&@abs_builddir@&$ac_abs_builddir&;t t
16285 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16286 s&@INSTALL@&$ac_INSTALL&;t t
16287 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16288 $ac_datarootdir_hack
16290 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16291 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16293 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16294 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16295 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16297 which seems to be undefined. Please make sure it is defined" >&5
16298 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16299 which seems to be undefined. Please make sure it is defined" >&2;}
16303 -) cat "$tmp/out" && rm -f "$tmp/out";;
16304 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16306 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16312 if test x"$ac_file" != x-; then
16314 $as_echo "/* $configure_input */" \
16315 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16316 } >"$tmp/config.h" \
16317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16318 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16320 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16323 mv "$tmp/config.h" "$ac_file" \
16324 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16327 $as_echo "/* $configure_input */" \
16328 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16329 || as_fn_error $? "could not create -" "$LINENO" 5
16331 # Compute "$ac_file"'s index in $config_headers.
16334 for _am_header in $config_headers :; do
16335 case $_am_header in
16336 $_am_arg | $_am_arg:* )
16339 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16342 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16343 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16344 X"$_am_arg" : 'X\(//\)[^/]' \| \
16345 X"$_am_arg" : 'X\(//\)$' \| \
16346 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16347 $as_echo X"$_am_arg" |
16348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16352 /^X\(\/\/\)[^/].*/{
16364 s/.*/./; q'`/stamp-h$_am_stamp_count
16367 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16368 $as_echo "$as_me: executing $ac_file commands" >&6;}
16373 case $ac_file$ac_mode in
16374 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16375 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16376 # are listed without --file. Let's play safe and only enable the eval
16377 # if we detect the quoting.
16378 case $CONFIG_FILES in
16379 *\'*) eval set x "$CONFIG_FILES" ;;
16380 *) set x $CONFIG_FILES ;;
16385 # Strip MF so we end up with the name of the file.
16386 mf=`echo "$mf" | sed -e 's/:.*$//'`
16387 # Check whether this is an Automake generated Makefile or not.
16388 # We used to match only the files named `Makefile.in', but
16389 # some people rename them; so instead we look at the file content.
16390 # Grep'ing the first line is not enough: some people post-process
16391 # each Makefile.in and add a new line on top of each file to say so.
16392 # Grep'ing the whole file is not good either: AIX grep has a line
16393 # limit of 2048, but all sed's we know have understand at least 4000.
16394 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16395 dirpart=`$as_dirname -- "$mf" ||
16396 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16397 X"$mf" : 'X\(//\)[^/]' \| \
16398 X"$mf" : 'X\(//\)$' \| \
16399 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16405 /^X\(\/\/\)[^/].*/{
16421 # Extract the definition of DEPDIR, am__include, and am__quote
16422 # from the Makefile without running `make'.
16423 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16424 test -z "$DEPDIR" && continue
16425 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16426 test -z "am__include" && continue
16427 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16428 # When using ansi2knr, U may be empty or an underscore; expand it
16429 U=`sed -n 's/^U = //p' < "$mf"`
16430 # Find all dependency output files, they are included files with
16431 # $(DEPDIR) in their names. We invoke sed twice because it is the
16432 # simplest approach to changing $(DEPDIR) to its actual value in the
16434 for file in `sed -n "
16435 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16436 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16437 # Make sure the directory exists.
16438 test -f "$dirpart/$file" && continue
16439 fdir=`$as_dirname -- "$file" ||
16440 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16441 X"$file" : 'X\(//\)[^/]' \| \
16442 X"$file" : 'X\(//\)$' \| \
16443 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16444 $as_echo X"$file" |
16445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16449 /^X\(\/\/\)[^/].*/{
16462 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16463 # echo "creating $dirpart/$file"
16464 echo '# dummy' > "$dirpart/$file"
16471 # See if we are running on zsh, and set the options which allow our
16472 # commands through without removal of \ escapes.
16473 if test -n "${ZSH_VERSION+set}" ; then
16474 setopt NO_GLOB_SUBST
16477 cfgfile="${ofile}T"
16478 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16481 cat <<_LT_EOF >> "$cfgfile"
16484 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16485 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16486 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16487 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16489 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16490 # 2006, 2007, 2008 Free Software Foundation, Inc.
16491 # Written by Gordon Matzigkeit, 1996
16493 # This file is part of GNU Libtool.
16495 # GNU Libtool is free software; you can redistribute it and/or
16496 # modify it under the terms of the GNU General Public License as
16497 # published by the Free Software Foundation; either version 2 of
16498 # the License, or (at your option) any later version.
16500 # As a special exception to the GNU General Public License,
16501 # if you distribute this file as part of a program or library that
16502 # is built using GNU Libtool, you may include this file under the
16503 # same distribution terms that you use for the rest of that program.
16505 # GNU Libtool is distributed in the hope that it will be useful,
16506 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16507 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16508 # GNU General Public License for more details.
16510 # You should have received a copy of the GNU General Public License
16511 # along with GNU Libtool; see the file COPYING. If not, a copy
16512 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16513 # obtained by writing to the Free Software Foundation, Inc.,
16514 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16517 # The names of the tagged configurations supported by this script.
16520 # ### BEGIN LIBTOOL CONFIG
16522 # Which release of libtool.m4 was used?
16523 macro_version=$macro_version
16524 macro_revision=$macro_revision
16526 # Assembler program.
16529 # DLL creation program.
16532 # Object dumper program.
16535 # Whether or not to build shared libraries.
16536 build_libtool_libs=$enable_shared
16538 # Whether or not to build static libraries.
16539 build_old_libs=$enable_static
16541 # What type of objects to build.
16544 # Whether or not to optimize for fast installation.
16545 fast_install=$enable_fast_install
16548 host_alias=$host_alias
16552 # The build system.
16553 build_alias=$build_alias
16557 # A sed program that does not truncate output.
16560 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16561 Xsed="\$SED -e 1s/^X//"
16563 # A grep program that handles long lines.
16569 # A literal string matcher.
16572 # A BSD- or MS-compatible name lister.
16575 # Whether we need soft or hard links.
16578 # What is the maximum length of a command?
16579 max_cmd_len=$max_cmd_len
16581 # Object file suffix (normally "o").
16584 # Executable file suffix (normally "").
16587 # whether the shell understands "unset".
16590 # turn spaces into newlines.
16593 # turn newlines into spaces.
16596 # How to create reloadable object files.
16597 reload_flag=$lt_reload_flag
16598 reload_cmds=$lt_reload_cmds
16600 # Method to check whether dependent libraries are shared objects.
16601 deplibs_check_method=$lt_deplibs_check_method
16603 # Command to use when deplibs_check_method == "file_magic".
16604 file_magic_cmd=$lt_file_magic_cmd
16608 AR_FLAGS=$lt_AR_FLAGS
16610 # A symbol stripping program.
16613 # Commands used to install an old-style archive.
16615 old_postinstall_cmds=$lt_old_postinstall_cmds
16616 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16621 # LTCC compiler flags.
16622 LTCFLAGS=$lt_CFLAGS
16624 # Take the output of nm and produce a listing of raw symbols and C names.
16625 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16627 # Transform the output of nm in a proper C declaration.
16628 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16630 # Transform the output of nm in a C name address pair.
16631 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16633 # Transform the output of nm in a C name address pair when lib prefix is needed.
16634 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16636 # The name of the directory that contains temporary libtool files.
16639 # Shell to use when invoking shell scripts.
16642 # An echo program that does not interpret backslashes.
16645 # Used to examine libraries when file_magic_cmd begins with "file".
16646 MAGIC_CMD=$MAGIC_CMD
16648 # Must we lock files when doing compilation?
16649 need_locks=$lt_need_locks
16651 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16652 DSYMUTIL=$lt_DSYMUTIL
16654 # Tool to change global to local symbols on Mac OS X.
16657 # Tool to manipulate fat objects and archives on Mac OS X.
16660 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16663 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16664 OTOOL64=$lt_OTOOL64
16666 # Old archive suffix (normally "a").
16669 # Shared library suffix (normally ".so").
16670 shrext_cmds=$lt_shrext_cmds
16672 # The commands to extract the exported symbol list from a shared archive.
16673 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16675 # Variables whose values should be saved in libtool wrapper scripts and
16676 # restored at link time.
16677 variables_saved_for_relink=$lt_variables_saved_for_relink
16679 # Do we need the "lib" prefix for modules?
16680 need_lib_prefix=$need_lib_prefix
16682 # Do we need a version for libraries?
16683 need_version=$need_version
16685 # Library versioning type.
16686 version_type=$version_type
16688 # Shared library runtime path variable.
16689 runpath_var=$runpath_var
16691 # Shared library path variable.
16692 shlibpath_var=$shlibpath_var
16694 # Is shlibpath searched before the hard-coded library search path?
16695 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16697 # Format of library name prefix.
16698 libname_spec=$lt_libname_spec
16700 # List of archive names. First name is the real one, the rest are links.
16701 # The last name is the one that the linker finds with -lNAME
16702 library_names_spec=$lt_library_names_spec
16704 # The coded name of the library, if different from the real name.
16705 soname_spec=$lt_soname_spec
16707 # Command to use after installation of a shared archive.
16708 postinstall_cmds=$lt_postinstall_cmds
16710 # Command to use after uninstallation of a shared archive.
16711 postuninstall_cmds=$lt_postuninstall_cmds
16713 # Commands used to finish a libtool library installation in a directory.
16714 finish_cmds=$lt_finish_cmds
16716 # As "finish_cmds", except a single script fragment to be evaled but
16718 finish_eval=$lt_finish_eval
16720 # Whether we should hardcode library paths into libraries.
16721 hardcode_into_libs=$hardcode_into_libs
16723 # Compile-time system search path for libraries.
16724 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16726 # Run-time system search path for libraries.
16727 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16729 # Whether dlopen is supported.
16730 dlopen_support=$enable_dlopen
16732 # Whether dlopen of programs is supported.
16733 dlopen_self=$enable_dlopen_self
16735 # Whether dlopen of statically linked programs is supported.
16736 dlopen_self_static=$enable_dlopen_self_static
16738 # Commands to strip libraries.
16739 old_striplib=$lt_old_striplib
16740 striplib=$lt_striplib
16743 # The linker used to build libraries.
16746 # Commands used to build an old-style archive.
16747 old_archive_cmds=$lt_old_archive_cmds
16749 # A language specific compiler.
16752 # Is the compiler the GNU compiler?
16755 # Compiler flag to turn off builtin functions.
16756 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16758 # How to pass a linker flag through the compiler.
16759 wl=$lt_lt_prog_compiler_wl
16761 # Additional compiler flags for building library objects.
16762 pic_flag=$lt_lt_prog_compiler_pic
16764 # Compiler flag to prevent dynamic linking.
16765 link_static_flag=$lt_lt_prog_compiler_static
16767 # Does compiler simultaneously support -c and -o options?
16768 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16770 # Whether or not to add -lc for building shared libraries.
16771 build_libtool_need_lc=$archive_cmds_need_lc
16773 # Whether or not to disallow shared libs when runtime libs are static.
16774 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16776 # Compiler flag to allow reflexive dlopens.
16777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16779 # Compiler flag to generate shared objects directly from archives.
16780 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16782 # Whether the compiler copes with passing no objects directly.
16783 compiler_needs_object=$lt_compiler_needs_object
16785 # Create an old-style archive from a shared archive.
16786 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16788 # Create a temporary old-style archive to link instead of a shared archive.
16789 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16791 # Commands used to build a shared archive.
16792 archive_cmds=$lt_archive_cmds
16793 archive_expsym_cmds=$lt_archive_expsym_cmds
16795 # Commands used to build a loadable module if different from building
16796 # a shared archive.
16797 module_cmds=$lt_module_cmds
16798 module_expsym_cmds=$lt_module_expsym_cmds
16800 # Whether we are building with GNU ld or not.
16801 with_gnu_ld=$lt_with_gnu_ld
16803 # Flag that allows shared libraries with undefined symbols to be built.
16804 allow_undefined_flag=$lt_allow_undefined_flag
16806 # Flag that enforces no undefined symbols.
16807 no_undefined_flag=$lt_no_undefined_flag
16809 # Flag to hardcode \$libdir into a binary during linking.
16810 # This must work even if \$libdir does not exist
16811 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16813 # If ld is used when linking, flag to hardcode \$libdir into a binary
16814 # during linking. This must work even if \$libdir does not exist.
16815 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16817 # Whether we need a single "-rpath" flag with a separated argument.
16818 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16821 # DIR into the resulting binary.
16822 hardcode_direct=$hardcode_direct
16824 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16825 # DIR into the resulting binary and the resulting library dependency is
16826 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16827 # library is relocated.
16828 hardcode_direct_absolute=$hardcode_direct_absolute
16830 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16831 # into the resulting binary.
16832 hardcode_minus_L=$hardcode_minus_L
16834 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16835 # into the resulting binary.
16836 hardcode_shlibpath_var=$hardcode_shlibpath_var
16838 # Set to "yes" if building a shared library automatically hardcodes DIR
16839 # into the library and all subsequent libraries and executables linked
16841 hardcode_automatic=$hardcode_automatic
16843 # Set to yes if linker adds runtime paths of dependent libraries
16844 # to runtime path list.
16845 inherit_rpath=$inherit_rpath
16847 # Whether libtool must link a program against all its dependency libraries.
16848 link_all_deplibs=$link_all_deplibs
16850 # Fix the shell variable \$srcfile for the compiler.
16851 fix_srcfile_path=$lt_fix_srcfile_path
16853 # Set to "yes" if exported symbols are required.
16854 always_export_symbols=$always_export_symbols
16856 # The commands to list exported symbols.
16857 export_symbols_cmds=$lt_export_symbols_cmds
16859 # Symbols that should not be listed in the preloaded symbols.
16860 exclude_expsyms=$lt_exclude_expsyms
16862 # Symbols that must always be exported.
16863 include_expsyms=$lt_include_expsyms
16865 # Commands necessary for linking programs (against libraries) with templates.
16866 prelink_cmds=$lt_prelink_cmds
16868 # Specify filename containing input files.
16869 file_list_spec=$lt_file_list_spec
16871 # How to hardcode a shared library path into an executable.
16872 hardcode_action=$hardcode_action
16874 # ### END LIBTOOL CONFIG
16880 cat <<\_LT_EOF >> "$cfgfile"
16881 # AIX sometimes has problems with the GCC collect2 program. For some
16882 # reason, if we set the COLLECT_NAMES environment variable, the problems
16883 # vanish in a puff of smoke.
16884 if test "X${COLLECT_NAMES+set}" != Xset; then
16886 export COLLECT_NAMES
16893 ltmain="$ac_aux_dir/ltmain.sh"
16896 # We use sed instead of cat because bash on DJGPP gets confused if
16897 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16898 # text mode, it properly converts lines to CR/LF. This bash problem
16899 # is reportedly fixed, but why not run on old versions too?
16900 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16901 || (rm -f "$cfgfile"; exit 1)
16905 cat << \_LT_EOF >> "$cfgfile"
16907 # func_dirname file append nondir_replacement
16908 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16909 # otherwise set result to NONDIR_REPLACEMENT.
16913 */*) func_dirname_result="${1%/*}${2}" ;;
16914 * ) func_dirname_result="${3}" ;;
16918 # func_basename file
16921 func_basename_result="${1##*/}"
16924 # func_dirname_and_basename file append nondir_replacement
16925 # perform func_basename and func_dirname in a single function
16927 # dirname: Compute the dirname of FILE. If nonempty,
16928 # add APPEND to the result, otherwise set result
16929 # to NONDIR_REPLACEMENT.
16930 # value returned in "$func_dirname_result"
16931 # basename: Compute filename of FILE.
16932 # value retuned in "$func_basename_result"
16933 # Implementation must be kept synchronized with func_dirname
16934 # and func_basename. For efficiency, we do not delegate to
16935 # those functions but instead duplicate the functionality here.
16936 func_dirname_and_basename ()
16939 */*) func_dirname_result="${1%/*}${2}" ;;
16940 * ) func_dirname_result="${3}" ;;
16942 func_basename_result="${1##*/}"
16945 # func_stripname prefix suffix name
16946 # strip PREFIX and SUFFIX off of NAME.
16947 # PREFIX and SUFFIX must not contain globbing or regex special
16948 # characters, hashes, percent signs, but SUFFIX may contain a leading
16949 # dot (in which case that matches only a dot).
16952 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16953 # positional parameters, so assign one to ordinary parameter first.
16954 func_stripname_result=${3}
16955 func_stripname_result=${func_stripname_result#"${1}"}
16956 func_stripname_result=${func_stripname_result%"${2}"}
16962 func_opt_split_opt=${1%%=*}
16963 func_opt_split_arg=${1#*=}
16970 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16971 *) func_lo2o_result=${1} ;;
16975 # func_xform libobj-or-source
16978 func_xform_result=${1%.*}.lo
16981 # func_arith arithmetic-term...
16984 func_arith_result=$(( $* ))
16988 # STRING may not start with a hyphen.
16991 func_len_result=${#1}
16996 *) # Bourne compatible functions.
16997 cat << \_LT_EOF >> "$cfgfile"
16999 # func_dirname file append nondir_replacement
17000 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17001 # otherwise set result to NONDIR_REPLACEMENT.
17004 # Extract subdirectory from the argument.
17005 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17006 if test "X$func_dirname_result" = "X${1}"; then
17007 func_dirname_result="${3}"
17009 func_dirname_result="$func_dirname_result${2}"
17013 # func_basename file
17016 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17020 # func_stripname prefix suffix name
17021 # strip PREFIX and SUFFIX off of NAME.
17022 # PREFIX and SUFFIX must not contain globbing or regex special
17023 # characters, hashes, percent signs, but SUFFIX may contain a leading
17024 # dot (in which case that matches only a dot).
17025 # func_strip_suffix prefix name
17029 .*) func_stripname_result=`$ECHO "X${3}" \
17030 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17031 *) func_stripname_result=`$ECHO "X${3}" \
17032 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17037 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17038 my_sed_long_arg='1s/^-[^=]*=//'
17043 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17044 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17050 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17053 # func_xform libobj-or-source
17056 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17059 # func_arith arithmetic-term...
17062 func_arith_result=`expr "$@"`
17066 # STRING may not start with a hyphen.
17069 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17075 case $lt_shell_append in
17077 cat << \_LT_EOF >> "$cfgfile"
17079 # func_append var value
17080 # Append VALUE to the end of shell variable VAR.
17088 cat << \_LT_EOF >> "$cfgfile"
17090 # func_append var value
17091 # Append VALUE to the end of shell variable VAR.
17102 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17103 || (rm -f "$cfgfile"; exit 1)
17105 mv -f "$cfgfile" "$ofile" ||
17106 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17110 "po-directories":C)
17111 for ac_file in $CONFIG_FILES; do
17112 # Support "outfile[:infile[:infile...]]"
17114 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17116 # PO directories have a Makefile.in generated from Makefile.in.in.
17117 case "$ac_file" in */Makefile.in)
17118 # Adjust a relative srcdir.
17119 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17120 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
17121 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17122 # In autoconf-2.13 it is called $ac_given_srcdir.
17123 # In autoconf-2.50 it is called $srcdir.
17124 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17125 case "$ac_given_srcdir" in
17126 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17127 /*) top_srcdir="$ac_given_srcdir" ;;
17128 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
17130 # Treat a directory as a PO directory if and only if it has a
17131 # POTFILES.in file. This allows packages to have multiple PO
17132 # directories under different names or in different locations.
17133 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17134 rm -f "$ac_dir/POTFILES"
17135 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17136 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17137 POMAKEFILEDEPS="POTFILES.in"
17138 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
17139 # on $ac_dir but don't depend on user-specified configuration
17141 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17142 # The LINGUAS file contains the set of available languages.
17143 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17144 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
17146 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17147 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17148 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17149 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17151 # The set of available languages was given in configure.in.
17152 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17153 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17156 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
17157 # Compute UPDATEPOFILES
17158 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
17159 # Compute DUMMYPOFILES
17160 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
17162 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
17163 case "$ac_given_srcdir" in
17165 *) srcdirpre='$(srcdir)/' ;;
17171 for lang in $ALL_LINGUAS; do
17172 POFILES="$POFILES $srcdirpre$lang.po"
17173 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17174 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17175 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17177 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17178 # environment variable.
17180 if test -n "$ALL_LINGUAS"; then
17181 for presentlang in $ALL_LINGUAS; do
17183 if test "%UNSET%" != "$LINGUAS"; then
17184 desiredlanguages="$LINGUAS"
17186 desiredlanguages="$ALL_LINGUAS"
17188 for desiredlang in $desiredlanguages; do
17189 # Use the presentlang catalog if desiredlang is
17190 # a. equal to presentlang, or
17191 # b. a variant of presentlang (because in this case,
17192 # presentlang can be used as a fallback for messages
17193 # which are not translated in the desiredlang catalog).
17194 case "$desiredlang" in
17195 "$presentlang"*) useit=yes;;
17198 if test $useit = yes; then
17199 INST_LINGUAS="$INST_LINGUAS $presentlang"
17204 if test -n "$INST_LINGUAS"; then
17205 for lang in $INST_LINGUAS; do
17206 CATALOGS="$CATALOGS $lang.gmo"
17209 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17210 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"
17211 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17212 if test -f "$f"; then
17214 *.orig | *.bak | *~) ;;
17215 *) cat "$f" >> "$ac_dir/Makefile" ;;
17230 ac_clean_files=$ac_clean_files_save
17232 test $ac_write_fail = 0 ||
17233 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17236 # configure is writing to config.log, and then calls config.status.
17237 # config.status does its own redirection, appending to config.log.
17238 # Unfortunately, on DOS this fails, as config.log is still kept open
17239 # by configure, so config.status won't be able to write to it; its
17240 # output is simply discarded. So we exec the FD to /dev/null,
17241 # effectively closing config.log, so it can be properly (re)opened and
17242 # appended to by config.status. When coming back to configure, we
17243 # need to make the FD available again.
17244 if test "$no_create" != yes; then
17246 ac_config_status_args=
17247 test "$silent" = yes &&
17248 ac_config_status_args="$ac_config_status_args --quiet"
17250 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17252 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17253 # would make configure fail if this is the last instruction.
17254 $ac_cs_success || as_fn_exit 1
17256 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17258 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}